USACE / cwms-data-api

Corps Water Management System RESTful Data Service
MIT License
14 stars 14 forks source link

Time series "active" flag #792

Open MikeNeilson opened 4 months ago

MikeNeilson commented 4 months ago

Discussed in https://github.com/USACE/cwms-data-api/discussions/791

Originally posted by **mdstanfill** July 17, 2024 Is there a way to determine whether a time series is "active" in CDA? With CWMS API, I would check the `net_ts_active_flag` of `cwms_v_ts_id2`, but I don't see a way to find this out with the existing endpoints (`catalog/TIMESERIES`, `timeseries/recent` or `timeseries`).
rma-rripken commented 4 months ago

Can you clarify what this issue covers? That discussion issue mentions search-ability, what does that cover?
Should "active" be added to TimeseriesCatalog entries?
Should "active" be added to Timeseries? Should optional active filter be added to Timeseries Catalog end-point?
Should optional active filter be added to getAll for TimeSeriesIdentifierDescriptor ? Are there other search filters that need to be added to TimeSeriesIdentifierDescriptor? Is there a similar field for Location -should similar things be done there?