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: h5parm_collector.log
outputSource:
- h5parm_collector/log
type: File
'sbg:x': 1000
'sbg:y': -400
- id: check_Ateam_separation.png
outputSource:
- check_ateam_separation/output_imag
- id: check_Ateam_separation.log
outputSource:
- check_ateam_separation/logfile
- id: make_sourcedb_ateam.log
outputSource:
- id: logfile_prep_cal
outputSource:
- id: parset
outputSource:
- ndppp_prep_cal/parset
type: 'File[]'
- id: find_skymodel_cal.log
outputSource:
- find_skymodel_cal/logfile
- id: make_sourcedb.log
outputSource:
- make_sourcedb/log
- id: sourcedb
outputSource:
- make_sourcedb/sourcedb
type: File
'sbg:x': 1000
'sbg:y': 500
- id: BLsmooth.log
outputSource:
- concat_logfiles_blsmooth/output
type: File
'sbg:x': 1000
'sbg:y': 600
- id: predict_cal.log
outputSource:
- concat_logfiles_predict/output
type: File
'sbg:x': 1000
'sbg:y': 700
- id: calib_cal.log
outputSource:
- concat_logfiles_calib/output
type: File
'sbg:x': 1000
'sbg:y': 800
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
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
- 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
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
- 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