Skip to content

Commit a77b286

Browse files
committed
Set active_storage_url in failing Reductionist test and remove storage_type as this is auto-detected
1 parent 2030d8d commit a77b286

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_real_https.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ def test_https_100years():
3737
def test_https_reductionist():
3838
"""Run a true test with a https FILE."""
3939
test_file_uri = "https://esgf.ceda.ac.uk/thredds/fileServer/esg_cmip6/CMIP6/AerChemMIP/MOHC/UKESM1-0-LL/ssp370SST-lowNTCF/r1i1p1f2/Amon/cl/gn/latest/cl_Amon_UKESM1-0-LL_ssp370SST-lowNTCF_r1i1p1f2_gn_205001-209912.nc"
40-
41-
active = Active(test_file_uri, "cl", storage_type="https")
40+
active_storage_url = "https://reductionist.jasmin.ac.uk/" # Wacasoft new Reductionist
41+
active = Active(test_file_uri, "cl", active_storage_url=active_storage_url)
4242
active._version = 2
4343
result = active.min()[0:3, 4:6, 7:9]
4444
print("Result is", result)

0 commit comments

Comments
 (0)