Skip to main content

Bundled Gaia DR3 star catalog in binary format, with Hipparcos for brightest stars

Project description

gaia-catalog

Bundled Gaia DR3 star catalog in a compact binary format for Python, with Hipparcos 2 data for the brightest stars.

Installation

pip install gaia-catalog

Creating the binary catalog

The binary data file is not included in the repository. To create it from a gaia_merged.csv (produced by tetra3rs's download script):

python -c "from gaia_catalog import convert_csv_to_binary; convert_csv_to_binary('path/to/gaia_merged.csv')"

This writes gaia_merged.bin into the package's data/ directory.

Usage

from gaia_catalog import catalog_path

path = catalog_path()

Binary format

Header:  b'GDR3' (4 bytes) + version (u32 LE) + num_stars (u64 LE)
Per star: source_id (i64 LE) + ra (f64 LE) + dec (f64 LE)
          + mag (f32 LE) + pmra (f32 LE) + pmdec (f32 LE)

36 bytes per star, little-endian throughout.

Data license

Gaia DR3 data is published by ESA/Gaia/DPAC under CC BY-SA 3.0 IGO. Hipparcos 2 data is provided by ESA and is freely available for scientific use. If you use this catalog, please cite Gaia DR3 appropriately. The code in this package is MIT-licensed.

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

gaia_catalog-0.1.2.tar.gz (15.7 MB view details)

Uploaded Source

Built Distribution

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

gaia_catalog-0.1.2-py3-none-any.whl (15.7 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gaia_catalog-0.1.2.tar.gz
  • Upload date:
  • Size: 15.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for gaia_catalog-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ef13382c378c3c239197aba3555f0b3fc164fdfae036f3448dd90ead54ac5673
MD5 31a0767581683f2383b71e2cc58585fd
BLAKE2b-256 3a464484177cc9781eff8c719b629f7f839f774c10d6b79c2cfc4c6935792a8b

See more details on using hashes here.

File details

Details for the file gaia_catalog-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: gaia_catalog-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 15.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for gaia_catalog-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 89986c057a0d66d7d976811c51bdab6e0db316c9a97da4fcb4a68d42aac91abd
MD5 cc96753000320f88c29514739648e17b
BLAKE2b-256 910a6bfe09a1bf95a09fd2ffdae4462f1ba5c17e8bac83f2c240a71fbe3e2f49

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