-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRunVat6610.R
49 lines (34 loc) · 1.47 KB
/
RunVat6610.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
library(shiny); library(ncdf4); library(stringr); library(tidyverse)
library(plyr); library(data.table); library(viridis)
bm.path <- "../../vadt/ForVADT/biomass2020.csv"
naa.path <- "../../vadt/ForVADT/naa_out.csv"
ssb.path <- "../../vadt/ForVADT/ssb_atlantis.csv"
har.path <- "../../vadt/ForVADT/harvest_for_atlantisD.csv"
ntot.path <- "../../vadt/ForVADT/ntot.csv"
caa.path <- "../../vadt/ForVADT/caa.csv"
setwd('../../vadt')
source('vadt_fishing_disc_jk_V2.3.r')
source('create_vadt_fishing_disc_V2.2.r')
setwd("../out/Atlantis6610/")
biol <- 'B391ES3JK6.1'
outdir <- 'M6610_5met1214_01'
assign(paste0(outdir),
create_vadt(outdir = paste0(outdir, '/'),
funfile =
'../../input/Atlantis6610/GroupsIceland.csv',
ncout = 'Out',
startyear = 1948,
endyear = 2020,
toutinc = 365,
biolprm = paste0('../../input/Atlantis6610/', biol, '.prm'),
fishing = TRUE,
fishfile =
'../../input/Atlantis6610/FisheriesIceland3.csv',
toutfinc = 365,
bmsummaries = bm.path,
naasummaries = naa.path,
harsummaries = har.path,
ssbmri = ssb.path,
ntot = ntot.path,
caa = caa.path))
vadt(M6610_5met1109_03, 'M6610_5met1109_03', anim = NULL)