Skip to content

Add DPS "run" command to support named command-line arguments #158

@chuckwondo

Description

@chuckwondo

This is a follow-on task from #155.

Since OGC/CWL in DPS invokes an algorithm's "run" command using named (keyword) command line arguments rather than positional arguments (which was the pre-OGC/CWL convention), we must create a run command equivalent to bin/subset.sh that accepts keyword-only rather than positional-only arguments.

Acceptance Criteria:

  • A new script named bin/subset-cwl.sh exists and functions identically to bin/subset.sh, but expects keyword-only command line arguments, rather than positional arguments. Alternatively, bin/subset.sh is enhanced to handle keyword-only args, in addition to positional-only args.
  • A new version of the GEDI Subsetter algorithm is registered in https://staging.hub.maap-project.org/hub, configured with the new script as its run command.
  • The algorithm has been successfully run

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions