From c9af7190908c96c81601a2b4701a2911d1348a42 Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Tue, 3 Mar 2020 15:50:33 +0100
Subject: [PATCH] Set default parameters for losoto ionospheric correction

---
 subworkflow/losoto_ion.cwl | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/subworkflow/losoto_ion.cwl b/subworkflow/losoto_ion.cwl
index cdccd1fb..3eec42be 100644
--- a/subworkflow/losoto_ion.cwl
+++ b/subworkflow/losoto_ion.cwl
@@ -13,6 +13,14 @@ inputs:
     type: boolean?
     'sbg:x': 83.60113525390625
     'sbg:y': 53.5
+  - id: refAnt
+    type: string?
+    'sbg:x': 500.74346923828125
+    'sbg:y': -382.8847351074219
+  - id: maxStddev
+    type: float?
+    'sbg:x': 374.1950988769531
+    'sbg:y': -308.9609069824219
 outputs:
   - id: output_h5parm
     outputSource:
@@ -88,6 +96,10 @@ steps:
     in:
       - id: input_h5parm
         source: merge/output_h5parm
+      - id: soltab
+        default: sol000/phase000
+      - id: soltabOut
+        default: phaseOrig
     out:
       - id: output_h5parm
     run: ../lofar-cwl/steps/LoSoTo.Duplicate.cwl
@@ -97,6 +109,14 @@ steps:
     in:
       - id: input_h5parm
         source: losoto_residual/output_h5parm
+      - id: soltab
+        default: sol000/phase000
+      - id: maxStddev
+        source: maxStddev
+      - id: refAnt
+        source: refAnt
+      - id: soltabExport
+        default: clock
     out:
       - id: output_h5parm
     run: ../lofar-cwl/steps/LoSoTo.FlagStation.cwl
@@ -108,6 +128,16 @@ steps:
         source: duplicatePbkp/output_h5parm
       - id: soltab
         default: sol000/phase000
+      - id: clocksoltabOut
+        default: clock
+      - id: tecsoltabOut
+        default: tec
+      - id: offsetsoltabOut
+        default: phase_offset
+      - id: tec3rdsoltabOut
+        default: tec3rd
+      - id: combinePol
+        default: true
       - id: fit3rdorder
         source: fit3rdorder
     out:
@@ -119,6 +149,8 @@ steps:
     in:
       - id: input_h5parm
         source: losoto_clocktec/output_h5parm
+      - id: soltab
+        default: sol000/phase000
       - id: soltabsToSub
         source:
           - fit3rdorder
-- 
GitLab