-
Notifications
You must be signed in to change notification settings - Fork 40
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
What to do with multiple axis variables? #13
Comments
dcherian
changed the title
Dataset.cf.__getitem__ errors for multiple axis variables
What to do with multiple axis variables?
Jun 3, 2020
|
dcherian
added a commit
to dcherian/cf-xarray
that referenced
this issue
Jun 12, 2020
.isel(X=5, Y=5) → .isel(xi_rho=5, xi_u=5, xi_v=5, eta_rho=10, ...) Closes xarray-contrib#13
dcherian
added a commit
that referenced
this issue
Jun 12, 2020
* Allow expanding single keys to multiple keys. .isel(X=5, Y=5) → .isel(xi_rho=5, xi_u=5, xi_v=5, eta_rho=10, ...) Closes #13 * fix test
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
axis="X"
, we could raise an error.ds.cf.isel(X=5)
could select along multiple dimensions tagged withaxis="X"
. See Add .sel and .isel equivalent that returns all vars on all grids related to the indexers? xgcm/xgcm#200 . This seems like a good idea to me.The text was updated successfully, but these errors were encountered: