CARTAvis / carta

To CARTA users, this repo holds the CARTA release packages. Please use this repo to log bugs and feature requests. These will be triaged by the development team and prioritised as necessary in the development cycles.
19 stars 0 forks source link

DS9 regions exported with decimal degrees #179

Closed IanHeywood closed 1 year ago

IanHeywood commented 1 year ago

The CARTA DS9 region output exports the RA and Dec values as decimal degrees, whereas DS9 itself uses hms/dms. This makes the CARTA DS9 regions incompatible with packages such as astropy.

  File "/Users/heywood/Astro/venv/astro/lib/python3.8/site-packages/astropy/wcs/wcsapi/high_level_api.py", line 154, in high_level_objects_to_values
    raise ValueError("Number of world inputs ({}) does not match "
ValueError: Number of world inputs (1) does not match expected (3)
IanHeywood commented 1 year ago

Actually I think this might be an astropy issue, sorry!