cf.DimensionCoordinate.hour

DimensionCoordinate.hour

The hour of each date-time data array element.

Only applicable to data arrays with reference time units.

See also

year, month, day, 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.hour.array)
[ 0  12  12]