Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support properties input/output field modifier #750

Open
Tracked by #412
fmigneault opened this issue Nov 4, 2024 · 0 comments · May be fixed by #752
Open
Tracked by #412

support properties input/output field modifier #750

fmigneault opened this issue Nov 4, 2024 · 0 comments · May be fixed by #752
Assignees
Labels
process/OAP-Part3: Workflows OGC API - Processes - Part 3: Workflows/Chaining process/workflow Related to a Workflow process. project/OGC Related to OGC testbeds or relavant projects. project/OGC-GDC Developments related to OGC GeoDataCube

Comments

@fmigneault
Copy link
Collaborator

fmigneault commented Nov 4, 2024

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

@fmigneault fmigneault self-assigned this Nov 4, 2024
@fmigneault fmigneault added project/OGC Related to OGC testbeds or relavant projects. project/OGC-GDC Developments related to OGC GeoDataCube process/OAP-Part3: Workflows OGC API - Processes - Part 3: Workflows/Chaining labels Nov 4, 2024
@github-actions github-actions bot added the process/workflow Related to a Workflow process. label Nov 4, 2024
@fmigneault fmigneault changed the title support properties input field modifier support properties input/output field modifier Nov 4, 2024
@fmigneault fmigneault linked a pull request Nov 11, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
process/OAP-Part3: Workflows OGC API - Processes - Part 3: Workflows/Chaining process/workflow Related to a Workflow process. project/OGC Related to OGC testbeds or relavant projects. project/OGC-GDC Developments related to OGC GeoDataCube
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant