Added a method to write series with a specific time_precision