pvlib.solarposition.pyephem¶
-
pvlib.solarposition.
pyephem
(time, latitude, longitude, altitude=0, pressure=101325, temperature=12)[source]¶ Calculate the solar position using the PyEphem package.
Parameters: - time : pandas.DatetimeIndex
Localized or UTC.
- latitude : float
- longitude : float
- altitude : float, default 0
distance above sea level.
- pressure : int or float, optional, default 101325
air pressure in Pascals.
- temperature : int or float, optional, default 12
air temperature in degrees C.
Returns: - DataFrame
The DataFrame will have the following columns: apparent_elevation, elevation, apparent_azimuth, azimuth, apparent_zenith, zenith.
See also