Wrapper for the energy balance correction and subsetting of reported (valid) years.

fdk_flux_corrections(
  infile,
  qle_name = "Qle",
  qh_name = "Qh",
  rnet_name = "Rnet",
  qg_name = "Qg",
  qle_cor_name = "Qle_cor",
  qh_cor_name = "Qh_cor"
)

Arguments

infile

input netcdf file

qle_name

latent heat

qh_name

sensible heat

rnet_name

respiration flux

qg_name

quality control

qle_cor_name

quality control

qh_cor_name

quality control

Value

energy balance corrected netcdf file

Details

This is an almost verbatim copy of the routine as used to generate the PLUMBER-2 data. For transparency reasons this part was split out into a function to provide easier debugging and processing options.