def process_arguments(self, args):

        # Call method on super class
        # super(self.__class__, self).process_arguments(args)
        Workflow.process_arguments(self, args)

        self.output_format = args.output_format
    def process_arguments(self, args):

        # Call method on super class
        # super(self.__class__, self).process_arguments(args)
        Workflow.process_arguments(self, args)

        self.output_format = args.output_format
    def log_arguments(self):

        # Call method on super class
        # super(self.__class__, self).log_arguments()
        Workflow.log_arguments(self)

        _log.info("""
        output format = {output_format}
        """.format(output_format=self.output_format.name))
    def log_arguments(self):

        # Call method on super class
        # super(self.__class__, self).log_arguments()
        Workflow.log_arguments(self)

        _log.info("""
        output format = {output_format}
        """.format(output_format=self.output_format.name))
    def setup_arguments(self):

        # Call method on super class
        # super(self.__class__, self).setup_arguments()
        Workflow.setup_arguments(self)

        self.parser.add_argument("--output-format", help="The format of the output dataset",
                                 action="store",
                                 dest="output_format",
                                 type=output_format_arg,
                                 choices=OutputFormat, default=OutputFormat.GEOTIFF,
                                 metavar=" ".join([f.name for f in OutputFormat]))
    def setup_arguments(self):

        # Call method on super class
        # super(self.__class__, self).setup_arguments()
        Workflow.setup_arguments(self)

        self.parser.add_argument("--output-format",
                                 help="The format of the output dataset",
                                 action="store",
                                 dest="output_format",
                                 type=output_format_arg,
                                 choices=OutputFormat,
                                 default=OutputFormat.GEOTIFF,
                                 metavar=" ".join(
                                     [f.name for f in OutputFormat]))
    def __init__(self):

        Workflow.__init__(self, name="Band Stack")

        self.output_format = None
    def __init__(self):

        Workflow.__init__(self, name="Band Stack")

        self.output_format = None
Example #9
0
    def __init__(self):

        Workflow.__init__(self, name="Cell Chunk Workflow Test")