Newer
Older
$namespaces:
sbg: 'https://www.sevenbridges.com/'
inputs:
- id: msin
type: 'Directory[]'
- id: reference_stationSB
type: int
default: null
- id: refant
type: string
'sbg:x': -1000
'sbg:y': 800
- id: min_length
type: int?
default: 5
'sbg:x': -1000
'sbg:y': 900
- id: overhead
type: float?
default: 0.7
'sbg:x': -1000
'sbg:y': 1000
- id: inspection
outputSource:
- losoto_plot_P/output_plots
- losoto_plot_P2/output_plots
- losoto_plot_Pd/output_plots
- losoto_plot_Pd2/output_plots
- sort_times_into_freqGroups/logfile
- find_skymodel_target/logfile
- make_sourcedb_target/log
- ms_concat/logfile
- aoflag/logfile
- id: total_bandwidth
outputSource:
- sort_times_into_freqGroups/total_bandwidth
type: int
'sbg:x': 1900
'sbg:y': 1200
run: ../../steps/identify_bad_antennas.cwl
label: identifybadantennas
- id: identifybadantennas_join
in:
- id: flaggedants
source:
- identifybadantennas/flaggedants
- id: filter
source: filter_baselines
out:
- id: filter_out
- id: logfile
run: ../../steps/identify_bad_antennas_join.cwl
label: identifybadantennas_join
'sbg:x': 0
'sbg:y': -300
default: true
- id: stepname
default: .dpppconcat
- id: firstSB
source: reference_stationSB
- id: truncateLastSBs
run: ../../steps/sort_times_into_freqGroups.cwl
label: sorttimesintofreqGroups
- id: SkymodelPath
source: target_skymodel
- id: Radius
default: 5
- id: Source
source: skymodel_source
- id: DoDownload
source: use_target
run: ../../steps/find_skymodel_target.cwl
label: find_skymodel_target
- id: logname
default: make_sourcedb_target.log
out:
- id: sourcedb
- id: log
run: ../../lofar-cwl/steps/makesourcedb.cwl
out:
- id: output
run: ../../steps/concatenate_files.cwl
- id: concat_logfiles_blsmooth
in:
- id: file_list
source:
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_blsmooth
out:
- id: output
run: ../../steps/concatenate_files.cwl
- id: concat_logfiles_losoto
in:
- id: file_list
linkMerge: merge_flattened
source:
- h5parm_collector/log
- losoto_plot_P/logfile
- losoto_plot_P2/logfile
- losoto_plot_Pd/logfile
- losoto_plot_Pd2/logfile
- id: file_prefix
default: losoto_gsmcal
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_losoto
- id: concat_logfiles_unflagged
in:
- id: file_list
linkMerge: merge_flattened
source:
- plot_unflagged/logfile
- id: file_prefix
default: check_unflagged_fraction
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_unflagged
- id: concat_logfiles_identify
in:
- id: file_list
linkMerge: merge_flattened
source:
- identifybadantennas/logfile
- identifybadantennas_join/logfile
- id: file_prefix
default: identifyBadAntennas
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_identify
- msin
- id: group_id
source: sort_times_into_freqGroups/groupnames
- id: groups_specification
source: sort_times_into_freqGroups/filenames
- id: filter_baselines
- id: avg_timeresolution_concat
source: avg_timeresolution_concat
- id: avg_freqresolution_concat
source: avg_freqresolution_concat
- id: min_unflagged_fraction
source: min_unflagged_fraction
out:
- id: dpppconcat.log
run: ../../subworkflow/concat.cwl
label: concat
scatter:
- group_id
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
373
374
375
376
377
378
379
380
381
382
- id: ms_concat
in:
- id: min_length
source: min_length
- id: overhead
source: overhead
- id: msin
source:
- concat/msout
out:
- id: concat_meta_ms
- id: concat_additional_ms
- id: ms_outs
- id: logfile
run: ../../lofar-cwl/steps/ms_concat.cwl
label: ms_concat
'sbg:x': 400
'sbg:y': 0
- id: aoflag
in:
- id: msin
source:
- ms_concat/ms_outs
- id: concat_meta_ms
source: ms_concat/concat_meta_ms
- id: concat_additional_ms
source: ms_concat/concat_additional_ms
- id: verbose
default: true
- id: combine-spws
default: true
out:
- id: output_ms
- id: logfile
run: ../../steps/aoflag.cwl
label: aoflag
'sbg:x': 600
'sbg:y': 0
- id: check_unflagged_fraction
in:
- id: msin
source: aoflag/output_ms
- id: min_fraction
source: min_unflagged_fraction
out:
- id: msout
- id: unflagged_fraction
- id: logfile
run: ../../steps/check_unflagged_fraction.cwl
label: check_unflagged_fraction
scatter:
- msin
'sbg:x': 800
'sbg:y': 0
out:
- id: output
run: ../../steps/merge_array.cwl
label: merge_array
'sbg:x': 1000
'sbg:y': -100
- id: merge_array_files
in:
- id: input
source:
- check_unflagged_fraction/logfile
out:
- id: output
run: ../../steps/merge_array_files.cwl
label: merge_array_files
'sbg:x': 1000
'sbg:y': 100
- id: skymodel
source: make_sourcedb_target/sourcedb
- id: do_smooth
source: do_smooth
- id: propagatesolutions
source: propagatesolutions
- id: msout
- id: BLsmooth.log
- id: gaincal.log
- id: outh5parm
run: ../../subworkflow/calib_targ.cwl
label: calibrate_target
- id: h5parm_collector
in:
- id: h5parmFiles
source:
- 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
- check_unflagged_fraction/unflagged_fraction
run: ../../steps/plot_unflagged.cwl
label: plot_unflagged
- id: losoto_plot_P
in:
- id: input_h5parm
source: h5parm_collector/outh5parm
- id: soltab
default: sol000/phase000
- 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: ph_
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_P
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
'sbg:y': 200
- id: losoto_plot_P2
in:
- id: input_h5parm
source: h5parm_collector/outh5parm
- id: soltab
default: sol000/phase000
- id: axesInPlot
default:
- time
- 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: ph_
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_P2
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
'sbg:y': 50
- id: losoto_plot_Pd
in:
- id: input_h5parm
source: h5parm_collector/outh5parm
- 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: ph_poldif_
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_Pd
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
'sbg:y': -100
- id: losoto_plot_Pd2
in:
- id: input_h5parm
source: h5parm_collector/outh5parm
- id: soltab
default: sol000/phase000
- id: axesInPlot
default:
- time
- 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: ph_poldif_
out:
- id: output_plots
- id: logfile
run: ../../lofar-cwl/steps/LoSoTo.Plot.cwl
label: losoto_plot_Pd2
requirements:
- class: SubworkflowFeatureRequirement
- class: ScatterFeatureRequirement