A (prototype) function that uses the file location of a fitted CASAL assessment model including input files to population the various slots of an operating model with MLE parameter estimates. The function mainly populates the Stock and Fleet portions of the operating model; the user still needs to parameterize most of the observation and implementation portions of the operating model.
CASAL2OM(
CASALdir,
Obs = DLMtool::Precise_Unbiased,
Imp = DLMtool::Perfect_Imp,
Name = NA,
Agency = NA,
Region = NA,
Sponsor = NA,
Latitude = NA,
Longitude = NA,
nsim = 48,
proyears = 50,
interval = 4,
pstar = 0.5,
maxF = 2,
reps = 1,
seed = 1,
Common_Name = NA,
Species = NA,
Source = NA,
Author = NA
)
A folder with CASAL input and output files in it
The observation model (class Obs).
The implementation model (class Imp).
The common name of the operating model
The fishery management agency
The geographical location
Who funded the work
In degrees north
In degrees west
The number of simulations to take for parameters with uncertainty (for OM@cpars custom parameters).
The number of projection years for MSE
The number of years between management updates
The quantile for TAC management given stochasticity
The maximum allowable F in the operating model.
The number of stochastic replicates within each simulation in the operating model.
The random seed for the operating model.
The name of the species
The species latin name
Reference to assessment documentation e.g. a url
Who did the assessment
An object of class OM.