opencadc / caom2

Common Archive Observation Model
GNU Affero General Public License v3.0
5 stars 11 forks source link

CutoutUtil.initCutout in caom2-compute does not implement correct axis order #125

Closed pdowler closed 4 years ago

pdowler commented 4 years ago

The comment in the method is correct but the appending of codes to create the template is only done in typical axis order and not by using values of axis indices in the chunk.

For input with Chunk.naxis=3, energyAxis=1, positionAxis1=2, positionAxis2=3 (legit) the current initCutout would create px,py,ee instead of ee,px,py

pdowler commented 4 years ago

fixed in caom 2.4