https://github.com/bluegreen-labs/phenograss-example

Grassland model example, recreating Figure 1 from my Nature Climate Change paper

https://github.com/bluegreen-labs/phenograss-example

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 5 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.7%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Grassland model example, recreating Figure 1 from my Nature Climate Change paper

Basic Info
Statistics
  • Stars: 3
  • Watchers: 2
  • Forks: 7
  • Open Issues: 0
  • Releases: 1
Created about 10 years ago · Last pushed over 1 year ago
Metadata Files
Readme License

README.md

PhenoGrass Model Example

DOI

This is a working example of the PhenoGrass model as described in the Nature Climate Change paper: "Productivity of North American grasslands is increased under future climate scenarios despite rising aridity" by myself and co-authors. When using this code (adapted or not) reference it as:

Hufkens K., Keenan T. F., Flanagan L. B., Scott R. L., Bernacchi C. J., Joo E., Brunsell N. A., Verfaillie J. & Richardson A. D. (2016). Productivity of North American grasslands is increased under future climate scenarios despite rising aridity. Nature Climate Change, 6, 710 - 714.

Note that this work has been released under a Affero General Public License V3 and any use of this code is therefore bound to this agreement. In particular this means that source code has to be open source and freely available to the public. The model as formulated here was built upon the framework by Choler et al. 2010. I'm indebted to the authors for this framework.

Model parameters

The model parameters as listed in the publication above are rounded. The exact parameters used by the code above are listed the parameters folder. Below I list them again but with parameter name for clarity (which is lacking in the parameter file itself). Assignment of these parameters can be found in the phenograss.f90 as of line 35.

|Parameter|Value| |:--- |:---: | |b1 |124.502121| |b2 |0.00227958267| |b3 |0.0755224228| |b4 |0.519348383| |L |2.4991734| |Phmin |8.14994431| |h |222.205673| |g |33.3597641| |Phmax |37.2918091|

Figure 1

In particular this is a worked example which recreates Figure 1 of the journal article. It therefore includes a subset of the original data (due to size restrictions) and uses the parameters and model framework as used throughout the rest of the publication.

Either download the zipped project or clone the project using:

git git clone https://github.com/khufkens/phenograss.git

Subsequently, run the Figure_1.r R script in the created directory:

On Linux or OSX you can call this script directly using:

bash Rscript Figure_1.r

All model output and the generated PDF figure can be found in the output subdirectory within the root directory of the project. The result should look like the image below.

Notes:

The code depends on a working gfortran compiler, which is freely available for all OS.

Owner

  • Name: BlueGreen Labs
  • Login: bluegreen-labs
  • Kind: organization
  • Email: info@bluegreenlabs.org
  • Location: Melsele, Belgium

BlueGreen open science labs & consulting, providing environmental research infrastructure and editorial solutions.

GitHub Events

Total
  • Watch event: 1
  • Push event: 1
Last Year
  • Watch event: 1
  • Push event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 1
  • Total pull requests: 1
  • Average time to close issues: 42 minutes
  • Average time to close pull requests: 2 days
  • Total issue authors: 1
  • Total pull request authors: 1
  • Average comments per issue: 1.0
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • Jinyan-Yang (1)
Pull Request Authors
  • kant (1)
Top Labels
Issue Labels
Pull Request Labels