make.sh.init.object: Function that generates a list object used by sh.init

Description Usage Arguments Value Examples

View source: R/shinit.R

Description

Takes data from a box geometry model and a netCDF Atlantis input parameter file and generates a list object that is the parameter to sh.init (see Examples).

Usage

1
make.sh.init.object(bgm.file, nc.file)

Arguments

bgm.file

Box geometry model (.bgm) file used by Atlantis that defines box boundaries and depths.

nc.file

NetCDF (.nc) file used by Atlantis to set initial conditions.

Value

R list object.

Examples

1
2
3
4
5
6
7
## Not run: 
bgm.file <- "VMPA_setas.bgm"
nc.file  <- "INIT_VMPA_Jan2015.nc"
input.object <- make.sh.init.object(bgm.file, nc.file)
sh.init(input.object)

## End(Not run)

shanearichards/shinyrAtlantis documentation built on May 29, 2019, 8:07 p.m.