You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When retrieving extreme data for EURPFM there are duplicates present in the returned dataset:
importdatetimeasdtimportddlpylocations=ddlpy.locations()
bool_hoedanigheid=locations['Hoedanigheid.Code'].isin(['NAP'])
bool_stations=locations.index.isin(['EURPFM'])
bool_grootheid=locations['Grootheid.Code'].isin(['WATHTE'])
bool_groepering=locations['Groepering.Code'].isin(['GETETM2'])
selected=locations.loc[bool_grootheid&bool_hoedanigheid&bool_groepering&bool_stations]
# numtiple parameters avaialble per locationrecords=selected.iloc[0]
# if we pass one row to the measurements function you can get all the measurementsmeasurements=ddlpy.measurements(records, dt.datetime(2012,12,31,7,35,0), dt.datetime(2013,1,1,18,26,0), clean_df=False)
print("measurements")
print(measurements)
print()
print("measurements without duplicates")
print(measurements.drop_duplicates())
This prints the following. The raw data has all values duplicated twice (including status, meetapparaar etc, since all is present in this dataframe):
When retrieving extreme data for EURPFM there are duplicates present in the returned dataset:
This prints the following. The raw data has all values duplicated twice (including status, meetapparaar etc, since all is present in this dataframe):
This is also the case for other timestamps.
The text was updated successfully, but these errors were encountered: