diff --git a/RBBGCMuso/DESCRIPTION b/RBBGCMuso/DESCRIPTION index abbe9cb..340e2fc 100644 --- a/RBBGCMuso/DESCRIPTION +++ b/RBBGCMuso/DESCRIPTION @@ -1,13 +1,13 @@ Package: RBBGCMuso Title: An R package for BiomeBGC-MuSo ecosystem modelling -Version: 0.6.1-1 +Version: 0.6.1.2 Authors@R: person("Roland", "Hollo's", , "hollorol@gmail.com", role = c("aut", "cre")) Description: What the package does (one paragraph). Depends: R (>= 3.3.2) License: GPL-2 LazyData: true NeedsCompilation: no -Packaged: 2017-07-19 14:00:04 UTC; hollorol +Packaged: 2017-07-19 14:00:04 UTCs; hollorol Author: Roland Hollo's [aut, cre] Imports: grDevices, diff --git a/RBBGCMuso/R/runMuso.R b/RBBGCMuso/R/runMuso.R index e41f4ee..4c9425c 100644 --- a/RBBGCMuso/R/runMuso.R +++ b/RBBGCMuso/R/runMuso.R @@ -31,12 +31,8 @@ runMuso <- function(settings=NULL, calibrationPar=NULL, leapYear=FALSE,keepBinary=FALSE, binaryPlace="./", fileToChange="epc", skipSpinup = TRUE, modifyOriginal =FALSE, prettyOut = FALSE){ - calibMuso(settings=NULL, calibrationPar=NULL, - parameters=NULL, outVars = NULL, timee="d", - debugging=FALSE, logfilename=NULL, - keepEpc=FALSE, export=FALSE, - silent=FALSE, aggressive=FALSE, - leapYear=FALSE,keepBinary=FALSE, - binaryPlace="./", fileToChange="epc", - skipSpinup = TRUE, modifyOriginal =FALSE, prettyOut = FALSE) + calibMuso(settings, calibrationPar, parameters, outVars, timee, + debugging, logfilename, keepEpc, export, silent, aggressive, + leapYear,keepBinary, binaryPlace, fileToChange, + skipSpinup, modifyOriginal, prettyOut) } diff --git a/RBBGCMuso/R/setupMuso.R b/RBBGCMuso/R/setupMuso.R index cf65edc..a40f8c5 100644 --- a/RBBGCMuso/R/setupMuso.R +++ b/RBBGCMuso/R/setupMuso.R @@ -2,7 +2,7 @@ #' #' This funcion is fundamental for the Biome-BGCMuSo model related functions like runMuso, spinupMuso, normalMuso, rungetMuso, as it sets the model's environment. The function reads the INI files from a given directory, analyzes them with error checking, and creates a data structure in R that contains the complete information content for the simulation. #' -#' @author Roland Hollós +#' @author Roland Hollos #' @param parallel Set this variable to TRUE if you would like to implement parallel execution of the model #' @param executable This parameter stores the location (directory) of the modell-executable file. In normal usage, you don't have to set this parameter, because a RBBGCMuso package contains allways the latest modell executable. In spite of this, if you would like to use this package for modell development or just want to use different models (for example for comparison), you will find it useful #' @param calibrationPar You may want to change some parameters in your epc file, before you run the modell. You have to select the appropirate modell parameters. You can refence to these with the number of the line in the epc file where the variables are. It indexes from one. You should use a vector for this, like: c(1,5,8) @@ -33,6 +33,7 @@ #' @return The output is a the modell setting list wich contains the following elements: #' executable, calibrationPar, outputLoc, outputName, inputLoc, iniInput, metInput, epcInput,thinInput,CO2Input, mowInput, grazInput, harvInput, plougInput, fertInput,rrInput, nitInput, inputFiles, numData, startyear, numYears, outputVars #' @export + setupMuso <- function(executable=NULL, parallel = F, calibrationPar =c(1), diff --git a/RBBGCMuso/man/setupMuso.Rd b/RBBGCMuso/man/setupMuso.Rd index b45ee12..b0d38a9 100644 --- a/RBBGCMuso/man/setupMuso.Rd +++ b/RBBGCMuso/man/setupMuso.Rd @@ -14,9 +14,9 @@ fertInput=NULL, irrInput=NULL, nitInput=NULL, iniInput=NULL, epcInput=NULL) } \arguments{ -\item{executable}{This parameter stores the place of the modell-executable file. In normal usage, you don't have to be set this, because a RBBgcmuso package contains allways the latest modell executable. In spite of this, if you would like to use this package for modell development or just want to use different models (for example for comparison), you will find it useful} +\item{executable}{This parameter stores the location (directory) of the modell-executable file. In normal usage, you don't have to set this parameter, because a RBBGCMuso package contains allways the latest modell executable. In spite of this, if you would like to use this package for modell development or just want to use different models (for example for comparison), you will find it useful} -\item{parallel}{Do you want to run multiple modell paralelly, if yes, set this variable to TRUE} +\item{parallel}{Set this variable to TRUE if you would like to implement parallel execution of the model} \item{calibrationPar}{You may want to change some parameters in your epc file, before you run the modell. You have to select the appropirate modell parameters. You can refence to these with the number of the line in the epc file where the variables are. It indexes from one. You should use a vector for this, like: c(1,5,8)} @@ -57,7 +57,7 @@ The output is a the modell setting list wich contains the following elements: executable, calibrationPar, outputLoc, outputName, inputLoc, iniInput, metInput, epcInput,thinInput,CO2Input, mowInput, grazInput, harvInput, plougInput, fertInput,rrInput, nitInput, inputFiles, numData, startyear, numYears, outputVars } \description{ -This funcion is fundamental for the BiomBGC-MuSo modell related functions like spinupMuso, normalMuso, rungetMuso, because it sets the modells environment. +This funcion is fundamental for the Biome-BGCMuSo model related functions like runMuso, spinupMuso, normalMuso, rungetMuso, as it sets the model's environment. The function reads the INI files from a given directory, analyzes them with error checking, and creates a data structure in R that contains the complete information content for the simulation. } \author{ Roland Hollos