regrid2-mvcdms2.FRegrid¶
LibCF regridding class
-
class
LibCFRegrid
(srcGrid, dstGrid, srcGridMask=None, srcBounds=None, **args)[source]¶ -
apply
(self, srcData, dstData, missingValue=None, **args)[source]¶ Regrid source to destination
- Parameters
- srcData :
array (input)
- dstData :
array (output)
- missingValue :
value that should be set for points falling outside the src domain, pass None if these should not be touched.
-
computeWeights
(self, **args)[source]¶ Compute interpolation weights
- Parameters
- **args arguments to be passed to gsRegrid, e.g. nitermax, tolpos, …
-