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
From today's presentation, I can think of a few things to improve the whole indexing materials:
Advanced indexing :
Add a schematic image on the subsetted points to explain the difference between the orthogonal vs. point-wise indexing.
Something similar to this:
The right figure here shows it for Numpy/ poinwise indexing:
Here is another one showing the orthogonal indexing:
Adding an exercise for this notebook.
Adding an example for this warning:
If an indexer is a DataArray(), its coordinates should not conflict with the selected subpart of the target array (except for the explicitly indexed dimensions with .loc/.sel). Otherwise, IndexError will be raised!
Boolean indexing:
Adding a plot of all grid locations to show how dims and physical coordinates are different for the curvilinear grid.
The text was updated successfully, but these errors were encountered:
negin513
changed the title
Improving some materials
Improving some indexing tutorial tutorial materials
Jul 11, 2023
negin513
changed the title
Improving some indexing tutorial tutorial materials
Improving some indexing tutorial materials
Jul 11, 2023
negin513
changed the title
Improving some indexing tutorial materials
A few points for improving the indexing notebooks
Jul 11, 2023
From today's presentation, I can think of a few things to improve the whole indexing materials:
Something similar to this:
The right figure here shows it for Numpy/ poinwise indexing:
Here is another one showing the orthogonal indexing:
If an indexer is a
DataArray()
, its coordinates should not conflict with the selected subpart of the target array (except for the explicitly indexed dimensions with.loc
/.sel
). Otherwise,IndexError
will be raised!The text was updated successfully, but these errors were encountered: