Skip to content

Get IAU constellation boundaries coordinates? #814

Answered by brandon-rhodes
tergvey asked this question in Q&A
Discussion options

You must be logged in to vote

Skyfield does not include any constellation lines, since there is no international standard for how to draw them. Take a look at Stellarium's cultural sky database for different ways to draw the constellation lines.

The boundaries, or "boxes", that define the constellations are not available though a Skyfield function, but in a built-in data file that's shipped with Skyfield, that's based on the http://cdsarc.u-strasbg.fr/ftp/VI/42/data.dat data file. Here's how the built-in grid can be loaded:

from skyfield.functions import load_bundled_npy
a = load_bundled_npy('constellations.npz')
print(a['sorted_ra'])
print(a['sorted_dec'])
print(a['radec_to_index'])
print(a['indexed_abbreviations'])

I…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tergvey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants