-
Notifications
You must be signed in to change notification settings - Fork 84
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
incorrect station ids #261
Comments
bump dev version update buoy station datasets in inst/extdata/
thanks for the issue @johnrharley just fixed |
updated the cached data.frame in the pkg, and chagned the code internally to use async requests so it runs faster, and we i think correctly grab the station id now. See what's cached with |
Thanks Scott, I didn't try to download a new version but the cached data look great. |
great, glad it works |
The included list of buoys as given by buoy_stations() returns a number of stations (especially in Southeast Alaska) with single digit values in the station column, which are incorrect and cannot be passed into the buoy() command.
I believe this is because these buoy ids are 5 digit alphanumeric identifiers (i.e. JNEA2) rather than the 5 digit numeric identifiers of most other stations.
A quick and dirty patch for most of these stations could be extracting the station id from the DC.description column which contains the station following the "station". This worked for me for pulling out the station ids I was interested in (using dplyr):
There are a number of other stations in other regions with 1 or 2 digit station ids, so I suspect this will not work for all buoys.
Session Info
The text was updated successfully, but these errors were encountered: