Skip to content
Snippets Groups Projects
Select Git revision
  • plot_demix_noise
  • master default protected
  • full_bandwidth_solve
  • poppy_integration
  • optimize_workflow
  • releases/v5.0 protected
  • use-versioned-releases
  • releases/v5.0rc2 protected
  • releases/v5.0rc1 protected
  • releases/ldv_v407_atdb protected
  • ldv_v407_debug
  • releases/ldv_v406_debug protected
  • releases/ldv_v405 protected
  • releases/ldv_v404 protected
  • v5.0
  • v5.0rc2
  • v5.0rc1
  • ldv_v406_debug
  • ldv_v405_debug
  • ldv_v404
  • ldv_v403
  • ldv_v402
  • v4.0
  • ldv_v401
  • ldv_v40
  • ldv_v031
  • ldv_v03
  • ldv_v01
28 results

applybeam.cwl

Blame
  • 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'