py_eddy_tracker.observations.groups.get_missing_indices

py_eddy_tracker.observations.groups.get_missing_indices(array_time, array_track, dt=1, flag_untrack=True, indice_untrack=0)[source]

Return indexes where values are missing

:param np.array(int) array_time : array of strictly increasing int representing time :param np.array(int) array_track: N° track where observations belong :param int,float dt: theorical timedelta between 2 observations :param bool flag_untrack: if True, ignore observations where n°track equal indice_untrack :param int indice_untrack: n° representing where observations are untracked

exarray_time = np.array([67, 68, 70, 71, 74, 75])

array_track= np.array([ 1, 1, 1, 1, 1, 1]) return : np.array([2, 4, 4])