Vertical interpolation from gmt grid

I have grid (nc) file from 37 different levels (the level represents different heigh/pressure values). I have interpolated using grdtrack to a single latitude and longitude location for each of the 37 levels. So essentially, I have 37 different values for the same location but the estimate only vary along the vertical. How can I interpolate along this line for arbitrary height values?

/Yacob

So you have a table of 37 values of Depth and pressure? Do you try the modules to interpolate table values? gmtregress?

See grdinterpolate -S for these things.