Open 3dfirelab opened 2 weeks 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!
Hi @3dfirelab - this seems like it would be a great question for StackOverflow or the xarray github Discussions forum, since it's not a bug with xarray, but more a usage question. Working with 2D coordinates is tricky! If you do ask on Discussions, be sure to check out the Discussions norms guide. Good luck!
Here's a relevant StackOverflow question: https://stackoverflow.com/questions/58758480/xarray-select-nearest-lat-lon-with-multi-dimension-coordinates?rq=1
What is your issue?
I have a data array with 2d coordinate array
I try to interpolate it on 1D coordinate however da.interp is expecting input of dimension name. So the code below does not work. Is there any work around?
error is
da can however be plotted on latitude and longitude using