4.7.2. thuner.data.era5
Process ERA5 data.
Functions
|
Generate era5 filepaths from dataset options dictionary. |
- pydantic model thuner.data.era5.ERA5Options[source]
Bases:
BaseDatasetOptionsOptions for ERA5 datasets.
- Fields:
- Validators:
_check_defaults»all fields_check_filepaths»all fields_check_ranges»all fields_check_times»all fields
- field data_format: Literal['pressure-levels', 'single-levels'] = 'pressure-levels'
Data format, e.g. pressure-levels.
- field latitude_range: list[float] = [-90, 90]
Latitude range if accessing a directory of subsetted era5 data.
- field longitude_range: list[float] = [-180, 180]
Longitude range if accessing a directory of subsetted era5 data.
- thuner.data.era5.get_era5_filepaths(dataset_options: ERA5Options, start=None, end=None)[source]
Generate era5 filepaths from dataset options dictionary.
- Parameters:
dataset_options (dict) – Dictionary containing the input dataset_options.
- Returns:
urls (list) – List of URLs.
times (list) – Times associated with the URLs.