Exemplo n.º 1
0
    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
Exemplo n.º 2
0
    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
Exemplo n.º 3
0
    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))
Exemplo n.º 4
0
    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))
Exemplo n.º 5
0
    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]))
Exemplo n.º 6
0
    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]))
Exemplo n.º 7
0
    def __init__(self):

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

        self.output_format = None
Exemplo n.º 8
0
    def __init__(self):

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

        self.output_format = None
Exemplo n.º 9
0
    def __init__(self):

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