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

Add slicing of datasets #8

Closed
telamonian opened this issue Aug 21, 2019 · 2 comments
Closed

Add slicing of datasets #8

telamonian opened this issue Aug 21, 2019 · 2 comments

Comments

@telamonian
Copy link
Member

Related to n-dimensional dataset support in #4. Add support to the hdf data models (and thereby to the dataset grids) for showing arbitrary 2D slices. Will use a Numpy-like syntax.

@telamonian
Copy link
Member Author

telamonian commented Aug 21, 2019

slicing was added in 7c097e2, but it's still buggy. Remaining issues:

  • slices have the wrong shape (too big)
  • when a new slice is made, data won't show/be loaded until a scroll event
  • no support for half-open slices (eg 50:)
  • ensure that empty slice (ie '') is treated as all

@telamonian
Copy link
Member Author

The "Slice" input box now takes a 2D slice (in Numpy syntax) and will behave correctly. This closes out this issue. More improvements are needed for slicing/slice input:

  • make sure that all invalid slices are correctly handled
  • add UX such that the user is quietly informed of the correct syntax

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

No branches or pull requests

1 participant