AcarsRetriever#

class rojak.datalib.madis.amdar.AcarsRetriever(file_pattern=None, retrive_from=MadisDataServer.HTTP)[source]#

Downloads MADIS ACARS netCDF archive files from NOAA, via either FTP or HTTP

Parameters:
__init__(file_pattern=None, retrive_from=MadisDataServer.HTTP)[source]#
Parameters:
  • file_pattern (str | None) – Glob pattern used to select which files to download for each date. Defaults to "*.gz".

  • retrive_from (MadisDataServer) – Server protocol to download from. Defaults to MadisDataServer.HTTP.

Return type:

None

Methods

__init__([file_pattern, retrive_from])

compute_date_combinations(years, months, days)

Expand years/months/days into every Date combination

download_files(years, months, days, ...)

Download the MADIS archive file(s) for every combination of years, months, and days

Attributes

FTP_ARCHIVE_PATH

HOSTNAME

HTTP_ARCHIVE_PATH

PRODUCT