Select Git revision
applybeam.cwl
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
applybeam.cwl 2.15 KiB
class: CommandLineTool
cwlVersion: v1.0
$namespaces:
sbg: 'https://www.sevenbridges.com/'
id: applycal
baseCommand:
- DPPP
inputs:
- id: msin
type: Directory
inputBinding:
position: 0
prefix: msin=
separate: false
doc: Input Measurement Set
- default: DATA
id: msin_datacolumn
type: string
inputBinding:
position: 0
prefix: msin.datacolumn=
separate: false
doc: Input data Column
- id: msout_datacolumn
type: string
inputBinding:
position: 0
prefix: msout.datacolumn=
separate: false
doc: Output data column
- default: applybeam
id: type
type: string?
inputBinding:
position: 0
prefix: applybeam.type=
separate: false
doc: >
Type of correction to perform. When using H5Parm, this is for now the name
of the soltab; the type will be deduced from the metadata in that soltab,
except for full Jones, in which case correction should be 'fulljones'.
- id: storagemanager
type: string
default: dysco
inputBinding:
prefix: msout.storagemanager=
- id: updateweights
type: boolean?
inputBinding:
position: 0
prefix: -applybeam.updateweights=
separate: false
- id: beammode
type: string?
inputBinding:
position: 0
prefix: -applybeam.beammode=
separate: false
- id: usechannelfreq
type: boolean?
inputBinding:
position: 0
prefix: -applybeam.usechannelfreq=
separate: false
- id: invert
type: boolean?
inputBinding:
position: 0
prefix: -applybeam.invert=
separate: false
outputs:
- id: msout
doc: Output Measurement Set
type: Directory
outputBinding:
glob: $(inputs.msin.basename)
- id: logfile
type: File
outputBinding:
glob: applycal_$(inputs.type).log
stdout: applycal_$(inputs.type).log
arguments:
- 'steps=[applybeam]'
- msout=.
requirements:
- class: InitialWorkDirRequirement
listing:
- entry: $(inputs.msin)
writable: true
- class: InlineJavascriptRequirement
hints:
- class: DockerRequirement
dockerPull: 'lofareosc/prefactor:HBAcalibrator'