arlmet.DirectoryIndex.missing#
- DirectoryIndex.missing(start, end)[source]#
Return the valid times a window needs that no usable file holds.
A window needs a valid time every
step, from the one at or before start to the one at or after end, since HYSPLIT interpolates between the two around each time.- Parameters:
- Returns:
Empty when every needed time is held.
- Return type:
- Raises:
ValueError – If start is after end, or no file in the directory is usable.
Examples
>>> idx.missing("2021-01-14 06:00", "2021-01-14 08:00") [Timestamp('2021-01-14 07:00:00')]