timjmiller / wham

State-space, age-structured fish stock assessment model
https://timjmiller.github.io/wham
Other
32 stars 16 forks source link

FXSPR_Static #68

Closed kcurti closed 1 year ago

kcurti commented 2 years ago

Per our discussion, I am creating in issue to document the following:

When just running the base model without any projections, the FXSPR_static value does not match the F40 provided in the YPR-SPR table.

The fix you provided is to modify the setting in the input object that specifies which years are used to average spr/ypr inputs (when not running a projection, it is currently set as the first year).

The following fix worked for plaice: input$data$avg_years_ind = (input$data$n_years_model-5):(input$data$n_years_model-1)

timjmiller commented 1 year ago

This default setting has been changed appropriately from this commit