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

[WIP] Dataset bounding box example #360

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Cadair
Copy link
Member

@Cadair Cadair commented Apr 2, 2024

This PR is based on top of #349.

@Cadair Cadair force-pushed the dataset_bounding_box branch 3 times, most recently from fab570e to af7205a Compare April 3, 2024 08:18
Comment on lines +74 to +76
corners = visp_spatial.wcs.array_index_to_world([0, visp_spatial.data.shape[0] - 0.5],
[0, visp_spatial.data.shape[1] - 0.5])
corners
Copy link
Member Author

Choose a reason for hiding this comment

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

I think the fact that [-0.5, visp_spatial.data.shape[0] - 0.5] errors here (because of an out of bounds on the time lookup table) is indicative of a bug in the WCS in the ASDFs 😭

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.

None yet

1 participant