Create data chunks having same metadata info for a time interval
Given a sensorId and a series of timestamps (since a previous date) that reflect when the metadata for the sensor changed, the data set need to be chunked into distinct files. The output is the file with the naming convention as "site(x)_logger(y)_sensor(z)_01102010-01302010.txt". This file is created at some local location, and the complete path of the file is sent as string output. "01102010-01302010" denotes the timestamp as 01(day) 10(month) 2010 (year). Also, time interval "01102010-01302010" denotes the time when the metadata for sensor(x) was same, starting from "01102010" and till "01102010". So, the dataset is chunked to reflect the same metadata for this duration.