sample_rs_variable function

Sample the different number of points from a region time series