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 additional message or check for unspecified age methods in cleanPacFIN() #128

Open
chantelwetzel-noaa opened this issue Jul 25, 2024 · 1 comment

Comments

@chantelwetzel-noaa
Copy link
Contributor

While working on processing bds data for a select suite of species, I became aware that age records without an ageing method specified were not be being transferred to the Age column in the cleaned data. In the data I was looking at this was primarily occurring for Oregon records where for some years large numbers of the age records did not have an ageing method specified, although there were records from Washington as well. @aliwhitman spot-checked some species identified that had this issue for records in the early- to mid-2000s with this issue and confirmed that they do not have an ageing method in ODFW's internal records.

Given the range of ageing approach across time, the decision to remove these ages with a missing age method may vary on a species-specific based. For example, in the data I was looking at there were a large number of records for widow rockfish with a missing age method where these missing age methods covered period of times when surface reads were prevalent but break-and-burn was also commonly used. In this situation, it may be difficult for the user to determine the correct age method, hence, they may need to be omitted. In contrast, there was also a large number of missing age methods for sablefish across time, but the ages for this species are almost always break-and-burn.

Short Term:
cleanPacFIN() does currently print out information on the ages and the age methods removed but this information can be easily missed by the user. Think about ways to alert the user that they may be accidently removing large number of years with age data due to the age method being missing and the data should be further investigated.

Long Term:
Investigate whether the ageing method can be determined from existing records or if the ageing labs can identify what periods of time there may have been a single ageing method applied for a species or across species.

@aliwhitman
Copy link
Collaborator

ODFW is currently reviewing raw aging records from WDFW and NWFSC to see if we can fill in gaps where the aging method is missing from PacFIN. We're currently focusing on sablefish, yellowtail and widow for the upcoming assessment cycle. We'll keep you updated on progress there.

But the larger issue stands for older age records and I am happy to help as needed!

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

No branches or pull requests

2 participants