You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of ESMPy 8.0.0, multiple new parameters have been added to ESMPy.Regrid (doc). I am mostly interested in regridding while avoiding NaNs, which is now possible with "extrap_method", "extrap_num_src_pnts" and "extrap_dist_exponent".
If this is my source
and this is my destination grid
This is what I obtain with bilinear interpolation using xESMF:
while this is what I can get using ESMPy-compatible masks (on both grids) and "extrap_method":
The text was updated successfully, but these errors were encountered:
I've managed to implement masks, but extrapolation is impossible if the weights are written on disk, as the function ESMP_FieldRegridStoreFile in ESMPy is deprecated and does not include the latest extrapolation options.
I will explore further by keeping the weights in memory (PR #91)
Edit: It immediately worked with PR #91. I will try to submit a PR in a couple days once I've cleaned up my edits.
Related to Issue #22.
As of ESMPy 8.0.0, multiple new parameters have been added to ESMPy.Regrid (doc). I am mostly interested in regridding while avoiding NaNs, which is now possible with "extrap_method", "extrap_num_src_pnts" and "extrap_dist_exponent".
If this is my source
and this is my destination grid
This is what I obtain with bilinear interpolation using xESMF:
while this is what I can get using ESMPy-compatible masks (on both grids) and "extrap_method":
The text was updated successfully, but these errors were encountered: