From b66f1b83fb7ccdbbbf4d0eb031b0d7afb2219143 Mon Sep 17 00:00:00 2001
From: mancini <mancini@astron.nl>
Date: Tue, 3 Mar 2020 16:06:08 +0100
Subject: [PATCH] Add ionosferic correction

Former-commit-id: 12570b7fa447f45b1109a9b4bfd02877e8013aed
---
 subworkflow/ionosphere.cwl | 36 +++++++++++++++++++++++++++++++++++-
 1 file changed, 35 insertions(+), 1 deletion(-)

diff --git a/subworkflow/ionosphere.cwl b/subworkflow/ionosphere.cwl
index 2f723d59..4d8ccac1 100644
--- a/subworkflow/ionosphere.cwl
+++ b/subworkflow/ionosphere.cwl
@@ -21,7 +21,13 @@ inputs:
     type: boolean
     'sbg:x': -420.39886474609375
     'sbg:y': 229.5
-outputs: []
+outputs:
+  - id: outh5parm
+    outputSource:
+      - h5exp_cal_ion/outh5parm
+    type: File
+    'sbg:x': 558.2401123046875
+    'sbg:y': -60.5
 steps:
   - id: smooth_calibrate
     in:
@@ -60,5 +66,33 @@ steps:
     label: h5imp_cal_ion
     'sbg:x': -42
     'sbg:y': -19
+  - id: losoto_ion
+    in:
+      - id: input_h5parm
+        source: h5parm_collector/outh5parm
+    out:
+      - id: output_h5parm
+    run: ./losoto_ion.cwl
+    label: losoto_ion
+    'sbg:x': 140
+    'sbg:y': -34
+  - id: h5exp_cal_ion
+    in:
+      - id: h5parmFiles
+        source:
+          - losoto_ion/output_h5parm
+      - id: outh5parmname
+        default: cal_solutions.h5
+      - id: squeeze
+        default: true
+      - id: verbose
+        default: true
+    out:
+      - id: outh5parm
+      - id: log
+    run: ../lofar-cwl/steps/H5ParmCollector.cwl
+    label: h5exp_cal_ion
+    'sbg:x': 352
+    'sbg:y': -31
 requirements:
   - class: SubworkflowFeatureRequirement
-- 
GitLab