stac-utils / stac-task

Provides a class interface for running custom algorithms on STAC ItemCollections
Apache License 2.0
21 stars 5 forks source link

165: Add workflow-level option support #167

Closed pjhartzell closed 4 days ago

pjhartzell commented 4 days ago

Related Issue(s):

Proposed Changes:

  1. Adds a workflow_options dictionary of workflow-level options to the ProcessDefinition object. These options are combined with the options of each task in the workflow. If there is a conflict (same dictionary key), the task option value takes precedence.
  2. Adds a workflow_options property to the Task class that returns the workflow_options dictionary from the ProcessDefinition object.
  3. Adds a task_options property to the Task class that returns the task options from the tasks dictionary in the ProcessDefinition object.

PR Checklist: