Skip to content
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

Unable to access 2021 NSRDB data #164

Closed
annacheyette opened this issue Sep 7, 2023 · 5 comments
Closed

Unable to access 2021 NSRDB data #164

annacheyette opened this issue Sep 7, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@annacheyette
Copy link

I am unable to access 2021 NSRDB data using NSRDBX:

from rex import NSRDBX

nsrdb_file = f'/nrel/nsrdb/v3/nsrdb_2021.h5'
nrel = (39.741931, -105.169891)

with NSRDBX(nsrdb_file, hsds=True) as f:
    nrel_dni = f.get_SAM_lat_lon((nrel))

results in OSError: [Errno 503] Service Unavailable. Previous years work successfully. It appears that 2021 data should be published already (e.g. https://nsrdb.nrel.gov/data-sets/us-data). Is there a delay getting this data access via rex? If so, is there a timeline for when new data will be available via rex?

Thank you for your help.

@annacheyette annacheyette added the bug Something isn't working label Sep 7, 2023
@grantbuster
Copy link
Member

sounds like the public HSDS service is down, see this: https://nrel.github.io/rex/misc/examples.hsds.html

@annacheyette
Copy link
Author

I've been able to follow these instructions and get HSDS downloaded locally on my laptop. I am successfully able to download data for years prior to 2021 (e.g., i can run

nsrdb_file = f'/nrel/nsrdb/v3/nsrdb_2020.h5'
nrel = (39.741931, -105.169891)

with NSRDBX(nsrdb_file, hsds=True) as f:
    nrel_dni = f.get_SAM_lat_lon((nrel))

successfully). I am just unable to get the 2021 data to work. Do you know if the server will update with 2021 data? Thanks!

@grantbuster
Copy link
Member

Try using the path /nrel/nsrdb/current/nsrdb_2021.h5. The /v3/ folder is deprecated. I'll ask to have it removed.

@annacheyette
Copy link
Author

Thanks so much, that new path works! I'm also able to download the 2022 data at this path, which is great. Do you know generally how long it takes to get data added? e.g., how long after 2023 ends will it take for 2023 data to get uploaded?

@grantbuster
Copy link
Member

It typically takes a few months, at the latest we release the data in the following september. This is driven mostly by the DOE fiscal year.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants