Repository navigation
Conversation
pass a list of model files and get back a single tibble object of all models concatenated together
…ppended to converted outputs
Test against two SS3 models and a combination of SS3 and Rceattle models.
Multimodel data processing is now handled natively by `convert_output`
Verify that `filter_data` works on two models and that ` plot_spawning_biomass` generates a plot with two lines.
…rs alongside multiple models
…ner1/stockplotr into feat-multi-model-processing
Collaborator
Author
|
I believe this still requires a decision regarding how to handle key quantity exporting and caption/alt text when multiple models are present in a plot. |
JZahner1
requested review from
Schiano-NOAA and
sbreitbart-NOAA
and removed request for
Schiano-NOAA
November 12, 2026 20:30
Collaborator
Author
|
@sbreitbart-NOAA @Schiano-NOAA I think this is ready to review, minus the issues about multi-model key quantities and captions/alt-text but I think that needs to be a separate PR anyway. |
Collaborator
Author
|
As a note, when plotting multiple models, all models need to have the same module plotted at a given time. This is a problem now where each model type (SS3, Rceattle, BAM, etc.) each have slightly different modules associated with particular labels, but this should be standardized across models at some point. |
Collaborator
|
Sounds good! This is getting put in my queue along with your other PR. Hoping to get to it Monday |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the feature?
convert_outputto handle multiple models in sequence. This changes from the previous way multiple models were handled (passing a list of tibble outputs fromconvert_output, one per model to each plotting function), but preserves the previous funtionality that allows for plotting multiple models simultaneously. Models are appended together based on amodelcolumn now present in allconvert_outputtibble.This change should improve memory usage, per #457.
How have you implemented the solution?
convert_outputworkflow into apurrr::imapfunction call, allowing for the function to me run sequentially over a list of model files inputs as opposed to a single file.Does the PR impact any other area of the project, maybe another repo?
PR contribution checklist
Thank you for contributing to stockplotr! Please check the boxes below to confirm this pull request (PR) is ready for review. Edit this PR description to add the release indicator and any explanations.