Skip to content

Label-based indexing for NXlog with sublogs #233

@SimonHeybrock

Description

@SimonHeybrock

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions