Corrects ERA data of a FluxnetLSM file (changes the file) locally, if a path is provided a new file is created.

fdk_correct_era(infile_met, new_qc)

Arguments

infile_met

input netcdf filename

new_qc

quality control parameters

Value

corrects an existing ERA-Interim FluxnetLSM file in place

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.