fdk_balance_energy.Rd
Close the energy balance of flux measurements. Takes a netcdf input file as generated by dfk_process_lsm() which calls fdk_correct_fluxes()
fdk_balance_energy(qle, qle_qc, qh, qh_qc, rnet, qg, qg_qc, time, tstepsize)
sensible and latent heat values with the energy balance closed
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.