sw_inputData: Default input object for 'rSOILWAT2'. Use this as a template...

View source: R/Rsw.R

sw_inputDataR Documentation

Default input object for rSOILWAT2. Use this as a template or for testing the package.

Description

Default input object for rSOILWAT2. Use this as a template or for testing the package.

Usage

sw_inputData()

Value

An object of class swInputData.

See Also

  • sw_exec for running a simulation

  • sw_inputData and sw_inputDataFromFiles for data input

  • dbW_getWeatherData and getWeatherData_folders for weather data input

Examples


## ------ Simulation with demonstration data ------------
## Access demonstration data (including daily weather forcing)
sw_in <- rSOILWAT2::sw_exampleData

## Slots of the input object of class \code{\linkS4class{swInputData}}
utils::str(sw_in, max.level = 2)

## Execute the simulation run
sw_out <- sw_exec(inputData = sw_in)


Burke-Lauenroth-Lab/rSOILWAT2 documentation built on Dec. 9, 2023, 1:46 a.m.