FREQCOR_Flux

Created on Thu Aug 4 14:49:58 2022

@author: Ariane Faurès

Functions

FREQCOR_Flux

Compute corrected fluxes using spectral correction factors and LUTs.

FREQCOR_Flux.FREQCOR_Flux(nspec, sps, gss, meteo_df, WS, WD, Zeta, LUTCF_u, classnumCF_u, LUTCF_s, classnumCF_s, zmeas, disph, rsz, rseast, rsnorth, eq)[source]

Compute corrected fluxes using spectral correction factors and LUTs.

Parameters:
  • nspec (int) – Number of half-hourly periods (number of spectra).

  • sps (int) – Correction method selection (1: standard, 2: sensor separation correction).

  • gss (int) – Gas species selection (1: CO2, 2: H2O, etc.).

  • meteo_df (pandas.DataFrame) – Meteorological and flux data for each period.

  • WS (array-like) – Wind speed series.

  • WD (array-like) – Wind direction series.

  • Zeta (array-like) – Stability parameter series.

  • LUTCF_u (dict) – LUT for unstable conditions.

  • classnumCF_u (int) – Number of LUT classes for unstable conditions.

  • LUTCF_s (dict) – LUT for stable conditions.

  • classnumCF_s (int) – Number of LUT classes for stable conditions.

  • zmeas (float) – Measurement height (m).

  • disph (float) – Displacement height (m).

  • rsz (float) – Sensor separation (z direction, m).

  • rseast (float) – Sensor separation (east direction, m).

  • rsnorth (float) – Sensor separation (north direction, m).

  • eq (int) – Equation selection (13 or 16).

Returns:

[FccorL, FccorG, CFHL, CF_L, CF_G] FccorL: pandas.Series of corrected fluxes (Lorentzian). FccorG: pandas.Series of corrected fluxes (Gaussian). CFHL: Sensor separation correction factor. CF_L: numpy.ndarray of correction factors (Lorentzian). CF_G: numpy.ndarray of correction factors (Gaussian).

Return type:

list