- RadianceObj.getEPW(lat=None, lon=None, GetAll=False)[source]#
Subroutine to download nearest epw files to latitude and longitude provided, into the directory EPWs based on github/aahoo.
verify=false is required to operate within NREL’s network. to avoid annoying warnings, insecurerequestwarning is disabled currently this function is not working within NREL’s network. annoying!
lat (decimal) – Used to find closest EPW file.
lon (decimal) – Longitude value to find closest EPW file.
GetAll (boolean) – Download all available files. Note that no epw file will be loaded into memory