dpyverification.datamodel.main#
Module with the dpyverification internal DataModel.
Classes
|
Class containing simulations and observations. |
|
The internal output dataset. |
- class dpyverification.datamodel.main.InputDataset(data)[source]#
Class containing simulations and observations.
SimObsDataset has functionality to retrieve verification pairs for computation of scores per pair. It is the central object used in the verification pipeline.
- static map_historical_into_forecast_space(obs, sim)[source]#
Transform array of historical data into forecast structure.
Given an observation array with dimension ‘time’ and a simulation array with dimensions ‘forecast_reference_time’ and ‘forecast_period’, project the observed values onto the simulation array.
This method is called at runtime when the pipeline starts a score computation on forecast data. On the fly, the observation array is mapped to the forecast structure, so data are aligned along the same dimensions.
- class dpyverification.datamodel.main.OutputDataset(input_dataset)[source]#
The internal output dataset.
Contains input data, results from verification scores and metadata.
- Parameters:
input_dataset (InputDataset)