Skip to content
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

Add sel() and isel() functions to Collection type #16

Open
mnlevy1981 opened this issue Sep 16, 2021 · 0 comments
Open

Add sel() and isel() functions to Collection type #16

mnlevy1981 opened this issue Sep 16, 2021 · 0 comments

Comments

@mnlevy1981
Copy link

For .isel(), I think the natural behavior would be to drop any datasets that don't have dimensions that match the isel arguments. I don't know what to do about datasets that have those dimensions but the isel() values exceed the extent. E.g. a collection with ds1 and ds2, where both have dims named lat and lon, but ds1 is 360x180 and ds2 is 50x50. Should collection.isel(lat=100) return a collection only containing ds1.isel(lat=100) and maybe a warning that ds2 could not be included?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🌳 Todo
Development

No branches or pull requests

1 participant