Hi,
I have a 3-dimension dataset on a grid which has regular monotonic x and y coordinates, but an irregular, non-monotonic z coordinate.
In other words this z coordinate varies with every data point, so is necessarily 3-dimensional itself.
I would like to take a horizontal slice through this data, i.e. to interpolate it onto a single z level.
Does anyone know of a way to do this in python? I've tried interpolate.griddata but I don't think that can handle a 3-d input coordinate.
Thanks
I have a 3-dimension dataset on a grid which has regular monotonic x and y coordinates, but an irregular, non-monotonic z coordinate.
In other words this z coordinate varies with every data point, so is necessarily 3-dimensional itself.
I would like to take a horizontal slice through this data, i.e. to interpolate it onto a single z level.
Does anyone know of a way to do this in python? I've tried interpolate.griddata but I don't think that can handle a 3-d input coordinate.
Thanks