cf.DimensionCoordinate.year

DimensionCoordinate.year

The year of each date-time data array element.

Only applicable to data arrays with reference time units.

See also

month, day, hour, minunte, second`

Examples:
>>> f.dtarray
[ 450-11-15 00:00:00  450-12-16 12:30:00  451-01-16 12:00:45]
>>> f.year.array
[450 450 451]

Previous topic

cf.DimensionCoordinate.Y

Next topic

cf.DimensionCoordinate.Z

This Page