arlmet.archives.Archive#
- class arlmet.archives.Archive[source]#
Bases:
ABCAbstract base class for NOAA ARL meteorology archives.
An archive is one ARL-formatted product in NOAA’s archive (e.g. HRRR 3 km): its filename convention, path layout, and start date. Download files with
fetch(), or keep a whole local folder in step with NOAA’s withsync(), choosing themirror(server) to download from.Subclasses set class-level metadata (
name,description,start_date,source,step) and implement_archive_path()to encode the filename convention for their product. A subclass that setsnameis registered inARCHIVESunder that name.
Attributes
The source id in the headers of the archive's files. |
|
Earliest date available in the NOAA archive. |
|
The time between one time step and the next inside a file, as a |
Methods
|
Download ARL files covering |
|
Return deduplicated, sorted archive paths covering |
|
Keep the local folder dest_dir complete and checked against NOAA's MD5 list. |