Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install whatsobservable

How to install WhatsObservable

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install whatsobservable
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.1.0 Available View build log
 
Author
License
LICENSE.txt
Imports
Lastest release
version 0.1.0 on Jan 9th, 2014

WhatsObservable is used for determining which minor planets (and comets) are observable at a given time from a given location on Earth.

WhatsObservable determines the locations of objects using the routines of [PyEphem](http://rhodesmill.org/pyephem/) and the [Minor Planet Center's Orbit Database](http://www.minorplanetcenter.net/iau/MPCORB/MPCORB.DAT). Note that at least for the time being the user must download this file separately and WhatsObservable will find it on disk.

The intent is to replicate the functionality available at the [JPL Solar System Dynamics Small Body Whats Observable web page](http://ssd.jpl.nasa.gov/sbwobs.cgi). The motivation for writing WhatsObservable was to provide this capability when offline and in an easily scriptable manner.

NOTE: The precision of PyEphem with the MPC Orbit Database is good, especially for dates near the orbital epoch, but is not nearly as good as what is available directly from the [JPL Horizons System](http://ssd.jpl.nasa.gov/?horizons). Even near the orbital epoch errors of a few arcseconds are not uncommon. Use this tool at your own risk and if precision matters, refer back directly to the [JPL Horizons System](http://ssd.jpl.nasa.gov/?horizons).

A typical usage is:

import datetime from whatsobservable import minorplanets

objects = minorplanets(datetime.datetime(2013, 9, 1, 10, 0),
568, # 568 is the observatory code for Mauna Kea max_objects=5, max_magnitude=12., max_zenithdistance_deg=60.0)

System Message: WARNING/2 (<string>, line 34)

Definition list ends without a blank line; unexpected unindent.

print objects

Note that the return is a pandas.DataFrame


Originally written 2013-09-07 by Henry Roe (hroe@hroe.me)

Subscribe to package updates

Last updated Jan 9th, 2014

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.