-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
complete addition of TG_min_recap, and revise compreport #281
Conversation
@Rick-Methot-NOAA, did you want this to be part of the 3.30.19? |
Yes because we still are waiting on the rebuilder revision. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! I took a look at the code, then Rick walked me through the changes while screen sharing and explained why they were made. Makes sense to me.
Optional changes:
- ssnew comments for the new conditional input
- using a new 2 option for the do tag flag as the trigger for the conditional input rather than a negative value on the mix period. Rick made the observation that this may be better and I agree it may be more intuitive for users.
revise trigger |
Looks good @Rick-Methot-NOAA ! I ran a version of the YFT for the spatial project, and it worked well. Attached are the input files for the version with the min recapture option for future. Running with I also tried running with estimation as well, and the model ran fine. Something picky: I noticed there was a space in the .ss_new file when printing the # COND line; I will push a small change to get rid of it. This is ready to merge in once I push the picky change. |
What issue(s) does this PR address? Describe and add issue numbers, if applicable.
This adds capability to exclude from the tag logL tag groups with less than a specified minimum number of recaptures
What tests have been done? Upload any model input files created for testing in a zip file, if possible.
works with the IOTC Yellowfin tuna spatial model
What tests/review still need to be done? Who can do it, and by when is it needed (ideally)?
none
Check which is true. This PR requires:
Describe any changes in r4ss/SS3 manual/SSI/change log that are needed (if checked):
input of new feature is conditional on TG_mixperiod having a negative value:
1 # do tags (0/1)
121 # N tag groups
769 # N recap events
-4 # TG_mixperiod (latency) is the first period in which logL is calculated for this tag group (0 = release period)
(use negative value for TG_mixperiod to invoke reading TG_min_recap after TG_maxperiods
16 # max periods (seasons) to track recoveries, after which tags are still read into this accumulator period
2 # TG_min_recap: N recaps >= mixperiod must be >= min_recap to include tag group in logL
Additional information (optional):
@jyqalan