#!/usr/bin/env cwl-runner $graph: - class: CommandLineTool requirements: - 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: cmems_password: type: string cmems_username: type: string forecast: type: int hindcast: type: int wrf_ftpserver: type: string wrf_password: type: string wrf_username: type: string outputs: swan_preparation_directory: type: Directory outputBinding: glob: . baseCommand: - /bin/bash - -c arguments: - valueFrom: | "/home/heraklionport_500m/prepare_swan.sh $(runtime.outdir) \ $(inputs.forecast) \ $(inputs.hindcast) \ '$(inputs.cmems_password)' \ '$(inputs.cmems_username)' \ '$(inputs.wrf_ftpserver)' \ '$(inputs.wrf_username)' \ '$(inputs.wrf_password)'" shellQuote: false id: preparation 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: Download and preparation of all the required files to execute SWAN s:keywords: - swan - Heraklion - wave - hidromod - preparation s:name: Preparation 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/