tsdat.config.pipeline_definition

Module Contents

Classes

PipelineKeys

Class that provides a handle for keys in the pipeline section of the

PipelineDefinition

Wrapper for the pipeline portion of the pipeline config file.

class tsdat.config.pipeline_definition.PipelineKeys

Class that provides a handle for keys in the pipeline section of the pipeline config file.

TYPE = type
INPUT_DATA_LEVEL = input_data_level
OUTPUT_DATA_LEVEL = data_level
LOCATION_ID = location_id
DATASET_NAME = dataset_name
QUALIFIER = qualifier
TEMPORAL = temporal
class tsdat.config.pipeline_definition.PipelineDefinition(dictionary: Dict[str, Dict])

Wrapper for the pipeline portion of the pipeline config file.

Parameters

dictionary (Dict[str]) – The pipeline component of the pipeline config file.

Raises

DefinitionError – Raises DefinitionError if one of the file naming components contains an illegal character.

check_file_name_components(self)

Performs sanity checks on the config properties used in naming files output by tsdat pipelines.

Raises

DefinitionError – Raises DefinitionError if a component has been set improperly.