DamienIrving/climate-analysis

ESMPy for re-gridding?

Closed this issue · 3 comments

For re-gridding, ESMPy might be an alternative to css going forward, since I can only use css with a UV-CDAT install (see #7). This AMS talk wasn't particularly useful, but their website looks ok. The problem is that the installation is from source code (i.e. it's not on binstar)

The documentation for ESMPy is here and they now have a page on anaconda.org. Apparently the install works on linux and the moment but not mac.

Another option would be to take the code for cssgrid from here at the uvcdat repo and use it to write my own Python package.

It turns out that because I'm only using the values near the equator (i.e. where a degree of latitude and longitude is the same distance), I don't need to perform the regridding on a sphere. Instead, I can just use scipy.interpolate.griddata.

For future reference, pyresample might also be an option for this type of regridding.