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

Alignment #7

Open
benbovy opened this issue Nov 7, 2023 · 0 comments
Open

Alignment #7

benbovy opened this issue Nov 7, 2023 · 0 comments

Comments

@benbovy
Copy link
Member

benbovy commented Nov 7, 2023

Because a DGGSIndex wraps a PandasIndex, we can (should?) support alignment of Dataset / DataArray objects just like with Xarray default (pandas) indexes, here based on cell ids.

At the very least, we should raise an error during alignment if the grid type and parameters of the objects to align don't match exactly.

Later, I guess it will be possible to support fancier, grid-aware alignment like, e.g., align two objects on the same grid but at two different resolutions. That said, I'm not sure that it is a good idea to do that in an automated way.

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