Closed
Description
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 aDataArray()
, 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.