nsrdb.albedo.ims.ImsDataAcquisition

class ImsDataAcquisition(date, path, shape=None)[source]

Bases: object

Get IMS data for a date, either from disc, server, or via gapfill.

Parameters:
  • date (Datetime object) – Desired date

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

  • shape ((int, int) | None) – Tuple of data shape in (rows, cols) format. Defaults to standard values for 1-, 4-, or 24-km grid. Used for testing.

Methods

get_files()

Grab data from ftp or disk if it exists.

get_files()[source]

Grab data from ftp or disk if it exists. If day is missing, use gap-filled data.