Newer
Older
class: Workflow
cwlVersion: v1.0
id: pa
label: PA
$namespaces:
sbg: 'https://www.sevenbridges.com/'
inputs:
- id: flagunconverged
type: boolean?
default: false
'sbg:x': -1000
'sbg:y': -300
- id: propagatesolutions
type: boolean?
default: true
'sbg:x': -1000
'sbg:y': -200
- id: msin
type: 'Directory[]'
'sbg:x': -1000
'sbg:y': -100
- id: h5parm
type: File
'sbg:x': -1000
'sbg:y': 0
- id: refant
type: string?
'sbg:x': -1000
'sbg:y': 100
- id: inh5parm_logfile
type: File
'sbg:x': -1000
'sbg:y': 200
- id: do_smooth
type: boolean?
default: false
'sbg:x': -1000
'sbg:y': 300
- id: outh5parm
outputSource:
- h5parm_collector/outh5parm
type: File
'sbg:x': 1000
'sbg:y': -200
type: 'Directory[]'
'sbg:x': 1000
'sbg:y': -100
- id: inspection
outputSource:
- losoto_plot_P3/output_plots
- losoto_plot_Pd/output_plots
- losoto_plot_Rot3/output_plots
- losoto_plot_A3/output_plots
- losoto_plot_Align/output_plots
- losoto_plot_Pr/output_plots
- losoto_plot_Pr2/output_plots
type: 'File[]'
linkMerge: merge_flattened
'sbg:x': 1000
'sbg:y': 0
outputSource:
- write_solutions/outh5parm
type: File
'sbg:x': 1000
'sbg:y': 100
- id: logfiles
outputSource:
- concat_logfiles_pa/output
- concat_logfiles_calib/output
- concat_logfiles_blsmooth/output
- concat_logfiles_beam/output
- concat_logfiles_apply/output
type: 'File[]'
linkMerge: merge_flattened
'sbg:x': 1000
'sbg:y': 200
- id: outh5parm_logfile
outputSource:
- h5parm_collector/log
type: File
'sbg:x': 1000
'sbg:y': 300
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
steps:
- id: pol_align
in:
- id: refAnt
default: CS001HBA0
source: refant
- id: input_h5parm
source: h5parm
out:
- id: output_h5parm
- id: logfiles
run: ../../subworkflow/pol_align.cwl
label: PolAlign
'sbg:x': -500
'sbg:y': 0
- id: losoto_plot_P3
in:
- id: input_h5parm
source: pol_align/output_h5parm
- id: soltab
default: sol000/phaseOrig
- id: axesInPlot
default:
- time
- freq
- id: axisInTable
default: ant
- id: minmax
default:
- -3.14
- 3.14
- id: plotFlag
default: true
- id: refAnt
source: refant
- id: prefix
default: polalign_ph_
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_P3
'sbg:x': 0
'sbg:y': -200
- id: losoto_plot_Pd
in:
- id: input_h5parm
source: pol_align/output_h5parm
- id: soltab
default: sol000/phaseOrig
- id: axesInPlot
default:
- time
- freq
- id: axisInTable
default: ant
- id: axisDiff
default: pol
- id: minmax
default:
- -3.14
- 3.14
- id: plotFlag
default: true
- id: refAnt
source: refant
- id: prefix
default: polalign_ph_poldif
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_Pd
'sbg:x': 0
'sbg:y': -100
- id: losoto_plot_Rot3
in:
- id: input_h5parm
source: pol_align/output_h5parm
- id: soltab
default: sol000/rotation000
- id: axesInPlot
default:
- time
- freq
- id: axisInTable
default: ant
- id: plotFlag
default: true
- id: refAnt
source: refant
- id: prefix
default: polalign_rotangle
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_Rot3
'sbg:x': 0
'sbg:y': 0
- id: losoto_plot_A3
in:
- id: input_h5parm
source: pol_align/output_h5parm
- id: soltab
default: sol000/amplitude000
- id: axesInPlot
default:
- time
- freq
- id: axisInTable
default: ant
- id: plotFlag
default: true
- id: prefix
default: polalign_amp
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_A3
'sbg:x': 0
'sbg:y': 100
- id: losoto_plot_Align
in:
- id: input_h5parm
source: pol_align/output_h5parm
- id: soltab
default: sol000/polalign
- id: axesInPlot
default:
- time
- freq
- id: axisInTable
default: ant
- id: axisDiff
default: pol
- id: minmax
default:
- -3.14
- 3.14
- id: plotFlag
default: true
- id: refAnt
source: refant
- id: prefix
default: polalign
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_Align
'sbg:x': 0
'sbg:y': 200
- id: losoto_plot_Pr
in:
- id: input_h5parm
source: pol_align/output_h5parm
- id: soltab
default: sol000/phase000
- id: axesInPlot
default:
- time
- freq
- id: axisInTable
default: ant
- id: axisDiff
default: pol
- id: minmax
default:
- -3.14
- 3.14
- id: plotFlag
default: true
- id: refAnt
source: refant
- id: prefix
default: polalign_ph-res_poldif
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_Pr
'sbg:x': 0
'sbg:y': 300
- id: losoto_plot_Pr2
in:
- id: input_h5parm
source: pol_align/output_h5parm
- id: soltab
default: sol000/phase000
- id: axesInPlot
default:
- time
- freq
- id: axisInTable
default: ant
- id: axisInCol
default: pol
- id: minmax
default:
- -3.14
- 3.14
- id: plotFlag
default: true
- id: refAnt
source: refant
- id: prefix
default: polalign_ph-res_
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_Pr2
'sbg:x': 0
'sbg:y': 400
- id: concat_logfiles_pa
in:
- id: file_list
linkMerge: merge_flattened
source:
- pol_align/logfiles
- losoto_plot_P3/logfile
- losoto_plot_Pd/logfile
- losoto_plot_Rot3/logfile
- losoto_plot_A3/logfile
- losoto_plot_Align/logfile
- losoto_plot_Pr/logfile
- losoto_plot_Pr2/logfile
- write_solutions/log
- id: file_prefix
default: losoto_PA
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_PA
'sbg:x': 500
'sbg:y': 500
- id: write_solutions
in:
- id: h5parmFiles
- id: outsolset
default: calibrator
- id: insoltab
default: polalign
- id: squeeze
default: true
- id: verbose
default: true
out:
- id: outh5parm
- id: log
run: ../../steps/h5parmcat.cwl
label: write_solutions
'sbg:x': 0
'sbg:y': 500
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
- id: apply_calibrate_pa
in:
- id: msin
source: msin
- id: do_smooth
source: do_smooth
- id: flagunconverged
source: flagunconverged
- id: propagatesolutions
source: propagatesolutions
- id: input_h5parm
source: write_solutions/outh5parm
out:
- id: msout
- id: BLsmooth.log
- id: apply_cal.log
- id: calib_cal.log
- id: outh5parm
- id: applybeam.log
run: ../../subworkflow/apply_calibrate_pa.cwl
label: apply_calibrate_pa
scatter:
- msin
'sbg:x': 500
'sbg:y': 0
- id: concat_logfiles_blsmooth
in:
- id: file_list
source:
- apply_calibrate_pa/BLsmooth.log
- id: file_prefix
default: blsmooth_PA
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_blsmooth
'sbg:x': 750
'sbg:y': 300
- id: concat_logfiles_beam
in:
- id: file_list
source:
- apply_calibrate_pa/applybeam.log
- id: file_prefix
default: applybeam_PA
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_beam
'sbg:x': 750
'sbg:y': 400
- id: concat_logfiles_apply
in:
- id: file_list
source:
- apply_calibrate_pa/apply_cal.log
- id: file_prefix
default: apply_cal_PA
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_apply
'sbg:x': 750
'sbg:y': 600
- id: concat_logfiles_calib
in:
- id: file_list
source:
- apply_calibrate_pa/calib_cal.log
- id: file_prefix
default: calib_cal_PA
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_calib
'sbg:x': 750
'sbg:y': 800
- id: h5parm_collector
in:
- id: h5parmFiles
source:
- apply_calibrate_pa/outh5parm
- id: squeeze
default: true
- id: verbose
default: true
- id: clobber
default: true
out:
- id: outh5parm
- id: log
run: ../../lofar-cwl/steps/H5ParmCollector.cwl
label: H5parm_collector
'sbg:x': 750
'sbg:y': -300