stilt.config.MetConfig#
- class stilt.config.MetConfig(*, directory: pathlib.Path, source: str | None = None, backend: Literal['s3', 'ftp', 'http'] = 's3', file_format: str | None = None, file_tres: str | None = None, n_min: int = 1, subgrid_enable: bool = False, subgrid_bounds: stilt.config.spatial.Bounds | None = None, subgrid_buffer: float = 0.2, subgrid_levels: int | None = None, subgrid_dir: pathlib.Path | None = None, **extra_data: Any) None[source]#
Settings for one meteorology stream.
Give either
sourceto download ARL files with arlmet, orfile_formatandfile_tresto find them indirectory. Withsource, other keys are options for that arlmet source (such asdomainfornams). Any other unknown key is an error.
Parameters#
Parameter |
Description |
Default |
|---|---|---|
|
Directory holding the ARL meteorology files. Downloads are saved here. |
Required |
|
Name of an arlmet source to download files from NOAA archives, such as |
|
|
Where |
|
|
|
|
|
Time covered by each file, as a pandas time string such as |
|
|
Minimum number of files a simulation needs. Fewer fails the simulation. |
|
|
Crop the meteorology to |
|
|
Longitude/latitude box to crop the meteorology to. |
|
|
Margin added to every side of |
|
|
Number of vertical levels to keep, counted from the surface. Unset keeps all. |
|
|
Directory for the cropped files, shared by every simulation that uses this meteorology. Unset uses |
|