-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use_src_mask
and use_tgt_mask
with nearest regridding scheme do not produce correct results
#368
Comments
See here (and click the Regrid_Iris_Esmf_Nearest tab) for an overview of which CMIP6 models currently cannot be regridded using the Regarding our discussion at the @SciTools/peloton today: I checked the ocean component of a few of the Earth System Models that failed to regrid and the issue does not seem limited to ORCA grids. |
@bouweandela Edit: on further inspecition, it looks like |
The
nearest
regridding scheme in ESMF skips masked points. Therefore, this scheme cannot be used to regrid the mask and special treatment is needed. Example of the issue with the current code:results in the following plot, note that the mask is missing:
while I would expect a plot that looks like this:
The file in the example can be downloaded from one of the following URLs:
The text was updated successfully, but these errors were encountered: