-
Notifications
You must be signed in to change notification settings - Fork 29
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
HTTP 404 Error downloading climate normals #112
Comments
Hi @urbaingeo4455 I'm glad you're enjoying weathercan and so happy to hear that it inspired you to check out R! I've moved your comment to a new issue as it was unrelated to the issue you commented under. For next time, ideally for this kind of thing you would open a new issue. Your problem relates to an error, but this issue reflects getting access to normals data from a different source so they're not the same thing, it helps us keep things organized if each issue reflects a specific problem/feature/etc. Okay! On to the current problem. Unfortunately I wasn't able to recreate your problem. When I tried to download the normals, I got an error saying that there were not normals available. Which is also the case in the stations data frame (
I think it's likely that your version of weathercan (and/or dplyr see #111) is out of date. You can use However, the recent ECCC update does mean that the stations data frame may be out of date, so I'm going to spend some time today looking into updating weathercan to match. |
Hi Steffi, You're exactly right! Although I did initially try updating my packages, I missed on the console that some (including dplyr) had failed. I've since updated all the relevant packages and everything seems to be working correctly now. Behavior before: Behavior after: Thank you very much for your help on the problem and with organizing the issue! |
Hello WeatherCan Team,
First off, thank you for all the hard work you put into WeatherCan. It was the package that got me started in R and I am loving it!
Unfortunately I am also having an error when trying to download climate normals from a specific station:
n <- normals_dl(climate_ids = "6046767")
Error: Problem with
mutate()
inputnormals
.x Not Found (HTTP 404). Failed to access climate normals for this station (climate id: 6046767).
i Input
normals
ispurrr::map(.data$loc, normals_raw)
.Run
rlang::last_error()
to see where the error occurred.I've tried to do some digging to help with debugging
Behaviour in R:
On Climate Weather.gc.ca portal:
Basically, I'm trying to figure out
Is the R library incorrect (should normals = FALSE)?
Have I made a technical mistake (dependencies)?
Is it an error related to the recent Climate Weather update?
Thanks!
Originally posted by @urbaingeo4455 in #88 (comment)
The text was updated successfully, but these errors were encountered: