Skip to content

Commit 7c05abf

Browse files
committed
allow for when xesmf not available
1 parent 001930c commit 7c05abf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_datasets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -453,8 +453,8 @@ def test_grid():
453453
if em.extract_model.XESMF_AVAILABLE:
454454
dsactual, out_kwargs = em.select(ds[key_variable], **select_kwargs)
455455

456-
if hasattr(dsactual, "chunks"):
457-
dsactual = dsactual.load()
456+
if hasattr(dsactual, "chunks"):
457+
dsactual = dsactual.load()
458458

459459
expname = f"tests/test_results/{featuretype}_{key_variable}_horinterp_{horizontal_interp_code}.nc"
460460
# # previously saved with:

0 commit comments

Comments
 (0)