gridpoint time series code cleanup