% described as the MR-PCHIP method in Barker and McDougall (2020). % When the tracer is in situ temperature we have found a suitable value % for the scale_factor is 0.33, so that the final scaling ...
% This fuction was adapted from Matlab's interp1q.