flasc.data_processing.filtering.df_get_no_faulty_measurements#
- flasc.data_processing.filtering.df_get_no_faulty_measurements(df, turbine)[source]#
Get the number of faulty measurements for a specific turbine.
- Parameters:
df (pd.DataFrame) --
Dataframe containing the turbine data, formatted in the generic SCADA data format. Namely, the dataframe should at the very least contain the columns:
Time of each measurement: time
Wind speed of each turbine: ws_000, ws_001, ...
Power production of each turbine: pow_000, pow_001, ...
turbine (int) -- The turbine identifier for which the number of faulty measurements should be counted.
- Returns:
Number of faulty measurements for the turbine.
- Return type:
N_isnan (int)