Changes between Version 42 and Version 43 of HetProcedures/RA/lrs2


Ignore:
Timestamp:
Mar 17, 2016 11:04:35 PM (8 years ago)
Author:
shetrone
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HetProcedures/RA/lrs2

    v42 v43  
    6767=== Calibration Script
    6868
    69 A prototype calibration script is available that can calibrate VIRUS and LRS2.  This script attempts to expose all known supported FCU configurations as well as darks and biases.  The console output of the script provides a log of the calibration process so it is recommended to capture the output to a log file via tee.   Run this from mcs home directory and at the end of the night scp the lrs-cal.log to the lrs2 nightly working directory /opt/data/YYYYMMDD.
     69A prototype calibration script is available that can calibrate VIRUS and LRS2.  This script attempts to expose all known supported FCU configurations as well as darks and biases.  The console output of the script provides a log of the calibration process so it is recommended to capture the output to a log file via tee.   Run this from mcs home directory and at the end of the night scp the lrs-cal.YYYYMMDD.log to the lrs2 nightly working directory /opt/data/YYYYMMDD/.
     70
     71Almost all of the time the command below is what we should do for the standard cals.      For the standard cals at the end of the night change the observation number (the -o) rounding up to the next 100.   For example if the last science exposure was -o 287 then use -o 301 for the end of night calibrations.
    7072
    7173For BASH shell
     
    7375#!div style="font-size: 80%"
    7476  {{{#!bash
    75   $ rm cal.py.db; $HET_SRC_ROOT/integration/cal.py -i lrs2  -l lamp1a lamp1b lamp5b ldls -o 101 -n 11  2>&1 | tee lrs-cal.log
     77  $ rm cal.py.db; $HET_SRC_ROOT/integration/cal.py -i lrs2  -l lamp1a lamp1b lamp5b ldls -o 101 -n 11  2>&1 | tee lrs-cal.YYYYMMDD.log
    7678  }}}
    7779}}}
     
    8183#!div style="font-size: 80%"
    8284  {{{#!bash
    83   $ rm cal.py.db; $HET_SRC_ROOT/integration/cal.py -i lrs2  -l lamp1a lamp1b lamp5b ldls -o 101 -n 11 |& tee lrs-cal.log
     85  $ rm cal.py.db; $HET_SRC_ROOT/integration/cal.py -i lrs2  -l lamp1a lamp1b lamp5b ldls -o 101 -n 11 |& tee lrs-cal.YYYYMMDD.log
    8486  }}}
    8587}}}
    8688
    8789NB
    88 - run one lamp at a time for now
    8990- in case of any problem try to get hardware status of instruments.
    9091  if got problem try to kill and start camra_server on lrs2
     
    220221=== Transfer of data ===
    221222
    222 cp the lrs-cal.log to to the lrs2 nightly working directory /opt/data/YYYYMMDD via
    223 
    224 {{{scp lrs-cal.log hetdex@lrs2:/opt/data/YYYYMMDD }}}
    225 
    226 Then remove the lrs-cal.log local copy on mcs.
     223cp the lrs-cal.YYYYMMDD.log to to the lrs2 nightly working directory /opt/data/YYYYMMDD via
     224
     225{{{scp lrs-cal.YYYYMMDD.log hetdex@lrs2:/opt/data/YYYYMMDD/ }}}
     226
     227Then remove the lrs-cal.YYYYMMDD.log local copy on mcs.
    227228
    228229Transfer the nightly working directory data to austin from the lrs2 machine as hetdex:
     
    231232scp -r /opt/data/YYYYMMDD hetdex@maverick.tacc.utexas.edu:/work/03946/hetdex/maverick/2016/LRS2
    232233then move the data to the local archive
    233 mv /opt/data/YYYYMMDD /data1/archive/images/2016/LRS2
    234 }}}
    235 
     234mv /opt/data/YYYYMMDD /data1/archive/images/2016/LRS2/
     235}}}
     236