| setupMuso {RBBGCMuso} | R Documentation |
This funcion is fundamental for the BiomBGC-MuSo modell related functions like spinupMuso, normalMuso, rungetMuso, because it sets the modells environment.
setupMuso(executable=NULL, parallel = F, calibrationPar =c(1), outputLoc=NULL, inputLoc=NULL, metInput=NULL, CO2Input=NULL, plantInput=NULL, thinInput=NULL, mowInput=NULL, grazInput=NULL, harvInput=NULL, plougInput=NULL, fertInput=NULL, irrInput=NULL, nitInput=NULL, iniInput=NULL, epcInput=NULL)
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 |
parallel |
Do you want to run multiple modell paralelly, if yes, set this variable to TRUE |
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) |
outputLoc |
Where should the modell puts its outputs. You should give a location for it via this variable, for example: outputLoc="/place/of/the/outputs/" |
modelOutputs |
This parameter is the list of the codes of outpu |
inputLoc |
Usually it is the root directory, where you put the iniFiles for the modell |
metInput |
Via metInput parameter, you can tell the modell where are the meteorological files. As default it reads this from the iniFiles. |
CO2Input |
Via CO2 parameter, you can tell the modell where are the CO2 data files. As default it reads this from the iniFiles. |
plantInput |
Via planting parameter, you can tell the modell where are the data files, which contains the planting informations. As default it reads this from the iniFiles. |
thinInput |
Via thining parameter, you can tell the modell where are the data files, which contains the thining informations. As default it reads this from the iniFiles. |
mowInput |
Via mowing parameter, you can tell the modell where are the data files, which contains the mowing informations. As default it reads this from the iniFiles. |
grazInput |
Via grazing parameter, you can tell the modell where are the data files, which contains the grazing informations. As default it reads this from the iniFiles. |
harvInput |
Via harvesting parameter, you can tell the modell where are the data files, which contains the harvesting informations. As default it reads this from the iniFiles. |
plougInput |
Via ploughing parameter, you can tell the modell where are the data files, which contains the ploughing informations. As default it reads this from the iniFiles. |
fertInput |
Via fertilizing parameter, you can tell the modell where are the fertilizing data files, which contains the fertilizing informations. As default it reads this from the iniFiles. |
irrInput |
Via irrigation parameter, you can tell the modell where are the data files, which contains the irrigation informations. As default it reads this from the iniFiles. |
nitInput |
Via this parameter, you can tell the modell where are the NO2 data files. As default it reads this from the iniFiles. |
iniInput |
Via this parameter, you can tell the modell where are the ini files. As default it reads this from the iniFiles. |
epcInput |
Via this parameter, you can tell the modell where are the epc data files. As default it reads this from the iniFiles. |
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
Roland Hollos