Skip to content
Snippets Groups Projects

Parset for receiving LOFAR2 data with COBALT

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Jan David Mol

    Run using the following script:

    #!/bin/bash
    # Select which COBALT software to use
    #COBALT_DIR=/opt/lofar-versions/COBALT-Release-2023-04-11/
    COBALT_DIR=/home/mol/build/gnucxx11_2018_opt/installed/
    
    # kill old instances of outputProc (dont run as lofarsys!!!)
    for i in 1 2 3 4 5
    do
      ssh cpu0$i.cep4 killall outputProc
    done
    
    # start observation
    source $COBALT_DIR/lofarinit.sh
    cat <(startstopkeys.sh -s 10 -r 60) l2ts-bf.parset > l2ts-to-execute.parset
    runObservation.sh -A -B -F l2ts-to-execute.parset
    Edited
    l2ts-bf.parset 2.06 KiB
    # observation settings
    Cobalt.realTime=true
    Observation.ObsID=1
    
    # station settings
    Observation.VirtualInstrument.stationList=[CS001]
    Observation.antennaSet=HBA_ZERO
    Observation.bandFilter=HBA_110_190
    Observation.nrBeams=1
    Observation.nrBitsPerSample=8
    Observation.Beam[0].angle1=0.9293396119663939
    Observation.Beam[0].angle2=0.9525863067721763
    Observation.Beam[0].directionType=J2000
    Observation.Beam[0].subbandList=[40]
    
    # cobalt processing settings
    Cobalt.BeamFormer.nrPipelines=1
    Cobalt.BeamFormer.Pipeline[0].nrBeams=1
    Cobalt.BeamFormer.Pipeline[0].Beam[0].nrTiedArrayBeams=1
    Cobalt.BeamFormer.Pipeline[0].CoherentStokes.which=XXYY
    Cobalt.BeamFormer.Pipeline[0].CoherentStokes.nrChannelsPerSubband=1
    Cobalt.BeamFormer.Pipeline[0].CoherentStokes.timeIntegrationFactor=1
    
    # cobalt output
    Observation.DataProducts.Output_CoherentStokes.enabled=true
    Observation.DataProducts.Output_CoherentStokes.filenames=[L3000000_SAP000_B000_S0_P000_bf.h5, L3000000_SAP000_B000_S1_P000_bf.h5, L3000000_SAP000_B000_S2_P000_bf.h5, L3000000_SAP000_B000_S3_P000_bf.h5]
    Observation.DataProducts.Output_CoherentStokes.locations=[1000*CEP4:/data/L2TS-busyweek/]
    Observation.DataProducts.Output_CoherentStokes.storageClusterName=CEP4
    
    # use test system
    Cobalt.Nodes=[ cbt206_0, cbt206_1 ]
    
    # LOFAR2 configuration
    PIC.Core.CS001HBA0.RSP.receiver = cbt206_0
    PIC.Core.CS001HBA0.RSP.sources  = [udp+sdp:cbt206-10GB01.online.lofar:10011]
    PIC.Core.CS001HBA0.RSP.nrBeamletsPerBoard = 488
    PIC.Core.CS001HBA1.RSP.receiver = cbt206_0
    PIC.Core.CS001HBA1.RSP.sources  = [udp+sdp:cbt206-10GB01.online.lofar:10012]
    PIC.Core.CS001HBA1.RSP.nrBeamletsPerBoard = 488
    PIC.Core.CS001LBA.RSP.receiver  = cbt206_0
    PIC.Core.CS001LBA.RSP.sources   = [udp+sdp:cbt206-10GB01.online.lofar:10010]
    PIC.Core.CS001LBA.RSP.nrBeamletsPerBoard = 488
    
    # LOFAR configuration
    PIC.Core.CS001LBA.phaseCenter = [3826923.503, 460915.488, 5064643.517]
    PIC.Core.CS001HBA0.phaseCenter = [3826896.192, 460979.502, 5064658.231]
    PIC.Core.CS001HBA1.phaseCenter = [3826979.341, 460897.644, 5064603.217]
    
    Observation.referencePhaseCenter=[3826577.066, 461022.948, 5064892.786]
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment