getData: Function to retrieve data from the monthly output file...

Description Usage Arguments Author(s) Source Examples

View source: R/getData.R

Description

This function returns the data from the monthly output file created by NUCOMBog.

The original model provides net primary production (NPP) as an output, the model has been modified to provide autotrophic respiration aswell. In this way the net ecosystem exchange (NEE) can be calculated, since NEE = NPP - autotrophic respiration. The micrometeorological sign convention is used in this model, e.g. a negative value for NEE means carbon uptake. All fluxes are in gram carbon per square meter per month (gC m-2 month-1). The model gives water table depth (WTD) in meters and positive values mean below ground level.

The possible outputs of the model are Net Primary Production (NPP), Net Ecosystem Exchange (NEE), heterotrohpic respiration (hetero_resp) and water table depth (WTD). The desired output needs to be specified in the setup_NUCOM function.

The getData function is integrated in all runnucom functions.

Usage

1
getData(setup, startval = startval)

Arguments

setup

setup_structure described in setupNUCOM

startval

From which row does the output need to be loaded. Default is 1, has to be setup in the setupNUCOM function.

Author(s)

JWM Pullens

Source

The executable and the source code of the model can downloaded from https://github.com/jeroenpullens/NUCOMBog.

Examples

1
2
3
4
## Not run: 
getData(setup=test_setup_singlecore)

## End(Not run)

NUCOMBog documentation built on May 2, 2019, 11:01 a.m.

Related to getData in NUCOMBog...