You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the split_exp package we are converting the WCS PV keywords to SIP to read the WCS with astropy, and this is not necessary. At the moment astropy cannot read the current WCS because the TYPE of the WCS is set to RA--TAN instead of RA--TPV. This was not a problem in the past because astropy allows inconsistency between the TYPE and the provided keywords, but now it is more strict about it. Also the TAN and TPV conventions are the same. I would propose to remove the conversion in the pipeline and instead update the TYPE in the header to avoid the dependence to an external package and changing the original WCS.
the RA-TPV and DEC-TPV in astropy do not give the same result as the current SIP implementation. this implementation matches with erin sheldon's WCS util
Activity
lbaumo commentedon Apr 5, 2023
this has been implemented, but not yet merged
lbaumo commentedon Oct 16, 2023
the RA-TPV and DEC-TPV in astropy do not give the same result as the current SIP implementation. this implementation matches with erin sheldon's WCS util
martinkilbinger commentedon Oct 16, 2023
See https://github.com/martinkilbinger/shapepipe-1/blob/wcs_mk/scripts/jupyter/wcs.ipynb