dstndstn / astrometry.net

Astrometry.net -- automatic recognition of astronomical images
http://astrometry.net
Other
662 stars 186 forks source link

Replace NGC2000 with OpenNGC #171

Closed spake closed 4 years ago

spake commented 4 years ago

Fixes #108.

The NGC2000 catalog (for which commercial use is prohibited, and so can't be distributed with Debian/Fedora) is replaced with the more license-friendly (CC BY-SA 4.0) OpenNGC. The accurate NGC/IC positions are removed as well, for which commercial use is also prohibited.

OpenNGC's NGC.csv is added, along with a few awk scripts to split it into separate CSVs for entries and names (mirroring the interface used for NGC2000, so they can more or less be dropped in). These CSVs are then used to generate both the C files (by more awk), and FITS tables (by convert-openngc.py, and checked in). The unused Python interface (ngc2000.py) is removed.

Fields that appear to be unused in the codebase (constellation, classification, and magnitude) are removed.

I've tried annotating a few images using plot-constellations and plotann.py, and the results seem mostly sane (albeit with some slight differences in size/position/naming/etc., as you'd expect).

Here's demo/apod2.jpg annotated with NGC2000: NGC2000 and with OpenNGC: OpenNGC

dstndstn commented 4 years ago

Wow!! This is awesome!

lupinix commented 4 years ago

Very nice! I started to work on this months ago but never finished due to lack of time. I'm very happy to see that you stepped in!

olebole commented 4 years ago

I am very happy about this! 💯