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

hoedanigheid (vertical reference level) is defined in multiple metadata fields #42

Closed
veenstrajelmer opened this issue May 17, 2024 · 1 comment

Comments

@veenstrajelmer
Copy link

When filtering waterlevel extremes, we have to distinguish between NAP/MSL stations in the Groepering column (or include all). The vertical reference level (NAP or MSL) is already defined in the Hoedanigheid column, so it does not make sense to also distinguish between these in the Groepering : GETETM2/GETETBRKD2/GETETMSL2/GETETBRKDMSL2

import ddlpy

locations = ddlpy.locations()

bool_station = locations.index.isin(['HOEKVHLD'])
bool_grootheid_meas = locations['Grootheid.Code'].isin(['WATHTE'])
bool_grootheid_astro = locations['Grootheid.Code'].isin(['WATHTBRKD'])
bool_hoedanigheid = locations['Hoedanigheid.Code'].isin(['NAP'])
bool_groepering_ts = locations['Groepering.Code'].isin(['NVT'])
bool_groepering_ext = locations['Groepering.Code'].isin(['GETETM2','GETETBRKD2','GETETMSL2','GETETBRKDMSL2'])

# get WATHTE locations (ts) >> measured waterlevel
locs_wathte = locations.loc[bool_station & bool_grootheid_meas & bool_hoedanigheid & bool_groepering_ext]
# get WATHTBRKD locations (ts) >> computed astronomical waterlevel
locs_wathtbrkd = locations.loc[bool_station & bool_grootheid_astro & bool_hoedanigheid & bool_groepering_ext]
@TvLoon-RWS
Copy link
Collaborator

This will be partly covered with the ProcesType 'meting' 'astro' or 'verwachting' in Wadar WaterWebservices

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

2 participants