cf.regrid_logging

cf.regrid_logging(*arg)[source]

Whether or not to enable esmpy regridding logging.

If it is logging is performed after every call to esmpy.

Parameters
arg: bool or Constant, optional

The new value (either True to enable logging or False to disable it). The default is to not change the current behaviour.

Returns
Constant

The value prior to the change, or the current value if no new value was specified.

Examples

>>> cf.regrid_logging()
False
>>> cf.regrid_logging(True)
False
>>> cf.regrid_logging()
True