Constel

Get constellation name from given celestial coordinates
import sys from astropy import units as u from astropy.coordinates import SkyCoord, get_constellation coord=sys.argv[1:] co=" ".join(coord) c=SkyCoord(co, unit=(u.hourangle,u.deg)) print(get_constellation(c,short_name=False))
 * 1) !/usr/bin/python3