Skip to content

Commit

Permalink
add test comments
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdudfield committed Aug 13, 2024
1 parent 0b6f06e commit 3186681
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/load/test_load_satellite.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ def test_open_satellite(sat_zarr_path):

assert isinstance(da, xr.DataArray)
assert da.dims == ("time_utc", "channel", "x_geostationary", "y_geostationary")
# 576 is 2 days of data at 5 minutes intervals, 12 * 24 * 2
# There are 11 channels
# There are 49 x 20 pixels
assert da.shape == (576, 11, 49, 20)
assert np.issubdtype(da.dtype, np.number)

Expand Down

0 comments on commit 3186681

Please sign in to comment.