indT = min(
        np.searchsorted(timeList, tSave), min(len(timeList) - 1, len(fieldsList) - 1)