Skip to content
Snippets Groups Projects
Select Git revision
  • cb15ffc3c756679092da19c96b9f9b4c0e2dc02c
  • master default protected
  • L2SS-1914-fix_job_dispatch
  • TMSS-3170
  • TMSS-3167
  • TMSS-3161
  • TMSS-3158-Front-End-Only-Allow-Changing-Again
  • TMSS-3133
  • TMSS-3319-Fix-Templates
  • test-fix-deploy
  • TMSS-3134
  • TMSS-2872
  • defer-state
  • add-custom-monitoring-points
  • TMSS-3101-Front-End-Only
  • TMSS-984-choices
  • SDC-1400-Front-End-Only
  • TMSS-3079-PII
  • TMSS-2936
  • check-for-max-244-subbands
  • TMSS-2927---Front-End-Only-PXII
  • Before-Remove-TMSS
  • LOFAR-Release-4_4_318 protected
  • LOFAR-Release-4_4_317 protected
  • LOFAR-Release-4_4_316 protected
  • LOFAR-Release-4_4_315 protected
  • LOFAR-Release-4_4_314 protected
  • LOFAR-Release-4_4_313 protected
  • LOFAR-Release-4_4_312 protected
  • LOFAR-Release-4_4_311 protected
  • LOFAR-Release-4_4_310 protected
  • LOFAR-Release-4_4_309 protected
  • LOFAR-Release-4_4_308 protected
  • LOFAR-Release-4_4_307 protected
  • LOFAR-Release-4_4_306 protected
  • LOFAR-Release-4_4_304 protected
  • LOFAR-Release-4_4_303 protected
  • LOFAR-Release-4_4_302 protected
  • LOFAR-Release-4_4_301 protected
  • LOFAR-Release-4_4_300 protected
  • LOFAR-Release-4_4_299 protected
41 results

lofarinit.csh.in

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    ms_concat.cwl 1.75 KiB
    class: CommandLineTool
    cwlVersion: v1.1
    $namespaces:
      sbg: 'https://www.sevenbridges.com/'
    id: ms_concat
    baseCommand:
      - /bin/bash
      - ms_concat.sh
    inputs:
      - default: 50
        id: min_length
        type: int?
        inputBinding:
          position: 0
          prefix: '--min_length'
        doc: Minimum amount of subbands to concatenate in frequency.
      - id: overhead
        type: float?
        default: 0.8
        inputBinding:
          position: 0
          prefix: '--overhead'
        doc: |
          Only use this fraction of the available memory for deriving the amount
          of data to be concatenated.
      - id: msin
        type: 'Directory[]'
      - default: out.MS
        id: msout
        type: string
        inputBinding:
          position: 2
    outputs:
      - id: concat_meta_ms
        type: 'Directory'
        outputBinding:
          glob: |
            workdir/$(inputs.msout)_[0-9*]
      - id: concat_additional_ms
        type: 'Directory'
        outputBinding:
          glob: |
            workdir/$(inputs.msout)_*_CONCAT
      - id: ms_outs
        type: 'Directory[]'
        outputBinding:
           glob: 'workdir/out_*'
      - id: logfile
        type: File
        outputBinding:
          glob: ms_concat.log
    label: ms_concat
    hints:
      - class: DockerRequirement
        dockerPull: 'lofareosc/prefactor3-cwl'
    requirements:
      - class: ShellCommandRequirement
      - class: InitialWorkDirRequirement
        listing:
          - entry: $(inputs.msin)
            writable: true
          - entryname: ms_concat.sh
            entry: |
              #!/bin/bash
              directories=\$(ls -d out_*)
              #echo \$directories
              mkdir -pv workdir
              cp -r \$directories workdir/. && cd workdir
              concat_MS_CWL.py \$1 \$2 \$3 \$4 \$directories \$5
      - class: InplaceUpdateRequirement
        inplaceUpdate: true
      - class: InlineJavascriptRequirement
    stdout: ms_concat.log
    stderr: ms_concat_err.log