cf.DimensionCoordinate.month_lengths¶
-
DimensionCoordinate.
month_lengths
¶ The month_lengths CF property.
Stored as a tuple but may be set as any array-like object.
Examples: >>> c.month_lengths = numpy.array([34, 31, 32, 30, 29, 27, 28, 28, 28, 32, 32, 34]) >>> c.month_lengths (34, 31, 32, 30, 29, 27, 28, 28, 28, 32, 32, 34) >>> del c.month_lengths
>>> c.setprop('month_lengths', [34, 31, 32, 30, 29, 27, 28, 28, 28, 32, 32, 34]) >>> c.getprop('month_lengths') (34, 31, 32, 30, 29, 27, 28, 28, 28, 32, 32, 34) >>> c.delprop('month_lengths')