modelRunner: A model wrapper to run different models

Description Usage Arguments Value Examples

View source: R/modelRunner.R

Description

Simulation of C3 photosynthesis in terms of Gross Primary Production (GPP), as well as Net Primary Production (NPP) and Net Ecosystem Production (NEP) based on a modified Farquhar model (Schaphoff et al. 2019, Haxeltine and Prentice 1996, Farquhar et al. 1980). This is a vectorized global gridd approach that uses directly and currently (year 2020) available remote sensing products (open access).

Usage

1
2
3
4
5
6
modelRunner(
  path_output = NULL,
  outvar = c("GPP", "NPP"),
  format = c("GLOBAL_TS", "BIOME_TS", "GRID"),
  paramfile = NULL
)

Arguments

path_output

character. define a path to write output. Defaults to rappdirs::user_data_dir("PhotoBioDynamics")

outvar

single character or vector. Define the output variables, choose between gross primary production - "GPP", net primary prodcution

  • "NPP" and/or net ecosytem production "NEP

format

single character or vector. Choose between raster time series for the defined "outvar" - "GRID", a global sum time series - "GLOBAL_TS" and/or a summed time series for each of 14 biomes ("BIOME_TS).

paramfile

string. Defaults to NULL. Provide a filepath to a parameter file.

Value

None

Examples

1
2
3
4
5
## Not run: 

 modelRunner(outvar = c("GPP", "NPP"), format = c("GLOBAL_TS", "BIOME_TS"))

## End(Not run)

jnnsbrr/PhotoBioDynamics documentation built on March 9, 2021, 4:07 p.m.