cf.Field.setcyclic

Field.setcyclic()[source]

Set axes to be cyclic if they meet conditions.

An axis is set to be cyclic if and only if one the following is true:

  • It is a unique, 1-d, longitude dimension coordinate object with bounds and the first and last bounds values differ by 360 degrees.
Returns :
out : list

The axes of the field which were cyclic prior to any new setting, or the current cyclic axes if no axis was set to be cyclic.

See also

cyclic, iscyclic, period

Examples

>>> f.setcyclic()
[]

Previous topic

cf.Field.setattr

Next topic

cf.Field.setdata

This Page