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

negative outliers for UITHZWD1 #30

Open
veenstrajelmer opened this issue Apr 4, 2024 · 4 comments
Open

negative outliers for UITHZWD1 #30

veenstrajelmer opened this issue Apr 4, 2024 · 4 comments
Labels

Comments

@veenstrajelmer
Copy link

For at least 2008 to 2012

import ddlpy

locations = ddlpy.locations()
bool_hoedanigheid = locations['Hoedanigheid.Code'].isin(['NAP'])
bool_stations = locations.index.isin(['UITHZWD1'])
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 = "2007-10-01"
end_date = "2012-01-01"

measurements = ddlpy.measurements(selected.iloc[0], start_date, end_date)
measurements.plot(y='Meetwaarde.Waarde_Numeriek')

Gives:
image
Also for WIERMWD1:
image

In #18 there was a csv created with outlier timestamps, this can also be created for these stations if necessary

@KDoekes-RWS
Copy link

This is fixed, the incorrect negative values have been replaced in DONAR by the standard no-info value (999999999).
These are unvalidated data.

@veenstrajelmer
Copy link
Author

Thanks, @KDoekes-RWS. Just checking, was the kwaliteitscode also set to 99? These were not 99 before, otherwise these outliers would already be replaced with nans by the toolbox we use.

@KDoekes-RWS
Copy link

Yes, of course, the quality code was set on 99.

@veenstrajelmer
Copy link
Author

veenstrajelmer commented Jun 4, 2024

Thanks for confirming this. @TvLoon-RWS in that case I expect that after a next synchronization from DDL with DONAR, this issue is resolved. However, it might be good to wait with a synchronization until #18 and #25 are also resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants