Skip to main content

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)

Project details


Download files

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

Source Distribution

PyNOMAD-0.1.2.tar.gz (238.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

PyNOMAD-0.1.2-py2-none-any.whl (21.2 kB view details)

Uploaded Python 2

File details

Details for the file PyNOMAD-0.1.2.tar.gz.

File metadata

  • Download URL: PyNOMAD-0.1.2.tar.gz
  • Upload date:
  • Size: 238.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for PyNOMAD-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e47465085cc9bc2936674205598a6e841e08df38e2cfdf690f070b9a7e5658ee
MD5 4ffe4e61fd05180c25ed0a9e9aeb76f9
BLAKE2b-256 0fefdf42f3e44d028ab4a917821233810a8c372e2e0ce82e4fa4259ed73d1e89

See more details on using hashes here.

File details

Details for the file PyNOMAD-0.1.2-py2-none-any.whl.

File metadata

File hashes

Hashes for PyNOMAD-0.1.2-py2-none-any.whl
Algorithm Hash digest
SHA256 d4cfb0f38cf76a3e63ca5fe6481bd354041b949372aa949b2f10ae8909d21a01
MD5 9afc901ab8dffee251fc3c2749c32fae
BLAKE2b-256 9cb9db5f1ff5e75ca1d44563322598b54187e758a2c1245e8be5483141c383b3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page