cwlVersion: v1.2 $namespaces: s: https://schema.org/ cwltool: http://commonwl.org/cwltool# ogc: http://www.opengis.net/def/media-type/ogc/1.0/ $graph: - class: CommandLineTool id: extract-particles baseCommand: python arguments: - /opt/main.py - extract-particles - --input-url - valueFrom: $( inputs['input-file'] ) - --output-format - valueFrom: $( inputs['output-format'] ) - --projection-function - valueFrom: $( inputs['projection-function'] ) - --projection-resolution - valueFrom: $( inputs['projection-resolution'] ) - --latitude-variable - valueFrom: $( inputs['latitude-variable'] ) - --longitude-variable - valueFrom: $( inputs["longitude-variable"] ) - --time-variable - valueFrom: $( inputs["time-variable"] ) - --output-url - output/particles inputs: input-file: type: File output-format: type: string projection-function: type: string projection-resolution: type: string latitude-variable: type: string longitude-variable: type: string time-variable: type: string outputs: result: type: Directory outputBinding: glob: output/particles requirements: NetworkAccess: networkAccess: true EnvVarRequirement: envDef: PATH: /opt/miniconda3/envs/opendrift/bin:/opt/conda/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin ResourceRequirement: {} InlineJavascriptRequirement: {} DockerRequirement: dockerPull: iliad-repository.inesctec.pt/wp6-tools