Discovery¶
This section describes the stac-client search
tool as a Common Workflow Language CommandLineTool that discovers the Sentinel-2 acquisitions to process
In [1]:
Copied!
import os
import sys
module_path = os.path.abspath(os.path.join(".."))
sys.path.insert(0, module_path)
from helpers import WorkflowViewer
import cwl_loader
cwl_loader.logger.remove()
cwl_loader.logger.add(sys.stderr, level="INFO")
import os
import sys
module_path = os.path.abspath(os.path.join(".."))
sys.path.insert(0, module_path)
from helpers import WorkflowViewer
import cwl_loader
cwl_loader.logger.remove()
cwl_loader.logger.add(sys.stderr, level="INFO")
Out[1]:
1
In [2]:
Copied!
version = "0.3.0"
wf = WorkflowViewer.from_file(f"https://github.com/eoap/zarr-cloud-native-format/releases/download/{version}/app-water-bodies.{version}.cwl", entrypoint="water-bodies")
version = "0.3.0"
wf = WorkflowViewer.from_file(f"https://github.com/eoap/zarr-cloud-native-format/releases/download/{version}/app-water-bodies.{version}.cwl", entrypoint="water-bodies")
Inputs¶
In [3]:
Copied!
wf.display_inputs(entrypoint="stac-client")
wf.display_inputs(entrypoint="stac-client")
Id | Type | Label | Doc |
---|---|---|---|
api_endpoint |
https://raw.githubusercontent.com/eoap/schemas/main/experimental/api-endpoint.yaml#APIEndpoint |
STAC API endpoint | STAC API endpoint for Landsat-9 data |
search_request |
https://raw.githubusercontent.com/eoap/schemas/main/experimental/discovery.yaml#STACSearchSettings |
STAC API settings | STAC API settings for Landsat-9 data |
Outputs¶
In [4]:
Copied!
wf.display_outputs(entrypoint="stac-client")
wf.display_outputs(entrypoint="stac-client")
Id | Type | Label | Doc |
---|---|---|---|
search_output |
File |
None | None |
Class diagram¶
In [5]:
Copied!
wf.display_class_diagram(entrypoint="stac-client")
wf.display_class_diagram(entrypoint="stac-client")
In [ ]:
Copied!