Skip to content
Snippets Groups Projects
Commit dc851aa4 authored by Nils Brueggemann's avatar Nils Brueggemann
Browse files

conftest.py: Changed r2b6 test case into r2b4.

parent e8089535
No related branches found
No related tags found
No related merge requests found
Pipeline #34645 passed
......@@ -33,11 +33,11 @@ def examp_icon_dataset():
#fpath_data = cur_dir / "test_data/icon_example_data_r2b6.nc"
path_data = Path(pyic.params['path_example_data'])
path_data.mkdir(parents=True, exist_ok=True)
fpath_data = path_data / "icon_example_data_r2b6.nc"
fpath_data = path_data / "icon_example_data_r2b4.nc"
if not fpath_data.exists():
import requests
download_link = "https://swift.dkrz.de/v1/dkrz_07387162e5cd4c81b1376bd7c648bb60/pyicon_example_data/icon_example_data_r2b6.nc"
download_link = "https://swift.dkrz.de/v1/dkrz_07387162e5cd4c81b1376bd7c648bb60/pyicon_example_data/icon_example_data_r2b4.nc"
try:
r = requests.get(download_link, allow_redirects=True)
with open(fpath_data, "wb") as fobj:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment