Skip to content

Commit

Permalink
Fix doc about get_alt_az() return units (#46)
Browse files Browse the repository at this point in the history
Fix doc about get_alt_az() return units
  • Loading branch information
mraspaud authored Jun 24, 2019
2 parents f11bbd5 + be9212f commit bccf75e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyorbital/astronomy.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def _local_hour_angle(utc_time, longitude, right_ascension):
def get_alt_az(utc_time, lon, lat):
"""Return sun altitude and azimuth from *utc_time*, *lon*, and *lat*.
lon,lat in degrees
What is the unit of the returned angles and heights!? FIXME!
The returned angles are given in radians.
"""
lon = np.deg2rad(lon)
lat = np.deg2rad(lat)
Expand Down

0 comments on commit bccf75e

Please sign in to comment.