2.5. Running the test configuration

To run the test configuration, launch R and type the following:

rm(list=ls())
setwd("/home/nbarrier/Modeles/osmose/git-applis/doc_user/astart/_static")

library(osmose)

demo = osmose_demo(path = "./", config="gog_v4")

# run the osmose java core
run_osmose(demo$config_file)

# read the osmose outputs
data = read_osmose(demo$output_dir)

# plot the outputs
png(file="osmose_ref_conf.png")
plot(data)
This is OSMOSE version 4.2.1
Running: 'java'  -jar /home/nbarrier/Libs/R/osmose/java/osmose_4.2.1.jar .//gog_v4/osm_all-parameters.csv

You should obtain the following figure:

../_images/osmose_ref_conf.png

Fig. 2.1 Outputs of the reference configuration