Skip to content

This repository centers around (1) extracting, processing, and aligning AOP data with field-collected Foliar Nitrogen data and (2) wrangling and visualizing the extracted data for the D03 (2014) and D17 (2013) prototypes

Notifications You must be signed in to change notification settings

cflagg/pythonWork

 
 

Repository files navigation

pythonWork

This repository centers around (1) extracting, processing, and geo-locating AOP data with field-collected Foliar Nitrogen data and (2) wrangling and visualizing the extracted data for the D03 (2014) and D17 (2013) prototypes.

Analytical Goals

The analysis is currently divided into two main pieces: (1) Analyzing plot-scale (i.e. all bright pixels averaged) NDNI vs. Foliar Nitrogen across sites, and (2) Analyzing single-stem-scale spectra (i.e. a single pixel, VIS - NIR wavelengths) vs. Foliar N across sites (this is the PLS analysis).

Workflow Process

Below is an abstraction of the workflow for my 2015 AGU poster. Airborne data extraction scripting file workflow (where "[]" indicates a folder/file and "{}" indicates an input/output):

(Step 1 - Extract AOP data)

{inputs: all HDF5 files for a single site; plot boundaries shapefile; flightlineID per plotID} >> [canopyN/ExtractPlotSpectra_siteID.py] >> {outputs: NDNI pixels for each unique plotID, as separate HDF5 files}

(Step 2 - Regress NDNI ~ Foliar N)

{inputs: NDNI calculated per pixel per plotID; foliar nitrogen data per plot} >> [canopyN/processFieldData_siteID] >> {outputs: plot averaged NDNI; plot averaged foliar nitrogen}

(Step 3 - Extract Single Pixel per tree stem coordinate)

{inputs: HDF5 file per plotID; field coordinates of tree stems} >> [pls/pull_spectra_from_h5_siteID.R] >> {outputs: a 3D array of reflectance per unique stemID per plotID}

(Step 4 - Regress Single Pixel against foliar N per stemID)

{inputs: stemID reflectance; stemID foliar_N} >> [cflagg/pls_foliarN.Rmd] >> {outputs: PLS regression results and figures}

About

This repository centers around (1) extracting, processing, and aligning AOP data with field-collected Foliar Nitrogen data and (2) wrangling and visualizing the extracted data for the D03 (2014) and D17 (2013) prototypes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 58.0%
  • OpenEdge ABL 21.1%
  • PostScript 15.1%
  • Python 5.1%
  • Other 0.7%