8000 PUNCHMap by lowderchris · Pull Request #8133 · sunpy/sunpy · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

PUNCHMap #8133

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

Merged
merged 27 commits into from
May 15, 2025
Merged

PUNCHMap #8133

merged 27 commits into from
May 15, 2025

Conversation

lowderchris
Copy link
Contributor
@lowderchris lowderchris commented Mar 21, 2025

PR Description

After some discussion with SunPy folks, we've worked on creating a PUNCHMap class to handle two-dimensional PUNCH data. Closes #8132 . This pull request:

  • Adds the core PUNCHMap class file
  • Tests this class with a sample PUNCH header file
  • Integrates the PUNCH colormap

Definitely let us know of any changes we can make - thanks!

@lowderchris lowderchris requested review from a team as code owners March 21, 2025 16:44
@Cadair Cadair added this to the 7.0.0 milestone Mar 26, 2025
Copy link
Member
@wtbarnes wtbarnes left a comment

Choose a reason for hiding this comment

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

Sorry this has taken so long to review! I've attached a few suggested changes. Looking at the sample header provided, I don't think many of these properties are needed with the exception of unit which I think needs some additional logic.

This will also need a changelog.

@wtbarnes
Copy link
Member
wtbarnes commented Apr 8, 2025

pre-commit.ci autofix

Copy link
Member
@Cadair Cadair left a comment

Choose a reason for hiding this comment

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

Thanks again @lowderchris sorry for the slow review.

@Cadair Cadair added the pre-commit.ci autofix Automatically fix pre-commit issues on this PR. label Apr 17, 2025
@pre-commit-ci pre-commit-ci bot removed the pre-commit.ci autofix Automatically fix pre-commit issues on this PR. label Apr 17, 2025
@lowderchris
Copy link
Contributor Author

I've made some changes locally that I'll push up by the end of the day - but it should hopefully resolves the units issue, and the updated header. Thank you all for your patience with this!

@Cadair
Copy link
Member
Cadair commented May 14, 2025

hey @lowderchris this Friday is our feature freeze for 7.0, so we would like to see this PR merged by then if you have some time to respond to the rest of the comments this week? Thanks!

Co-authored-by: Nabil Freij <nabil.freij@gmail.com>
Co-authored-by: Nabil Freij <nabil.freij@gmail.com>
@lowderchris
Copy link
Contributor Author

@Cadair absolutely - again sorry for the delay on this! Did those changes address everything? I'm happy to do any last fixes today as well if that would make things easier.

@nabobalis nabobalis requested a review from wtbarnes May 14, 2025 16:52
@Cadair Cadair added map Affects the map submodule Whats New? Needs a section added to the current Whats New? page. labels May 14, 2025
@Cadair
Copy link
Member
Cadair commented May 14, 2025

@lowderchris Thanks! We normally write up a little what's new entry for things like this as we are preparing a release. Do you have an example file to use / plot you've made that would be good to include to show this off?

@lowderchris
Copy link
Contributor Author

@lowderchris Thanks! We normally write up a little what's new entry for things like this as we are preparing a release. Do you have an example file to use / plot you've made that would be good to include to show this off?

Absolutely - would something like the attached plot work? I used this new code to load some PUNCH / WFI data to plot as a map.
punchmap

@nabobalis
Copy link
Member

Looks great to me! Lets use it.

@Cadair Cadair merged commit 9c71eb7 into sunpy:main May 15, 2025
29 of 30 checks passed
@Cadair
Copy link
Member
Cadair commented May 15, 2025

Thanks very much for your contribution @lowderchris 🥳

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
map Affects the map submodule Whats New? Needs a section added to the current Whats New? page.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for PUNCH to Map
4 participants
0