You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
support for requesting with unique Locatie_MessageID instead of 9-decimal X/Y + Code. >> not urgent since ddlpy handles it automatically. Would still be convenient though, since Locatie_MessageID is always unique. This also simplifies getting hist or realtime data once you know which station is which. Or is Locatie_MessageID already used in the station filtering? >> new Wadar WaterWebservices have unique location codes and do not require passing X/Y in the request anymore.
Flatten StatuswaardeLijst/KwaliteitswaardecodeLijst (and rename to Statuswaarde/Kwaliteitswaardecode) in ddl. This also goes for other keys under WaarnemingMetadata like Bemonsteringshoogte/Referentievlak/OpdrachtgevendeInstantie. Additionally also always return kwaliteitswaarde as int instead of str? >> not urgent since nested lists are flattened in ddlpy >> new Wadar Waterwebservices has no lists anymore for these columns
split BioTaxonType in Code and Omschrijving like all others >> resolved in new Wadar Waterwebservices
minimize query/disk size of WaardeBepalingsmethode.Code (e.g. "other:F009") by dropping "other:" from codes >> or do not all start with ":other"? >> Will be stored different in wadar-waterwebservices, so not relevant
merge metadata in WaarnemingMetadata (e.g. StatuswaardeLijst or KwaliteitswaardecodeLijst) with rest (e.g. Hoedanigheid or Groepering), and also split in Code/Omschrijving
split ProcesType in Code and omschrijving (was added in new Wadar WaterWebservices)
minimize query/disk size of WaarnemingMetadata.StatuswaardeLijst by replacing Gecontroleerd by G, Ongecontroleerd by O, Definitief by D. Or better: use Code and Omschrijving separately
minimize query/disk space by excluding columns with duplicated information (like textual description of grootheid/eenheid/hoedanigheid/etc combination in Parameter_Wat_Omschrijving column)
accept larger requests (and prevent timeout), so we can safely retrieve data per year instead of per month. This will increase the retrieval process significantly
"Omschrijving" column was added in new Wadar WaterWebservices. It contains almost the same information as "Naam" (station name), so it is either duplicate or confusing information. Column can be removed?
Use DCSM data QA (tidal analysis and model-measurement differences) to provide additional feedback on data
for cmems/kwk/getijverandering: how to get entire timeseries of approved waterlevel? Do we check status or kwaliteitscode? And are all statuses/kwaliteitscodes up to date? Maybe create overview of status/qc over time per station.
maybe compare ddl available data to waterbase available data
importddlpy# import logging# logging.basicConfig()# ddlpy.ddlpy.logger.setLevel(logging.DEBUG)locations=ddlpy.locations()
bool_hoedanigheid=locations['Hoedanigheid.Code'].isin(['NAP'])
bool_stations=locations.index.isin(['HOEKVHLD', 'IJMDBTHVN','SCHEVNGN'])
bool_grootheid=locations['Grootheid.Code'].isin(['WATHTE'])
bool_groepering=locations['Groepering.Code'].isin(['NVT'])
selected=locations.loc[bool_grootheid&bool_hoedanigheid&bool_groepering&bool_stations]
start_date="2019-01-01"end_date="2020-02-01"# pass a single row of the locations dataframe to the measurements function to get the measurements for that locationmeasurements=ddlpy.measurements(selected.iloc[0], start_date, end_date)
measurements.plot(y='Meetwaarde.Waarde_Numeriek', linewidth=0.5, figsize=(13, 8))
The text was updated successfully, but these errors were encountered:
General
ddlpy improvements
ddlpy.measurements_amount()
Deltares/ddlpy#92ddlpy.measurements()
Deltares/ddlpy#94Parameter_Wat_Omschrijving
in_combine_waarnemingenlijst
Deltares/ddlpy#103DDL/waterwebservices api improvements
BioTaxonType
in Code and Omschrijving like all others >> resolved in new Wadar WaterwebservicesWaardeBepalingsmethode.Code
(e.g. "other:F009") by dropping "other:" from codes >> or do not all start with ":other"? >> Will be stored different in wadar-waterwebservices, so not relevantMeetwaarde.Waarde_Alfanumeriek
ifMeetwaarde.Waarde_Numeriek
column is present, contains duplicate information. Would be cleaner if ddl would not return this duplicate column. Or consider simplify distinction between HW and LW extremes Rijkswaterstaat/wm-ws-dl#19WaarnemingMetadata.StatuswaardeLijst
by replacing Gecontroleerd by G, Ongecontroleerd by O, Definitief by D. Or better: use Code and Omschrijving separatelyParameter_Wat_Omschrijving
column)DDL data improvements (donar or ddl)
drop_duplicates
was added tokenmerkendewaarden.read_measurements()
, one can get logging for the amount of time-value-duplicates and time-duplicates in each dataset. Before adding this to Missing/duplicated values in WATHTE timeseries and extremes Rijkswaterstaat/wm-ws-dl#39, first re-retrieve all (corrected) data (after 14-8-2024, although this does not include cleaner extremes yet)Additional data validation
ddlpy example for HOEKVHLD
Inspired by example notebook:
The text was updated successfully, but these errors were encountered: