Skip to content

Commit 97f4b66

Browse files
committed
Add CWL file for running the L1A PGE
1 parent 6cf1b65 commit 97f4b66

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

spss/cwl/l1a_package.cwl

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
cwlVersion: v1.0
2+
class: CommandLineTool
3+
id: l1a_pge
4+
5+
requirements:
6+
DockerRequirement:
7+
dockerPull: unity-sds/sounder_sips_l1a_pge:r0.1.0
8+
9+
arguments: [
10+
"$(runtime.outdir)/processed_notebook.ipynb",
11+
"-p", "input_path", "$(inputs.input_dir)",
12+
"-p", "output_path", "$(runtime.outdir)",
13+
"-p", "data_static_path", "$(inputs.static_dir)",
14+
"-p", "start_datetime", "$(inputs.start_datetime)",
15+
"-p", "end_datetime", "$(inputs.end_datetime)",
16+
]
17+
18+
inputs:
19+
input_dir:
20+
type: Directory
21+
static_dir:
22+
type: Directory
23+
start_datetime:
24+
type: string
25+
end_datetime:
26+
type: string
27+
28+
outputs:
29+
output_dir:
30+
type: Directory
31+
outputBinding:
32+
glob: .
33+
stdout_file:
34+
type: stdout
35+
stderr_file:
36+
type: stderr
37+
38+
stdout: l1a_pge_stdout.txt
39+
stderr: l1a_pge_stderr.txt

spss/cwl/l1a_package.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
input_dir:
2+
class: Directory
3+
path: ../src/src/sips_pge/l1a_atms_snpp/acctest/spdc_nominal2/in/
4+
static_dir:
5+
class: Directory
6+
path: ../../static/
7+
start_datetime: "2016-01-14T11:42:00.000Z"
8+
end_datetime: "2016-01-14T11:54:00:000Z"

0 commit comments

Comments
 (0)