Skip to content

A few points for improving the indexing notebooks #206

Closed
@negin513

Description

@negin513

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: image
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.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions