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).

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

if (FALSE) {
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)
}