A function that generates an operating model from the MCMC samples of an Awatea model. Code optimized for the BC Pacific ocean perch assessment (Haigh et al. 2018).
Awatea2OM( AwateaDir, nsim = 48, proyears = 50, Name = "OM made by Awatea2OM", Source = "No source provided", Author = "No author provided", verbose = TRUE )
A folder with Awatea files
The number of simulations
The number of projection years for the MSE
The name of the operating model
Reference to assessment documentation e.g. a url
Who did the assessment
Return detailed messages?
This function averages biological parameters across sex and then sends arrays to VPA2OM, assumes unfished status (B/B0 = 1) in the first year, and assumes a single fishing fleet.
Haigh, R., et al. 2018. Stock assessment for Pacific Ocean Perch (Sebastes alutus) in Queen Charlotte Sound, British Columbia in 2017. Canadian Science Advisory Secretariat (CSAS) Research Document 2018/038. 232 pp. https://www.dfo-mpo.gc.ca/csas-sccs/Publications/ResDocs-DocRech/2018/2018_038-eng.html