dp3.common.datapoint ¶
DataPointBase ¶
Bases: BaseModel
Data-point
Contains single raw data value received on API. This is just base class - plain, observation or timeseries datapoints inherit from this class (see below).
Provides front line of validation for this data value.
Internal usage: inside Task, created by TaskExecutor
DataPointPlainBase ¶
Bases: DataPointBase
Plain attribute data-point
Contains single raw data value received on API for plain attribute.
In case of plain data-point, it's not really a data-point, but we use the same naming for simplicity.
DataPointObservationsBase ¶
Bases: DataPointBase
Observations attribute data-point
Contains single raw data value received on API for observations attribute.
DataPointTimeseriesBase ¶
Bases: DataPointBase
Timeseries attribute data-point
Contains single raw data value received on API for observations attribute.
ignore_value ¶
is_list_ordered ¶
dp_ts_v_validator ¶
Check if all value arrays are the same length.
dp_ts_root_validator_irregular ¶
Validates or sets t2 of irregular timeseries datapoint
Source code in dp3/common/datapoint.py
dp_ts_root_validator_irregular_intervals ¶
Validates or sets t2 of irregular intervals timeseries datapoint