astropy / astropy/reproject

Correctly deal with different spectral axis conventions

Open
#209 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Python
Stars
127
Forks
74
Avg merge
1d 11h
Merged PRs (30d)
2

Description

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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start at reproject/interpolation/core.py line 45, where matching spectral CTYPEs are currently required. Check the status and integration of SpectralCoord in specutils pull request 524 and its connection to the FITS-WCS APE 14 API in astropy core. Done means reprojection accepts compatible spectral axes using different conventions after automatic coordinate conversion.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.