Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Get a Catalog File

Every search needs a catalog file. Building one from the survey data means downloading 701 GB and needs about 800 GB of disk, so start with a pre-built file. This page covers downloading one, checking it, and picking the size that fits your work.

Download a pre-built file

The catalog folder on Dropbox has three files. All three hold stars down to magnitude 18.5, with positions at epoch J2016.0. They differ in how many stars each patch of sky keeps:

FileHEALPix orderStars per cellStarsSize
catalog-small.bin61004,915,200276 MB
catalog-standard.bin85038,841,6562.2 GB
catalog-full.bin8200111,072,2656.2 GB

Put the file anywhere and pass its path to Catalog::open or to query-catalog --catalog. Nothing else needs to be installed next to it. The rest of this page explains the order and stars-per-cell columns, and Choose a size says which file to pick.

Install the command-line tools

The forge and query-catalog binaries need the cli feature. From a clone of the repository:

cargo install --path celestial-catalog --features cli

Or straight from GitHub, without a clone:

cargo install --git https://github.com/gaker/celestial celestial-catalog --features cli

Both commands install the two binaries into ~/.cargo/bin. The library doesn’t need the cli feature, which adds clap, rayon, reqwest and other dependencies that only the binaries use.

Check the file

query-catalog info opens the file and prints its header. Opening checks the header and every entry in the index, so a truncated or damaged download fails here:

query-catalog --catalog catalog-small.bin info
HEALPix order: 6
nside: 64
npix: 49152
Total stars: 4915200
Epoch: J2016.0
Magnitude limit: 18.50
Average stars per pixel: 100.0
File size: 276037696 bytes (263.25 MB)

The star count and file size should match the table above. “Pixel” and “cell” mean the same thing: one patch of sky in the HEALPix grid. The query-catalog Command covers searching.

Choose a size

Two numbers set a file’s size. The HEALPix order sets how finely the sky is cut into cells: order 6 makes 49,152 cells about 55′ across, and order 8 makes 786,432 cells about 13.7′ across. Stars per cell caps how many stars each cell keeps, the brightest first. How the Catalog File Works explains the tradeoff between them.

What the cap costs you is depth: in a crowded cell, the cap fills up before the magnitude limit does. This table shows the magnitude down to which each file keeps every star, measured over all of its cells:

FileHalf the sky90% of the skyEverywhere
catalog-small.binG 13.1G 11.7G 9.7
catalog-standard.binG 16.1G 14.0G 10.4
catalog-full.binG 18.5G 15.8G 12.1

Read the small file’s row as: in half the sky it keeps every star brighter than G 13.1, and nowhere does it drop a star brighter than G 9.7. The faintest values come from cells along the Milky Way, where all of a 55′ cell’s 100 brightest stars can be brighter than G 10.

When the small file is enough

  • Bright stars. Any search for stars brighter than G 9.7 returns the same stars from all three files. Choosing alignment stars, listing targets for a pointing run or drawing a finder chart to that magnitude doesn’t need the larger downloads.
  • Wide-field plate solving. A field about 1° across or more holds plenty of small-catalog stars to match. The solver’s tests solved every test image with the small file, from a 22′ × 17′ frame of M106 up to 4° fields. On M106, though, it matched only 10 stars, too few to fit distortion terms. The Star Catalog in the plate solving section has the results for each image and file.
  • Limited disk or bandwidth. The small file is 276 MB, so it fits on a small computer at the mount.

When to use a larger file

  • Narrow fields. Under about 1° across, use catalog-standard.bin. Under about 20′, or in crowded fields along the Milky Way, use catalog-full.bin.
  • Faint stars. If you need stars fainter than G 13 to G 14 over most of the sky, the small file doesn’t have them.

If you aren’t sure, start with the standard file.

Credit the data

The pre-built files are derived from:

  • Gaia DR3: European Space Agency (ESA) mission Gaia, processed by the Gaia Data Processing and Analysis Consortium (DPAC). Gaia DR3 is licensed under CC BY 4.0. See the Gaia credit page for how to cite it.
  • Hipparcos: the new reduction of the Hipparcos data (van Leeuwen 2007), matched to Gaia with the Gaia EDR3 Hipparcos2 best-neighbour table.

If you use a catalog file in published work, cite Gaia DR3 as ESA asks.

Next steps