shorvalu: Interpolation with values to refer to within short periods
Description
Performs linear interpolation of missing values within short time segments, constrained by the availability of observed values in the same segment. This method ensures that interpolation is based on nearby valid data.