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
This is a common request (example) because at many modelling centers, a remapping files is generated once and stored in a common location and used by other tools (e.g. NCL).
@dcherian yes! use reuse_weights=True and filename=wgts.nc or weights=, as arguments to the regridder.
you still need to pass the source and target grid but you could just make them empty arrays of the right dimensions.
This is a common request (example) because at many modelling centers, a remapping files is generated once and stored in a common location and used by other tools (e.g. NCL).
So my question: Is it possible to create a
Regridder
object from an existing ESMF weights file. This would generalize this bit of code: https://xesmf.readthedocs.io/en/latest/notebooks/Backend.html#Apply-weights-using-Scipy-backendThe text was updated successfully, but these errors were encountered: