I am using scipy.interpolate.griddata to interpolate arrays according to a set of quantiles. I do this over a number of iterations, which should bring the arrays I am interpolat