wradlib.util.from_to#
- wradlib.util.from_to(tstart, tend, tdelta)[source]#
Return a list of timesteps from <tstart> to <tend> of length <tdelta>
- Parameters:
tstart (
str
ordatetime.datetime
) – datetime isostring (%Y%m%d %H:%M:%S), e.g. 2000-01-01 15:34:12 or datetime objecttend (
str
ordatetime.datetime
) – datetime isostring (%Y%m%d %H:%M:%S), e.g. 2000-01-01 15:34:12 or datetime objecttdelta (
int
) – representing time interval in SECONDS
- Returns:
output (
list
) – list of datetime.datetime objects