Replace errors with gaps in a time-series based on neighboring values
h_gaperr(file, nv = 1, itv0 = 43201, df)
a time-series file with the prefix eg_
File name to proceed
Number of below and above neighboring values to take into account, default = 1
Threshold of minimum time gap (see function h_gaprem_itv)
Deviation value factor for testing if a value is correct or not
P. Chevallier - Nov 2019
Replace errors with gaps in a time-series based on neighboring values