regrid2.scrip

readRegridder(fileobj, mapMethod=None, checkGrid=1)[source]

Read a regridder from an open fileobj.

Parameters
mapMethodis one of “conservative”, “bilinear”, “bicubic”, or “distwgt”.

If unspecified, it defaults to the method defined in the file.

If ‘checkGrid’ is 1 (default), the grid cells are checked for convexity, and ‘repaired’ if necessary.