FREQCOR_Sel_cof.FREQCOR_Sel_cof
- FREQCOR_Sel_cof.FREQCOR_Sel_cof(Icon_sel, Rcon_sel, freq, gss, sps, meteo_df, Hlim, Fclim, LElim, Hlim_max, Fclim_max, LElim_max, FlagVM_T, FlagVM_g, FlagVM_w, FlagF_H, FlagF_g, FVM, FF, outputpath, plot, cospec_abs_limit, run_tag=None)[source]
Select (co)spectra used for cut-off frequency computation.
Tests for spectra all gases
Stationarity test (tau, H)
VM tests (T)
Min value (H, u*)
Tests for spectra specific to gas
Stationarity test (Fc or LE)
VM tests (c or h)
Min value (Fc or LE)
Additional test for CO2 and heat cospectra
VM test (w)
Absolute values (depend on stability conditions and gas type):
Minimum value for H (FH), Fc or LE (FG)
- Parameters:
Icon_sel (
pandas.DataFrame) – Ideal content (sel) and real content (sel) (co)spectral data (either cospectra or spectra; depends on sps).Rcon_sel (
pandas.DataFrame) – Ideal content (sel) and real content (sel) (co)spectral data (either cospectra or spectra; depends on sps).freq (
pandas.Series) – Natural frequencies (Hz). Used for outlier filtering and plotting.gss (
int) – Gas species selector.sps (
int) – Approach selector (cospectral or spectral).meteo_df (
pandas.DataFrame) – Half-hourly meteorological and flux data.Hlim (
float) – Flux thresholds used for selection (H + gas flux or LE depending on gss).Fclim (
float) – Flux thresholds used for selection (H + gas flux or LE depending on gss).LElim (
float) – Flux thresholds used for selection (H + gas flux or LE depending on gss).FlagVM_T (
pandas.Series) – Vickers & Mahrt (1997) global flags for temperature, gas concentration, and wind.FlagVM_g (
pandas.Series) – Vickers & Mahrt (1997) global flags for temperature, gas concentration, and wind.FlagVM_w (
pandas.Series) – Vickers & Mahrt (1997) global flags for temperature, gas concentration, and wind.FlagF_H (
pandas.Series) – Mauder & Foken (2004) quality flags for sensible heat flux and gas flux.FlagF_g (
pandas.Series) – Mauder & Foken (2004) quality flags for sensible heat flux and gas flux.FVM (
float) – Threshold applied to Vickers & Mahrt flags.FF (
float) – Threshold applied to Mauder & Foken flags.outputpath (
str) – Output directory (used for plots).plot (
list[int]) – Plotting options selector.run_tag (
str, optional) – Run identifier used to generate plot filenames.
- Returns:
Icon_cof (
pandas.DataFrame) – Quality-filtered ideal (co)spectral data [nfreq, nspec] (either cospectra or spectra; depends on sps).Rcon_cof (
pandas.DataFrame) – Quality-filtered real (co)spectral data [nfreq, nspec] (either cospectra or spectra; depends on sps).
- Raises:
ValueError – If run_tag is missing while plotting is enabled.
FREQCORSelCofError – If all (co)spectra are filtered out.