Skip to content

Commit

Permalink
Test the data dtype
Browse files Browse the repository at this point in the history
  • Loading branch information
lahtinep committed Nov 11, 2024
1 parent baf5005 commit d809f1e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions satpy/tests/reader_tests/test_mersi_l1b.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,9 @@ def test_all_resolutions(self):
_test_multi_resolutions(available_datasets, self.ir_250_bands, resolution, ir_num_results)

res = reader.load(self.bands_1000 + self.bands_250)
for i in res:
assert res[i].dtype == np.float32

if resolution != "250":
assert len(res) == len(self.bands_1000 + self.bands_250)
else:
Expand Down

0 comments on commit d809f1e

Please sign in to comment.