load_ct_levels: Load catch levels from SS forecast files.

View source: R/load-ct-levels.R

load_ct_levelsR Documentation

Load catch levels from SS forecast files.

Description

Load catch levels from SS forecast files.

Usage

load_ct_levels(model_path, ...)

Arguments

model_path

The model directory name

...

Absorbs arguments intended for other functions

Details

This is used to retrieve calculated values after running the run_ct_levels() function for default HR, SPR 100, and stable catch stream scenarios

Assumes run_ct_levels() function has been run and the forecast files are populated with 3 forecast years.

Value

A list of 3-element lists of vectors of 3 catch levels corresponding to:

  1. vector of values, 1 for each forecast year

  2. Pretty name of the catch stream scenario

  3. The directory name for the scenario

Return object looks the same as the the list returned from set_ct_levels() but with the NAs replaced for the catch levels that needed to be run through algorithms to get the catch values (default-hr, spr-100, stable-catch)


pacific-hake/hake-assessment documentation built on Nov. 8, 2024, 1:16 p.m.