panoptes / POCS

An Observatory Control System for the PANOPTES citizen-science project designed to help find transiting exoplanets! :telescope: :stars:
https://pocs.readthedocs.io/en/latest/
MIT License
77 stars 49 forks source link

Fix astropy extended header warning. #1204

Open wtgee opened 8 months ago

wtgee commented 8 months ago

Figure out the problem and/or silence the warning. This occurs whenever we convert a cr2 to a fits.

WARNING: FITSFixedWarning: 'datfix' made the change 'Set MJD-OBS to 51544.017431 from DATE-OBS'. [astropy.wcs.wcs]

Edit: (2024-05-19) also:

WARNING: NonRotationTransformationWarning: transforming other coordinates from <GCRS Frame (obstime=2024-05-19 11:07:21.728123, obsgeoloc=(1471173.20334742, -5073557.48674558, 3565246.1065316) m, obsgeovel=(369.9779186, 106.66599663, -0.87666708) m / s)> to <ICRS Frame>. Angular separation can depend on the direction of the transformation. [astropy.coordinates.baseframe]