def clear_buffer(self, next_day=False):
        if next_day:
            self.data.fill(0.0)
            self.set_all_date_attributes()
        else:
            nb_data_per_day = int ( (24 * 3600) / self.LogInterval)
            self.data = numpy.zeros((len(self.stations), nb_data_per_day))
        # create an array containing the timestamps for each data reading, default initialization
        self.generate_timestamp()
creates zeroes numpy arrays to receive data and generates the timestamp vector
dataset/ETHPy150Open ericgibert/supersid/supersid/sidfile.py/SidFile.clear_buffer