Despite standardization efforts it seems that some flux data has idiosyncratic issues with respect to units etc. For the few sites where such issues exist dedicated correction routines are provided.

site_exceptions(site_code, var_data, att_data, qc_val)

Arguments

site_code

FLUXNET site code abbreviation

var_data

FLUXNET data frame

att_data

FLUXNET meta-data

qc_val

FLUXNET quality control parameters

Value

corrected FLUXNET data for select sites

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.

Currently site based changes are ignored, assuming that more up to date FLUXNET2015/OneFlux processing has addressed site to site inconsistency. Few remaining sites to which it applies will use the processed PLUMBER-2 data as source input and hence it will not apply.