{"@id":"https://w3id.org/cwl/view/git/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl#water-bodies","retrievedFrom":{"repoUrl":"https://github.com/eoap/mastering-app-package.git","branch":"3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b","path":"cwl-workflow/app-water-body-cloud-native.cwl","packedId":"water-bodies","type":"GITHUB","rawUrl":"https://raw.githubusercontent.com/eoap/mastering-app-package/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl","url":"https://github.com/eoap/mastering-app-package/blob/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl#water-bodies"},"retrievedOn":"2026-10-18T16:39:30.541+00:00","lastCommit":"3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b","label":"Water bodies detection based on NDWI and the otsu threshold","doc":"Water bodies detection based on NDWI and otsu threshold applied to a single Sentinel-2 COG STAC item","inputs":{"aoi":{"label":"area of interest","doc":"area of interest as a bounding box","type":"String"},"epsg":{"label":"EPSG code","doc":"EPSG code","type":"String"},"item":{"label":"STAC item reference","doc":"Reference to a STAC item","type":"String"},"bands":{"label":"bands used for the NDWI","doc":"bands used for the NDWI","type":"String[]"}},"outputs":{"stac_catalog":{"type":"Directory"}},"steps":{"node_crop":{"run":"app-water-body-cloud-native.cwl#crop","runType":"COMMANDLINETOOL","sources":{"node_crop":{"sourceIDs":["item"]},"https://w3id.org/cwl/view/git/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl#water-bodies/node_crop/aoi":{"sourceIDs":["aoi"]},"https://w3id.org/cwl/view/git/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl#water-bodies/node_crop/band":{"sourceIDs":["bands"]},"https://w3id.org/cwl/view/git/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl#water-bodies/node_crop/epsg":{"sourceIDs":["epsg"]}}},"node_otsu":{"run":"app-water-body-cloud-native.cwl#otsu","runType":"COMMANDLINETOOL","sources":{"node_otsu":{"sourceIDs":["node_normalized_difference"]}}},"node_stac":{"run":"app-water-body-cloud-native.cwl#stac","runType":"COMMANDLINETOOL","sources":{"node_stac":{"sourceIDs":["node_otsu"]},"https://w3id.org/cwl/view/git/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl#water-bodies/node_stac/item":{"sourceIDs":["item"]}}},"node_normalized_difference":{"run":"app-water-body-cloud-native.cwl#norm_diff","runType":"COMMANDLINETOOL","sources":{"node_normalized_difference":{"sourceIDs":["node_crop"]}}}},"cwltoolVersion":"3.1.20230201224320","visualisationDot":"digraph workflow {\n  graph [\n    bgcolor = \"#eeeeee\"\n    color = \"black\"\n    fontsize = \"10\"\n    labeljust = \"left\"\n    clusterrank = \"local\"\n    ranksep = \"0.22\"\n    nodesep = \"0.05\"\n  ]\n  node [\n    fontname = \"Helvetica\"\n    fontsize = \"10\"\n    fontcolor = \"black\"\n    shape = \"record\"\n    height = \"0\"\n    width = \"0\"\n    color = \"black\"\n    fillcolor = \"lightgoldenrodyellow\"\n    style = \"filled\"\n  ];\n  edge [\n    fontname=\"Helvetica\"\n    fontsize=\"8\"\n    fontcolor=\"black\"\n    color=\"black\"\n    arrowsize=\"0.7\"\n  ];\n  subgraph cluster_inputs {\n    rank = \"same\";\n    style = \"dashed\";\n    label = \"Workflow Inputs\";\n    \"bands\" [fillcolor=\"#94DDF4\",label=\"bands used for the NDWI\"];\n    \"item\" [fillcolor=\"#94DDF4\",label=\"STAC item reference\"];\n    \"epsg\" [fillcolor=\"#94DDF4\",label=\"EPSG code\"];\n    \"aoi\" [fillcolor=\"#94DDF4\",label=\"area of interest\"];\n  }\n  subgraph cluster_outputs {\n    rank = \"same\";\n    style = \"dashed\";\n    labelloc = \"b\";\n    label = \"Workflow Outputs\";\n    \"stac_catalog\" [fillcolor=\"#94DDF4\",label=\"stac_catalog\"];\n  }\n  \"node_normalized_difference\" [label=\"node_normalized_difference\"];\n  \"node_crop\" [label=\"node_crop\"];\n  \"node_stac\" [label=\"node_stac\"];\n  \"node_otsu\" [label=\"node_otsu\"];\n  \"node_crop\" -> \"node_normalized_difference\" [label=\"rasters\"];\n  \"item\" -> \"node_crop\" [label=\"item\"];\n  \"epsg\" -> \"node_crop\" [label=\"epsg\"];\n  \"bands\" -> \"node_crop\" [label=\"band\"];\n  \"aoi\" -> \"node_crop\" [label=\"aoi\"];\n  \"node_otsu\" -> \"node_stac\" [label=\"rasters\"];\n  \"item\" -> \"node_stac\" [label=\"item\"];\n  \"node_normalized_difference\" -> \"node_otsu\" [label=\"raster\"];\n  \"node_stac\" -> \"stac_catalog\";\n}\n","licenseLink":"https://spdx.org/licenses/CC-BY-SA-4.0","permalink":"https://w3id.org/cwl/view/git/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl?part=water-bodies","packed":true,"visualisationXdot":"/graph/xdot/github.com/eoap/mastering-app-package/blob/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl%23water-bodies","visualisationPng":"/graph/png/github.com/eoap/mastering-app-package/blob/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl%23water-bodies","visualisationSvg":"/graph/svg/github.com/eoap/mastering-app-package/blob/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl%23water-bodies","roBundle":"/robundle/github.com/eoap/mastering-app-package/blob/3811d5e69b6645fdcb0f5d293ce8cb2242ebd92b/cwl-workflow/app-water-body-cloud-native.cwl%23water-bodies","licenseName":"Creative Commons Attribution Share Alike 4.0"}