Skip to content

[feat] Add units to converter - #364

Merged
sbreitbart-NOAA merged 14 commits into
mainfrom
converter-notes
Sep 10, 2026
Merged

sbreitbart-NOAA merged 14 commits into
mainfrom
converter-notes

Conversation

@sbreitbart-NOAA

Copy link
Copy Markdown
Collaborator

Add units to the converter via the ss3_var_names.csv file

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

New version checklist

  • Package version in DESCRIPTION has been updated
  • Release notes have been drafted/published
  • Cheatsheet content has been updated (if applicable)
  • Cheatsheet version has been updated

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Code Metrics Report

Coverage Code to Test Ratio Test Execution Time
71.4% 1:0.2 9m28s

Code coverage of files in pull request scope (54.7%)

Files Coverage
R/convert_output.R 54.7%

Reported by octocov

DERIVED_QUANTITIES,SSB_unfished,spawning_biomass_unfished,kg
DERIVED_QUANTITIES,Totbio_unfished,biomass_unfished,kg
DERIVED_QUANTITIES,SmryBio_unfished,biomass_unfished_midyear,kg
DERIVED_QUANTITIES,Recr_unfished,recruitment_unfished,kg

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure this will be consistent -- we will need to figure this one out

Comment thread inst/resources/ss3_var_names.csv Outdated
Comment thread inst/resources/ss3_var_names.csv Outdated
Comment thread inst/resources/ss3_var_names.csv Outdated
Comment thread inst/resources/ss3_var_names.csv Outdated
Comment thread inst/resources/ss3_var_names.csv Outdated
Comment thread inst/resources/ss3_var_names.csv Outdated
Comment thread inst/resources/ss3_var_names.csv Outdated
Comment thread inst/resources/ss3_var_names.csv Outdated
Comment thread inst/resources/ss3_var_names.csv Outdated
Comment thread inst/resources/ss3_var_names.csv Outdated
@Schiano-NOAA

Copy link
Copy Markdown
Collaborator

@sbreitbart-NOAA I forgot to push these changes yesterday, but the sheet looks good to me now with the exception of the couple notes I made. Could you do the same for the BAM and Rceattle sheets then reping for review?

@Schiano-NOAA

Copy link
Copy Markdown
Collaborator

@sbreitbart-NOAA looks like the chore for updating the example data worked! I haven't seen it commit like that before

@sbreitbart-NOAA

Copy link
Copy Markdown
Collaborator Author

Just pinged. There were a lot of variables I was unsure about but did my best to guess. Yes- awesome that the GH action is working!!

@Schiano-NOAA Schiano-NOAA left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! I made some updates to the other files. This is as much as I know and we can make fixes as we go and it gets used. Next up: adjusting our functions so units are automatically extracted 😄

Once the example data gets updated from the action, should be good to merge.

@sbreitbart-NOAA

sbreitbart-NOAA commented Sep 9, 2026 •

Copy link
Copy Markdown
Collaborator Author

LGTM! I made some updates to the other files. This is as much as I know and we can make fixes as we go and it gets used. Next up: adjusting our functions so units are automatically extracted 😄

Once the example data gets updated from the action, should be good to merge.

Great! Will merge 👍 (edit: manually triggered the action on the branch because it wasn't happening automatically)

@sbreitbart-NOAA

Copy link
Copy Markdown
Collaborator Author

Note: will merge this after the GH action that generates the example_data is fixed (because this PR should include the updated example_data)

@sbreitbart-NOAA
sbreitbart-NOAA force-pushed the converter-notes branch 2 times, most recently from 2a2d6f0 to f443bdc Compare September 10, 2026 20:19
@sbreitbart-NOAA
sbreitbart-NOAA merged commit 4cb3601 into main Sep 10, 2026
2 checks passed
@sbreitbart-NOAA
sbreitbart-NOAA deleted the converter-notes branch September 10, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants