From 3b8217d4a84f68b5e0fe5aa6fd3b933bd41317a5 Mon Sep 17 00:00:00 2001 From: Alexander Drabent <alex@transitix> Date: Thu, 16 Jan 2020 11:13:41 +0100 Subject: [PATCH] add all variables Former-commit-id: 6b7beb5cee8bedf5b0f1dd349c7d953d46eda06e --- workflows/HBA_calibrator.cwl | 283 +++++++++++++++++++++++++++++------ 1 file changed, 240 insertions(+), 43 deletions(-) diff --git a/workflows/HBA_calibrator.cwl b/workflows/HBA_calibrator.cwl index d86ac47d..101392e7 100644 --- a/workflows/HBA_calibrator.cwl +++ b/workflows/HBA_calibrator.cwl @@ -7,47 +7,192 @@ $namespaces: inputs: - id: msin type: 'Directory[]' - 'sbg:x': -524.25 - 'sbg:y': -397.7361145019531 + 'sbg:x': -1000 + 'sbg:y': -1700 + - id: refant + type: string? + default: CS001HBA0 + 'sbg:x': -1000 + 'sbg:y': -1600 + - id: flag_baselines + type: 'string[]?' + default: [] + 'sbg:x': -1000 + 'sbg:y': -1500 + - id: process_baselines_cal + type: string? + default: '*&' + 'sbg:x': -1000 + 'sbg:y': -1400 + - id: filter_baselines + type: string? + default: '*&' + 'sbg:x': -1000 + 'sbg:y': -1300 + - id: do_smooth + type: boolean? + default: false + 'sbg:x': -1000 + 'sbg:y': -1200 + - id: rfistrategy + type: string? + default: HBAdefault.rfis + 'sbg:x': -1000 + 'sbg:y': -1100 + - id: max2interpolate + type: int? + default: 30 + 'sbg:x': -1000 + 'sbg:y': -1000 + - id: ampRange + type: 'int[]?' + default: + - 0 + - 0 + 'sbg:x': -1000 + 'sbg:y': -900 + - id: skip_international + type: boolean? + default: true + 'sbg:x': -1000 + 'sbg:y': -800 - id: raw_data type: boolean? default: false - 'sbg:x': -499.4583435058594 - 'sbg:y': -700.1944580078125 - - id: memoryperc + 'sbg:x': -1000 + 'sbg:y': -700 + - id: propagatesolutions + type: boolean? + default: true + 'sbg:x': -1000 + 'sbg:y': -600 + - id: flagunconverged + type: boolean? + default: false + 'sbg:x': -1000 + 'sbg:y': -500 + - id: maxStddev + type: float? + default: -1.0 + 'sbg:x': -1000 + 'sbg:y': -400 + - id: solutions2transfer + type: File? + default: /data/solutions/3C48.h5 + 'sbg:x': -1000 + 'sbg:y': -300 + - id: antennas2transfer + type: File? + default: '[FUSPID].*' + 'sbg:x': -1000 + 'sbg:y': -200 + - id: demix_sources + type: 'string[]?' + default: + - CasA + - CygA + 'sbg:x': -1000 + 'sbg:y': -100 + - id: demix_target + type: string? + default: '' + 'sbg:x': -1000 + 'sbg:y': 0 + - id: demix_freqstep type: int? - default: 20 - 'sbg:x': -519.2446899414062 - 'sbg:y': -98.3177261352539 + default: 16 + 'sbg:x': -1000 + 'sbg:y': 100 + - id: demix_timestep + type: int? + default: 10 + 'sbg:x': -1000 + 'sbg:y': 200 + - id: raw_data + type: boolean? + default: false + 'sbg:x': -1000 + 'sbg:y': 300 - id: demix type: boolean? default: false - 'sbg:x': -508.2083435058594 - 'sbg:y': 359.7083435058594 - - id: baselines_to_flag - type: 'string[]?' - default: [] - 'sbg:x': -506.8194580078125 - 'sbg:y': 503.4721984863281 - - id: min_separation + 'sbg:x': -1000 + 'sbg:y': 400 + - id: ion_3rd + type: boolean? + default: false + 'sbg:x': -1000 + 'sbg:y': 500 + - id: clock_smooth + type: boolean? + default: true + 'sbg:x': -1000 + 'sbg:y': 600 + - id: tables2export + type: string? + default: clock + 'sbg:x': -1000 + 'sbg:y': 700 + - id: final_apply + type: boolean? + default: false + 'sbg:x': -1000 + 'sbg:y': 800 + - id: memoryperc + type: int? + default: 20 + 'sbg:x': -1000 + 'sbg:y': 900 + - id: min_length + type: int? + default: 50 + 'sbg:x': -1000 + 'sbg:y': 1000 + - id: overhead type: float? + default: 0.8 + 'sbg:x': -1000 + 'sbg:y': 1100 + - id: min_separation + type: int? default: 30 - 'sbg:x': -525 - 'sbg:y': -249.46209716796875 + 'sbg:x': -1000 + 'sbg:y': 1200 + - id: max_separation_arcmin + type: float? + default: 1 + 'sbg:x': -1000 + 'sbg:y': 1300 + - id: calibrator_path_skymodel + type: Directory? + default: /data/skymodels + 'sbg:x': -1000 + 'sbg:y': 1400 - id: A-Team_sky_model type: File? - 'sbg:x': -509 - 'sbg:y': 679.407958984375 - - id: freqresolution - type: string - default: '48.82kHz ' - 'sbg:x': -499.0240478515625 - 'sbg:y': 231.7971649169922 - - id: timeresolution - type: float - default: 4. - 'sbg:x': -502.6177673339844 - 'sbg:y': -846.1633911132812 + default: /data/skymodels/Ateam_LBA_CC.skymodel + 'sbg:x': -1000 + 'sbg:y': 1500 + - id: cal_solutions + type: string? + default: cal_solutions.h5 + 'sbg:x': -1000 + 'sbg:y': 1600 + - id: avg_timeresolution + type: float? + default: 4 + 'sbg:x': -1000 + 'sbg:y': 1700 + - id: avg_freqresolution + type: string? + default: 48.82kHz + 'sbg:x': -1000 + 'sbg:y': 1800 + - id: bandpass_freqresolution + type: string? + default: 195.3125kHz + 'sbg:x': -1000 + 'sbg:y': 1900 outputs: - id: msout outputSource: @@ -88,26 +233,78 @@ outputs: steps: - id: prefactor in: + - id: msin + source: msin + - id: refant + source: refant + - id: flag_baselines + source: flag_baselines + - id: process_baselines_cal + source: process_baselines_cal + - id: filter_baselines + source: filter_baselines + - id: do_smooth + source: do_smooth + - id: rfistrategy + source: rfistrategy + - id: max2interpolate + source: max2interpolate + - id: ampRange + source: ampRange + - id: skip_international + source: skip_international - id: raw_data source: raw_data + - id: propagatesolutions + source: propagatesolutions + - id: flagunconverged + source: flagunconverged + - id: maxStddev + source: maxStddev + - id: solutions2transfer + source: solutions2transfer + - id: antennas2transfer + source: antennas2transfer + - id: demix_sources + source: demix_sources + - id: demix_target + source: demix_target + - id: demix_freqstep + source: demix_freqstep + - id: demix_timestep + source: demix_timestep - id: demix source: demix - - id: msin - source: - - msin + - id: ion_3rd + source: ion_3rd + - id: clock_smooth + source: clock_smooth + - id: tables2export + source: tables2export + - id: final_apply + source: final_apply - id: memoryperc source: memoryperc - - id: baselines_to_flag - source: - - baselines_to_flag + - id: min_length + source: min_length + - id: overhead + source: overhead - id: min_separation source: min_separation + - id: max_separation_arcmin + source: max_separation_arcmin + - id: calibrator_path_skymodel + source: calibrator_path_skymodel - id: A-Team_sky_model - source: A-Team_sky_model - - id: timeresolution - source: timeresolution - - id: freqresolution - source: freqresolution + source: Team_sky_model + - id: cal_solutions + source: cal_solutions + - id: avg_timeresolution + source: avg_timeresolution + - id: avg_freqresolution + source: avg_freqresolution + - id: bandpass_freqresolution + source: bandpass_freqresolution out: - id: check_Ateam_separation.png - id: check_Ateam_separation.log @@ -117,7 +314,7 @@ steps: - id: parset run: ./prefactor_calibrator_test.cwl label: prefactor_calibrator - 'sbg:x': -107.87364959716797 - 'sbg:y': -53.743682861328125 + 'sbg:x': 0 + 'sbg:y': 0 requirements: - class: SubworkflowFeatureRequirement -- GitLab