Skip to content

Commit

Permalink
Merge pull request #228 from roocs/fix-storm-tests-cmip5
Browse files Browse the repository at this point in the history
fix cmip5 smoke tests
  • Loading branch information
cehbrecht committed Jul 20, 2023
2 parents a1faa10 + 2c4482e commit 85d64da
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/smoke/test_smoke_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
)

C3S_CMIP5_DAY_COLLECTION = (
"c3s-cmip5.output1.ICHEC.EC-EARTH.historical.day.atmos.day.r1i1p1.tas.latest"
"c3s-cmip5.output1.IPSL.IPSL-CM5B-LR.historical.day.atmos.day.r1i1p1.tas.v20120718"
)

C3S_CMIP5_MON_COLLECTION = (
Expand Down Expand Up @@ -194,7 +194,7 @@ def test_smoke_execute_c3s_cmip5_subset(wps, tmp_path):
]
urls = wps.execute("subset", inputs)
assert len(urls) == 1
assert "tas_day_EC-EARTH_historical_r1i1p1_20050101-20051231.nc" in urls[0]
assert "tas_day_IPSL-CM5B-LR_historical_r1i1p1_20050101-20051231.nc" in urls[0]
ds = open_dataset(urls[0], tmp_path)
assert "tas" in ds.variables

Expand Down Expand Up @@ -275,7 +275,7 @@ def test_smoke_execute_c3s_cmip5_subset_by_point(wps, tmp_path):
]
urls = wps.execute("subset", inputs)
assert len(urls) == 1
assert "tas_day_EC-EARTH_historical_r1i1p1_20050101-20050331.nc" in urls[0]
assert "tas_day_IPSL-CM5B-LR_historical_r1i1p1_20050101-20050331.nc" in urls[0]
ds = open_dataset(urls[0], tmp_path)
assert "tas" in ds.variables

Expand Down Expand Up @@ -441,7 +441,7 @@ def test_smoke_execute_c3s_cmip5_orchestrate(wps):
]
urls = wps.execute("orchestrate", inputs)
assert len(urls) == 1
assert "tas_day_EC-EARTH_historical_r1i1p1_avg-t.nc" in urls[0]
assert "tas_day_IPSL-CM5B-LR_historical_r1i1p1_avg-t.nc" in urls[0]


def test_smoke_execute_c3s_cmip6_orchestrate(wps):
Expand Down

0 comments on commit 85d64da

Please sign in to comment.