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

Dedicated documentation on Alignment? #9500

Open
TomNicholas opened this issue Sep 15, 2024 · 3 comments
Open

Dedicated documentation on Alignment? #9500

TomNicholas opened this issue Sep 15, 2024 · 3 comments

Comments

@TomNicholas
Copy link
Member

TomNicholas commented Sep 15, 2024

What is your issue?

I'm writing more documentation for DataTree, and was looking for an in-depth explanation of what Alignment actually is so I can refer to it, but I can't really find one?

The concept of alignment is referred to in multiple places, e.g.

But there doesn't appear to be a dedicated section on Alignment anywhere in the narrative docs (or even on the xarray tutorial site). I can't find any explanation of what it means for two Datasets not to align, for example.

This seems like a very fundamental concept to not have dedicated documentation with examples. Maybe I've just missed it?

cc @max-sixty @dcherian @shoyer @flamingbear

@dcherian
Copy link
Contributor

Yeah its not great. I wrote some tutorial material here: https://tutorial.xarray.dev/fundamentals/02.3_aligning_data_objects.html

@TomNicholas
Copy link
Member Author

I wrote some tutorial material here:

I was looking for that one! The content on that really fills a much-needed gap (and is really good). I think a dedicated page that explains what Broadcasting and Alignment are is what we are missing from the main docs.

@benbovy
Copy link
Member

benbovy commented Sep 27, 2024

In general I find https://tutorial.xarray.dev/ really well done, it would definitely deserve more exposure / discoverability / integration with the main docs!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants