cdms2.forecast

two_times_from_one(t)[source]

Two Times from One

Parameters
Inputis a time representation, either as the long int used in the

cdscan script, or a string in the format “2010-08-25 15:26:00”, or as a cdtime comptime (component time) object.

Outputis the same time, both as a long _and_ as a comptime.