Skip to content

Latest commit

 

History

History
47 lines (31 loc) · 4.22 KB

README.md

File metadata and controls

47 lines (31 loc) · 4.22 KB

LTER Synthesis working group -- The Flux Gradient Project: Understanding the methane sink-source capacity of natural ecosystems

PIs:

  • Sparkle L. Malone, Assistant Professor, Yale University
  • Jackie H. Matthes, Senior Scientist, Harvard University

Project Summary

Data Frame Organization

  • Column name should use snake case include units, last "_" proceeds units (i.e. var_molperm3)
  • no "- or /" in column names

Workflow Folder

  1. flow.NEON.data.download.R Workflow script that download and unzip NEON HDF5 (eddy covariance files) files for all sites and time periods of interest. ALSO downloads all required MET data products that are not in the bundled HDF5 file.
  2. flow.NEON.data.unzip.R Workflow. Unzips all downloaded NEON data files.
  3. flow.NEON.data.extract.R Extract and stack downloaded and unzipped data into R objects for each data averaging interval, saved in their own RData file. These are currently min9.list (9-min/6-min concentrations), min30.list (30-min met and flux data), and min1.list (1-min met data), WS2D (2D wind speed data). Also extracts and saves site attributes from the HDF5 files into an R object called attr.df. Zips and saves objects to Google Drive. For example, googledrive::drive_upload(media = path to the local file to upload, overwrite = T, path = googledrive::as_id("url to Drive folder")).
  4. flow.NEON.data.format.conc.diffs.R Grabs output from flow.NEON.data.extract.R from Google Drive. Align the 9-min concentration data among adjacent tower levels (and also the bottom-top levels). Interpolates 30-min eddy flux and MET data to the 9-min/6-min concentrations, including but not limited to u*, ubar (profile), roughness length. Also derives kinematic water flux (LE -> w'q'), heat flux (w'T'), aerodynamic canopy height, displacement height, that are needed for the various methods. Differences the concentrations for CH4, CO2, and H2O for adjacent tower levels (and bottom-top). Saves output as SITE_aligned_conc_flux_9min.RData, where SITE is the NEON site code. Zips and uploads to Google Drive.
  5. flow.calc.flag.windprof.R Grab aligned concentration & flux data from Google Drive and calculate the fluxes using wind profile method and adds quality flag columns, month, hour, residual, rmse for calculated fluxes. Save output as SITE_METHOD.RData, where SITE is NEON site code, METHOD is the computation method (e.g. MBR=modified bowen ratio, aero = aerodynamic, windprof=wind profile).
  6. flow.calc.flag.aero.R Grab aligned concentration & flux data from Google Drive and calculate the fluxes using aerodynamic method and adds quality flag columns, month, hour, residual, rmse calculated fluxes. Save output as SITE_METHOD.RData, where SITE is NEON site code, METHOD is the computation method (e.g. MBR=modified bowen ratio, aero = aerodynamic, windprof=wind profile).
  7. flow.calc.flag.mbr.R Grab aligned concentration & flux data from Google Drive and calculate the fluxes using modified bowen ratio method and adds quality flag columns, month, hour, residual, rmse calculated fluxes. Save output as SITE_METHOD.RData, where SITE is NEON site code, METHOD is the computation method (e.g. MBR=modified bowen ratio, aero = aerodynamic, windprof=wind profile).
  8. flow.flag.flux.stats.R Grab SITE_METHOD.Rdata from Google Drive and adds quality flag columns, month, hour, residual, rmse. MOVE TO CALL THESE FUNCTIONS WHEN FLUXES ARE CALCULATED
  9. flow.eval.plots.R Grad SITE_METHOD.Rdata and make 1to1 plots, bar plots, light response curves, temperature response curves, dirurnal plots. MOVE TO EXPLORATORY

Function Folder

  • Use hierarchical naming with the active verb first, i.e. "flag.iqr.R"
  • This is where all functions called by flow. scripts in Workflow Folder are stored

Exploratory Folder

  • Wild West, this is where preliminary functions and workflows are stored

Deprecated Folder

  • This is where unused workflows and functions are stored

NOTE: Feel free to contact Nick and Angel during their office hours for coding/git help

NEON Data Products

ADD LINKS TO NEON DATA PRODUCTS PAGE

Supplementary Resources

NCEAS Scientific Computing Support Team page link