arlmet.archives.WRF27kmArchive#

class arlmet.archives.WRF27kmArchive(kind='avg')[source]#

Bases: Archive

NOAA ARL’s 27 km WRF over North America (1980-01-01 on).

One file per UTC calendar day (24 hourly time steps), from WRF-ARW runs started each day at 06 UTC with the first 18 hours discarded as spin-up. The archive has two sub-products, chosen with kind: "avg", with mass-coupled time-averaged winds (about 287 MB a file, 1980 to the end of 2023), and "inst", with instantaneous winds (about 220 MB a file, 1980 to 2026). NOAA’s README says HYSPLIT performs slightly better with the averaged winds.

Parameters:

kind (Literal['avg', 'inst']) – Which sub-product: time-averaged winds (default) or instantaneous winds.

Notes

The files are on a Lambert conformal grid with sigma levels and carry the source id "AWRF". paths_for_range does not know where a sub-product ends, so a request past its last file fails at download.

For sync(), dest_dir is the folder of one sub-product (the one that holds 1980/01/...). NOAA’s lists for the two sub-products are at the top of wrf27km/ (listing.avg.md5.txt, listing.inst.md5.txt) and name a file {year}/{name}, without its month folder; the name is what sync uses.

S3: s3://noaa-oar-arl-hysplit-pds/wrf27km/{avg|inst}/{year}/{month:02d}/wrfout_d01_{YYYYMMDD}.ARL

Attributes

description

name

source

The source id in the headers of the archive's files.

start_date

Earliest date available in the NOAA archive.

step

The time between one time step and the next inside a file, as a pandas.Timedelta: the spacing of the file's index records, the product's own time resolution.

Inherited

From Archive: fetch, paths_for_range, sync