pvdeg.spectral.solar_position#
- pvdeg.spectral.solar_position(weather_df, meta)[source]#
Calculate solar position using pvlib based on weather data from the National Solar Radiation Database (NSRDB) for a given location (gid).
- Parameters:
weather_df (pandas.DataFrame) – Weather data for given location.
meta (pandas.Series) – Meta data of location.
- Returns:
solar_position (pandas.DataFrame) – Solar position like zenith and azimuth.