Set up the data input file to be passed to MakeADFun
.
Details
This function runs data cross validation tests and appends several inputs to the data list including model dimensions and processed inputs:
n_year
: dervied fromfirst_yr
andlast_yr
n_season
: set to 2n_length
: not in usen_age
: derived frommin_age
andmax_age
n_fishery
: set to 6age_a
: sequence of modeled ages derived frommin_age
andmax_age
length_mu_ysa
: derived from thelength_mean
inputlength_sd_a
: derived from thelength_sd
inputdl_yal
: derived fromlength_mu_ysa
andlength_sd_a
weight_fya
: derived fromlength_mu_ysa
andlength_sd_a
catch_obs_ysf
: derived fromcatch
,catch_UA
,scenarios_LL1
, andscenarios_surf
sel_change_year_fy
: derived fromsel_change_sd_fy
This function produces the data input file to be passed to MakeADFun
.