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

LoSoTo.PrefactorXYoffset.cwl

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    LoSoTo.PrefactorXYoffset.cwl 1.22 KiB
    #!/usr/bin/env cwl-runner
    
    class: CommandLineTool
    cwlVersion: v1.0
    id: losoto_prefactor_xyoffset
    
    $namespaces:
      lofar: https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl
    
    requirements:
      InlineJavascriptRequirement:
        expressionLib:
          - { $include: utils.js}
      InitialWorkDirRequirement:
        listing:
          - entryname: 'parset.config'
            entry: $(get_losoto_config('PREFACTOR_XYOFFSET').join('\n'))
    
          - entryname: $(inputs.input_h5parm.basename)
            entry: $(inputs.input_h5parm)
            writable: true
    
    baseCommand: "losoto"
    
    arguments:
      - $(inputs.input_h5parm.basename)
      - parset.config
    
    hints:
      DockerRequirement:
        dockerPull: lofareosc/lofar-pipeline-ci:latest
    
    inputs:
      - id: input_h5parm
        type: File
        format: lofar:#H5Parm
      - id: soltab
        type: string
        doc: "Solution table"
      - id: chanWidth
        type: string
        doc: |
          the width of each channel in the data from which solutions were obtained. Can be
          either a string like "48kHz" or a float in Hz.
          
    outputs:
      - id: output_h5parm
        type: File
        format: lofar:#H5Parm
        outputBinding:
          glob: $(inputs.input_h5parm.basename)
    $schema:
      - https://git.astron.nl/eosc/ontologies/raw/master/schema/lofar.owl