Set up the data input file to be passed to MakeADFun.
Arguments
- data_in
A
listcontaining the raw data inputs, including catch data, biological parameters, survey indices, and model configuration settings. The historical source tables can be supplied explicitly aslength_mean,length_sd,catch,catch_UA,POPs_v1(orPOPs),HSPs,GTs,aerial_survey,aerial_cov,troll,cpue,age_freq,length_freq,tag_reporting,tag_releases, andtag_recaptures. Assessment source tables are not bundled withsbt; every table must be supplied explicitly.
Value
A list ready to be passed to MakeADFun. Contains
validated
and processed data including model dimensions, processed catch matrices,
biological parameters, and observation data from multiple sources (CPUE,
tagging, age-frequency, length-frequency, aerial surveys, etc.).
Details
This function runs data cross-validation tests and appends several inputs to the data list including model dimensions and processed inputs:
n_year: derived fromfirst_yrandlast_yrn_season: set to 2n_length: not in usen_age: derived frommin_ageandmax_agen_fishery: set to 6age_a: sequence of modeled ages derived frommin_ageandmax_agelength_mu_ysa: derived from thelength_meaninputlength_sd_a: derived from thelength_sdinputdl_yal: derived fromlength_mu_ysaandlength_sd_aweight_fya: derived fromlength_mu_ysaandlength_sd_acatch_obs_ysf: derived fromcatch,catch_UA,scenarios_LL1, andscenarios_surfsel_change_year_fy: derived fromsel_change_sd_fy
This function produces the data input file to be passed to MakeADFun.
Legacy status
These functions reproduce historical version-1 assessment code for audit
and comparison. They are not the production SBT objective, do not implement
the current data, mortality, harvest-wall, or biological-state contracts,
and receive only compatibility maintenance. New analyses should use
get_data(), sbt_model(), and the current component helpers.
