OSError: Error retrieving data: 429


I am trying to download data to my local laptop using below code.

f = h5pyd.File("/nrel/wtk-us.h5", ‘r’)
tp_2 = f[‘temperature_2m’]

this execution is ending with below error. please help me resolve this error

:\ProgramData\Anaconda3\lib\site-packages\h5pyd_hl\dataset.py in getitem(self, args)
857 break
858 else:
–> 859 raise IOError(“Error retrieving data: {}”.format(ioe.errno))
860 if type(rsp) is bytes:
861 # got binary response

OSError: Error retrieving data: 429


Did you see my response to this issue: https://github.com/HDFGroup/h5pyd/issues/115?

If you are using the NREL gateway, there will be a cap on the number of requests you can send in a given time. To get a private key go here: https://developer.nrel.gov/signup/.


Also, you can access the NREL data using HDF Lab. See the sample notebooks in /examples/NREL once you are signed in.