errors in seasonal recruitment and empirical wtatage #283
Labels
biology
bug
Something isn't working; don't remove label after fixing
change log
use for issues that should appear in change log
Milestone
Two issues were detected while working with Peter Kuriyama's anchovy model. One related to use of 2 seasons, and one related to use of empirical wtatage.
1. recruitment in the Time_Series table is recruitment by area, not total recruitment. They should be the same in a one area model. However, in a 2 season model with all recruits assigned to one season, a double counting occurs as the code loops seasons. The recruitment reported in this table gets accumulated for each season.
FIX by making the accumulation conditional on Settle_season. This was the case several releases ago, but got changed.
2. Within the report.sso sequence to output biology, there were insufficient traps to prevent biology based fecundity calculations from overwriting fecundity as read from wtatage.ss. This occurred late in the output so few other items were affected by this overwriting. It was noticed when looking at SPR/YPR profile and the global MSY would also be affected. This issue may have caused when wtage storage was reconfigured in 3.30.17 or 0.18
FIX by adding appropriate conditional statements like:
if(WTage_rd==0) get_mat_fec();
The text was updated successfully, but these errors were encountered: