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
I am attempting to save a regridder created using the ESMFBilinearRegridder and providing precomputed_weights, but I am enountering the following error when calling save_regridder(regridder, 'saved_regridder.nc'):
And if print out the I print out the emsf_version from the regridder, I can see that is None which is causing the issue with saving:
In [1]: regridder=esmf_regrid.schemes.ESMFBilinearRegridder(src_cube, tar_cube, precomputed_weights=weights)
In [2]: regridder.regridder.esmf_versionOut [2]: None
How To Reproduce
Steps to reproduce the behaviour:
Call the save_regridder with a regridder that has precomputed_weight supplied e.g.:
# Create the regridderregridder=esmf_regrid.schemes.ESMFBilinearRegridder(src_cube, tar_cube, precomputed_weights=weights)
# save the regriddersave_regridder(regridder, 'saved_regridder.nc')
Expected behaviour
No error encountered
Environment
OS: Linux
esmf_regrid version: 0.11.0
The text was updated successfully, but these errors were encountered:
🐛 Bug Report
I am attempting to save a regridder created using the
ESMFBilinearRegridder
and providingprecomputed_weights
, but I am enountering the following error when callingsave_regridder(regridder, 'saved_regridder.nc')
:And if print out the I print out the
emsf_version
from the regridder, I can see that isNone
which is causing the issue with saving:How To Reproduce
Steps to reproduce the behaviour:
Call the
save_regridder
with a regridder that hasprecomputed_weight
supplied e.g.:Expected behaviour
No error encountered
Environment
esmf_regrid
version: 0.11.0The text was updated successfully, but these errors were encountered: