pvlib.pvsystem.LocalizedPVSystem.get_solarposition¶
-
LocalizedPVSystem.get_solarposition(times, pressure=None, temperature=12, **kwargs)¶ Uses the
solarposition.get_solarposition()function to calculate the solar zenith, azimuth, etc. at this location.Parameters: times : DatetimeIndex
pressure : None, float, or array-like
If None, pressure will be calculated using
atmosphere.alt2pres()andself.altitude.temperature : None, float, or array-like
kwargs passed to :py:func:`solarposition.get_solarposition`
Returns: solar_position : DataFrame
Columns depend on the
methodkwarg, but always includezenithandazimuth.