Finish updating the timeseries model implementation to work with hdf5.