Skip to content
Snippets Groups Projects
Select Git revision
  • 2c9a14576135d0d24f31a239447ec387030b5d4a
  • master default protected
  • control-single-hba-and-lba
  • L2SS-2407-swap-iers-caltable-monitoring-port
  • L2SS-2357-fix-ruff
  • sync-up-with-meta-pypcc
  • 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
  • 0.53.1dev1
  • v0.52.3-r2 protected
  • 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
41 results

run_integration_test.sh

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    extract_sip_meta.cwl 2.25 KiB
    class: CommandLineTool
    cwlVersion: v1.1
    id: inspect_flagging_dataloss
    baseCommand:
      - bash
      - script.sh
    inputs:
      - id: msin
        type: Directory
        inputBinding:
          position: 0
      - id: compressed_file
        type: File
        inputBinding:
          position: 1
    outputs:
      - id: ingest
        type: Any
        outputBinding:
          glob: metadata.json
          loadContents: True
          outputEval: |
            ${
              return JSON.parse(self[0].contents)
             }
    label: inspect_flagging_dataloss
    hints:
      - class: DockerRequirement
        dockerPull: git.astron.nl:5000/ldv/imaging_compress_pipeline:v0.5.18
      - class: NetworkAccess
        networkAccess: true
    
    requirements:
      - class: InlineJavascriptRequirement
      - class: InitialWorkDirRequirement
        listing:
         - entryname: pipeline_info.json
           entry: |
            {
                "pipelineRun": {
                "_type": "AveragingPipeline",
                "demixing": "false",
                "pipelineName": "compress_pipeline",
                "strategyName": "Compression pipeline",
                "pipelineVersion": "v0.3.0",
                "strategyDescription": "Compression with system issues fix",
                "timeIntegrationStep": "1",
                "flagAutoCorrelations": "true",
                "frequencyIntegrationStep": "1",
                "numberOfCorrelatedDataProducts": "1"
              }
             }
         - entryname: dataproduct.json
           entry: |
             {
                "dataProduct":
                  {
                    "fileName": $(inputs.compressed_file.basename),
                    "size": $(inputs.compressed_file.size),
                    "fileFormat": "AIPS++/CASA",
                  }
             }
         - entryname: script.sh
           entry: |
             md5=`md5sum $2 | awk '{ print $1 }'`
             cat > md5_sum.json << EOF
             {
                 "dataProduct":
                   {
                     "fileName": $(inputs.compressed_file.basename),
                     "size": $(inputs.compressed_file.size),
                     "md5checksum": $md5
                   }
             }
             EOF
             lofar_sip_from_ms.py --json metadata.json $1
             lofar_sip_merge.py metadata.json pipeline_info.json --json metadata.json
             lofar_sip_merge.py metadata.json dataproduct.json --json metadata.json
             lofar_sip_merge.py metadata.json md5_sum.json --json metadata.json