NREL / rex

REsource eXtraction Tool (rex)
https://nrel.github.io/rex
BSD 3-Clause "New" or "Revised" License
20 stars 10 forks source link

Having trouble accessing yearly nsrdb data, similar to issue #99 #158

Closed AbhayKurian90 closed 1 year ago

AbhayKurian90 commented 1 year ago

Have been trying to access yearly NSRDB, but keep getting the error : Error retrieving data: None.

year = 2013
# currently using the NRSDB v3.
nsrdb_file = '/nrel/nsrdb/v3/nsrdb_{}.h5'.format(year)

# Extract meta data and time index from desired dataset
with Resource(nsrdb_file, hsds=True) as f:
    nsrdb_meta = f.meta
    nsrdb_ti = f.time_index

I assume the error is being thrown because of the use of HSDS to access the entire 2013 dataset. In the earlier Issue #99 , a solution provided was to use the HDF groups Kita lab solution. I would appreciate help with getting in touch with the group and modifying my script to access the data.

grantbuster commented 1 year ago

The public HSDS server is either having bandwidth issues or is down completely. Another option is to stand up your own HSDS server, instructions are here: https://nrel.github.io/rex/misc/examples.hsds.html#setting-up-a-local-hsds-server

AbhayKurian90 commented 1 year ago

It looks like the server was down. I am able to access the data today. Thank you.