@staticmethod
def _interp_temporal(a):
    """
        Helper function for temporal interpolation
        """
    import scipy.interpolate as si
    i, j, old_time, data, new_time, kind = a
    f = si.interp1d(old_time, data, kind=kind)
    new_data = f(new_time)
    return i, j, new_data
