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

Component support for datasets #11

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Component support for datasets #11

wants to merge 4 commits into from

Conversation

ahota
Copy link
Contributor

@ahota ahota commented Apr 15, 2019

First in a long list of branches that have been in-flight for a year.

Adds support for volumes that have multiple components (i.e. contain vector data). The number of components is specified in the config file with "components": <int>, which defaults to 1 if not included. When a DataFile's numComponents > 1, the vector data is converted to scalar by computing the vector magnitude. After reading, the data layout is identical to volumes with scalar data to begin with.

Works for memory-mapped and non-memory-mapped binary files, but does not work for NetCDF files. NetCDF support is tenuous at best and so needs a lot of attention on its own.

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.

1 participant