ss3-source-code icon indicating copy to clipboard operation
ss3-source-code copied to clipboard

revise RECR_DIST output to work better for models without 50/50 sex ratio at recruitment?

Open iantaylor-NOAA opened this issue 6 months ago • 2 comments

The 2nd dimension of the recr_dist array has length equal to the product of the number of growth patterns and number of sexes: https://github.com/nmfs-ost/ss3-source-code/blob/69cc71611cf790d520a53f7ee47fe6885fdeb8fe/SS_param.tpl#L157 However the RECRUITMENT_DIST output in Report.sso only loops over growth patterns, not sexes within them: https://github.com/nmfs-ost/ss3-source-code/blob/69cc71611cf790d520a53f7ee47fe6885fdeb8fe/SS_write_report.tpl#L1031-L1043

This works fine for the huge majority of models that are either 1-sex or have the fraction female fixed at 0.5.

However, @akatan999 shared a model (shared with SS3 developers on Google Drive here) with hermaphroditism and multiple areas where the fish recruit to both areas as males but the values in the table only show the tiny fraction of females recruiting to each area:

RECRUITMENT_DIST report:10
Settle# settle_timing# G_pattern Area Settle_Month Seas Age Time_w/in_seas Frac/sex
1 1 1 1 1 1 0 0 4.43463e-07
2 1 1 2 1 1 0 0 5.56537e-07

Could that table be revised to either sum across females and males OR have separate rows for both females and males?

iantaylor-NOAA avatar Aug 02 '24 22:08 iantaylor-NOAA