runbLS | R Documentation |
Run ‘bLSmodelR’ using the specified model input.
runbLS(ModelInput, Cat.Path = NULL, ncores = NULL, TDonly = NULL, asDT = TRUE,
simpleNames = asDT, memory_limit = NULL, show_progress = TRUE, variables = "CE")
ModelInput |
a |
Cat.Path |
optional. Character string specifying the path to the touchdown catalogs folder. |
ncores |
integer. Number of cores used for parallel processing. |
TDonly |
logical. Skip calculation of C/E etc., only simulate touchdown catalogs? Default is |
asDT |
logical. If |
simpleNames |
logical. Use simple column names for Output, if |
memory_limit |
character. Maximal vector heap size (memory limit) specified via 'R_MAX_VSIZE' (see also |
show_progress |
logical. Show progress when computing output variables in prallel. Defaults to |
variables |
character vector specifying the output variables of line sensors to calculate (any combination of |
It is possible to integrate the entire function in parallel calculation, i.e. on different nodes. The results from different calls can afterwards be merged using the function join.bLSresult
.
A data.frame
(or data.table
) of class bLSresult
containing the results of the model run.
The following attributes
are additionally attached:
a data.table
containing the individual model calculation intervals. Keys: rn,Sensor
path to catalog folder
a data.table
containing the catalog names. Keys: rn,Sensor,Cat.Name
the ModelInput as supplied.
Christoph Haeni
Flesch, T. K., J. D. Wilson, et al. (1995). “Backward-time Lagrangian stochastic dispersion models and their application to estimate gaseous emissions.” Journal of Applied Meteorology 34(6): 1320-1332.
bLSmodelR-package
, genInputList
, coreModel
, join.bLSresult
.
## Not run:
# Example Run with default values:
Sensor <- genSensors(PointSensor=list(x=0,y=0,z=2))
Ints <- genInterval(N0=1E4)
InputList <- genInputList(Sensor,Ints)
## run model
Run <- runbLS(InputList,Cat.Path=getwd())
## get catalog
TDcat <- readCatalog(getCatalogs(Run))
# look at TD catalog:
TDcat
plot(TDcat)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.