[Feature]: masking of pre-settlement fish
Imported from redmine, Issue #29095 Opened by @RickMethot on 2017-02-10 Status when imported: On Hold
In 3.24, all fish recruited at the beginning of a season. In 3.30, settlement events can occur anytime during a season, but the settlers are actually assigned to the numbers-at-age matrices at the beginning of the season of settlement. This means that they exist and can contribute to fisheries and surveys if selected. This is contrary of the idea of settlement events which was to mask out the pre-settlement "larval phase".
Create a new array called keep_age which has a value of 0.0 before settlement and 1.0 after settlement and use this to achieve the desired masking when the numbers-at-age matrix is sampled to created the sampled age-length matrix.
Doing the masking for fishing mortality and catch will be more difficult, but needs to happen.