$graph: - class: Workflow doc: Bathymetry id: "urn:bathymetry" requirements: - class: ScatterFeatureRequirement inputs: lon_min: type: float label: Minimum Longitude doc: The minimum longitude of the study area lon_max: type: float label: Maximum Longitude doc: The maximum longitude of the study area lat_min: type: float label: Minimum Latitude doc: The minimum latitude of the study area lat_max: type: float label: Maximum Latitude doc: The maximum latitude of the study area label: lable inputs outputs: - id: result outputSource: - step_1/result type: File - id: metadata outputSource: - step_1/metadata type: File steps: step_1: in: lon_min: lon_min lon_max: lon_max lat_min: lat_min lat_max: lat_max out: - result - metadata run: '#clt' # scatter: [lon_min, lon_max, lat_min, lat_max] # scatterMethod: flat_crossproduct s:name: Bathymetry for given bounding box s:description: Get bathymetry to a given bounding box. You can define an outside source. s:keywords: - bathymetry - bounding box s:softwareVersion: 1.0.0 s:programmingLanguage: python s:sourceOrganization: - class: s:Organization s:name: INESCTEC s:url: https://inesctec.pt s:author: - class: s:Person s:email: kspanoudaki@gmail.com s:name: Katerina Spanoudaki s:contributor: - class: s:Person # s:id: http://orcid.org/0000-0002-7681-6415 s:email: miguel.r.correia@inesctec.pt s:name: Miguel Correia s:mantainer: - class: s:Person s:email: andre.tse@inesctec.pt s:name: Andre Tse s:codeRepository: https://pipe-drive.inesctec.pt/cwl/bathymetry.cwl s:dateCreated: "2023-03-30" s:license: https://opensource.org/licenses/MIT s:citation: D5.1 Analytics Service Layer Definition and Operations Report v1 #Just an example s:temporalCoverage: "2023-01-01T00:00:00Z/2023-12-31T23:59:59Z" #Dummy date #s:spatialCoverage: "Portugal" #Dummy spatial coverage # s:softwareRequirements: # - class: s:SoftwareApplication # s:name: netCDF library # s:version: "4.7.4" - baseCommand: bathymetry class: CommandLineTool id: clt arguments: - --lon_min - valueFrom: $( inputs.lon_min ) - --lon_max - valueFrom: $( inputs.lon_max ) - --lat_min - valueFrom: $( inputs.lat_min ) - --lat_max - valueFrom: $( inputs.lat_max ) inputs: lon_min: type: float s:description: The minimum longitude of the study area. s:name: Input lon_min float s:keywords: - lon_min - float s:exampleOfWork: - https://example.com/output_file_example_1 # or any other type lon_max: type: float lat_min: type: float lat_max: type: float outputs: result: format: ogc:netcdf type: File outputBinding: glob: "result/out.nc" doc: | The output NetCDF file generated by the bathymetry model. The file is in the OGC NetCDF media type. s:name: Result NetCDF File s:description: The output NetCDF file generated by the bathymetry model. s:keywords: - file - output - netcdf - cf 1.4 s:fileFormat: "application/x-netcdf; format=CF-1.4" metadata: type: File outputBinding: glob: "result/metadata.json" doc: | metadata description requirements: NetworkAccess: networkAccess: true EnvVarRequirement: envDef: PATH: /srv/conda/envs/model-env/bin:/srv/conda/bin:/srv/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin # GEBCO_URL: https://pipe-drive.inesctec.pt/inputs/GEBCO_2014_1D.nc ResourceRequirement: {} InlineJavascriptRequirement: {} DockerRequirement: dockerPull: iliad-repository.inesctec.pt/bathymetry:1.0.9 s:name: Bathymetry for given bounding box s:description: Get bathymetry to a given bounding box. You can define an outside source. s:keywords: - bathymetry - bounding box s:softwareVersion: 1.0.0 s:programmingLanguage: python s:sourceOrganization: - class: s:Organization s:name: INESCTEC s:url: https://inesctec.pt s:author: - class: s:Person s:email: kspanoudaki@gmail.com s:name: Katerina Spanoudaki s:contributor: - class: s:Person # s:id: http://orcid.org/0000-0002-7681-6415 s:email: miguel.r.correia@inesctec.pt s:name: Miguel Correia s:mantainer: - class: s:Person s:email: andre.tse@inesctec.pt s:name: Andre Tse s:codeRepository: https://pipe-drive.inesctec.pt/cwl/bathymetry.cwl s:dateCreated: "2023-03-30" s:license: https://opensource.org/licenses/MIT s:citation: D5.1 Analytics Service Layer Definition and Operations Report v1 #Just an example s:temporalCoverage: "2023-01-01T00:00:00Z/2023-12-31T23:59:59Z" #Dummy date #s:spatialCoverage: "Portugal" #Dummy spatial coverage # s:softwareRequirements: # - class: s:SoftwareApplication # s:name: netCDF library # s:version: "4.7.4" cwlVersion: v1.2 $namespaces: s: https://schema.org/ ogc: http://www.opengis.net/def/media-type/ogc/1.0/ schemas: - http://schema.org/version/9.0/schemaorg-current-http.rdf