Skip to content
Snippets Groups Projects
Commit fe481518 authored by alex's avatar alex
Browse files

add parameters/defaults to prep_target

Former-commit-id: bb2bf0f2
parent 0238f20b
No related branches found
No related tags found
No related merge requests found
...@@ -14,7 +14,7 @@ inputs: ...@@ -14,7 +14,7 @@ inputs:
default: applycal default: applycal
- id: parmdb - id: parmdb
type: string type: File
doc: Path of parmdb in which the parameters are stored. This can also be an H5Parm file, in that case the filename has to end in '.h5' doc: Path of parmdb in which the parameters are stored. This can also be an H5Parm file, in that case the filename has to end in '.h5'
- id: solset - id: solset
type: string? type: string?
...@@ -36,6 +36,8 @@ inputs: ...@@ -36,6 +36,8 @@ inputs:
- scalaramplitude - scalaramplitude
- rotationmeasure - rotationmeasure
- fulljones - fulljones
- polalign
- bandpass
doc: | doc: |
Type of correction to perform, can be one of 'gain', 'tec', 'clock', Type of correction to perform, can be one of 'gain', 'tec', 'clock',
'(common)rotationangle' / 'rotation', '(common)scalarphase', '(common)rotationangle' / 'rotation', '(common)scalarphase',
......
...@@ -70,7 +70,7 @@ inputs: ...@@ -70,7 +70,7 @@ inputs:
'sbg:x': 1257.9327392578125 'sbg:x': 1257.9327392578125
'sbg:y': -290.095703125 'sbg:y': -290.095703125
- id: parmdb - id: parmdb
type: string type: File
'sbg:x': 1930.5469970703125 'sbg:x': 1930.5469970703125
'sbg:y': 298.99664306640625 'sbg:y': 298.99664306640625
- id: apply_tec_correction - id: apply_tec_correction
...@@ -93,6 +93,10 @@ inputs: ...@@ -93,6 +93,10 @@ inputs:
type: boolean type: boolean
'sbg:x': 2391.738037109375 'sbg:x': 2391.738037109375
'sbg:y': 585.3051147460938 'sbg:y': 585.3051147460938
- id: filter_baselines
type: string
'sbg:x': 1880
'sbg:y': -380
outputs: outputs:
- id: logfile - id: logfile
outputSource: outputSource:
...@@ -276,6 +280,9 @@ steps: ...@@ -276,6 +280,9 @@ steps:
'sbg:y': -6.564670085906982 'sbg:y': -6.564670085906982
- id: dp3_execute - id: dp3_execute
in: in:
- id: msout_name
source: msin
valueFrom: $("out_"+self.basename)
- id: msin - id: msin
source: msin source: msin
- id: steps - id: steps
...@@ -298,6 +305,10 @@ steps: ...@@ -298,6 +305,10 @@ steps:
- id: steps - id: steps
source: source:
- demix_select/selected_steps - demix_select/selected_steps
- id: baseline
source: filter_baselines
- id: remove
default: true
out: out:
- id: augmented_steps - id: augmented_steps
run: ../lofar-cwl/steps/DP3.FilterStepGenerator.cwl run: ../lofar-cwl/steps/DP3.FilterStepGenerator.cwl
...@@ -310,6 +321,8 @@ steps: ...@@ -310,6 +321,8 @@ steps:
- filter/augmented_steps - filter/augmented_steps
- id: parmdb - id: parmdb
source: parmdb source: parmdb
- id: correction
default: polalign
out: out:
- id: augmented_steps - id: augmented_steps
run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl
...@@ -320,6 +333,10 @@ steps: ...@@ -320,6 +333,10 @@ steps:
- id: steps - id: steps
source: source:
- applyPA/augmented_steps - applyPA/augmented_steps
- id: parmdb
source: parmdb
- id: correction
default: bandpass
out: out:
- id: augmented_steps - id: augmented_steps
run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl
......
...@@ -30,7 +30,7 @@ inputs: ...@@ -30,7 +30,7 @@ inputs:
'sbg:x': 2750.948974609375 'sbg:x': 2750.948974609375
'sbg:y': -241.39480590820312 'sbg:y': -241.39480590820312
- id: parmdb - id: parmdb
type: string type: File
'sbg:x': 2007.115234375 'sbg:x': 2007.115234375
'sbg:y': 685.0719604492188 'sbg:y': 685.0719604492188
outputs: outputs:
...@@ -48,6 +48,8 @@ steps: ...@@ -48,6 +48,8 @@ steps:
- steps - steps
- id: parmdb - id: parmdb
source: parmdb source: parmdb
- id: correction
default: 'clock'
out: out:
- id: augmented_steps - id: augmented_steps
run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl
...@@ -60,6 +62,8 @@ steps: ...@@ -60,6 +62,8 @@ steps:
- apply_clock/selected_steps - apply_clock/selected_steps
- id: parmdb - id: parmdb
source: parmdb source: parmdb
- id: correction
default: 'tec'
out: out:
- id: augmented_steps - id: augmented_steps
run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl
...@@ -72,6 +76,8 @@ steps: ...@@ -72,6 +76,8 @@ steps:
- apply_beam/selected_steps - apply_beam/selected_steps
- id: parmdb - id: parmdb
source: parmdb source: parmdb
- id: correction
default: 'phaseOrig'
out: out:
- id: augmented_steps - id: augmented_steps
run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl
...@@ -84,6 +90,8 @@ steps: ...@@ -84,6 +90,8 @@ steps:
- apply_tec/selected_steps - apply_tec/selected_steps
- id: parmdb - id: parmdb
source: parmdb source: parmdb
- id: correction
default: 'RMextract'
out: out:
- id: augmented_steps - id: augmented_steps
run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl run: ../lofar-cwl/steps/DP3.ApplyCalStepGenerator.cwl
...@@ -94,6 +102,8 @@ steps: ...@@ -94,6 +102,8 @@ steps:
- id: steps - id: steps
source: source:
- apply_rm/selected_steps - apply_rm/selected_steps
- id: beammode
default: 'default'
out: out:
- id: augmented_steps - id: augmented_steps
run: ../lofar-cwl/steps/DP3.ApplyBeamStepGenerator.cwl run: ../lofar-cwl/steps/DP3.ApplyBeamStepGenerator.cwl
......
...@@ -179,10 +179,6 @@ inputs: ...@@ -179,10 +179,6 @@ inputs:
default: 1.e-30 default: 1.e-30
'sbg:x': -1000 'sbg:x': -1000
'sbg:y': 1700 'sbg:y': 1700
- id: process_baselines_cal
type: string
'sbg:x': -1000
'sbg:y': 1800
outputs: outputs:
- id: outh5parm - id: outh5parm
outputSource: outputSource:
...@@ -353,7 +349,7 @@ steps: ...@@ -353,7 +349,7 @@ steps:
source: demix_freqstep source: demix_freqstep
- id: demix_baseline - id: demix_baseline
default: '*' default: '*'
source: process_baselines_cal source: process_baselines_target
- id: target_source - id: target_source
source: demix_target source: demix_target
- id: ntimechunk - id: ntimechunk
...@@ -379,6 +375,8 @@ steps: ...@@ -379,6 +375,8 @@ steps:
- id: apply_beam_correction - id: apply_beam_correction
source: apply_beam source: apply_beam
default: true default: true
- id: filter_baselines
source: compare_station_list/filter_out
out: out:
- id: msout - id: msout
- id: logfile - id: logfile
...@@ -402,4 +400,5 @@ steps: ...@@ -402,4 +400,5 @@ steps:
label: concat_logfiles_prep_targ label: concat_logfiles_prep_targ
'sbg:x': 250 'sbg:x': 250
'sbg:y': 300 'sbg:y': 300
requirements: [] requirements:
- class: ScatterFeatureRequirement
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment