cf.FieldAncillary.year

FieldAncillary.year

The year of each date-time data array element.

Only applicable to data arrays with reference time units.

See also

month, day, hour, minute, second

Examples

>>> print(f.datetime_array)
[0450-11-15 00:00:00  0450-12-16 12:30:00  0451-01-16 12:00:45]
>>> print(f.year.array)
[450  450  451]