RBBGCMuso/README.org
Zoltán BARCZA ec1cbb78ab
Update README.org
language improvements
2019-01-21 16:24:39 +01:00

3.9 KiB

<img width="200px" align="right" position="absolute" style="position: absolute; top: 0; right: 0; border: 0;" src="https://raw.githubusercontent.com/hollorol/RBBGCMuso/master/images/logo.jpg" alt="Fork me on GitHub">

The RBBGCMuso Package

RBBGCMuso is an R package which supports the easy but powerful application of the Biome-BGCMuSo biogeochemical model in R environment. It also provides some additional tools for the model such as Bione-BGCMuSo optimized Monte-Carlo simulation and global sensitivity analysis. If you would like to use the framework, please read the following description.

Installation

You can install the RBBGCMuso package in several ways depending on the operating system you use. Up to now RBBGCMuso was tested only in Linux and Windows environment, so Mac OS X compatibility cannot be guaranteed yet. In MS Windows you can install the package from binary or from source installer. In Linux you can only install the software from source.

Installation in MS Windows

You can always install the latest RBBGCMuso by copying the following line into the R console (using R or RStudio):

source("https://raw.githubusercontent.com/hollorol/RBBGCMuso/master/installWin.R")

Installation in Linux and Windows from Source

Note that in MS Windows you have to install the Rtools Windows software firts. If you would like to install the RBBGCMuso package from Source, you have two options.

  1. Clone this repository, then build and run the package (further information is available here: package build and install)

OR

  1. Install the devtools package firts:
install.packages("devtools")

Then copy the following line into the R session and execute it:

devtools::install_github("hollorol/RBBGCMuso/RBBGCMuso")

Quick usage

Preparation

In order to use the RBBGCMuso framework, you have to set up the environment, as you would normally do if you use the model without the RBBGCMuso framework. It means that according to the Biome-BGCMuSo terminology you have to have the proper INI file set, the meteorology input file, and the ecophysiological file (EPC) as minimum input. Additional files might be used by the user including nitrogen deposition, management handlers, etc. Please read the corresponding documentation at the actual Biome-BGCMuSo User's Guide. In order to use RBBGCMuso you have to load the package with the following command:

library(RBBGCMuso)

If you do not yet have a complete, functional model set, you may want to use the so-called copyMusoExampleTo function (part of RBBGCMuso) which downloads a complete set of sample simulation on your hard drive:

copyMusoExampleTo()

Running the model

You can run the model in spinup, in normal, or in both phase (including the so-called transient run). Using the so-called calibMuso functcion you will be able to execute the the model in both spinup or normal phase.

Visualization of the model output

Perform Quick experiments

Study the effect of ecophysiological parameters using parameterSweep

Monte-Carlo experiments

Sensitivity analysis

Advanced usage

setupMuso

musoData

musoMapping

musoMappingFind

spinupMuso

normalMuso

calibMuso

plotMuso

plotMusoWithData

musoQuckEffect

musoMonte

musoSensi

Contact

Acknowledgements

The research was funded by the Széchenyi 2020 programme, the European Regional Development Fund and the Hungarian Government (GINOP-2.3.2-15-2016-00028).