dolfyn icon indicating copy to clipboard operation
dolfyn copied to clipboard

Missing timestamps

Open lkilcher opened this issue 3 years ago • 1 comments

While working on #76 I realized that I can't put np.datetime64('NaT') into the ds.time. However, this causes problems because sometimes timestamps really are missing. We need to figure out a consistent way to address this issue. It shouldn't be too bad because we should be able to interpolate or extrapolate pretty easily (the sample rate is known after all), but I do think we should issue a warning whenever this happens, and also probably have a flag somewhere that indicates where the bad timestamps were. Maybe a boolean array bad_time variable in the dataset?

lkilcher avatar Jan 22 '22 00:01 lkilcher

Interpolation done in pull requests #77 and #103. Not currently a bad flag, but missing timestamps will have all "nan" recorded in all data variables

jmcvey3 avatar Jul 07 '22 21:07 jmcvey3