ewatercycle.esmvaltool.schema
ESMValTool recipe schema and preprocessor types.
The classes and their attributes in this module are based on the ESMValTool recipe schema at https://github.com/ESMValGroup/ESMValCore/blob/main/esmvalcore/_recipe/recipe_schema.yml .
Module Contents
- class ewatercycle.esmvaltool.schema.Dataset
Bases:
pydantic.BaseModel
ESMValTool dataset section.
- model_config
- class ewatercycle.esmvaltool.schema.Variable
Bases:
pydantic.BaseModel
ESMValTool variable section.
- class ewatercycle.esmvaltool.schema.Script
Bases:
pydantic.BaseModel
ESMValTool script section.
- model_config
- class ewatercycle.esmvaltool.schema.Diagnostic
Bases:
pydantic.BaseModel
ESMValTool diagnostic section.
- class ewatercycle.esmvaltool.schema.Documentation
Bases:
pydantic.BaseModel
ESMValTool documentation section.
- class ewatercycle.esmvaltool.schema.Recipe
Bases:
pydantic.BaseModel
ESMValTool recipe.
- documentation: Documentation
- diagnostics: dict[str, Diagnostic] | None = None
- classmethod load(path: pathlib.Path) Recipe
Load recipe from path.
- save(path: pathlib.Path) None
Save recipe to path.
- Parameters:
path – Path to save recipe to.
- class ewatercycle.esmvaltool.schema.ClimateStatistics
Bases:
pydantic.BaseModel
Arguments of
climate_statistics()
.- operator: Literal['mean', 'std', 'min', 'max', 'median', 'sum'] = 'mean'
- period: Literal['hour', 'day', 'month', 'year'] = 'day'
- ewatercycle.esmvaltool.schema.ExtractRegion
Arguments for the
extract_region()
preprocessor.