POCS icon indicating copy to clipboard operation
POCS copied to clipboard

Investigate astropy warnings

Open wtgee opened this issue 3 years ago • 0 comments

We get two warnings. One is when writing long keywords for FITS headers and should just be suppressed:

WARNING: VerifyWarning: Keyword name 'camera_name' is greater than 8 characters or contains characters not allowed by the FITS standard; a HIERARCH card will be created. [astropy.io.fits.card]
WARNING: VerifyWarning: Keyword name 'camera_uid' is greater than 8 characters or contains characters not allowed by the FITS standard; a HIERARCH card will be created. [astropy.io.fits.card]

and the other is going from AltAz to RA/Dec ?

WARNING: AstropyDeprecationWarning: Transforming a frame instance to a frame class (as opposed to another frame instance) will not be supported in the future.  Either explicitly instantiate the target frame, or first convert the source frame instance to a `astropy.coordinates.SkyCoord` and use its `transform_to()` method. [astropy.coordinates.baseframe]

wtgee avatar Jan 25 '22 16:01 wtgee