Skip to content

HLA-1610: Scale missing from idctab bug #249

Open
s-goldman wants to merge 2 commits into
spacetelescope:mainfrom
s-goldman:hla-1610_scale_missing_bug_07_08_26
Open

HLA-1610: Scale missing from idctab bug #249
s-goldman wants to merge 2 commits into
spacetelescope:mainfrom
s-goldman:hla-1610_scale_missing_bug_07_08_26

Conversation

@s-goldman

Copy link
Copy Markdown
Collaborator

Resolves HLA-1610

Closes #

This PR addresses an edge case bug where the pixel scale (pulled from the idctab) returns nothing. In this situation (idan47020_asn.fits) we have discovered idcv2ref was available, but not idcscale.

If both idcv2ref and idcscale are missing, scale is calculated using the determinant of the CD matrix. I have added a line to similarly calculate scale if idcv2ref alone is missing.

Checklist for maintainers

  • added entry in CHANGELOG.rst within the relevant release section
  • updated or added relevant tests
  • updated relevant documentation
  • added relevant label(s)

@s-goldman
s-goldman requested a review from mcara as a code owner July 8, 2026 18:34
@s-goldman s-goldman added the bug label Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant