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

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

Open
tlambert03 opened this issue Nov 1, 2024 · 0 comments
Open

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

tlambert03 opened this issue Nov 1, 2024 · 0 comments

Comments

@tlambert03
Copy link
Member

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}

@tlambert03 tlambert03 changed the title Feat: possible add non-dimension coordinates to the MDAEvent Feat: possibly add non-dimension coordinates to the MDAEvent Nov 1, 2024
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