This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Routines for accessing a self-hosted local copy of the USNO NOMAD stellar catalog

Project Description

======= PyNOMAD =======

PyNOMAD is used for accessing a locally hosted copy of The Naval Observatory Merged Astrometric Dataset (NOMAD). More information on NOMAD is available at: http://www.nofs.navy.mil/nomad/

Full copies of the NOMAD catalog are large: 92Gigs uncompressed or 30Gigs when compressed with: gzip –best nomad/[0-9][0-9][0-9]/m*

The nomad.py module works with either uncompressed or compressed copies of the catalog.

A typical usage to fetch a region of the catalog is:

#!/usr/bin/env python

from nomad import fetch_nomad_box

ra_range = [281., 281.05]  #    RA is in degrees
dec_range = [-30.6, -30.55]  #  Dec is in degrees
stars = fetch_nomad_box(ra_range, dec_range, epoch=2000.0)

A typical usage to retrieve by NOMAD catalog ID is:

#!/usr/bin/env python

from nomad import fetch_star_by_nomad_id

star = fetch_star_by_nomad_id(['0594-0896798'], epoch=None)

stars = fetch_star_by_nomad_id(['0594-0896794', '0594-0896795',
                                '0594-0896796', '0594-0896798'], epoch=None)

Note that in all cases the returned object is a pandas.DataFrame.

Some catalog data files used for testing the code are included in: test/data These are grabbed directly from USNO’s website serving the NOMAD database: http://www.nofs.navy.mil/data/fchpix/ These can be used to perform one-time tests cross-checking that the nomad module is working correctly with the local copy of the catalog. These tests (and some other internal consistency checks) can be run by using the nomad_test.py module: python nomad_test.py


Originally written 2013-04-05 by Henry Roe (hroe@hroe.me)

Release History

Release History

This version
History Node

0.1.7.post1

History Node

0.1.7

History Node

0.1.6

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.1.dev26

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
PyNOMAD-0.1.7.post1-py2-none-any.whl (21.8 kB) Copy SHA256 Checksum SHA256 py2 Wheel Mar 23, 2016
PyNOMAD-0.1.7.post1.tar.gz (239.9 kB) Copy SHA256 Checksum SHA256 Source Mar 23, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting