weatherbench2.config.Data
- class weatherbench2.config.Data(selection, paths, by_init=True, rename_variables=None, pressure_level_suffixes=False)
Data configuration class combining Selection and Paths.
- Parameters:
- selection
Selection instance.
- paths
Paths instance.
- by_init
Specifies whether forecast file follows by-init or by-valid convention (see official documentation).
- Type:
Optional[bool]
- rename_variables
Optional dictionary to convert forecast dimension an variable names to WB2 convention.
- Type:
Optional[Dict[str, str]]
- pressure_level_suffixes
Specifies whether forecast variables are stored with pressure level suffixes instead of a level dimension, e.g. “geopotential_500”.
- Type:
Optional[bool]
- __init__(selection, paths, by_init=True, rename_variables=None, pressure_level_suffixes=False)
Methods
__init__
(selection, paths[, by_init, ...])Attributes