pvdeg.weather.read_h5#

pvdeg.weather.read_h5(gid, file, attributes=None, **_)[source]#

Read a locally stored h5 weather file that follows NSRDB conventions.

Parameters:#

file_path(str)

file path and name of h5 file to be read

gid(int)

gid for the desired location

attributes(list)

List of weather attributes to extract from NSRDB

Returns:#

weather_df(pd.DataFrame)

DataFrame of weather data

meta(dict)

Dictionary of metadata for the weather data