def log_arguments(self): # Call method on super class # super(self.__class__, self).log_arguments() AoiTool.log_arguments(self) _log.info(""" datasets to retrieve = {dataset_type} output directory = {output} over write existing = {overwrite} list only = {list_only} output format = {output_format} """.format(dataset_type=" ".join([d.name for d in self.dataset_types]), output=self.output_directory, overwrite=self.overwrite, list_only=self.list_only, output_format=self.output_format.name))
def log_arguments(self): # Call method on super class # super(self.__class__, self).log_arguments() AoiTool.log_arguments(self) _log.info(""" dataset type = {dataset_type} bands to retrieve = {bands} output directory = {output} over write existing = {overwrite} list only = {list_only} output no data values = {output_no_data} """.format(dataset_type=self.dataset_type.name, bands=self.bands, output=self.output_directory, overwrite=self.overwrite, list_only=self.list_only, output_no_data=self.output_no_data, ))