cf.Field.autocyclic¶
-
Field.autocyclic(verbose=None)[source]¶ Set dimensions to be cyclic.
A dimension is set to be cyclic if it has a unique longitude (or grid longitude) dimension coordinate construct with bounds and the first and last bounds values differ by 360 degrees (or an equivalent amount in other units).
New in version 1.0.
- Parameters
- verbose:
intorNone, optional If an integer from
0to3, corresponding to increasing verbosity (else-1as a special case of maximal and extreme verbosity), set for the duration of the method call (only) as the minimum severity level cut-off of displayed log messages, regardless of the global configuredcf.LOG_LEVEL.Else, if
None(the default value), log messages will be filtered out, or otherwise, according to the value of thecf.LOG_LEVELsetting.Overall, the higher a non-negative integer that is set (up to a maximum of
3) the more description that is printed to convey information about the attempt to set cyclicity on the dimensions.
- verbose:
- Returns
Examples:
>>> f.autocyclic()