cdms2.forecast

comptime(t)[source]

Comptime

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 a cdtime.comptime (component time).