[AstroPy] fits coordinate system keyword
Erik Bray
embray at stsci.edu
Mon Oct 5 12:25:34 EDT 2015
On 10/05/2015 12:17 PM, Paul Kuin wrote:
>
>
> I am getting very annoyed of the warning that keeps popping up
>
> WARNING: FITSFixedWarning: RADECSYS= 'FK5' / default
> RADECSYS is non-standard, use RADESYSa. [astropy.wcs.wcs]
>
> I'm not sure when the FITS standard changed, but MOST legacy fits files (I use)
> will have the RADECSYS keyword. It works, and I do not see why someone felt the
> need to keep this warning being popped up all the time.
Probably as a warning to remind authors of new files that they shouldn't be
using that keyword. I don't know that it necessarily needs to be displayed
every time reading in a WCS except maybe to head off cases of ambiguity. But I
don't know this particular issue well enough to be sure if the warning is
appropriate in all cases or not.
> I think that by default it should be off.
>
> Since you all probably think it should be there, I would like to know how to
> turn it off ? any suggestion on how to do that?
http://docs.astropy.org/en/stable/warnings.html
Erik
More information about the AstroPy
mailing list