I am using scipy.interpolate.griddata to bring some modelled data closer to observations. To do this, I use the quantiles of each array of input data in a series of interpol