We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
via #239
get_cordinates_df <- function(swdi_output) { swdi_output$shape %>% dplyr::mutate(shape = sub(".*POINT.*\\(","",shape)) %>% dplyr::mutate(shape = sub(")","",shape)) %>% tidyr::separate(shape, c("lon", "lat"), sep = " ") %>% dplyr::mutate(lat = as.numeric(lat), lon = as.numeric(lon)) } center <- c(-102.0, 32.7) out <- swdi(dataset='nx3tvs', startdate='20060506', enddate='20060507', radius = 5, center = center, verbose = TRUE) coordinates <- get_cordinates_df(out) coordinates$distance <- meteo_spherical_distance(lat1=center[2], long1=center[1], lat2=coordinates[2][[1]], long2=coordinates[1][[1]]) head(coordinates)
distance values are in km, but still converting to miles means they are all much greater than 15 miles away from the focal point.
The text was updated successfully, but these errors were encountered:
have emailed NOAA folks
Sorry, something went wrong.
heard back. radius/etc. stuff is not operational - they'll update docs soon, ideally wait till those are updated to update here.
docs at https://www.ncdc.noaa.gov/swdiws/
comment out failing swdi test for now, #243
e54d783
comment out another failing swdi test for now, #243
288bbce
14580ef
No branches or pull requests
via #239
distance values are in km, but still converting to miles means they are all much greater than 15 miles away from the focal point.
The text was updated successfully, but these errors were encountered: