-
Notifications
You must be signed in to change notification settings - Fork 73
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
Go to next source option if there is a connection issue #246
Comments
This would be a good feature to add. Just need to know how to check for this error before moving on. In the mean time, I believe you can change the source priority in the Herbie config file [default]
model = "hrrr"
fxx = 0
save_dir = "~/data"
overwrite = false
verbose = true
+ priority = ['azure', 'google', 'aws', 'nomads'] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Herbie works great on my home network. The firewall on my office/corporate network, however, often causes issues with certificates that result in an
SSLError
. For other projects (e.g., getting data from the NREL NSRDB), I can usually get around this by using a local copy of a certificate. I have not been able to make that work with Herbie and AWS.So, I ended up stuck with errors like:
SSLError: HTTPSConnectionPool(host='noaa-hrrr-bdp-pds.s3.amazonaws.com', port=443): Max retries exceeded with url: /hrrr.20210701/conus/hrrr.t12z.wrfsfcf06.grib2 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)'))
I just had the idea to test Herbie with
priority='azure'
and it works just fine ('google'
works as well).Would it make sense for Herbie to automatically cycle through the other source options if it runs into this type of error?
The text was updated successfully, but these errors were encountered: