Fix plot_biomass and update naming convention for catch in SS3 converter#194
Fix plot_biomass and update naming convention for catch in SS3 converter#194Schiano-NOAA wants to merge 1 commit intomainfrom
Conversation
New version checklist
|
Code Metrics Report
Code coverage of files in pull request scope (92.3%)
Reported by octocov |
|
@Ovec8hkin would you be willing to review this PR? This addressed the issue you opened regarding the I tried assigning you and adding you to the repository, but your name would not populate. I will try again at another time, but for for the moment, you can either download this branch through or fork the repository and make adjustments on your own repo then open a PR from that. Please perform the testing mentioned in the PR description above. Let me know if you have any questions or are unable to do this at this time 😄 |
|
@Schiano-NOAA this appears to work fine for the |
8770e97 to
76996f7
Compare
|
@Ovec8hkin thanks for taking a look! Could you provide a reprex to show how you got the same result? Here is the process I followed and the biomass and landings are completely different:
Note: I just rebased this branch because there was an update to the general plotting function. This should not have impacted your results thought with this test. I think one of two things are happening here (1) I am not setting the correct quantity as biomass or (2) you tested this off of the main branch rather than the fix-biomass-plt branch. Either way, can you pull the changes from this repo to your fork, test again, and add a reprex to a comment in this PR? Thanks!! Second note: I have noticed that there is an error in the converter for landings somehow and I am fixing it. If you get this error as well, let me know. |


Goal:
Fixing a bug identified in #185 which initially (and incorrectly) displayed biomass but it was actually catch. This makes sense since the landings and biomass plots were extremely similar.
What has been changed:
The following fixes are implemented in this PR:
The resulting plot should show biomass over time with error as a cloud if applicable. Another issue was identified when plotting multiple model results. Feel free to test on multiple results, but the primary focus is the accuracy in the estimate plotted. Issues regarding plotting multiple output on the same plot will be addressed in a new PR.
Actions:
To review this PR:
convert_output()function on a Report.sso fileplot_biomass()function using the example data sett found in the package and converted output in the first bulletThe maintainers @Schiano-NOAA and @sbreitbart-NOAA will handle any package checks and testing errors that might occur and make adjustments if there are any more issues found after these changes were made. Thanks for contributing the {stockplotr}!