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

View source: R/shinit.R

make.sh.init.objectR Documentation

Function that generates a list object used by sh.init

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

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

## 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 April 10, 2024, 7:19 a.m.