Skip to content

[WIP] Dataset bounding box example#360

Draft
Cadair wants to merge 2 commits intoDKISTDC:mainfrom
Cadair:dataset_bounding_box
Draft

[WIP] Dataset bounding box example#360
Cadair wants to merge 2 commits intoDKISTDC:mainfrom
Cadair:dataset_bounding_box

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 5 times, most recently from 8ac600d to ece1830 Compare April 3, 2024 08:32
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 😭

@Cadair Cadair force-pushed the dataset_bounding_box branch from ece1830 to c5c8d55 Compare October 29, 2024 08:45
@Cadair Cadair requested a review from Copilot April 7, 2025 11:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

Files not reviewed (1)
  • docs/howto_guides/index.rst: Language not supported

If you installed with conda you will already have it installed.
```

In this how-to we will demonstrate how to draw the spataial bounding box of a VISP dataset on an AIA image.
Copy link

Copilot AI Apr 7, 2025

Choose a reason for hiding this comment

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

Typo detected: 'spataial' should be 'spatial'.

Copilot uses AI. Check for mistakes.
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