Select Git revision
prefactor_calibrator.cwl
Forked from
ResearchAndDevelopment / LINC
766 commits behind, 369 commits ahead of the upstream repository.
-
Mattia Mancini authoredMattia Mancini authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
prefactor_calibrator.cwl 7.13 KiB
class: Workflow
cwlVersion: v1.0
$namespaces:
sbg: 'https://www.sevenbridges.com/'
inputs:
- id: msin
type: 'Directory[]'
'sbg:x': -1288.8990478515625
'sbg:y': -555.202392578125
- id: raw_data
type: boolean
'sbg:x': -694.3873901367188
'sbg:y': -755.8551635742188
- id: propagate_solutions
type: boolean
'sbg:x': -1121.9852294921875
'sbg:y': -253.3156280517578
- id: flagunconverged
type: boolean
'sbg:x': -1118.8870849609375
'sbg:y': -79.73927307128906
- id: do_smooth
type: boolean
'sbg:x': -1193.1546630859375
'sbg:y': 98.4070053100586
- id: demix
type: boolean
'sbg:x': -696.9326782226562
'sbg:y': -989.551025390625
- id: baselines_to_flag
type: 'string[]'
'sbg:x': -693.3192138671875
'sbg:y': -1110.5423583984375
- id: A-Team_sky_model
type: string
'sbg:x': -686.0775756835938
'sbg:y': -1229.948486328125
- id: skymodels_directory
type: Directory
'sbg:x': -406.48114013671875
'sbg:y': -1037.0802001953125
- id: refAnt
type: string?
'sbg:x': -237.43019104003906
'sbg:y': 298.85394287109375
- id: bandpass_freqresolution
type: string
'sbg:x': 349.51715087890625
'sbg:y': 405.76416015625
outputs:
- id: outh5parm
outputSource:
- h5parm_cat_2/outh5parm
type: File
'sbg:x': 1751.7156982421875
'sbg:y': -579.630615234375
- id: prep_h5parm
outputSource:
- rename/output_file
type: File?
'sbg:x': 115.11632537841797
'sbg:y': -891.8500366210938
- id: faraday_rotation_h5parm
outputSource:
- rename_1/output_file
type: File?
'sbg:x': 778.7052001953125
'sbg:y': -922.1324462890625
- id: ionosphere_h5parm
outputSource:
- rename_2/output_file
type: File?
'sbg:x': 1501.314697265625
'sbg:y': -882.2962036132812
- id: bandpass_h5parm
outputSource:
- rename_3/output_file
type: File?
'sbg:x': 1196.5001220703125
'sbg:y': -924.676513671875
steps:
- id: prep
in:
- id: raw_data
source: raw_data
- id: demix
source: demix
- id: msin
source:
- msin
- id: memoryperc
default: -56
- id: baselines_to_flag
source:
- baselines_to_flag
- id: propagate_solutions
source: propagate_solutions
- id: flagunconverged
source: flagunconverged
- id: do_smooth
source: do_smooth
- id: A-Team_sky_model
source: A-Team_sky_model
- id: skymodels_directory
source: skymodels_directory
out:
- id: outh5parm
- id: log
- id: log_1
- id: msout
run: ../subworkflow/prep.cwl
label: prep
'sbg:x': -262.17071533203125
'sbg:y': -511.7770080566406
- id: polarization_align
in:
- id: msin
source:
- prep/msout
- id: propagate_solutions
default: true
source: propagate_solutions
- id: flagunconverged
source: flagunconverged
- id: refAnt
source: refAnt
out:
- id: msout
- id: output_h5parm
run: ../subworkflow/polarization_align.cwl
label: polarization_align
'sbg:x': 118.84374237060547
'sbg:y': -322.773193359375
- id: h5parm_cat
in:
- id: h5parmFile
source: polarization_align/output_h5parm
- id: input_file
source: prep/outh5parm
- id: squeeze
default: true
- id: clobber
default: true
out:
- id: outh5parm
- id: log
run: ../steps/h5parmcat.cwl
label: h5parm_cat
'sbg:x': 314.7366943359375
'sbg:y': -593.4266967773438
- id: faraday_rotation
in:
- id: msin
source:
- polarization_align/msout
- id: refAnt
source: refAnt
- id: do_smooth
source: do_smooth
- id: flagunconverged
source: flagunconverged
- id: propagate_solutions
source: propagate_solutions
out:
- id: msout
- id: output_h5parm
run: ../subworkflow/faraday_rotation.cwl
label: faraday_rotation
'sbg:x': 485.8674621582031
'sbg:y': -186.00608825683594
- id: h5parm_cat_1
in:
- id: h5parmFile
source: faraday_rotation/output_h5parm
- id: input_file
source: h5parm_cat/outh5parm
out:
- id: outh5parm
- id: log
run: ../steps/h5parmcat.cwl
label: h5parm_cat
'sbg:x': 761.2355346679688
'sbg:y': -584.5293579101562
- id: ionosphere
in:
- id: msin
source:
- bandpass/msout
- id: propagate_solutions
source: propagate_solutions
- id: flagunconverged
source: flagunconverged
- id: do_smooth
source: do_smooth
out:
- id: output_h5parm
run: ../subworkflow/ionosphere.cwl
label: ionosphere
'sbg:x': 1025.1761474609375
'sbg:y': 46.49970245361328
- id: h5parm_cat_2
in:
- id: h5parmFile
source: ionosphere/output_h5parm
- id: input_file
source: h5parm_cat_3/outh5parm
out:
- id: outh5parm
- id: log
run: ../steps/h5parmcat.cwl
label: h5parm_cat
'sbg:x': 1477.75390625
'sbg:y': -573.9267578125
- id: rename
in:
- id: file_in
source: prep/outh5parm
- id: new_name
default: prep.h5
out:
- id: output_file
run: ../steps/rename.cwl
label: rename
'sbg:x': -57.905059814453125
'sbg:y': -738.1378173828125
- id: rename_1
in:
- id: file_in
source: faraday_rotation/output_h5parm
- id: new_name
default: faraday_rotation.h5
out:
- id: output_file
run: ../steps/rename.cwl
label: rename
'sbg:x': 652.0987548828125
'sbg:y': -731.949951171875
- id: rename_2
in:
- id: file_in
source: ionosphere/output_h5parm
- id: new_name
default: ionosphere.h5
out:
- id: output_file
run: ../steps/rename.cwl
label: rename
'sbg:x': 1296.203125
'sbg:y': -689.818603515625
- id: bandpass
in:
- id: bandpass_freqresolution
source: bandpass_freqresolution
- id: msin
source:
- faraday_rotation/msout
- id: propagate_solutions
source: propagate_solutions
- id: flagunconverged
source: flagunconverged
- id: do_smooth
source: do_smooth
out:
- id: output_h5parm
- id: msout
run: ../subworkflow/bandpass.cwl
label: bandpass
'sbg:x': 770.3824462890625
'sbg:y': -98.85307312011719
- id: rename_3
in:
- id: file_in
source:
- bandpass/output_h5parm
- id: new_name
default: bandpass.h5
out:
- id: output_file
run: ../steps/rename.cwl
label: rename
'sbg:x': 996.117431640625
'sbg:y': -727.5003051757812
- id: h5parm_cat_3
in:
- id: h5parmFile
source:
- bandpass/output_h5parm
- id: input_file
source: h5parm_cat_1/outh5parm
out:
- id: outh5parm
- id: log
run: ../steps/h5parmcat.cwl
label: h5parm_cat
'sbg:x': 1084.4119873046875
'sbg:y': -580.6766967773438
requirements:
- class: SubworkflowFeatureRequirement
- class: MultipleInputFeatureRequirement