Pyorbital
Orbital computations for python
What is it?
What does it do?
How does it work?
>>> from pyorbital.orbital import Orbital�>>> from datetime import datetime�>>> orb = Orbital("noaa 18")�>>> now = datetime.utcnow()
�>>> # Get normalized position of the satellite:�>>> orb.get_position(now)�([0.57529384846822862, 0.77384005228105424, 0.59301408257897559],�[0.031846489698768146, 0.021287993461926374, -0.05854106186659274])�
How does it work?
�>>> # Get longitude, latitude and altitude of the satellite:�>>> orb.get_lonlatalt(now)�(-1.1625895579622014, 0.55402132517640568, 847.89381184656702)
How does it work?
Uses SGP4 algorithm
How does it work?
Uses SGP4 algorithm
Use of sun zenith angles
Calculating SNOs
Calculating SNOs...
Example: Validating VIIRS/AVHRR NWCSAF-PPS Cloud height with Calipso/Caliop:
Calculating SNOs...
>>> from pyorbital.orbital import Orbital�>>> from pyorbital.tlefile import Tle
>>> from pyresample.spherical_geometry import Coordinate, Arc
Moon phase and position
>>> from pyorbital.planets import Moon
>>> from datetime import datetime
>>> now = datetime.utcnow()
>>> rasc, decl, alt, azi = moon.topocentric_position(16.1875, 58.5875)
>>> print alt
3.63935937488
>>> import pyorbital.moon_phase as mphase
>>> print mphase.moon_phase(now)
0.918440229993
�
Status
Moon phase and position