-
Notifications
You must be signed in to change notification settings - Fork 3
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
PIFSC opakapaka case study #23
Conversation
@MOshima-PIFSC, nice job putting this case study together! I resolved a trivial merge conflict in README which allowed the github action to render the quarto site. It seems to be successfully rendering the PIFS-opakapaka.qmd but failed in the petrale example because the modified Could you make the following changes, which I think would get it to render successfully?
|
Update code to match redundant get_ss3_data.r file
source get_ss3_data.R
add `ages = ages` argument to `get_ss3_data()`
add `ages = ages` to `get_ss3_data()`
Because of redundancy with get_ss3_data.R
add ages param to roxygen
…tudies into PIFSC-opakapaka
Thanks @iantaylor-NOAA for your review. I made the changes you requested, however, the petrale case study is now giving this error
I'm not positive what is causing this but it could be because of the changes I made to index negative fleets in |
- suggestion by @MOshima-PIFSC in #23
Thanks @MOshima-PIFSC for submitting a new case study! @iantaylor-NOAA, I think the error in the GHA log is related to a mismatch in input data dimensions (e.g., number of years) in the petrale case study. I've made some changes in the fix-petrale-case-study branch for demonstration purposes. These changes will enable us to run FIMS successfully, but you will still see errors in the "Get FIMS output and plot results" section. I'm not sure about the correct number of years, so please ignore any hardwired years from the demonstration. Feel free to ping me when you think the pull request is ready for review. |
Thanks @Bai-Li-NOAA, for catch the mismatched years are the issue and also the transformation of the SS3 log(R0) parameter. @MOshima-PIFSC generalized the I will copy changes from the fix-petrale-case-study branch along with the debugging of the plotting. If we want to generalized |
It took me a while to clean up the mess with the petrale case study in this Pull Request. There were weird things going on with the filtering and converting negative fleet numbers in the SS3 data (both in the logic and because I forgot about some of the data that were being excluded from the likelihood) so I just moved all that processing into the petrale case study and simplified the filtering in the Thanks @MOshima-PIFSC and @Bai-Li-NOAA for your work on this. |
Thanks @iantaylor-NOAA for doing so much work for this (sorry I broke your code 😬 )! I double checked the opaka code and it still works fine, so no worries on my end. I will let @Bai-Li-NOAA merge this PR. |
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 to me. I have merged the changes into the main branch.
I am mostly finished with the Opaka case study. The FIMS model matches pretty well to the SS3 model. Some more comparisons between the models could be added in the future but I wanted to get what I have so far added to the case studies website.