You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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}
The text was updated successfully, but these errors were encountered:
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
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 singlep
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}
The text was updated successfully, but these errors were encountered: