Skip to content

95 isel expansion#100

Merged
BrianMichell merged 18 commits intomainfrom
95_isel_expansion
Aug 31, 2024
Merged

95 isel expansion#100
BrianMichell merged 18 commits intomainfrom
95_isel_expansion

Conversation

@BrianMichell
Copy link
Copy Markdown
Collaborator

@BrianMichell BrianMichell commented Aug 27, 2024

Resolves #95

Deprecations

  • SliceDescriptor
    SliceDescriptor could not be used properly with the sel command. As such it has been deprecated in favor of a templated RangeDescriptor. This provides flexibility for both index-based and coordinate-based slicing with the same descriptor.

Changes

  • Added descriptors
    • RangeDescriptor
    • ValueDescriptor
    • ListDescriptor
  • Added sel command with new descriptors. Implementation aims to map directly with Xarray sel.
  • Added optional compile flag -DMAX_NUM_SLICES for user customizable slice limitations. This was necessary due to variadic nature of isel.

@BrianMichell BrianMichell added the enhancement New feature or request label Aug 27, 2024
Copy link
Copy Markdown
Collaborator

@markspec markspec left a comment

Choose a reason for hiding this comment

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

LGTM. Needed for #102.

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for list and single value slicing

2 participants