-
Notifications
You must be signed in to change notification settings - Fork 1.1k
NREL TMY server rejecting python requests #493
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
Comments
@wholmgren and @cwhanse unfortunately it looks like NREL has permanently retired the old rredc websites, however I think you can download a single CSV from MTS2: api_key = 'DEMO_KEY'
blah blah blah what a PITA |
Agree with the comment about the NREL site limitations. The PSM NSRDB files have the same restrictions. At what point does maintenance of this connection to the NSRDB become too much work? |
Maybe if someone asked, they would keep it alive? |
I think the answer is "now". I suggest we remove the feature. |
I agree - we should remove the capability to pass a url to read_tmy3. It was nice capability while it worked. |
NREL's TMY server is back online and the downloads are working again. |
Describe the bug
NREL's TMY file server recently started rejecting requests originating from urlopen. The response was:
However, it's still possible to download a file from the same url with a web browser. Mostly likely they, intentionally or not, started blocking any requests that don't come with a browser-like HTTP User-Agent header.
I have a fix mostly ready to go.
To Reproduce
Expected behavior
Should work like it used to!
Versions:
all
The text was updated successfully, but these errors were encountered: