primap2.ProcessingStepDescription

primap2.ProcessingStepDescription#

class primap2.ProcessingStepDescription(*, time: ndarray[datetime64] | Literal['all'], function: str, description: str, source: str | None = None)[source]#

Structured description of a processing step done on a timeseries.

Attributes:
time

Time points for which data was changed during the processing step. Use “all” if all time points were changed or it is not specified which time points were changed.

function

The name of the function which did the processing.

description

Human-readable description of the processing step.

source

Optional: a short identifier for the source of the data which was used for the processing.

Methods

structure(u)

Initialize from basic python types as created by "unstructure".

unstructure()

Convert into basic python types.

__init__(*, time: ndarray[datetime64] | Literal['all'], function: str, description: str, source: str | None = None) None#

Method generated by attrs for class ProcessingStepDescription.

Methods

__init__(*, time, function, description[, ...])

Method generated by attrs for class ProcessingStepDescription.

structure(u)

Initialize from basic python types as created by "unstructure".

unstructure()

Convert into basic python types.

Attributes

time

function

description

source