tests/testthat/test-sc-init.R

context("sc-init example")

d <- system.file("extdata", "setas-model-new-trunk", package = "atlantistools")

init <- file.path(d, "INIT_VMPA_Jan2015.nc")
prm_biol <- file.path(d, "VMPA_setas_biol_fishing_Trunk.prm")
fgs <- file.path(d, "SETasGroupsDem_NoCep.csv")

bboxes <- get_boundary(load_box(bgm = file.path(d, "VMPA_setas.bgm")))

# Cannot be run due to NAs in init file for growth
data1 <- sc_init(init, prm_biol, fgs, bboxes)

Try the atlantistools package in your browser

Any scripts or data that you put into this service are public.

atlantistools documentation built on Aug. 16, 2017, 9:05 a.m.