#!/usr/bin/env cwl-runner $graph: - class: CommandLineTool requirements: - class: InlineJavascriptRequirement - class: ShellCommandRequirement - class: DockerRequirement dockerPull: hidromodadmin/iliad_tssm_scotland:1.0.0 - class: NetworkAccess networkAccess: true - class: LoadListingRequirement loadListing: deep_listing inputs: duration: type: string num_proc: type: int ramp_duration: type: string start: doc: Start date time (YYYY-MM-DDTHH:MM) of simulation type: string s:description: Start date time (YYYY-MM-DDTHH:MM) of simulation s:keywords: - string - date s:name: Input date string outputs: tssm_directory: type: Directory outputBinding: glob: $("out_DT/") baseCommand: - /bin/bash - -c arguments: - valueFrom: | "/move_struct.sh $(runtime.outdir)"; set -e; . /home/firedrake/firedrake/bin/activate; pip3 install -r requirements.txt; python sim.py --start "$(inputs.start)" --duration "$(inputs.duration)" --ramp-duration $(inputs.ramp_duration) --num-proc $(inputs.num_proc) shellQuote: false id: run_tssm s:author: - class: s:Person s:email: joao.ribeiro@hidromod.com s:name: João Ribeiro s:codeRepository: None s:dateCreated: '2023-12-04' s:description: Running TSSM Scotland s:keywords: - tssm - scotland s:name: TSSM Scotland s:programmingLanguage: python s:softwareVersion: 1.0.0 s:sourceOrganization: - class: s:Organization s:name: Hidromod s:url: https://hidromod.com/ $namespaces: ogc: http://www.opengis.net/def/media-type/ogc/1.0/ s: https://schema.org/ cwlVersion: v1.2 s:description: TSSM Scotland s:name: TSSM Scotland s:softwareVersion: 1.0.0