Coder Social home page Coder Social logo

plantphys / gsti Goto Github PK

View Code? Open in Web Editor NEW
6.0 7.0 1.0 1.07 GB

A project focused on the development of generalized spectra-trait models for the prediction of leaf photosynthetic capacity. This includes models focused on the prediction of leaf nitrogen, leaf mass per area (LMA), leaf water content (LWC), Vcmax, Jmax and dark respiration.

License: GNU General Public License v3.0

R 100.00%
spectra spectra-trait gasexchange jmax leaf physiology spectral vcmax respiration rdark

gsti's People

Contributors

davidsonken avatar fupenghzau avatar julienlamour avatar regnans avatar serbinsh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

julienlamour

gsti's Issues

Qian_et_al_2019

Ask dataset to [email protected]

(Qian, X., Zhang, Y., Liu, L., & Du, S. (2019). Exploring the potential of leaf reflectance spectra for retrieving the leaf maximum carboxylation rate. International Journal of Remote Sensing, 40(14), 5411-5428.)

Improve documentation

Better describe the data curation (how to do the QAQC of the A-Ci curves)
Add the dependencies (package here, readxl, spectratrait, ..)
Add a how-to-start section with emails to contact
Take the example of the spectratrait package.

Separate site information and dataset description

Right now the site description is in the dataset description. It would be better to separate the two and have only the citations, acknowledgments, authors, DOI, and article info ... in the dataset description. All the site information should move into a site info csv with a shortname. The plant description should include the site and also the type of species and the type of environment (pot, glasshouse, natural or managed).

Remove the call of LeafGasExchange package

I am considering making this repository independent from the package LeafGasExchange. Basically, we just need a few functions from the package, we don't need the leaf energy budget functions, the canopy scaling functions etc.. which are quite heavy and depend on other packages. What do you think @serbinsh Shawn? I can also ask Gilles Le Moguédec to make the fitting procedure more "professional".

Convert HOWTOs to a wiki page?

Should we convert the HOWTOs to a wiki instead of a vignette? They arent a traditional code execution vignette and more instructional

Broken link in ReadMe

The link to the PLSR example (first section, just above References) returns 404 error.

Gasex format info for README

Here is some text for the README. Edit as required. (links not formatted)

The project utilizes the data and metadata formatting recommendations presented in the "Leaf-level gas exchange data and metadata reporting format" (Ely et al, 2021). Data contributors are welcome to submit metadata that describes data collection protocols using the methods metadata template (https://github.com/ess-dive-community/essdive-leaf-gas-exchange/blob/master/templates/methodsMetadataTemplate.xlsx).

Ely KS, Rogers A, Agarwal DA, Ainsworth EA, Albert LP, Ali A, et al. A reporting format for leaf-level gas exchange data and metadata. Ecol Inform. 2021;61: 101232. doi:10.1016/j.ecoinf.2021.101232

Choose the photosynthesis model

For a start, I used FATES photosynthesis model and parameters. Given the more mechanistic nature of the Johnson Field and Berry C3 model, we could decide to implement it as well so our results are more future proof.

Johnson, J.E., Field, C.B. & Berry, J.A. The limiting factors and regulatory processes that control the environmental responses of C3, C3–C4 intermediate, and C4 photosynthesis. Oecologia (2021). https://doi.org/10.1007/s00442-021-05062-y

Serbin_et_al_2012

@serbinsh Can you check if the data are the good ones? I found the raw data in an old slack conversation, I have put them on the dataset folder Serbin_et_al_2012.

In addition, on ecosis there are two datasets : https://ecosis.org/package/2008-university-of-wisconsin-biotron-fresh-leaf-spectra-and-gas-exchange-leaf-traits

and

https://ecosis.org/package/leaf-spectral-reflectance-and-vcmax-measurements-for-tree-and-crop-species-collected-in-wisconsin

Can you tell me if the two datasets are distinct? If you have the raw data I ll do something with it

Improve landing page model summary layout, stats and info

I think we want to simplify the landing page model stats and info to include a more concise summary. We can add a new page to link to with more detailed info but at the moment the layout is a little messy plus the long species table stretches the page and is only going to get longer. Suggest maybe we do something like a genus table or higher level summary on the main landing page, with a map a spectra figure and a current model stats/fit figure layed out a bit more cleanly below the info

Sexton_et_al_2021

I stopped at step 3, file: 3_Import_transform_reflectance.R

I successfully imported the reflectance but this is the raw data, not interpolated and with an overlap at some wavelengths. The Reflectance needs to be interpolated and jump corrected.

If @serbinsh or @DavidsonKen if you feel inspired and want to do it, be my guest!

Move outputs to Outputs folder

Lets not dump our auto fitting outputs to the main github folder, instead lets have the auto code put the outputs in an ./Outputs folder

What happened to the raw data for each dataset?

@JulienLamour I am trying to fix the LFS issues and the repo but there are some strange issues in some files. eg. .

library(LeafGasExchange)
library(spectratrait)
library(here)
path=here()
setwd(paste(path,'/Datasets/Albert_et_al_2018',sep=''))
spectra=read.csv('Copy of Wu et al. 2019 spectra brazil.csv')
load('2_Result_ACi_fitting.Rdata',verbose=TRUE)

in Albert et al. 2018 which seems like an error and I also dont see that data, unless its Wu et al. 2019 spectra panama in Wu et al?

Also we should not have spaces in any filenames

Can you let me know if things are missing? I am trying to get the repo back into working shape so we can share it.

Replace Rdata by csv?

Hey Shawn @serbinsh ,

As you know, to start I used the Rdata format as intermediate outputs of the pipeline for each dataset. Before starting to curate everything in a hopefully final and stable state, maybe we should consider using .csv instead. What do you think?

Jin_et_al_2020

Ask for data (Alpine forest in Japan) : Jin, J., Arief Pratama, B., & Wang, Q. (2020). Tracing Leaf Photosynthetic Parameters Using Hyperspectral Indices in an Alpine Deciduous Forest. Remote Sensing, 12(7), 1124. [email protected], [email protected]

Dataset cleanup and/or sanity checks

@JulienLamour FYI - some of the new datasets have issues with their spectra that stem from the use of ASD spectrometers and/or those that dont provide "jump corrected" spectra. You can see below the spectral edges/discontinuities that need to be fixed or removed from our database otherwise they will artificially impact the accuracy of our fits and throw off our model. These spectral issues are not something we should embed in our models and are things that should be corrected by the data provider and / or using R packages that process spectral data

For example in my most recent look at the data we now have specta issues
Reflectance

The easiest thing to do right now is drop any new data with these issues and later on figure out how to automate the detection of issues like this or others like erroneous Vcmax values

Rday / Rdark / One point method

From our meeting, I agree that we should add the ability to include dark-adapted Rdark datasets.
However, when reading Burnett et al. 2019 and De Kauwe et al. 2016 I see that the one-point method was tested using a Rday (estimated from A_Ci curve in both method). From what I remember, Rday estimated from A-Ci curve is very different from Rdark. So I am not sure how relevant it is to add a Rdark option in the one point method and if that could bias Vcmax estimates. Any thought? In all cases I will include a Rdark description for people who want to include dark respiration measurement independently from the one point method.

Meacham_Hensold_et_al_2019 dataset

Another agriculture dataset but still useful to compile

However we need either the Tleaf data per sample OR better yet the raw A-Ci data to refit and harmonize

Davidson_et_al_2023

Need to fill the spectrometer info as well as the leaf clip in file 3_Import_transform_Reflectance.R

git lfs settings need to be tweaked

@JulienLamour we should not be blanket saving all .csv files as LFS, as this then also includes small files like "Description.csv" files. This is creating extra overhead issues that make code management harder

I suggest two options: 1) a separate data repo specific to this effort that is used to store the datasets or 2) change the Description files from csv to txt so they arent included in the LFS. Or alternatively, we have to manually curate each required LFS file

Chose the leaf temperature correction

We could use the Kumarathunge et al. 2019 dependence. That would necessitate to store the mean air temperature during the growth season for each dataset.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.