arlmet.archives.Archive#
- class arlmet.archives.Archive[source]#
Abstract 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(), choosing themirror(server) to download from.Subclasses set class-level metadata and implement
_archive_path()to encode the filename convention for their product. A subclass that setsnameis registered inARCHIVESunder that name.- start_date#
Earliest date in the archive.
- Type:
- source#
The source id its files’ headers carry (
arlmet.File.source), such as"HRRR", so a caller can tell which product an archive holds without downloading a file. Every file of an archive carries the same id, except where a subclass says otherwise.- Type:
Methods
|
|
|
Download ARL files covering |
|
Return deduplicated, sorted archive paths covering |
Attributes
|
|
|
|
|
|
Earliest date available in the NOAA archive. |
|
The source id in the headers of the archive's files. |