Add `UxDataset.isel()` by philipc2 · Pull Request #1352 · UXARRAY/uxarray · GitHub
Skip to content

Add UxDataset.isel() #1352

Merged
philipc2 merged 15 commits into
mainfrom
ds-isel
Sep 12, 2025
Merged

Add UxDataset.isel() #1352
philipc2 merged 15 commits into
mainfrom
ds-isel

Conversation

@philipc2

@philipc2 philipc2 commented Aug 28, 2025

Copy link
Copy Markdown
Member

Overview

  • Introduces a grid-informed implementation of UxDataset.isel()

@philipc2 philipc2 marked this pull request as draft August 28, 2025 16:47
@philipc2 philipc2 self-assigned this Sep 11, 2025
@philipc2 philipc2 changed the title DRAFT: Add UxDataset.isel() Add UxDataset.isel() Sep 11, 2025
@philipc2 philipc2 marked this pull request as ready for review September 11, 2025 19:16

@erogluorhan erogluorhan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Great to see this coming in! Regarding the test file:

  • How about waiting for PR #1349 to go first, so that we can use the reorg'ed test structure
  • There is test_inheritance.py that tests for UxDataArray functions inherited from xarray. Thus, how about creating data array and dataset classes in that one and putting tests here into the dataset class there, rather than creating a new file here?

Comment thread uxarray/core/utils.py
Comment thread uxarray/core/dataarray.py Outdated
@philipc2

Copy link
Copy Markdown
Member Author

@rajeeja rajeeja left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Good work. Minor comment - add documentation UxDataset.isel() method

@philipc2

Copy link
Copy Markdown
Member Author

@erogluorhan erogluorhan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great; thanks for putting it together!

@philipc2 philipc2 merged commit d7431d7 into main Sep 12, 2025
15 checks passed
@philipc2 philipc2 mentioned this pull request Sep 15, 2025
@erogluorhan erogluorhan deleted the ds-isel branch September 26, 2025 17:47
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