cf.Index.isperiodic

Index.isperiodic()

True if a given axis is periodic.

New in version 2.0.

>>> print(c.period())
None
>>> c.isperiodic
False
>>> print(c.period(cf.Data(360, 'degeres_east')))
None
>>> c.isperiodic
True
>>> c.period(None)
<CF Data(): 360 degrees_east>
>>> c.isperiodic
False