diff --git a/mdtf_test_data/util/rectilinear.py b/mdtf_test_data/util/rectilinear.py index 6d5d686..741d043 100755 --- a/mdtf_test_data/util/rectilinear.py +++ b/mdtf_test_data/util/rectilinear.py @@ -9,9 +9,8 @@ try: import xesmf as xe -except BaseException as e: +except Exception as e: warnings.warn("Unable to load `xesmf`. Regridding functionality will not work.") - pass def regrid_lat_lon_dataset(dset, dlon=10.0, dlat=10.0, method="bilinear"): diff --git a/setup.cfg b/setup.cfg index d8e5a51..1582cb4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = mdtf_test_data -version = 1.0.4.rc1 +version = 1.0.4 description = Tools for working with MDTF Diagnostics test data sets url = https://github.com/jkrasting/mdtf_test_data author = MDTF Development Team