Newer
Older
- id: aoflag_reorder
type: boolean?
default: false
- id: aoflag_chunksize
type: int?
default: 2000
- id: aoflag_freqconcat
type: boolean?
default: true
- id: gsmcal_step
type: string?
default: 'phase'
- id: skymodel_source
type: string?
default: 'TGSS'
- id: process_baselines_target
type: string?
default: '[CR]S*&'
- id: insolutions
type: File
default: true
- id: targetname
type: string?
default: 'pointing'
- id: wsclean_tmpdir
type: string?
default: '/tmp'
- id: total_bandwidth
type: float?
default: 50
- id: midfreq
type: float?
default: 50e6
- id: groupnames
type: string[]
- id: filenames
type: File
- id: selfcal_region
type: File?
- id: selfcal_strategy
type: string
default: 'HBA'
- selfcal_target/msout
pickValue: all_non_null
linkMerge: merge_flattened
- id: outsolutions
outputSource:
- selfcal_target/outsolutions
- insolutions
pickValue: first_non_null
type: File
- id: Ateam_flags_join_out
outputSource:
- Ateam_flags_join/flagged_fraction_antenna
type: File
- id: inspection
outputSource:
- losoto_plot_P/output_plots
- losoto_plot_P2/output_plots
- losoto_plot_Pd/output_plots
- losoto_plot_Pd2/output_plots
- id: out_refant
outputSource:
- findRefAnt_join/refant
type: string
- concat_logfiles_dp3concat/output
- id: removed_bands
outputSource:
- check_unflagged_fraction/filenames
run: ../../steps/identify_bad_antennas.cwl
label: identifybadantennas
scatter:
- msin
- 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
- id: findRefAnt_join
in:
- id: flagged_fraction_dict
source:
- concat/flagged_fraction_dict
- id: filter_station
source: refant
out:
- id: refant
- id: logfile
run: ../../steps/findRefAnt_join.cwl
label: findRefAnt_join
- id: Ateam_flags_join
in:
- id: flagged_fraction_dict
source:
- concat/flagged_fraction_dict
- id: filter_station
default: ''
- id: state
default: 'concat'
out:
- id: flagged_fraction_antenna
run: ../../steps/findRefAnt_join.cwl
label: Ateam_flags_join
- id: concat_logfiles_dp3concat
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_dp3concat
- 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
- id: concat_logfiles_RefAnt
in:
- id: file_list
linkMerge: merge_flattened
source:
- findRefAnt_join/logfile
- id: file_prefix
default: findRefAnt
out:
- id: output
run: ../../steps/concatenate_files.cwl
label: concat_logfiles_RefAnt
- id: avg_timeresolution_concat
source: avg_timeresolution_concat
- id: avg_freqresolution_concat
source: avg_freqresolution_concat
- id: merge_array_concat
in:
- id: input
source: concat/msout
out:
- id: output
run: ../../steps/merge_array.cwl
label: merge_array_concat
- id: sort_times_into_freqGroups_full
in:
- id: msin
source:
- id: numbands
valueFrom: $(-1)
- id: DP3fill
default: true
- id: stepname
default: .dp3concat
- id: truncateLastSBs
default: false
out:
- id: filenames
- id: groupnames
- id: total_bandwidth
- id: midfreq
- id: minfreq
- id: logfile
run: ../../steps/sort_times_into_freqGroups.cwl
label: sorttimesintofreqGroups_full
- id: concat2
in:
- id: msin
source:
- id: group_id
source: sort_times_into_freqGroups_full/groupnames
- id: groups_specification
source: sort_times_into_freqGroups_full/filenames
- id: filter_baselines
source: identifybadantennas_join/filter_out
- id: avg_timeresolution_concat
source: avg_timeresolution_concat
- id: avg_freqresolution_concat
source: avg_freqresolution_concat
- id: chunkduration
source: chunkduration
- id: execute
source: selfcal
- id: selfcal_strategy
source: selfcal_strategy
out:
- id: msout
- id: flagged_fraction_dict
- id: dp3concat.log
run: ./concat.cwl
label: concat2
scatter: group_id
when: $(inputs.execute && inputs.selfcal_strategy == 'HBA')
in:
- id: input
source: concat2/msout
out:
- id: output
run: ../../steps/merge_array.cwl
label: merge_array_full
source: merge_array_concat_full/output
- id: verbose
default: true
- id: concatenate-frequency
source: aoflag_freqconcat
- id: strategy
source: rfistrategy
- id: reorder
source: aoflag_reorder
- id: chunk-size
source: aoflag_chunksize
- id: output_ms
- id: logfile
run: ../../steps/aoflag.cwl
label: aoflag
- id: check_unflagged_fraction
in:
- id: msin
source: aoflag/output_ms
- id: min_fraction
source: min_unflagged_fraction
out:
- id: msout
- id: frequency
- id: unflagged_fraction
- id: filenames
- id: logfile
run: ../../steps/check_unflagged_fraction.cwl
label: check_unflagged_fraction
scatter:
- msin
- id: merge_array
in:
- id: input
source: check_unflagged_fraction/msout
out:
- id: output
run: ../../steps/merge_array.cwl
label: merge_array
- 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
- id: check_filtered_MS_array
in:
- id: input
source: merge_array/output
out:
- id: output
run: ../../steps/check_filtered_MS_array.cwl
label: check_filtered_MS_array
- id: max_dp3_threads
source: max_dp3_threads
- id: do_smooth
source: do_smooth
- id: propagatesolutions
source: propagatesolutions
- id: gsmcal_step
source: gsmcal_step
- id: execute
source: selfcal
- id: msout
- id: BLsmooth.log
- id: gaincal.log
- id: outh5parm
when: $(!inputs.execute || inputs.selfcal_strategy == 'HBA')
- id: selfcal_target
in:
- id: max_dp3_threads
source: max_dp3_threads
- id: msin
source: check_filtered_MS_array/output
- id: skymodel
source: target_skymodel
- id: propagatesolutions
source: propagatesolutions
- id: do_smooth
source: do_smooth
- id: refant
source: findRefAnt_join/refant
- id: skymodel_source
source: skymodel_source
- id: process_baselines_target
source: process_baselines_target
- id: bad_antennas
source: identifybadantennas_join/filter_out
- id: insolutions
source: insolutions
- id: targetname
source: targetname
- id: wsclean_tmpdir
source: wsclean_tmpdir
- id: total_bandwidth
source: total_bandwidth
- id: midfreq
source: midfreq
- id: selfcal_region
source: selfcal_region
- id: rfistrategy
source: rfistrategy
- id: aoflag_reorder
source: aoflag_reorder
- id: aoflag_chunksize
source: aoflag_chunksize
- id: aoflag_freqconcat
source: aoflag_freqconcat
- id: execute
source: selfcal
out:
- id: msout
run: ./selfcal_targ.cwl
label: selfcal_target
when: $(inputs.execute)
- id: h5parm_collector
in:
- id: h5parmFiles
source:
- selfcal_target/outh5parm
pickValue: all_non_null
linkMerge: merge_flattened
- id: squeeze
default: true
- id: verbose
default: true
- id: clobber
default: true
- id: frequencies
source: check_unflagged_fraction/frequency
source: check_unflagged_fraction/unflagged_fraction
run: ../../steps/plot_unflagged.cwl
label: plot_unflagged
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
- id: losoto_plot_tec
in:
- id: input_h5parm
source: h5parm_collector/outh5parm
- id: soltab
default: sol000/tec000
- id: axesInPlot
default:
- time
- id: axisInTable
default: ant
- id: plotFlag
default: true
- id: refAnt
source: refant
- id: minmax
default:
- -0.5
- 0.5
- id: prefix
default: tec_
- id: execute
source: selfcal
out:
- id: output_plots
- id: logfile
- id: parset
run: ../../steps/LoSoTo.Plot.cwl
when: $(inputs.execute)
label: losoto_plot_tec
- 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
- id: execute
source: selfcal
valueFrom: '$(self ? false : true)'
- 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
- id: execute
source: selfcal
valueFrom: '$(self ? false : true)'
- 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
- id: execute
source: selfcal
valueFrom: '$(self ? false : true)'
- 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
- id: execute
source: selfcal
valueFrom: '$(self ? false : true)'
requirements:
- class: SubworkflowFeatureRequirement
- class: ScatterFeatureRequirement
- class: StepInputExpressionRequirement
- class: InlineJavascriptRequirement