osmose_calib_demo: Generates Osmose configuration files to run an Osmose demo.

View source: R/osmose-main.R

osmose_calib_demoR Documentation

Generates Osmose configuration files to run an Osmose demo.

Description

Generates Osmose configuration files to run an Osmose demo.

Usage

osmose_calib_demo(path = NULL)

Arguments

path

Path where to put the Osmose configuration file.

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.