opendcs / opendcs

Open Data Collection System for Hydro/Meteorologic Data
Apache License 2.0
27 stars 24 forks source link

Support for CWMS Versioned timeseries #623

Open MikeNeilson opened 1 week ago

MikeNeilson commented 1 week ago

Is your feature request related to a problem? Please describe. CWMS Time Series support a concept called "dated version" that allows initial saves, or changes to be written to the database with a "date version" (commonly time of save, or a forecast issuance date) such that original data is retrievable but new data can be used.

Computed data should be saved with the same version date as the data presented to cp_comp_tasklist and data in the tasklist of the same timeseriesidentifier but different version date should be treated as independent time series.

Describe the solution you'd like CTimeSeries, or CwmsTsId should have a Date versionDate field added.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Making the versionDate part of the TimeSeriesIdentifier may make it easier to handle the independence of the time series.