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

Add function to create output files in format required by U.S. Species Information System (SIS) database #1054

Open
1 of 2 tasks
iantaylor-NOAA opened this issue Feb 24, 2023 · 2 comments
Assignees
Labels

Comments

@iantaylor-NOAA
Copy link
Collaborator

iantaylor-NOAA commented Feb 24, 2023

Attached files are in the format required by the SIS database which is used by the Stock SMART web tool and other NOAA purposes. The files were created by @andi-stephens-NOAA in 2022 using a clunky process that Andi and I developed years ago which relies on the files in output-csv-files. It should be straightforward and much more efficient to just create these files directly within the hake assessment workflow.

I would be happy to help with this in fall 2023 (after U.S. west coast groundfish assessments and summer breaks, but before hake gets too busy), but it could happen any time before Spring 2024 when the files should be submitted.

Hake_2022_SIS_info_timeseries.csv
Hake_2022_SIS_info_values.csv

Checklist of next steps added 12 March 2024:

@aaronmberger-nwfsc
Copy link
Collaborator

At the same time, I would like to automate our annual NWFSC TSC groundfish reporting document (i.e., text already largely taken from the stock assessment directly, with one additional summary figure) as standard workflow output.

@cgrandin cgrandin modified the milestones: After 2024, 2025 milestone Mar 1, 2024
@iantaylor-NOAA iantaylor-NOAA self-assigned this Mar 12, 2024
iantaylor-NOAA added a commit to r4ss/r4ss that referenced this issue Mar 12, 2024
Merging to make available for other projects: pacific-hake/hake-assessment#1054. 
Suggestions for further changes are welcome at any time.
@iantaylor-NOAA
Copy link
Collaborator Author

The attached file Hake_to_SIS.R.txt is the most recently used script that I can find for converting a combination of median-population-estimates.csv and the model output as read by r4ss::SS_output(). Dates in the file are a few years old, but I can't find a more recent version and don't recall any changes other than the dates. That script may be useful to understand what quantities were being used where in the status-quo workflow for producing SIS input.

Recent changes to the r4ss::get_SIS_info() function (as referenced in the checklist added to the first comment of this thread) have now been merged into the main branch so that function is available for further edits as needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants