Skip to content

Commit 9b95720

Browse files
committed
changed azimuth to south=180 to be consistent within the solarposition module
reverted version of RA (Feb 18,2014)
1 parent d458afa commit 9b95720

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pvlib/solarposition.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -375,8 +375,8 @@ def ephemeris(time, location, pressure=101325, temperature=12):
375375

376376
ApparentSunEl = SunEl + Refract
377377

378-
DFOut = pd.DataFrame({'elevation':SunEl}, index=time)
379-
DFOut['azimuth'] = SunAz-180 #Changed RA Feb 18,2014 to match Duffe
378+
DFOut = pd.DataFrame({'elevation': SunEl}, index=time)
379+
DFOut['azimuth'] = SunAz
380380
DFOut['zenith'] = SunZen
381381
DFOut['apparent_elevation'] = ApparentSunEl
382382
DFOut['apparent_zenith'] = 90 - ApparentSunEl

0 commit comments

Comments
 (0)