bifacial_radiance
bifacial_radiance copied to clipboard
Refactor NSRDBWeatherData
On the dev branch, refactor NSRDBWeatherData
function to be a more general readWeatherData
. This splits the existing readWeatherFile
function into two parts - the first half for reading different weather files (TMY3, SAM, EPW, solarGIS) and putting it into a consistent format metadata dictionary and metdata DataFrame. Then the new readWeatherData
function takes those inputs and does the parsing work. Now, NSRDB data can just be injected into the readWeatherData function without requiring any special function.
did this got finished to merge ?
Yes, this is functional and has pytests. We might want to consider demonstrating the functionality in a notebook or two, with the new function name readWeatherData