Exemplo n.º 1
0
    def save_data(self, output_file):
        """
        Save the UngriddedDataList to a file

        :param output_file: output filename
        :return:
        """
        logging.info('Saving data to %s' % output_file)
        # Should only write coordinates out once
        write_coordinates(self[0], output_file)
        for data in self:
            add_data_to_file(data, output_file)
Exemplo n.º 2
0
 def save_data(self, output_file):
     logging.info('Saving data to %s' % output_file)
     write_coordinates(self, output_file)
     add_data_to_file(self, output_file)
Exemplo n.º 3
0
 def save_data(self, output_file):
     output_file = utils.add_file_prefix('cis-', output_file)
     logging.info('Saving data to %s' % output_file)
     write_coordinates(self, output_file)
     add_data_to_file(self, output_file)