Project: datamanagement
Issue DM-2883: wcslib is unable to read PTF headers with PV1_{1..16} cards
SCAMP writes distortion headers in form of PVi_nn (i=1..x, nn=5..16) cards, but this is rejected (correctly) by wcslib 4.14; there is a discussion at https://github.com/astropy/astropy/issues/299 The simplest "solution" is to strip the values PV1_nn (nn=5..16) in makeWcs() for CTYPEs of TAN or TAN-SIP and this certainly works. I propose that we adopt this solution for now.
Story points: 1