# Comments use # # First non-comment line is treated as a header if # it contains characters (not just numeric values, which # we just treat as the first row). # We use the default read function of astropy.io.ascii # If there is a header, we look for 'ra' and 'dec' # which must be lowercase and use the same delimiter as # the rows, except for a special case with pipes # (see sexeges2.txt) ra, dec 05 53 42.2501, -10 23 53.5992 05 53 42.5189, -10 23 44.804