Skip to content

Update casaStuff.py to support CASA 6.7#271

Merged
akleroy merged 1 commit intomasterfrom
casa-67
Dec 1, 2025
Merged

Update casaStuff.py to support CASA 6.7#271
akleroy merged 1 commit intomasterfrom
casa-67

Conversation

@thomaswilliamsastro
Copy link
Copy Markdown
Collaborator

@thomaswilliamsastro thomaswilliamsastro commented Nov 18, 2025

  • Remove duplicate imports
  • General tidy up of imports
  • Format for readability

Testing with the pip-installed CASA (required updating CASA AU), will also test with the monolithic version. Draft until then

@thomaswilliamsastro
Copy link
Copy Markdown
Collaborator Author

Hopefully this tidying also makes it a little easier to maintain going forwards

@thomaswilliamsastro thomaswilliamsastro marked this pull request as draft November 18, 2025 12:02
@thomaswilliamsastro
Copy link
Copy Markdown
Collaborator Author

Tested with both the pip-installed CASA and monolithic versions, no crashes. Good to review @akleroy

@thomaswilliamsastro thomaswilliamsastro marked this pull request as ready for review November 21, 2025 08:19
@thomaswilliamsastro thomaswilliamsastro marked this pull request as draft November 23, 2025 09:45
@thomaswilliamsastro
Copy link
Copy Markdown
Collaborator Author

Reverting to draft for now, for some reason feathering doesn't seem to be working

- Remove duplicate imports
- General tidy up of imports
- Format for readability
- Ensure IDs for selection in SD pipeline are ints
- Account for getargspec being deprecated since Python 3.11 in VisRoutines
- Trim SD cube
- Add degenerate axes to fix feather crash
@thomaswilliamsastro
Copy link
Copy Markdown
Collaborator Author

thomaswilliamsastro commented Nov 25, 2025

Feathering is now fixed, and as an added bonus TP cubes are trimmed to remove pointless blank space. Saves between a factor 2 and a factor 200 on the filesize. Yay!

Ready for (re)review @e-koch @akleroy

@thomaswilliamsastro thomaswilliamsastro marked this pull request as ready for review November 25, 2025 10:07
@e-koch
Copy link
Copy Markdown
Collaborator

e-koch commented Nov 25, 2025

What ended up being the issue with the feathering?

@thomaswilliamsastro
Copy link
Copy Markdown
Collaborator Author

What ended up being the issue with the feathering?

Seems like there's been some update where it needs the Stokes axis in there, since there's some sanity checks that all the axes are the same size and there's 4 of them. I've just added a line where if it doesn't exist, it'll add it. Annoying to find but pretty simple to fix

@akleroy
Copy link
Copy Markdown
Collaborator

akleroy commented Dec 1, 2025

These look great - thanks Tom.

@akleroy akleroy merged commit 0daadfb into master Dec 1, 2025
@thomaswilliamsastro thomaswilliamsastro deleted the casa-67 branch December 1, 2025 15:43
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.

3 participants