runtraj.models.flexpart.FlexpartMetConfig#
- class runtraj.models.flexpart.FlexpartMetConfig(*, label: str | None = None, directory: pathlib.Path, pattern: str = '*') None[source]#
The meteorology FLEXPART reads: a directory of GRIB files.
FLEXPART reads each file as
AVAILABLElists it, by valid time; runtraj reads the valid time from each file’s first message, so the names do not matter. Which weather model the files come from is read from the first file too (source()): ERA5 as flex_extract writes it (EA*files on model levels) runs, and GFS is refused, because on current GFSpgrb2files FLEXPART 11 derives the surface heat flux and stress near zero, so particles released near the ground stay near it (FLEXPART Integration).A string in
config.yamlis thedirectory:era5: /path/to/era5.
Parameters#
Parameter |
Description |
Default |
|---|---|---|
|
A name that tells this met’s runs apart from those of another met of the same weather product, such as |
|
|
Directory of the GRIB files. A relative path starts from the project directory. |
Required |
|
Glob that picks the GRIB files in |
|
Methods#
|
This function is meant to behave like a BaseModel method to initialize private attributes. |
|
Return the GRIB files a run read as one Dataset in |
|
Return what a run records of this met: its source and its grid. |
|
Return the weather model the files come from, |