astronomy-commons/hats-import

Automatically convert coordinate to degrees when units are available

Opened this issue · 0 comments

Some of our readers use astropy.table.Table, which is able to parse and hold units for columns. It should work for certain FITS and ECSV catalogs, for example it works for HSC PDR2 FITS files, where coordinates are stored in radians. In such cases we should convert coordinates to degrees automatically.

Related to #338, part of #142