bwinkel/cygrid

4D data support

josejimenezluna opened this issue · 1 comments

Dear cygrid mantainers,

I'm seeking for an alternative to scipy.interpolate.griddata and I just stumbled upon this package. Currently I am working with somewhat large 3-D data arrays (i.e. as in cartesian x, y, z, value), but I have only seen examples in your documentation dealing with the 2D-scenario (i.e. x, y, value).

I was wondering if cygrid supports such an scenario, and if that were the case if you could point me to how to use the package towards that goal.

Many thanks in advance,

Thanks a lot for your question, @josejimenezluna. Yes, cygrid can work with 3D data. However, it is tailored to grid astronomical data on the sphere, just to make sure, that you are aware of that.

One of the notebooks shows how to do 3D gridding (starting from cell 35). The manual also has a brief section about it (it is kept brief, as there is really not much to it, compared to 2D gridding, just add another axis...).

Does this help? Feel free to get back to me, if not!