cf.regrid_logging¶
- cf.regrid_logging(*arg)[source]¶
Whether or not to enable
esmpyregridding logging.If it is logging is performed after every call to
esmpy.- Parameters:
- Returns:
ConstantThe 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