- class ESMF.api.regrid.RegridFromFile(srcfield, dstfield, filename=None, rh_filename=None)¶
RegridFromFileobject represents a regridding operator between two
Fieldsthat is read from a file. The creation of this object is analogous to= ESMF_FieldSMMStore(), and calling this object corresponds to ESMF_FieldRegrid(). ESMF_FieldRegridRelease() is called when the
RegridFromFileobject goes out of scope (this only happens when the
Managergoes out of scope, there is a destroy() call for explicit deallocation of the
For more information about the ESMF Regridding functionality, please see the ESMF_FieldRegrid methods in the ESMF Reference Manual.
The following arguments are used to create a handle to a regridding operation between two
filename (string) – the name of the file from which to retrieve the weights.
rh_filename (string) – the name of the file from which to retrieve the routehandle information.
- __call__(srcfield, dstfield, zero_region=None)¶
Call a regridding operation from srcfield to dstfield.