Skip to content
Snippets Groups Projects
Select Git revision
  • 17402f6e35145eb904386ef8287c5c343e247c3b
  • main
  • sar-277-update-docs-with-examples-for-lrc
  • st-946-automate
  • sar_302-log-fix
  • sar-287_subarray_commands_to_lrc
  • sar_302-POC_await_sub_device_state
  • sat_302_fix_pipelines
  • sar-286_lrc_one_subarry_command
  • sar-286_lrc_improvements
  • sar-288-async-controller
  • sar-276-combine-tango-queue
  • sar-255_remove_nexus_reference
  • sar-275-add-LRC
  • sar-273-add-lrc-attributes
  • sar-272
  • sp-1106-marvin-1230525148-ska-tango-base
  • sp-1106-marvin-813091765-ska-tango-base
  • sar-255/Publish-package-to-CAR
  • mccs-661-device-under-test-fixture
  • mccs-659-pep257-docstring-linting
  • 0.11.3
  • 0.11.2
  • 0.11.1
  • 0.11.0
  • 0.10.1
  • 0.10.0
  • 0.9.1
  • 0.9.0
  • 0.8.1
  • 0.8.0
  • 0.7.2
  • 0.7.1
  • 0.7.0
  • 0.6.6
  • 0.6.5
  • 0.6.4
  • 0.6.3
  • 0.6.2
  • 0.6.1
  • 0.6.0
41 results

SKAMaster_test.py

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