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

TEXNZE has large gap in 2007 data #26

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

TEXNZE has large gap in 2007 data #26

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

Comments

@veenstrajelmer
Copy link

import ddlpy

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

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

Gives:
image
Is this to be expected or a mistake?

In #16 there was a more extensive overview of gaps provided, that can also be created for this station if necessary.

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

2 participants