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.
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/