-
Notifications
You must be signed in to change notification settings - Fork 14
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:
- Read the Level 2 netCDF4 file; make a copy of the L2 data - ds3 = copy.deepcopy(ds2)
- Set some attributes for this level - pfp_utils.UpdateGlobalAttributes(cf, ds3, "L3")
- Check to see if we have any imports - pfp_gf.ImportSeries(cf,ds3)
- Apply linear corrections to the data - pfp_ck.do_linear(cf,ds3)
- Parse the control file for information on how the user wants to do the post processing - l3_info = pfp_compliance.ParseL3ControlFile(cf, ds3)
- Merge whatever humidities are available
- Merge temperatures
- Get the air temperature from the CSAT virtual temperature
- Merge the HMP and corrected CSAT data
- Check units
- Calculate humidities (absolute, specific and relative) from whatever is available
- Merge the 7500 CO2 concentration
- Update/Calculate meteorological variables
- Calculate fluxes from covariances section
- Check to see if the user wants to use the fluxes in the L2 file
- Check the covariance units and change if necessary
- Do the 2D coordinate rotation
- Do the Massman frequency attenuation correction
- Calculate the fluxes
- Approximate wT from virtual wT using wA (ref: Campbell OPECSystem manual)
- Correct the H2O & CO2 flux due to effects of flux on density measurement CO2 and Fc section
- Convert CO2 units if required
- Calculate Fc storage term - single height only at present
- Convert Fc and Fc_storage units if required
- Merge Fc and Fc_storage series if required
- Correct Fc for storage term - only recommended if storage calculated from profile available
- Radiation section
- Merge the incoming shortwave radiation
- Calculate the net radiation from the Kipp and Zonen CNR1
- Wind speed and direction section
- Combine wind speed from the Wind Sentry and the SONIC
- Combine wind direction from the Wind Sentry and the SONIC
- Soil section
- 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))
- Calculate the available energy
- Create new series using MergeSeries or AverageSeries
- Calculate Monin-Obukhov length
- Re-apply the quality control checks (range, diurnal and rules)