diff --git a/rook/utils/regrid_utils.py b/rook/utils/regrid_utils.py index d4039fe..ee9fe5f 100644 --- a/rook/utils/regrid_utils.py +++ b/rook/utils/regrid_utils.py @@ -4,5 +4,9 @@ def run_regrid(args): args["apply_fixes"] = False args["dims"] = ["latitude", "longitude"] + # remove regrid arguments + args.pop("method", None) + args.pop("grid", None) + result = average_over_dims(**args) return result.file_uris