jhamman / xmap

Geospatial mapping extension for xarray
Apache License 2.0
13 stars 3 forks source link

ESMPy? #1

Closed j08lue closed 7 years ago

j08lue commented 7 years ago

Very cool and valuable feature you are adding to xarray, @jhamman.

The KDTree approach is very flexible and fast and even works for unstructured data. Perhaps one could extend this plugin to work for non-geographic coordinates, too, that do not need Cartesian transformation?

Beyond that, would it be worthwhile to look into interfacing ESMPy also? That would be much more powerful for gridded data and add conservative gridding methods.

I have been looking at the ESMPy project from a distance for a long time. I just checked again and it seems to be very mature now, like this tutorial shows... I am just curious what you think about this.

jhamman commented 7 years ago

@j08lue - thanks for the comments. I'm glad you like some of the ideas here.

To be honest, I'm not sure how far we'll end up taking xmap. A simplified kdtree will eventually make it into xarray (issue).

One possible successor to this package is xESMF. That package is being developed by @JiaweiZhuang and has some real potential. There are some outstanding issues that the author is working on but it may be a natural successor to xmap.

Contributions would be welcome for https://github.com/pydata/xarray/issues/475 or at xESMF.

j08lue commented 7 years ago

Thanks for the explanation, @jhamman, and for pointing me to xESMF. I will keep track of things and contribute if I can.