Skip to content

Level 3

Peter Isaac edited this page Oct 12, 2021 · 2 revisions

Input data at Level 3 are Level 2 data but can be imported data from other netCDF files too. E.g. extra file for EddyPro or EasyFlux data output. The L3 processing is as follows:

  1. Read the Level 2 netCDF4 file; make a copy of the L2 data - ds3 = copy.deepcopy(ds2)
  2. Set some attributes for this level - pfp_utils.UpdateGlobalAttributes(cf, ds3, "L3")
  3. Check to see if we have any imports - pfp_gf.ImportSeries(cf,ds3)
  4. Apply linear corrections to the data - pfp_ck.do_linear(cf,ds3)
  5. Parse the control file for information on how the user wants to do the post processing - l3_info = pfp_compliance.ParseL3ControlFile(cf, ds3)
  6. Merge whatever humidities are available
  7. Merge temperatures
    1. Get the air temperature from the CSAT virtual temperature
    2. Merge the HMP and corrected CSAT data
    3. Check units
  8. Calculate humidities (absolute, specific and relative) from whatever is available
  9. Merge the 7500 CO2 concentration
  10. Update/Calculate meteorological variables
  11. Calculate fluxes from covariances section
    1. Check to see if the user wants to use the fluxes in the L2 file
    2. Check the covariance units and change if necessary
    3. Do the 2D coordinate rotation
    4. Do the Massman frequency attenuation correction
    5. Calculate the fluxes
    6. Approximate wT from virtual wT using wA (ref: Campbell OPECSystem manual)
    7. Correct the H2O & CO2 flux due to effects of flux on density measurement CO2 and Fc section
    8. Convert CO2 units if required
    9. Calculate Fc storage term - single height only at present
    10. Convert Fc and Fc_storage units if required
    11. Merge Fc and Fc_storage series if required
    12. Correct Fc for storage term - only recommended if storage calculated from profile available
  12. Radiation section
    1. Merge the incoming shortwave radiation
    2. Calculate the net radiation from the Kipp and Zonen CNR1
  13. Wind speed and direction section
    1. Combine wind speed from the Wind Sentry and the SONIC
    2. Combine wind direction from the Wind Sentry and the SONIC
  14. Soil section
    1. Correct soil heat flux for storage (... either average the raw ground heat flux, soil temperature and moisture and then do the correction (OzFlux "standard") or correct the individual ground heat flux measurements (James' method))
  15. Calculate the available energy
  16. Create new series using MergeSeries or AverageSeries
  17. Calculate Monin-Obukhov length
  18. Re-apply the quality control checks (range, diurnal and rules)

Clone this wiki locally