reduce disk space of data file

write the measured data of one hour to a single json file