Skip to content

Commit

Permalink
Merge pull request #50 from tpltnt/master
Browse files Browse the repository at this point in the history
docstring fixes
  • Loading branch information
adybbroe authored Nov 29, 2019
2 parents 7efe253 + 1d55a8e commit e9150b3
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions pyorbital/orbital.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,12 +91,12 @@ def get_observer_look(sat_lon, sat_lat, sat_alt, utc_time, lon, lat, alt):
"""Calculate observers look angle to a satellite.
http://celestrak.com/columns/v02n02/
utc_time: Observation time (datetime object)
lon: Longitude of observer position on ground in degrees east
lat: Latitude of observer position on ground in degrees north
alt: Altitude above sea-level (geoid) of observer position on ground in km
:utc_time: Observation time (datetime object)
:lon: Longitude of observer position on ground in degrees east
:lat: Latitude of observer position on ground in degrees north
:alt: Altitude above sea-level (geoid) of observer position on ground in km
Return: (Azimuth, Elevation)
:return: (Azimuth, Elevation)
"""
(pos_x, pos_y, pos_z), (vel_x, vel_y, vel_z) = astronomy.observer_position(
utc_time, sat_lon, sat_lat, sat_alt)
Expand Down Expand Up @@ -338,15 +338,15 @@ def get_next_passes(self, utc_time, length, lon, lat, alt, tol=0.001, horizon=0)
Original by Martin.
utc_time: Observation time (datetime object)
length: Number of hours to find passes (int)
lon: Longitude of observer position on ground (float)
lat: Latitude of observer position on ground (float)
alt: Altitude above sea-level (geoid) of observer position on ground (float)
tol: precision of the result in seconds
horizon: the elevation of horizon to compute risetime and falltime.
Return: [(rise-time, fall-time, max-elevation-time), ...]
:utc_time: Observation time (datetime object)
:length: Number of hours to find passes (int)
:lon: Longitude of observer position on ground (float)
:lat: Latitude of observer position on ground (float)
:alt: Altitude above sea-level (geoid) of observer position on ground (float)
:tol: precision of the result in seconds
:horizon: the elevation of horizon to compute risetime and falltime.
:return: [(rise-time, fall-time, max-elevation-time), ...]
"""

def elevation(minutes):
Expand Down

0 comments on commit e9150b3

Please sign in to comment.