nsrdb.albedo.ims.ImsGapFill

class ImsGapFill(date, path, search_range=4)[source]

Bases: object

Fill temporal gaps in IMS data set.

Parameters:
  • date (Datetime object) – Desired date.

  • path (str) – Path of/for IMS data on disk.

  • search_range (int) – Number of days to search before and after a missing date for good data.

Methods

fill_gap()

Fill gaps in IMS data set for one year and save to disk.

fill_gap()[source]

Fill gaps in IMS data set for one year and save to disk. There may be multiple consecutive days of missing data. Try to find data within self._search_range days of desired date. Will use existing gap-fill file if found.

Returns:

  • _______

  • ImsFileAcquisition instance – File data for closest day found