Return the period of a potentially cyclic axis.
Note that a non-cyclic axis may have a defined period.
Parameters : |
|
---|---|
Returns : |
|
See also
Examples
>>> f.cyclic()
[]
>>> print f.period('X')
None
>>> f.dim('X').Units
<CF Units: degrees_east>
>>> f.cyclic('X', period=360)
[]
>>> print f.period('X')
<CF Data: 360.0 'degrees_east'>
>>> f.cyclic('X', False)
['dim3']
>>> print f.period('X')
<CF Data: 360.0 'degrees_east'>
>>> f.dim('X').period(None)
<CF Data: 360.0 'degrees_east'>
>>> print f.period('X')
None