Skip to content

Commit

Permalink
update regrid operator
Browse files Browse the repository at this point in the history
  • Loading branch information
cehbrecht committed Oct 17, 2023
1 parent 69c2170 commit 5cf8f6b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rook/utils/regrid_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5cf8f6b

Please sign in to comment.