-
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
fetch_forecast fails silently #20
Comments
I found this: https://stackoverflow.com/questions/28904607/cannot-import-requests-packages-urllib3-util-retry Importing directly from urllib3.util fixed fetching data for me, but now I'm down the rabbit hole of trying to parse the grib data with pygrib. Any advice? |
Did you end up figuring it out? I am now also trying to parse grib data... |
So pygrib should be the default now in this package. Things are a little outdated here because i have moved on to use other methods, but everything here should work except if urrllib needs to be updated. Happy to help others get sorted if they are having issues! |
@amandabaughan It's been a while since I've worked with this library, but if I remember correctly, I couldn't get pygrib to run natively on Windows. I believe I used a VM running Ubuntu or Docker to get everything working. |
These days, most people Are using xarray and cfgrib to do this kind of workflow |
I kept running into the same error:
I kept trying to debug the parsing functions in the Fetch functions in the example now working great for me 🙏 thanks for a sick project |
Looking into the examples, I'm having a tough time getting
fetch_forecast.py
running successfully.My environment:
Running
Some steps I took to debug:
Cloned the grippy repository and installed in my conda environment.
I came across a warning
Which prompted me to upgrade requests and urllib3 to the latest versions and modify
tools.py
:What package versions are working for you? I would love to help document and assist with this project where possible.
Thank you for your help.
The text was updated successfully, but these errors were encountered: