Newer
Older
class: Workflow
cwlVersion: v1.2
id: vlbi-setup
label: vlbi-setup
inputs:
- id: msin
type: 'Directory[]'
- id: solset
type: File
doc: The solution set from the prefactor pipeline.
- id: filter_baselines
type: string?
default: "*&"
- id: flag_baselines
type: string?
default: "[]"
- id: phasesol
type: string?
default: TGSSphase

Matthijs van der Wild
committed
- id: min_separation
type: int?
default: 30
- class: SubworkflowFeatureRequirement
- class: MultipleInputFeatureRequirement
- class: ScatterFeatureRequirement
- id: check_station_mismatch
in:
- id: msin
source: msin
- id: solset
source: solset
- id: filter_baselines
source: filter_baselines
out:
- id: filter_out
- id: logfile
run: ../steps/check_station_mismatch.cwl
label: check_station_mismatch
- id: download_cats
in:
- id: msin
source: msin
out:
- id: delay_catalogue
- id: logfile
run: ../steps/download_cats.cwl
label: download_cats

Matthijs van der Wild
committed
- id: check_ateam_separation
in:
- id: ms
source:
- msin
- id: min_separation
source: min_separation
out:
- id: output_imag
- id: output_json
- id: logfile
run: ../steps/check_ateam_separation.cwl
label: check_Ateam_separation
- id: dp3_make_parset
in:
- id: flag_baselines
source: flag_baselines
- id: station_mismatch
source: check_station_mismatch/filter_out
- id: solset
source: solset
- id: phasesol
source: phasesol
out:
- id: parset
run: ../steps/dp3_make_parset.cwl
in:
- id: parset
source: dp3_make_parset/parset
- id: msin
linkMerge: merge_flattened
source:
- msin
- id: solset
source: solset
out:
- id: logfiles

Matthijs van der Wild
committed
- id: flag_statistics_before
- id: flag_statistics_after
run: ./subworkflows/clip_A-team.cwl
scatter: msin

Matthijs van der Wild
committed
label: clip_A-team
- id: concat_logfiles_clip_A-team
label: concat_logfiles_clip_A-team
in:
- id: file_list
linkMerge: merge_flattened
source:
- clip_A-team/logfiles
default: clip_A-team
out:
- id: output
run: ../steps/concatenate_files.cwl

Matthijs van der Wild
committed
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
- id: initial_flags_join
in:
- id: flagged_fraction_dict
source:
- clip_A-team/flag_statistics_before
- id: filter_station
default: ''
- id: state
default: initial
out:
- id: flagged_fraction_antenna
- id: logfile
run: ../steps/findRefAnt_join.cwl
label: initial_flags_join
- id: prep_target_flags_join
in:
- id: flagged_fraction_dict
source:
- clip_A-team/flag_statistics_after
- id: filter_station
default: ''
- id: state
default: prep_target
out:
- id: flagged_fraction_antenna
- id: logfile
run: ../steps/findRefAnt_join.cwl
label: prep_target_flags_join
- id: save_logfiles
in:
- id: files
linkMerge: merge_flattened
source:
- check_station_mismatch/logfile
- download_cats/logfile
- concat_logfiles_clip_A-team/output

Matthijs van der Wild
committed
- check_ateam_separation/logfile
- id: sub_directory_name
out:
- id: dir
run: ../steps/collectfiles.cwl
label: save_logfiles
- id: logdir
outputSource: save_logfiles/dir
type: Directory
- id: delay_calibrators
outputSource: download_cats/delay_catalogue
type: File
- id: parset
outputSource: dp3_make_parset/parset
type: File
outputSource: clip_A-team/msout

Matthijs van der Wild
committed
- id: initial_flags
outputSource: initial_flags_join/flagged_fraction_antenna
type: File
- id: prep_target_flags
outputSource: prep_target_flags_join/flagged_fraction_antenna
type: File
- id: check_Ateam_separation_file
outputSource: check_ateam_separation/output_json
type: File