Skip to content

Commit 755269f

Browse files
committed
tests: update uvh5 tests for ra/dec
1 parent 0326b0f commit 755269f

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

tests/test_uvh5_gridding.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ def mock_data(tmp_path) -> Path:
3838

3939
f.create_dataset("times", data=np.arange(100))
4040

41+
obs_grp = f.create_group("obs")
42+
obs_grp.create_dataset("ra", data=rng.integers(0, 180, 1))
43+
obs_grp.create_dataset("dec", data=rng.integers(0, 90, 1))
44+
4145
sky_grp = f.create_group("sky")
4246
sky_grp.create_dataset("SI", data=rng.random((64, 64)))
4347

@@ -69,6 +73,10 @@ def mock_data_no_sky(tmp_path) -> Path:
6973

7074
f.create_dataset("times", data=np.arange(100))
7175

76+
obs_grp = f.create_group("obs")
77+
obs_grp.create_dataset("ra", data=rng.integers(0, 180, 1))
78+
obs_grp.create_dataset("dec", data=rng.integers(0, 90, 1))
79+
7280
return output_file
7381

7482

0 commit comments

Comments
 (0)