Skip to content

Commit

Permalink
Add top level download models pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
axdanbol committed Oct 23, 2023
1 parent 5876942 commit 0801bea
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions download-models.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
#!/usr/bin/env cwl-runner
class: Workflow
cwlVersion: v1.2

requirements:
InlineJavascriptRequirement: {}
StepInputExpressionRequirement: {}
SubworkflowFeatureRequirement: {}

inputs:
outputDirectory:
type: string
label: Output directory for model data
default: ./models

outputs:
data:
type: Directory[]
outputSource: [downloadAzimuth/data, downloadPopv/data]

steps:
downloadAzimuth:
run: ./containers/azimuth/download-data.cwl
in:
outputDirectory:
source: outputDirectory
valueFrom: $(self + '/azimuth')
out: [data]

downloadPopv:
run: ./containers/popv/download-data.cwl
in:
outputDirectory:
source: outputDirectory
valueFrom: $(self + '/popv')
out: [data]

0 comments on commit 0801bea

Please sign in to comment.