Skip to content
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

get_results_timeseries function - possible to sum TS values across areas? #422

Closed
skylersagarese-NOAA opened this issue Mar 20, 2024 · 3 comments · Fixed by #424
Closed
Assignees
Labels
status --- wip work in progress topic --- results pertains to generating, reading, or visualizing the results type --- feature feature requests and enhancement

Comments

@skylersagarese-NOAA
Copy link

We are working on creating OMs with the SSMSE package, which borrows from ss3sim. For summarizing time series results for a 2-area model, the get_results_all function from ss3sim (get-results.r) does not retain “Area” in the time series and instead includes 2 lines for each year (one line for each region). Is it possible to revise the code to sum the TS values by year in 2-area models (specifically within the get_results_timeseries function)? We can do this on our end, but just wanted to submit this in case this is possible to modify. Thank you in advance!

@kellijohnson-NOAA
Copy link
Contributor

No problem @skylersagarese-NOAA. I can add this over the weekend.

@kellijohnson-NOAA kellijohnson-NOAA self-assigned this Mar 20, 2024
@kellijohnson-NOAA kellijohnson-NOAA added topic --- results pertains to generating, reading, or visualizing the results status --- wip work in progress type --- feature feature requests and enhancement labels Mar 20, 2024
@skylersagarese-NOAA
Copy link
Author

Great, thank you @kellijohnson-NOAA!

@kellijohnson-NOAA
Copy link
Contributor

@skylersagarese-NOAA I ran into some trouble with this over the weekend because I did not have a working example. Can you please either send me (kelli.johnson@noaa.gov) or attach the files needed for a single iteration/run to use r4ss::SS_output(). I am not sure how the derived quantities are structured. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status --- wip work in progress topic --- results pertains to generating, reading, or visualizing the results type --- feature feature requests and enhancement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants