reproject
reproject copied to clipboard
Correctly deal with different spectral axis conventions
Currently we require datasets with spectral axes to have matching CTYPEs to be reprojected:
https://github.com/astropy/reproject/blob/master/reproject/interpolation/core.py#L45
Once SpectralCoord has been implemented (https://github.com/astropy/specutils/pull/524) and this has been connected to the FITS-WCS APE 14 API in astropy core, we should be able to relax the restriction in reproject since the spectral coordinates will be automatically converted from one convention to another.