nmfs-ost / nmfs-ost/stockplotr
NA/NaN error in convert_output() for SS3 output (v3.30.24.2)
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 19
- Forks
- 7
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 9
Description
I am trying to convert SS3 output for a previous Pacific mackerel assessment using stockplotr::convert_output, and I am seeing the following error message:
...
→ Processing NUMBERS_AT_AGE
ℹ FACTORS REMOVED: NUMBERS_AT_AGE - beg/mid
→ Processing NUMBERS_AT_LENGTH
ℹ FACTORS REMOVED: NUMBERS_AT_LENGTH - beg/mid
→ Processing SPAWN_RECRUIT
Error in 1:rownum : NA/NaN argument
Have you seen this error before, and how would you recommend I troubleshoot these types of errors? I get no warnings about improper inputs/outputs/syntax when I run and summarize this model using SS3 v3.30.24.2.
I tried to attach the corresponding Report.sso but was unable to do so based on GitHub restrictions. I can email it if useful to help reproduce the problem.
Alex
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with stockplotr::convert_output and trace the processing of the SPAWN_RECRUIT section after NUMBERS_AT_AGE and NUMBERS_AT_LENGTH. Reproduce the failure with the corresponding Report.sso if it becomes available, then identify why rownum is NA/NaN and confirm that conversion reports or handles the problematic SS3 output appropriately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- data
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100