Caltech-IPAC / kete

Kete Solar System Survey tools
https://Caltech-IPAC.github.io/kete
BSD 3-Clause "New" or "Revised" License
12 stars 1 forks source link

Astopy WCS allows for a 'relax' keyword which should be set to True #34

Closed dahlend closed 5 months ago

dahlend commented 5 months ago

The WCS loading in astropy allows for a 'relax' keyword, which will reduce the number of warnings it raises about deprecated keywords in the headers. The blanked "parse everything and stop complaining" setting is WCS(..., relax=True).

There are at least two places where this should be set:

https://github.com/IPAC-SW/neospy/blob/68e74079df59bf9312c60439de88536402c8e2ca/src/neospy/irsa.py#L179 https://github.com/IPAC-SW/neospy/blob/main/src/neospy/wise.py#L503