-
Notifications
You must be signed in to change notification settings - Fork 12
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
recreating indexes after conversion #269
Comments
Good thing is that changing the behavior implemented in #163 (auto-convert all indexes -> drop custom indexes) won't have a great impact until we see more Xarray custom indexes in the wild. But probably best not wait too long before addressing this issue. |
The problem with dropping the index is that it will require dequantifying the indexed coordinates, otherwise recreating the index would drop the units entirely. The only ways I can see around that would be documenting this, or to add a workaround method that does the |
Yes a wrapper method like (Note that recreating an index wouldn't always drop the coordinate units: some custom indexes may just pass through the variables in their implementation of |
Originally posted by @keewis in #163 (comment)
Originally posted by @benbovy in #163 (comment)
The text was updated successfully, but these errors were encountered: