Skip to content

Commit

Permalink
Fix 1 km SensorZenith dtype in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lahtinep committed Nov 12, 2024
1 parent 3bb6db5 commit fd2cec6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion satpy/tests/reader_tests/test_mersi_l1b.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def _get_1km_data(num_scans, rows_per_scan, num_cols, filetype_info):
dims=("_ir250_bands", "_rows", "_cols")),
f"{key_prefix}SensorZenith":
xr.DataArray(
da.ones((num_scans * rows_per_scan, num_cols), chunks=1024),
da.ones((num_scans * rows_per_scan, num_cols), chunks=1024, dtype=np.int16),
attrs={
"Slope": np.array([.01] * 1, dtype=np.float32),
"Intercept": np.array([0.] * 1, dtype=np.float32),
Expand Down

0 comments on commit fd2cec6

Please sign in to comment.