-
Notifications
You must be signed in to change notification settings - Fork 1.1k
test failure because RREDC website has changed #996
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
I also just noticed on Friday that the RREDC sites were all down, but I could not find where they are now hosted. I think need to contact NREL. They may not know that the site is down, or they may have finally decided not to share these files at all anymore. Once we know what the deal is, then we should consider sourcing them from somewhere else or archiving them in pvlib if their license allows this. |
Per some emails with the NSRDB team, the old individual-file URLs are no more, but the original data TMY3 files are available through that large (~4GB) zipfile at https://nsrdb.nrel.gov/data-sets/archives.html. As far as this issue is concerned, I think I would vote for fetching the file from the pvlib github repo. Another option that just came to mind would be to programmatically set up a temporary local http server and fetch the file from localhost, but that's a level of complexity I'm not sure we want to get into. |
Similar to Kevin's http idea, but more boilerplate would be to use an existing archival service like AWS-S3, Dropbox, Box, Google Drive, or Azure/OneDrive. Most services have a free tier that will work fine for pvlib. Does NREL object to pvlib archiving the files? Optionally GitHub offers Git LFS, and storage, but it's premium. I'm not sure what value, or convenience Git LFS is, but I believe it could be used with any archive service like the ones I mentioned above. So that's my vote: set up some archive on like Dropbox either with our without Git-LFS. Another question, should we ship wheels & conda packages with or without the data? Probably best to just access it as needed lazily. Also, should it cache user side, that could get complicated. |
I'm -3 on shipping 4GB of old TMY2/3 weather files with pvlib, if that's being considered. @kanderso-nrel is NREL doing away with all TMY files, or, only retiring the server with the up-to-2010 TMY3 files? If the individual TMY3 files are no longer to be available on a server, I'm unsure what value |
@cwhanse My understanding is that TMY3 files are being retired in favor of the current NSRDB PSM3 TMY data rather than "done away with" entirely. The files still exist if someone really needs them, but they have been moved to that 4GB zipfile archive. Note that this is only for the TMY3 dataset; TMY data from the current NSRDB (PSM3) are still very much a thing. I think I am +1 to not caring about remote access for TMY3 anymore and nixing the test. I'm hesitant to get into the business of hosting bulk weather data through the pvlib project (cloud archive or otherwise), especially if the files are still available (albeit somewhat inconveniently) from the original source. |
@kanderso-nrel just to confirm, it is the case that the NSRDB will continue to contain site- and year-specific data for years prior to 2011? |
Depends on what exactly you mean by NSRDB. As far as I am aware, the satellite-based product currently available at https://nsrdb.nrel.gov/ is unchanged and will continue to provide individual site- and year-specific data going back to 1998, as well as TMY data calculated from the 1998-present dataset. It is only the older TMY3 dataset calculated from ground station data that is being archived. Hopefully that's unambiguous -- if I'm still not getting to the point, maybe it would be best to email Manajit and Aron, the sources of all NSRDB truth :) |
That's clear to me now, thanks. |
It would be nice to stop the CI from throwing a fit about this. Seems like there are two things to decide:
Personally I vote no for 1 and yes for 2. |
I agree. |
Seconded |
The test
iotools/test_tmy.py::test_read_tmy3_remote
started failing because of a 404 on the remote TMY file it tries to read:https://dev.azure.com/solararbiter/pvlib%20python/_build/results?buildId=3664&view=logs&j=fc432b8b-e2e3-594e-d8b1-15597b6c1d62&t=309866e1-2cf4-5f00-3d0a-999fc3a0f279&l=112
The obvious fix would be to update the URL to wherever that file lives now, but I didn't find it with a quick look around. It's probably in the zipfiles at https://nsrdb.nrel.gov/data-sets/archives.html, but that's not really an option unless we add unzipping functionality, which seems pretty out of scope.
We could have it read from the pvlib github repo instead via: https://raw.githubusercontent.com/pvlib/pvlib-python/master/pvlib/data/723170TYA.CSV. Or just remove the test entirely if TMY files aren't available from NREL via direct links anymore?
The text was updated successfully, but these errors were encountered: