Skip to content

Commit 5fc2a6a

Browse files
committed
Switch group results by file test to floating point data
1 parent 1bc6f3a commit 5fc2a6a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

satpy/tests/writer_tests/test_core/test_compute.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ def test_group_results_by_output_file(tmp_path):
4646
fake_area = create_area_def("sargasso", 4326, resolution=1, width=x, height=x, center=(0, 0))
4747
fake_scene = make_fake_scene(
4848
{
49-
"dragon_top_height": (dat := xr.DataArray(dims=("y", "x"), data=da.arange(x * x).reshape((x, x)))),
49+
"dragon_top_height": (dat := xr.DataArray(
50+
dims=("y", "x"),
51+
data=da.arange(float(x * x)).reshape((x, x)))),
5052
"penguin_bottom_height": dat,
5153
"kraken_depth": dat,
5254
},

0 commit comments

Comments
 (0)