cf.Data.hour

Data.hour

The hour of each data array element.

Only applicable for reference time units.

See also

year, month, day, minute, second

Examples

>>> d = cf.Data([[1.93, 5.17]], 'days since 2000-12-29')
>>> d
<CF Data: [[2000-12-30 22:19:12, 2001-01-03 04:04:48]] >
>>> d.hour
<CF Data: [[22, 4]] >

Previous topic

cf.Data.hardmask

Next topic

cf.Data.ismasked

This Page