cf.AuxiliaryCoordinate.asdatetime

AuxiliaryCoordinate.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 calendar attribute will be updated accordingly.

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

Returns :None

See also

asreftime

Examples

>>> f.asdatetime()

Previous topic

cf.AuxiliaryCoordinate.asauxiliary

Next topic

cf.AuxiliaryCoordinate.asdimension

This Page