Pattern 6
2025-12-02 12:46:53.913 | DEBUG | cwl_loader:load_cwl_from_location:228 - Loading CWL document from ../cwl-workflow/pattern-6.cwl...
2025-12-02 12:46:53.914 | DEBUG | cwl_loader:_load_cwl_from_stream:231 - Reading stream from ../cwl-workflow/pattern-6.cwl...
2025-12-02 12:46:53.934 | DEBUG | cwl_loader:load_cwl_from_stream:203 - CWL data of type <class 'ruamel.yaml.comments.CommentedMap'> successfully loaded from stream
2025-12-02 12:46:53.935 | DEBUG | cwl_loader:load_cwl_from_yaml:130 - Updating the model from version 'v1.0' to version 'v1.2'...
2025-12-02 12:46:53.935 | DEBUG | cwl_loader:load_cwl_from_yaml:141 - Raw CWL document successfully updated to v1.2!
2025-12-02 12:46:53.936 | DEBUG | cwl_loader:load_cwl_from_yaml:145 - Parsing the raw CWL document to the CWL Utils DOM...
2025-12-02 12:46:54.005 | DEBUG | cwl_loader:load_cwl_from_yaml:158 - Raw CWL document successfully parsed to the CWL Utils DOM!
2025-12-02 12:46:54.006 | DEBUG | cwl_loader:load_cwl_from_yaml:160 - Dereferencing the steps[].run...
2025-12-02 12:46:54.007 | DEBUG | cwl_loader:_on_process:78 - Checking if ../cwl-workflow/pattern-6.cwl#clt must be externally imported...
2025-12-02 12:46:54.007 | DEBUG | cwl_loader:_on_process:82 - run_url: ../cwl-workflow/pattern-6.cwl - uri: ../cwl-workflow/pattern-6.cwl
2025-12-02 12:46:54.008 | DEBUG | cwl_loader:load_cwl_from_yaml:167 - steps[].run successfully dereferenced! Dereferencing the FQNs...
2025-12-02 12:46:54.009 | DEBUG | cwl_loader:load_cwl_from_yaml:171 - CWL document successfully dereferenced! Now verifying steps[].run integrity...
2025-12-02 12:46:54.009 | DEBUG | cwl_loader:load_cwl_from_yaml:175 - All steps[].run link are resolvable!
2025-12-02 12:46:54.010 | DEBUG | cwl_loader:load_cwl_from_yaml:178 - Sorting Process instances by dependencies....
2025-12-02 12:46:54.010 | DEBUG | cwl_loader:load_cwl_from_yaml:180 - Sorting process is over.
2025-12-02 12:46:54.011 | DEBUG | cwl_loader:_load_cwl_from_stream:240 - Stream from ../cwl-workflow/pattern-6.cwl successfully load!
Application Package Pattern 6¶
The CWL includes:
- one input parameter of type
Directory - there are no output parameters of type
Directory
This scenario takes as input an acquisition, applies an algorithm and generates an output that is not a STAC Catalog
Implementation: derive the NDVI mean taking as input a Landsat-8/9 acquisition
Inputs¶
| Id | Type | Label | Doc |
|---|---|---|---|
aoi |
string |
area of interest | area of interest as a bounding box |
epsg |
string |
EPSG code | EPSG code |
item |
Directory |
Landsat-8/9 acquisition reference | Landsat-8/9 acquisition reference |
Steps¶
| Id | Runs | Label | Doc |
|---|---|---|---|
step |
#clt |
None | None |
Outputs¶
| Id | Type | Label | Doc |
|---|---|---|---|
mean |
float |
Vegetation index mean | Vegetation index mean |
Data flow management¶
2025-12-02 12:46:54.777 | DEBUG | cwl_loader:load_cwl_from_location:228 - Loading CWL document from https://raw.githubusercontent.com/eoap/application-package-patterns/refs/heads/develop/templates/stage-in.cwl...
2025-12-02 12:46:54.810 | DEBUG | cwl_loader:_load_cwl_from_stream:231 - Reading stream from https://raw.githubusercontent.com/eoap/application-package-patterns/refs/heads/develop/templates/stage-in.cwl...
2025-12-02 12:46:54.816 | DEBUG | cwl_loader:load_cwl_from_stream:203 - CWL data of type <class 'ruamel.yaml.comments.CommentedMap'> successfully loaded from stream
2025-12-02 12:46:54.817 | DEBUG | cwl_loader:load_cwl_from_yaml:130 - Updating the model from version 'v1.0' to version 'v1.2'...
2025-12-02 12:46:54.817 | DEBUG | cwl_loader:load_cwl_from_yaml:141 - Raw CWL document successfully updated to v1.2!
2025-12-02 12:46:54.818 | DEBUG | cwl_loader:load_cwl_from_yaml:145 - Parsing the raw CWL document to the CWL Utils DOM...
2025-12-02 12:46:54.981 | DEBUG | cwl_loader:load_cwl_from_yaml:158 - Raw CWL document successfully parsed to the CWL Utils DOM!
2025-12-02 12:46:54.982 | DEBUG | cwl_loader:load_cwl_from_yaml:160 - Dereferencing the steps[].run...
2025-12-02 12:46:54.982 | DEBUG | cwl_loader:load_cwl_from_yaml:167 - steps[].run successfully dereferenced! Dereferencing the FQNs...
2025-12-02 12:46:54.982 | DEBUG | cwl_loader:load_cwl_from_yaml:171 - CWL document successfully dereferenced! Now verifying steps[].run integrity...
2025-12-02 12:46:54.983 | DEBUG | cwl_loader:load_cwl_from_yaml:175 - All steps[].run link are resolvable!
2025-12-02 12:46:54.983 | DEBUG | cwl_loader:load_cwl_from_yaml:178 - Sorting Process instances by dependencies....
2025-12-02 12:46:54.984 | DEBUG | cwl_loader:load_cwl_from_yaml:180 - Sorting process is over.
2025-12-02 12:46:54.984 | DEBUG | cwl_loader:_load_cwl_from_stream:240 - Stream from https://raw.githubusercontent.com/eoap/application-package-patterns/refs/heads/develop/templates/stage-in.cwl successfully load!
2025-12-02 12:46:54.985 | DEBUG | cwl_loader:load_cwl_from_location:228 - Loading CWL document from https://raw.githubusercontent.com/eoap/application-package-patterns/refs/heads/develop/templates/stage-in-file.cwl...
2025-12-02 12:46:55.016 | DEBUG | cwl_loader:_load_cwl_from_stream:231 - Reading stream from https://raw.githubusercontent.com/eoap/application-package-patterns/refs/heads/develop/templates/stage-in-file.cwl...
2025-12-02 12:46:55.022 | DEBUG | cwl_loader:load_cwl_from_stream:203 - CWL data of type <class 'ruamel.yaml.comments.CommentedMap'> successfully loaded from stream
2025-12-02 12:46:55.023 | DEBUG | cwl_loader:load_cwl_from_yaml:130 - Updating the model from version 'v1.0' to version 'v1.2'...
2025-12-02 12:46:55.023 | DEBUG | cwl_loader:load_cwl_from_yaml:141 - Raw CWL document successfully updated to v1.2!
2025-12-02 12:46:55.024 | DEBUG | cwl_loader:load_cwl_from_yaml:145 - Parsing the raw CWL document to the CWL Utils DOM...
2025-12-02 12:46:55.182 | DEBUG | cwl_loader:load_cwl_from_yaml:158 - Raw CWL document successfully parsed to the CWL Utils DOM!
2025-12-02 12:46:55.182 | DEBUG | cwl_loader:load_cwl_from_yaml:160 - Dereferencing the steps[].run...
2025-12-02 12:46:55.182 | DEBUG | cwl_loader:load_cwl_from_yaml:167 - steps[].run successfully dereferenced! Dereferencing the FQNs...
2025-12-02 12:46:55.183 | DEBUG | cwl_loader:load_cwl_from_yaml:171 - CWL document successfully dereferenced! Now verifying steps[].run integrity...
2025-12-02 12:46:55.183 | DEBUG | cwl_loader:load_cwl_from_yaml:175 - All steps[].run link are resolvable!
2025-12-02 12:46:55.184 | DEBUG | cwl_loader:load_cwl_from_yaml:178 - Sorting Process instances by dependencies....
2025-12-02 12:46:55.184 | DEBUG | cwl_loader:load_cwl_from_yaml:180 - Sorting process is over.
2025-12-02 12:46:55.185 | DEBUG | cwl_loader:_load_cwl_from_stream:240 - Stream from https://raw.githubusercontent.com/eoap/application-package-patterns/refs/heads/develop/templates/stage-in-file.cwl successfully load!
2025-12-02 12:46:55.185 | DEBUG | cwl_loader:load_cwl_from_location:228 - Loading CWL document from https://raw.githubusercontent.com/eoap/application-package-patterns/refs/heads/develop/templates/stage-out.cwl...
2025-12-02 12:46:55.219 | DEBUG | cwl_loader:_load_cwl_from_stream:231 - Reading stream from https://raw.githubusercontent.com/eoap/application-package-patterns/refs/heads/develop/templates/stage-out.cwl...
2025-12-02 12:46:55.228 | DEBUG | cwl_loader:load_cwl_from_stream:203 - CWL data of type <class 'ruamel.yaml.comments.CommentedMap'> successfully loaded from stream
2025-12-02 12:46:55.229 | DEBUG | cwl_loader:load_cwl_from_yaml:130 - Updating the model from version 'v1.0' to version 'v1.2'...
2025-12-02 12:46:55.229 | DEBUG | cwl_loader:load_cwl_from_yaml:141 - Raw CWL document successfully updated to v1.2!
2025-12-02 12:46:55.230 | DEBUG | cwl_loader:load_cwl_from_yaml:145 - Parsing the raw CWL document to the CWL Utils DOM...
2025-12-02 12:46:55.417 | DEBUG | cwl_loader:load_cwl_from_yaml:158 - Raw CWL document successfully parsed to the CWL Utils DOM!
2025-12-02 12:46:55.418 | DEBUG | cwl_loader:load_cwl_from_yaml:160 - Dereferencing the steps[].run...
2025-12-02 12:46:55.418 | DEBUG | cwl_loader:load_cwl_from_yaml:167 - steps[].run successfully dereferenced! Dereferencing the FQNs...
2025-12-02 12:46:55.419 | DEBUG | cwl_loader:load_cwl_from_yaml:171 - CWL document successfully dereferenced! Now verifying steps[].run integrity...
2025-12-02 12:46:55.419 | DEBUG | cwl_loader:load_cwl_from_yaml:175 - All steps[].run link are resolvable!
2025-12-02 12:46:55.419 | DEBUG | cwl_loader:load_cwl_from_yaml:178 - Sorting Process instances by dependencies....
2025-12-02 12:46:55.420 | DEBUG | cwl_loader:load_cwl_from_yaml:180 - Sorting process is over.
2025-12-02 12:46:55.420 | DEBUG | cwl_loader:_load_cwl_from_stream:240 - Stream from https://raw.githubusercontent.com/eoap/application-package-patterns/refs/heads/develop/templates/stage-out.cwl successfully load!
2025-12-02 12:46:55.421 | INFO | eoap_cwlwrap.types:_validate_stage_in:281 - Validating stage-in 'my-asthonishing-stage-in-directory'...
2025-12-02 12:46:55.421 | INFO | eoap_cwlwrap.types:_validate_stage_in:303 - stage-in 'my-asthonishing-stage-in-directory' is valid
2025-12-02 12:46:55.422 | INFO | eoap_cwlwrap.types:_validate_stage_in:281 - Validating stage-in 'my-asthonishing-stage-in-file'...
2025-12-02 12:46:55.422 | INFO | eoap_cwlwrap.types:_validate_stage_in:303 - stage-in 'my-asthonishing-stage-in-file' is valid
2025-12-02 12:46:55.422 | INFO | eoap_cwlwrap.types:validate_stage_out:339 - Validating stage-out 'my-super-stage-out'...
2025-12-02 12:46:55.423 | INFO | eoap_cwlwrap.types:validate_stage_out:361 - stage-out 'my-super-stage-out' is valid
2025-12-02 12:46:55.423 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:101 - Building the CWL Orchestrator Workflow...
2025-12-02 12:46:55.424 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:130 - Analyzing pattern-6 inputs...
2025-12-02 12:46:55.425 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:146 - * pattern-6/aoi: string
2025-12-02 12:46:55.425 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:146 - * pattern-6/epsg: string
2025-12-02 12:46:55.426 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:146 - * pattern-6/item: Directory
2025-12-02 12:46:55.426 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:159 - Directory type detected, creating a related 'directory_stage_in_0'...
2025-12-02 12:46:55.427 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:161 - Converting Directory to URL-compatible type...
2025-12-02 12:46:55.427 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:165 - Directory converted to https://raw.githubusercontent.com/eoap/schemas/main/string_format.yaml#URI
2025-12-02 12:46:55.428 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:206 - Connecting 'app/item' to 'directory_stage_in_0' output...
2025-12-02 12:46:55.428 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:257 - Analyzing pattern-6 outputs...
2025-12-02 12:46:55.429 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:263 - * pattern-6/mean: float
2025-12-02 12:46:55.429 | INFO | eoap_cwlwrap:_build_orchestrator_workflow:390 - Orchestrator Workflow built in 0.0060 seconds
Workflow components diagram¶
Inputs¶
| Id | Type | Label | Doc |
|---|---|---|---|
aoi |
string |
area of interest - pattern-6/aoi | area of interest as a bounding box - This parameter is derived from pattern-6/aoi |
epsg |
string |
EPSG code - pattern-6/epsg | EPSG code - This parameter is derived from pattern-6/epsg |
another_input |
string |
Another Input - my-asthonishing-stage-in-directory/another_input | An additional input for demonstration purposes - This parameter is derived from my-asthonishing-stage-in-directory/another_input |
item |
https://raw.githubusercontent.com/eoap/schemas/main/string_format.yaml#URI |
Landsat-8/9 acquisition reference - pattern-6/item | Landsat-8/9 acquisition reference - This parameter is derived from pattern-6/item |
Steps¶
| Id | Runs | Label | Doc |
|---|---|---|---|
directory_stage_in_0 |
#my-asthonishing-stage-in-directory |
None | None |
app |
#pattern-6 |
None | None |
Outputs¶
| Id | Type | Label | Doc |
|---|---|---|---|
mean |
float |
Vegetation index mean - app/mean | Vegetation index mean - This output is derived from app/mean |
Execution¶
Inputs¶
{
"aoi": "-118.985,38.432,-118.183,38.938",
"epsg": "EPSG:4326",
"item": {
"class": "https://raw.githubusercontent.com/eoap/schemas/main/url.yaml#URL",
"value": "https://planetarycomputer.microsoft.com/api/stac/v1/collections/landsat-c2-l2/items/LC08_L2SP_042033_20231007_02_T1"
}
}
Outputs¶
{
"mean": 0.07260978
}