Skip to content

Feat: possibly add non-dimension coordinates to the MDAEvent #196

@tlambert03

Description

@tlambert03

Many libraries like xarray, netCDF, pandas, and GDAL have the concept of dimension coordinates and non-dimension coordinates, where dimension coords are used for label based indexing and alignment and non-dimension coords provide additional info that can be useful for plotting, etc...

when we iterate over grid positions, the MDAEvent.index attribute only gets a single p index, but it would be useful to also pass on row/column, etc... The same concept could arise in other cases, and it would be nice to have a place for that. Could be an additional field, or some sort of convention in index (like {'p': 4, '_r': 1, '_c': 1}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions