Skip to content
Snippets Groups Projects
Select Git revision
  • a79fdefd6e280d9fcc4a31bb95c469b820ada354
  • master default protected
  • ingest_info
  • optimize_workflow
  • releases/v5.1 protected
  • releases/v5.1rc1 protected
  • reverse_versions
  • poppy_integration_v50
  • poppy_integration
  • 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.1
  • 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
33 results

fetch_data.cwl

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    transfer_solutions.cwl 2.51 KiB
    class: CommandLineTool
    cwlVersion: v1.1
    $namespaces:
      sbg: 'https://www.sevenbridges.com/'
    id: transfer_solutions
    baseCommand:
      - transfer_solutions.py
    inputs:
      - default: output.h5
        id: h5parm
        type: File
        inputBinding:
          position: 1
        doc: H5parm to which the solutions should be transferred.
      - id: refh5parm
        type:
          - File?
          - string?
        default: '$PREFACTOR_DATA_ROOT/solutions/3C48.h5'
        inputBinding:
          position: 0
          prefix: '--refh5parm'
        doc: Name of the h5parm from which the solutions should be transferred.
      - id: insolset
        type: string?
        inputBinding:
          position: 0
          prefix: '--insolset'
        doc: Name of the input h5parm solution set
      - id: outsolset
        type: string?
        inputBinding:
          position: 0
          prefix: '--outsolset'
        doc: Name of the output h5parm solution set
      - id: insoltab
        type: string?
        inputBinding:
          position: 0
          prefix: '--insoltab'
        doc: Name of the input h5parm solution set
      - id: outsoltab
        type: string?
        inputBinding:
          position: 0
          prefix: '--outsoltab'
        doc: Name of the output h5parm solution set
      - id: antenna
        type: string?
        inputBinding:
          position: 0
          prefix: '--antenna'
        doc: Regular expression of antenna solutions to be transferred
      - id: do_transfer
        type: boolean?
        inputBinding:
          position: 0
          prefix: '--do_transfer True'
        doc: Enable/disable the task
      - id: trusted
        type: string?
        inputBinding:
          position: 0
          prefix: '--trusted'
        doc: Comma-separated list of sources to be trusted
      - id: max_separation_arcmin
        type: float?
        inputBinding:
          position: 0
          prefix: '--max_separation_arcmin'
        doc: define the maximum seperation between pointing and model direction in arcmin
      - id: parset
        type: File?
        inputBinding:
          position: 0
          prefix: '--parset'
        doc: Parset for plotting diagnostic plots after transfer with LoSoTo
    outputs:
      - id: outh5parm
        type: File
        outputBinding:
          glob: $(inputs.h5parm.basename)
      - id: log
        type: File[]
        outputBinding:
          glob: 'transfer_solutions*.log'
      - id: plots
        type: File[]
        outputBinding:
          glob: "*.png"
    
    stdout: transfer_solutions.log
    stderr: transfer_solutions_err.log
    label: transfer_solutions
    hints:
      - class: DockerRequirement
        dockerPull: 'lofareosc/prefactor3-cwl'
    requirements:
      - class: InlineJavascriptRequirement
      - class: InitialWorkDirRequirement
        listing:
          - entry: $(inputs.h5parm)
            writable: true