cf.CoordinateBounds.month_lengths

CoordinateBounds.month_lengths

The month_lengths CF property.

Stored as a tuple but may be set as any array-like object.

Examples:
>>> f.month_lengths = numpy.array([34, 31, 32, 30, 29, 27, 28, 28, 28, 32, 32, 34])
>>> f.month_lengths
(34, 31, 32, 30, 29, 27, 28, 28, 28, 32, 32, 34)
>>> del f.month_lengths
>>> f.setprop('month_lengths', [34, 31, 32, 30, 29, 27, 28, 28, 28, 32, 32, 34])
>>> f.getprop('month_lengths')
(34, 31, 32, 30, 29, 27, 28, 28, 28, 32, 32, 34)
>>> f.delprop('month_lengths')

Previous topic

cf.CoordinateBounds.missing_value

Next topic

cf.CoordinateBounds.scale_factor

This Page