def process_arguments(self, args): # Call method on super class # super(self.__class__, self).process_arguments(args) CellTool.process_arguments(self, args) self.dataset_types = args.dataset_type self.output_directory = args.output_directory self.overwrite = args.overwrite self.list_only = args.list_only self.output_format = args.output_format
def process_arguments(self, args): # Call method on super class # super(self.__class__, self).process_arguments(args) CellTool.process_arguments(self, args) self.dataset_type = args.dataset_type if args.bands == BandListType.ALL: self.bands = get_band_name_union(self.dataset_type, self.satellites) else: self.bands = get_band_name_intersection(self.dataset_type, self.satellites) self.output_directory = args.output_directory self.overwrite = args.overwrite self.list_only = args.list_only self.output_format = args.output_format