cf.Data.second

Data.second

The second of each date-time value.

Only applicable for data with reference time units. The returned Data will have the same mask hardness as the original array.

See also

year, month, day, hour, minute

Examples

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