pvdeg.weather.get_NSRDB#
- pvdeg.weather.get_NSRDB(satellite=None, names='TMY', NREL_HPC=False, gid=None, location=None, geospatial=False, attributes=None, **_)[source]#
Get NSRDB weather data from different satellites and years.
Provide either gid or location tuple.
Parameters:#
- satellite(str)
‘GOES’, ‘METEOSAT’, ‘Himawari’, ‘SUNY’, ‘CONUS’, ‘Americas’
- names(int or str)
If int, year of desired data If str, ‘TMY’ or ‘TMY3’
- NREL_HPC(bool)
If True, use NREL HPC path If False, use AWS path
- gid(int)
gid for the desired location
- location(tuple)
(latitude, longitude) 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