Skip to content

Commit

Permalink
Check that the computed values have the correct dtype .
Browse files Browse the repository at this point in the history
Co-authored-by: Panu Lahtinen <[email protected]>
  • Loading branch information
pkhalaj and pnuu authored Nov 20, 2024
1 parent b777de5 commit da84875
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions satpy/tests/reader_tests/test_seviri_l1b_native.py
Original file line number Diff line number Diff line change
Expand Up @@ -1315,6 +1315,7 @@ def test_read_physical_seviri_nat_file(full_path):
warnings.filterwarnings("ignore", category=UserWarning)
scene.load(["VIS006"])
assert scene["VIS006"].dtype == np.float32
assert scene["VIS006"].values.dtype == np.float32
assert scene["VIS006"].shape == (3712, 3712)
assert isinstance(scene["VIS006"], xr.core.dataarray.DataArray)

Expand Down

0 comments on commit da84875

Please sign in to comment.