osmose_demo: Generates required OSMOSE configuration files to run a demo.

View source: R/osmose-main.R

osmose_demoR Documentation

Generates required OSMOSE configuration files to run a demo.

Description

Run demo

Usage

osmose_demo(path = NULL, config = c("gog", "eec_4.3.0"))

Arguments

path

Path where to put the Osmose configuration file.

config

Reference configuration to run ("eec_4.3.0").

Value

A list containing the configuration file to use (config_file) for running the code and the output directory to use when reading data.

Note

So far, only one configuration is propose ("eec_4.3.0")

Examples

## Not run: 
rm(list=ls())

library("osmose")

# Copy configuration files into the proper directory
demo = osmose_demo(path="../", config="eec_4.3.0")

# run the osmose model
run_osmose(demo$config_file, parameters=NULL, output=NULL, version="4.3.2", 
          options=NULL, verbose=TRUE, clean=TRUE)

# reads output data
data = read_osmose(demo$output_dir)

# summarize output data
summary(data)

# plot output data
plot(data)

## End(Not run)

roliveros-ramos/osmose documentation built on Feb. 19, 2023, 8:19 a.m.