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

skate length conversion #9

Open
kellijohnson-NOAA opened this issue Mar 26, 2019 · 6 comments
Open

skate length conversion #9

kellijohnson-NOAA opened this issue Mar 26, 2019 · 6 comments
Labels
priority: low The lowest level priority, i.e., not urgent. status: question Questions about the issue need answered topic: code Related to R code within this package type: enhancement
Milestone

Comments

@kellijohnson-NOAA
Copy link
Contributor

@taylori mentioned that lengths for skates are sometimes disk width or inter-spiracle distance rather than total length, depending on the agency and year, but the type of measurement is not necessary well recorded, so it would be good for the code to have an optional step to apply a length conversion factor at some stage. Vlada has been working on this and can provide more information.

@kellijohnson-NOAA
Copy link
Contributor Author

@chantelwetzel-noaa do you know how length is recorded for the survey?

@kellijohnson-NOAA kellijohnson-NOAA added the topic: code Related to R code within this package label Oct 7, 2021
@chantelwetzel-noaa
Copy link
Contributor

The way skate length have been take by the NWFSC WCGBT survey has not been entirely consistent across time. If there is a value in the "Length_cm" column that would be total length of the skate. Alternatively, if there is a value in the "Width_cm" column this would indicate disc width. I found the picture below on the internet illustrating what a disc width is:

image

@kellijohnson-NOAA
Copy link
Contributor Author

Fantastic picture, thanks for adding it to the issue.

Does nwfsc-assess/nwfscSurvey have code to convert disc width to total length? Vlada gave me this code based off of survey data that I use to convert the measurement. If you don't have code already, maybe we can move this to the survey package and I can just reference the function? Whatever code we end up using we should include links to references and check the literature for other methods if you don't already have this information?

@chantelwetzel-noaa
Copy link
Contributor

If there is a standard conversion between disc and total length for all skates, then yes I think we should add that to the code. We should check with Vlada and @iantaylor-NOAA to see if the code already in the PacFIN.Utilities package is A) could be applied across all skate species (not species specific), and B) whether there are alternative conversions in the literature.

@shcaba
Copy link

shcaba commented Oct 8, 2021 via email

@iantaylor-NOAA
Copy link
Contributor

I think that conversions like these should always be species-specific and chosen with input from the user as the best source of information may evolve over time. I do think it would make a lot of sense to provide optional inputs for a slope and intercept of the conversion factor from disk width or inter-spiracle width. Also, for those species where a conversion has been made as part of a west coast groundfish assessment (e.g. Big Skate and Longnose Skate), I think it would be OK to include the conversion values as defaults in this package.

For what it's worth, here is text and figure from Big Skate (2019):
image

...

image

@kellijohnson-NOAA kellijohnson-NOAA added type: enhancement priority: low The lowest level priority, i.e., not urgent. status: question Questions about the issue need answered labels May 4, 2022
@kellijohnson-NOAA kellijohnson-NOAA added this to the year_2022 milestone May 4, 2022
@kellijohnson-NOAA kellijohnson-NOAA modified the milestones: year_2022, year_2023 May 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low The lowest level priority, i.e., not urgent. status: question Questions about the issue need answered topic: code Related to R code within this package type: enhancement
Projects
None yet
Development

No branches or pull requests

4 participants