#!/usr/bin/env cwl-runner $graph: - class: CommandLineTool requirements: - class: InitialWorkDirRequirement listing: |- $(inputs.swan_directory.listing.map(function(item) { return {entry: item, writable: true}; })) - class: InlineJavascriptRequirement - class: ShellCommandRequirement - class: DockerRequirement dockerPull: hidromodadmin/iliad_heraklion_500m_50m:1.0.0 - class: NetworkAccess networkAccess: true - class: LoadListingRequirement loadListing: deep_listing inputs: forecast: type: int hindcast: type: int swan_directory: type: Directory outputs: swan_result: type: Directory outputBinding: glob: $("results") baseCommand: - /bin/bash - -c arguments: - valueFrom: | "/home/heraklionport_500m/50m.sh $(runtime.outdir) $(inputs.forecast) $(inputs.hindcast)" shellQuote: false id: execution50m s:author: - class: s:Person s:email: joao.ribeiro@hidromod.com s:name: João Ribeiro s:contributor: - class: s:Person s:email: miguel.delgado@hidromod.com s:name: Miguel Delgado s:description: Execution of SWAN 50m wave model with data from the preparation and the execution of 500m s:keywords: - swan - Heraklion - wave - hidromod - execution s:name: Execution of SWAN wave Model s:programmingLanguage: python s:softwareVersion: 1.0.0 s:sourceOrganization: - class: s:Organization s:name: Hidromod s:url: https://hidromod.com/