tsdat.config.dataset
Classes
Defines the structure and metadata of the dataset produced by a tsdat pipeline. |
- class tsdat.config.dataset.DatasetConfig[source]
Bases:
tsdat.config.utils.YamlModel
Defines the structure and metadata of the dataset produced by a tsdat pipeline.
Also provides methods to support yaml parsing and validation, including generation of json schema.
- Parameters:
attrs (GlobalAttributes) – Attributes that pertain to the dataset as a whole.
coords (Dict[str, Coordinate]) – The dataset’s coordinate variables.
data_vars (Dict[str, Variable]) – The dataset’s data variables.
- coords: Dict[str, tsdat.config.variables.Coordinate][source]
- data_vars: Dict[str, tsdat.config.variables.Variable][source]
Class Methods
Method Descriptions
- __getitem__(name: str) tsdat.config.variables.Variable | tsdat.config.variables.Coordinate [source]
- classmethod set_variable_name_property(vars: Dict[str, Dict[str, Any]]) Dict[str, Dict[str, Any]] [source]
- classmethod time_in_coords(coords: Dict[str, tsdat.config.variables.Coordinate]) Dict[str, tsdat.config.variables.Coordinate] [source]
- variable_names_are_legal(vars: Dict[str, tsdat.config.variables.Variable], field: pydantic.fields.ModelField) Dict[str, tsdat.config.variables.Variable] [source]