Newer
Older
$namespaces:
sbg: 'https://www.sevenbridges.com/'
inputs:
- id: msin
type: 'Directory[]'
'sbg:x': -1000
- id: flagunconverged
type: boolean
'sbg:x': -1000
'sbg:y': -500
- id: demix
type: boolean
'sbg:x': -1000
'sbg:y': -400
- id: max_dppp_threads
type: int?
default: 10
'sbg:x': -1000
- id: avg_timeresolution
type: float
'sbg:x': -1000
- id: avg_freqresolution
type: string
'sbg:x': -1000
- id: process_baselines_cal
type: string
'sbg:x': -1000
- id: demix_target
type: string
'sbg:x': -1000
'sbg:y': 900
- id: do_smooth
type: boolean?
default: false
'sbg:x': -1000
'sbg:y': 1000
- id: calibrator_path_skymodel
type: Directory?
'sbg:x': -1000
- id: A-Team_skymodel
type: File?
'sbg:x': -1000
- id: instrument.h5
outputSource:
- h5parm_collector/outh5parm
type: File
'sbg:x': 1000
'sbg:y': -500
- id: check_Ateam_separation.png
outputSource:
- check_ateam_separation/output_imag
- id: parset
outputSource:
- ndppp_prep_cal/parset
type: 'File[]'
- id: sourcedb
outputSource:
- make_sourcedb/sourcedb
type: File
'sbg:x': 1000
'sbg:y': 500
- concat_logfiles_predict/output
- concat_logfiles_blsmooth/output
- make_sourcedb/log
- find_skymodel_cal/logfile
- concat_logfiles_prep_cal/output
- make_sourcedb_ateam/log
- check_ateam_separation/logfile
- h5parm_collector/log
type: 'File[]'
steps:
- id: ndppp_prep_cal
in:
source:
- flag_baselines
- id: elevation_to_flag
source: elevation
- id: min_amplitude_to_flag
source: amplmin
- id: memoryperc
default: 20
source: memoryperc
- id: msin_baseline
default: '*'
source: filter_baselines
- id: skymodel
source: avg_freqresolution
- id: demix_timestep
default: 1
source: demix_timestep
- id: demix_freqstep
default: 1
source: demix_freqstep
- id: demix_baseline
default: '*'
source: process_baselines_cal
- id: ntimechunk
default: 10
source: max_dppp_threads
out:
- id: msout
- id: logfile
label: ndppp_prep_cal
scatter:
- msin
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
- id: predict_calibrate
in:
- id: msin
linkMerge: merge_flattened
source:
- ndppp_prep_cal/msout
- id: do_smooth
source: do_smooth
- id: sourcedb
source: make_sourcedb/sourcedb
- id: flagunconverged
source: flagunconverged
- id: propagatesolutions
source: propagatesolutions
out:
- id: msout
- id: BLsmooth.log
- id: predict_cal.log
- id: calib_cal.log
- id: outh5parm
run: ../../subworkflow/predict_calibrate.cwl
label: predict_calibrate
scatter:
- msin
'sbg:x': 500
'sbg:y': 0
- id: check_ateam_separation
in:
- id: ms
source:
- msin
- id: min_separation
source: min_separation
out:
- id: output_imag
- id: logfile
run: ../../lofar-cwl/steps/check_ateam_separation.cwl
- id: max_separation_arcmin
source: max_separation_arcmin
run: ../../steps/find_skymodel_cal.cwl
label: find_skymodel_cal
'sbg:x': -500
'sbg:y': 500
- id: make_sourcedb
in:
- id: sky_model
source: find_skymodel_cal/output_models
out:
- id: sourcedb
- id: log
run: ../../lofar-cwl/steps/makesourcedb.cwl
label: make_sourcedb
'sbg:x': 0
'sbg:y': 500
in:
- id: file_list
source:
- ndppp_prep_cal/logfile
- id: file_prefix
default: ndppp_prep_cal
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_prep_cal
'sbg:x': 250
'sbg:y': 300
- id: concat_logfiles_blsmooth
in:
- id: file_list
source:
- predict_calibrate/BLsmooth.log
- id: file_prefix
default: blsmooth
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_blsmooth
'sbg:x': 750
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
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
- id: concat_logfiles_predict
in:
- id: file_list
source:
- predict_calibrate/predict_cal.log
- id: file_prefix
default: predict_cal
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_predict
'sbg:x': 750
'sbg:y': 500
- id: concat_logfiles_calib
in:
- id: file_list
source:
- predict_calibrate/calib_cal.log
- id: file_prefix
default: calib_cal
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:
- predict_calibrate/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
requirements:
- class: SubworkflowFeatureRequirement