cf.CoordinateBounds.asdatetime

CoordinateBounds.asdatetime()[source]

Change the internal representation of data array elements from numeric reference times to datatime-like objects.

The change is carried out in place.

If the calendar has not been set then the CF default calendar will be used and the units will be updated accordingly.

If the internal representations are already datatime-like objects then no change occurs.

See also

asreftime

Returns:None
Examples:
>>> f.asdatetime()

Previous topic

cf.CoordinateBounds.year

Next topic

cf.CoordinateBounds.asreftime

This Page