Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDL improvements (data and waterwebservices) #4

Open
18 of 59 tasks
veenstrajelmer opened this issue Mar 9, 2024 · 0 comments
Open
18 of 59 tasks

DDL improvements (data and waterwebservices) #4

veenstrajelmer opened this issue Mar 9, 2024 · 0 comments

Comments

@veenstrajelmer
Copy link
Collaborator

veenstrajelmer commented Mar 9, 2024

General

ddlpy improvements

DDL/waterwebservices api improvements

DDL data improvements (donar or ddl)

Additional data validation

  • 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

ddlpy example for HOEKVHLD
Inspired by example notebook:

import ddlpy
# 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 location
measurements = ddlpy.measurements(selected.iloc[0], start_date, end_date)

measurements.plot(y='Meetwaarde.Waarde_Numeriek', linewidth=0.5, figsize=(13, 8))
@veenstrajelmer veenstrajelmer changed the title DDL improvements from hatyan issue DDL improvements (data and waterwebservices) Mar 9, 2024
@veenstrajelmer veenstrajelmer mentioned this issue Apr 30, 2024
48 tasks
@veenstrajelmer veenstrajelmer mentioned this issue Jun 14, 2024
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant