Skip to content
Snippets Groups Projects
Select Git revision
  • f6455de7d4ca6718bd3dbf851b21ba0b478c979c
  • master default protected
  • L2SS-2407-swap-iers-caltable-monitoring-port
  • L2SS-2357-fix-ruff
  • sync-up-with-meta-pypcc
  • control-single-hba-and-lba
  • stabilise-landing-page
  • all-stations-lofar2
  • v0.39.7-backports
  • Move-sdptr-to-v1.5.0
  • fix-build-ubuntu
  • tokens-in-env-files
  • fix-build
  • L2SS-2214-deploy-cdb
  • fix-missing-init
  • add-power-hardware-apply
  • L2SS-2129-Add-Subrack-Routine
  • Also-listen-internal-to-rpc
  • fix-build-dind
  • L2SS-2153--Improve-Error-Handling
  • L2SS-2153-Add-Grpc-Gateway-support
  • remove-snmp-client
  • v0.52.3 protected
  • v0.52.3dev0 protected
  • 0.53.1dev0
  • v0.52.2-rc3 protected
  • v0.52.2-rc2 protected
  • v0.52.2-rc1 protected
  • v0.52.1.1 protected
  • v0.52.1 protected
  • v0.52.1-rc1 protected
  • v0.51.9-6 protected
  • v0.51.9-5 protected
  • v0.51.9-4 protected
  • v0.51.9-3 protected
  • v0.51.9-2 protected
  • v0.51.9-1 protected
  • v0.51.9 protected
  • v0.51.8 protected
  • v0.39.15-wsrttwo protected
  • v0.39.15-wsrt protected
41 results

comms_client.py

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    fetch_data.cwl 939 B
    id: fetchdata
    label: fetch_data
    class: CommandLineTool
    cwlVersion: v1.1
    inputs: 
      - id: surl_link
        type: string
        inputBinding:
          position: 0
        
    outputs: 
      - id: uncompressed
        type: Directory
        outputBinding:
          glob: 'out/*'
    baseCommand: 
     - 'bash'
     - 'fetch.sh'
    doc: 'Untar a compressed file'
    requirements:
      InlineJavascriptRequirement: {}
      InitialWorkDirRequirement:
        listing:
          - entryname: 'fetch.sh' 
            entry: |
              #!/bin/bash
              mkdir out
              cd out
              if [[ $1 == *"sara.nl"* ]]; then
                turl=`echo $1 | awk '{gsub("srm://srm.grid.sara.nl[:0-9]*","gsiftp://gridftp.grid.sara.nl"); print}'`
                echo "Downloading $turl with globus-url-copy"
                globus-url-copy $turl - | tar -xvf -
              else
                echo "Downloading $1 with srmcp"
                srmcp $1 file:////`pwd`/\$(basename $1)
                tar -xvf \$(basename $1)
              fi