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 the following is true:

  • It has a unique, 1-d, longitude dimension coordinate object 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.

See also

cyclic, iscyclic, period

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.

Examples:
>>> f.setcyclic()
[]

Previous topic

cf.Field.setattr

Next topic

cf.Field.setprop

This Page