splittime function

Split timesteps of a dataset