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

compile.R removes erroneous "-9999" for WTCPUE, should be for NUMCPUE #154

Open
zoekitchel opened this issue Nov 16, 2021 · 1 comment
Open

Comments

@zoekitchel
Copy link

For the three Alaska regions (EBS, AI, GOA), the compile.R code includes mutate(wtcpue = ifelse(WTCPUE == "-9999", NA, WTCPUE))). However, it is the NUMCPUE that has some seemingly erroneous -9999 values, not WTCPUE.

> summary(goa$WTCPUE)
    Min.  1st Qu.   Median     Mean  3rd Qu.     Max. 
   0.000    0.034    0.352   10.742    3.307 8744.010 
> summary(goa$NUMCPUE)
     Min.            1st Qu.      Median      Mean       3rd Qu.      Max.      NA's 
-9999.000 -9999.000     0.404 -4223.034     3.320 15878.231       441 
@zoekitchel
Copy link
Author

NB: there are also -9999 values for sst and sbt that could easily be removed.

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

No branches or pull requests

1 participant