Skip to content

support properties input/output field modifier #750

Open
@fmigneault

Description

@fmigneault

Description

Support properties specified within an input/output collection or process to modify inline its inbound/outbound data with a subset or alternate expression calculation.

In intermediate steps (when data is passed from an output to another process' input), the I/O can be handled any way. When the top-most process has properties they must be handled as output modifiers. When the most deeply-nested input has properties, they could be handled as input modifiers. However, given this applies to collection or process only, those are implemented has "pseudo-processes" in Weaver, and therefore can be handled as output of the relevant operation for every case.

2 possible forms to consider:

{
  "inputs": {
    "subset-input": {
      "collection": "...",  
      "$comment": "Subsets the available data to specified properties (similar to 'filter')",
      "properties": ["B04", "B03", "B02"]
    },
    "expr-input": {
      "collection": "...",  
      "$comment": "computes the expression as derived data",
      "properties": {
        "ndvi": "(B08 - B04) / (B08 + B04)"
      }
    } 
  }
}

References

Metadata

Metadata

Assignees

Labels

process/OAP-Part3: WorkflowsOGC API - Processes - Part 3: Workflows/Chainingprocess/workflowRelated to a Workflow process.project/OGCRelated to OGC testbeds or relavant projects.project/OGC-GDCDevelopments related to OGC GeoDataCube

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions