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:
- Returns:
Constant
The value prior to the change, or the current value if no new value was specified.
Examples
>>> print(cf.regrid_logging()) False >>> print(cf.regrid_logging(True)) False >>> print(cf.regrid_logging()) True >>> with cf.regrid_logging(False): ... print(cf.regrid_logging()) ... False >>> print(cf.regrid_logging()) True