Maximilian Roos
Maximilian Roos
Without knowing much (I generally `ds.reset_encoding()`) it does sound like a good idea!
This does seem off. And notably it works on 2024.2.0
I coincidentally came across this today — I think it might be the same issue, but can open a new issue if not. With this code: ```diff diff --git a/xarray/tests/test_variable.py...
Yes, you're completely correct — thanks! I'll minimize these to reduce the noise
Is there anything we can do here or should we close?
To confirm, this is limited to the case when `method="nearest"` is passed; is that correct? How about adding a `method="interp"` to `.sel`? Then that's clearly discriminated from `method="nearest"`, which would...
Yes, sorry, my message was unclear. It could be named `method="nearest-surrounded"` (or some better name). My point was that we could offer an option to explicitly select internal points, rather...
I hadn't thought of this behavior as likely a bug. I also don't use this myself that much, so interested in what others think / whether you're confident here.
> For example looking up lat=-120 while lat range was 0...360 and not -180...180 in our case. Yes, it makes sense that this is not intended. But can we write...