Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Determine custom output WCS bounding box from input images #9153

Open
stscijgbot-jp opened this issue Feb 6, 2025 · 0 comments
Open

Determine custom output WCS bounding box from input images #9153

stscijgbot-jp opened this issue Feb 6, 2025 · 0 comments

Comments

@stscijgbot-jp
Copy link
Collaborator

stscijgbot-jp commented Feb 6, 2025

Issue JP-3874 was created on JIRA by Mihai Cara:

When custom output WCS for resample is missing both array_shape and the bounding box, we should be able to determine them from input images by projecting them onto the output WCS and take max(x) and max(y) of projected coordinates.

 

See https://github.com/spacetelescope/stcal/blob/3ce9cedc1d0825f8ba86316a0706fa03f929a3ed/src/stcal/resample/resample.py#L533-L541 and spacetelescope/stcal#320 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant