-
Notifications
You must be signed in to change notification settings - Fork 14
Level 2
Peter Isaac edited this page Oct 12, 2021
·
8 revisions
The netCDF4 file created at Level 1 is input file to the processing at Level 2. At Level 2 quality control checks are run on the input raw data. The L2 processing is as follows:
- Read the Level 1 netCDF4 file; make a copy of the L1 data - ds2 = copy.deepcopy(ds1)
- Set some attributes for this level - pfp_utils.UpdateGlobalAttributes(cf, ds2, "L2")
- Apply linear corrections to the data - pfp_ck.do_linear(cf, ds2)
- Apply the quality control checks (range, diurnal, exclude dates and exclude hours) - pfp_ck.do_qcchecks(cf, ds2)
- Do the Sonic anemometer (CSAT, ...) diagnostic check - pfp_ck.do_SONICcheck(cf, ds2)
- Do the gas analyser (Li7500, EC155, ...) diagnostic check - pfp_ck.do_IRGAcheck(cf, ds2)
- Check missing data and QC flags are consistent - pfp_utils.CheckQCFlags(ds2)
- Write series statistics to file - pfp_io.get_seriesstats(cf, ds2)
- Write the percentage of good data as a variable attribute - pfp_utils.get_coverage_individual(ds2)