From fd2cec62d51fcbd2c0297073ba36cb37b33e7a02 Mon Sep 17 00:00:00 2001 From: Panu Lahtinen Date: Tue, 12 Nov 2024 09:28:23 +0200 Subject: [PATCH] Fix 1 km SensorZenith dtype in tests --- satpy/tests/reader_tests/test_mersi_l1b.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satpy/tests/reader_tests/test_mersi_l1b.py b/satpy/tests/reader_tests/test_mersi_l1b.py index e5aaa6a571..3bdcfdb66f 100644 --- a/satpy/tests/reader_tests/test_mersi_l1b.py +++ b/satpy/tests/reader_tests/test_mersi_l1b.py @@ -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),