Skip to content

Reformat AmeriFlux data files into NetCDF and add quality flags for outliers and low-turbulence conditions

License

Notifications You must be signed in to change notification settings

psu-inversion/ameriflux-postprocessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ameriflux-postprocessing

Reformat AmeriFlux data files into NetCDF files following CF and ACDD conventions, based around the NCEI orthogonal time series template

Also add quality flags for outliers and low-turbulence conditions.

Running

Download AmeriFlux BASE data files into one directory, then run

python ameriflux_base_to_netcdf.py /path/to/ameriflux/base/data \
    /path/to/variable/units/file.csv /path/to/measurement/platform/metadata/file.csv

where the file with units for all the variables is available from https://ameriflux.lbl.gov/data/aboutdata/data-variables/ and the measurement location metadata file is available from https://ameriflux.lbl.gov/data/measurement-height/

Dependencies

  • Quality flags provided by hesseflux
  • Backup solar radiation provided by pvlib