cf.dt_vector¶
-
cf.
dt_vector
(arg, month=1, day=1, hour=0, minute=0, second=0, microsecond=0, calendar='')[source]¶ Return a 1-d array of date-time objects.
See also
- Parameters
- arg:
A multi-purpose argument that is one of:
An
int
, or sequence ofint
, specifying the calendar years, used in conjunction with the month, day, hour, minute, second and microsecond parameters.A
str
, or sequence ofstr
, specifying ISO 8601-like date-time strings (in which non-Gregorian calendar dates are allowed).A two dimensional 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 than 7 trailing dimensions are provided then the 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
1-d array of date-time objects.
Examples
TODO