cf.dt_vector

cf.dt_vector(arg, month=1, day=1, hour=0, minute=0, second=0, microsecond=0, calendar=None)[source]

Return a scalar or 1-d array of date-time objects.

See also

cf.dt

Parameters
arg:

A multi-purpose argument that is one of:

  • An int, or sequence of int, specifying the calendar years, used in conjunction with the month, day, hour, minute, second and microsecond parameters.

  • A str, or sequence of str, specifying ISO 8601-like date-time strings (in which non-Gregorian calendar dates are allowed).

  • A two dimensionsal array of int. There may be up to 7 columns, each one specifying the years, months, days, hours minutes, seconds and microseconds respectively. If fewer thaan 7 trailing dimensions are provided then teh default value for the missing components are used

calendar: str, optional

The calendar for the date-times. By default the Gregorian calendar is used.

Parameter example:

calendar='360_day'

Returns
numpy.ndarray

The scalar or 1-d array of date-time objects.

Examples:

TODO