Skip to content

Commit c4a97cb

Browse files
committed
Fix test for new climate data format
1 parent 0121481 commit c4a97cb

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

tests/test_simple_storage.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -385,18 +385,17 @@ def test_climate_anomalies(tmp_path):
385385
"control_temperature": (["gas", "runid", "year"], np.zeros((3, 2, 1))),
386386
"pulse_temperature": (["gas", "runid", "year"], np.zeros((3, 2, 1))),
387387
"control_gmsl": (
388-
["simulation", "runid", "year", "gas"],
389-
np.ones((1, 2, 1, 3)),
388+
["runid", "year",],
389+
np.ones((2, 1)),
390390
),
391391
"pulse_gmsl": (
392-
["simulation", "runid", "year", "gas"],
393-
np.ones((1, 2, 1, 3)),
392+
["runid", "year", "gas"],
393+
np.ones((2, 1, 3)),
394394
),
395395
},
396396
coords={
397397
"year": (["year"], [2002]),
398398
"gas": (["gas"], gases_gmst),
399-
"simulation": (["simulation"], [1]),
400399
"runid": (["runid"], [1, 2]),
401400
},
402401
).chunk({"year": 11})

0 commit comments

Comments
 (0)