Open RogierFloors opened 11 months ago
Thanks for opening your first issue here at xarray! Be sure to follow the issue template! If you have an idea for a solution, we would really welcome a Pull Request with proposed changes. See the Contributing Guide for more. It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better. Thank you!
@Illviljan do you have time to take a look please?
What happened?
When I interpolate on data by taking a mean along the
y
dimension the presence of a non-dimension string coordinate makes a difference to the result. I would expect this non-dimension coordinate to be passive.What did you expect to happen?
I would expect the results to be independent of the non-dimension coordinate
string_coord
being present or not. But whenstring_coord
is present I get:whereas after I uncomment the line where I add the non-dimension string coordinate I get the expected result:
Minimal Complete Verifiable Example
MVCE confirmation
Relevant log output
No response
Anything else we need to know?
No response
Environment