-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
What is your issue?
NDPointIndex supports indexing along multiple indexed coordinates at the same time, but only for coordinates that have 2 or more dimensions (usually curvilinear grids, like the one used by the ROMS_example tutorial dataset).
This excludes indexing scattered points or trajectories.
For example, what I'd like to index is something like this:
import xarray as xr
import numpy as np
ds = xr.Dataset(
coords={
"x": ("points", np.linspace(0, 10, 20)),
"y": ("points", np.linspace(15, 8, 20)),
}
)cc @dcherian, @benbovy, @quentinf00
dcherian, benbovy and shoyer