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

Label-based indexing for NXlog with sublogs #233

Open
SimonHeybrock opened this issue Sep 5, 2024 · 0 comments
Open

Label-based indexing for NXlog with sublogs #233

SimonHeybrock opened this issue Sep 5, 2024 · 0 comments

Comments

@SimonHeybrock
Copy link
Member

This is currently not supported, see

# Sublogs have distinct time axes (with a different length). Must disable
# positional indexing.
if self._sublogs and ('time' in _to_canonical_select(list(self.sizes), sel)):
raise sc.DimensionError(
"Cannot positionally select time since there are multiple "
"time fields. Label-based selection is not supported yet."
)
. As all ESS files seem to have such sublogs we will either be stuck with loading the entire log, or maybe provide a custom application definition when loading NXlog to drop the offending sublogs. Or the mechanism needs to be added, but this may be complicated?

See also #232.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Triage
Development

No branches or pull requests

1 participant