Skip to content

Fix ravel model behaviour to properly clip OOB coordinates - #751

Merged
Cadair merged 11 commits into
DKISTDC:mainfrom
SolarDrew:fix-ravel
Aug 21, 2026
Merged

Cadair merged 11 commits into
DKISTDC:mainfrom
SolarDrew:fix-ravel

Conversation

@SolarDrew

Copy link
Copy Markdown
Contributor

astropy v8.0.1 broke our coordinate transforms because the Ravel model wasn't clipping the lower bounds of the coordinates so it was passing numpy negative numbers. This finds the locations of the coords array where the coords are invalid and masks them out of the ravelled coords array.

@codspeed

codspeed Bot commented Aug 13, 2026 •

Copy link
Copy Markdown

Hooray! CodSpeed harness just leveled up!

The base and head of this comparison were measured with different runner settings, so their benchmark values are not directly comparable.

What changed between base and head:

Re-run the base with the same settings to get a valid performance comparison.


Comparing SolarDrew:fix-ravel (f1e353a) with main (5335ef4)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (1c8f454) during the generation of this report, so 5335ef4 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@SolarDrew
SolarDrew requested a review from Cadair August 13, 2026 21:23

@Cadair Cadair left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests are perfect right? right?

@Cadair Cadair left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh wait, this bug needs regression tests.

@Cadair
Cadair merged commit e71f49b into DKISTDC:main Aug 21, 2026
41 checks passed
SolarDrew added a commit that referenced this pull request Aug 21, 2026
* Fix ravel model behaviour to properly clip OOB coordinates

* Changey changey changey log

* Fix ravel model behaviour to properly clip OOB coordinates

* Changey changey changey log

* Help help a horrible hackalump

* Pooh and piglet catch a hackalump

* I don't know why the result was being made into a list first

But not doing it doesn't break the tests

* Regression test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants