Open veenstrajelmer opened 6 months ago
import ddlpy locations = ddlpy.locations() bool_hoedanigheid = locations['Hoedanigheid.Code'].isin(['NAP']) bool_stations = locations.index.isin(['HUIBGT']) 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 = "1987-04-01" end_date = "1988-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:
Additionally:
Gives:
Additionally: