Skip to content

Commit

Permalink
Python3.8 adjustments
Browse files Browse the repository at this point in the history
  • Loading branch information
Zeitsperre committed Aug 27, 2024
1 parent 2351433 commit 25a30f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clisops/utils/testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def write_roocs_cfg(cache_dir: Union[str, Path]):
os.environ["ROOCS_CONFIG"] = roocs_config


def get_esgf_file_paths(esgf_cache_dir) -> dict[str, str]:
def get_esgf_file_paths(esgf_cache_dir):
return {
"CMIP5_ZOSTOGA": Path(
esgf_cache_dir,
Expand Down
4 changes: 2 additions & 2 deletions tests/test_ops_regrid.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@ def test_regrid_regular_grid_to_all_roocs_grids(
@pytest.mark.parametrize(
"dset", ["ATLAS_v1_CORDEX", "ATLAS_v1_EOBS_GRID", "ATLAS_v0_CORDEX_ANT"]
)
def test_regrid_ATLAS_datasets(tmpdir, dset):
def test_regrid_ATLAS_datasets(tmpdir, dset, mini_esgf_data):
"""Test regridding for several ATLAS datasets."""
result = regrid(
ds=globals()[dset],
ds=mini_esgf_data[dset],
method="bilinear",
adaptive_masking_threshold=0.5,
grid="0pt5deg_lsm",
Expand Down

0 comments on commit 25a30f5

Please sign in to comment.