fixed chunking reading
fixed TimeSeries function in swig interface