Changes between Version 186 and Version 187 of PublicPages/MayallZbandLegacy/NotesforObservers


Ignore:
Timestamp:
Feb 4, 2017 6:24:53 PM (7 years ago)
Author:
Benjamin Alan Weaver
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PublicPages/MayallZbandLegacy/NotesforObservers

    v186 v187  
    340340=== 10 Observe - all night long! ===
    341341
    342 1. From the mzls@mayall-idl window, generate the top-level observing script (tonight.sh) assuming that we have three plan files named pass1.json, etc.
    343 {{{
    344    cd ~/obsbot
    345    python mosbot.py pass1.json pass2.json pass3.json
    346 }}}
    347 This will start the [wiki:MayallZbandLegacy/NotesforObservers/MosBot mosbot] script, which will watch the $MOS3_DATA directory for new images, analyze them, and update FUTURE exposure scripts, choosing the pass number and setting the exposure time.
    348 
    349 '''The exposure script behavior can be modified by creating or removing various files in the
    350 exec/mosbot/ directory on mosaic3 (nocs xterm).'''
    351 
    352 If the conditions look marginal, and you only want to run with pass3, say, just create an empty "forcepass3" file in the `~/exec/mosbot/` directory:
    353 {{{
    354    cd ~/exec/mosbot
    355    touch forcepass3
    356 }}}
    357 
    358 If you want to allow only pass 2, then use:
    359 {{{
    360    cd ~/exec/mosbot
    361    touch forcepass2
    362 }}}
    363 
    364 If you want to allow only pass 1, then use:
    365 {{{
    366    cd ~/exec/mosbot
    367    touch forcepass1
    368 }}}
    369 (though pass1 should not have to be forced if conditions are good!)
    370 
    371 If you want to allow only pass 2 and pass 3, then use:
    372 {{{
    373    cd ~/exec/mosbot
    374    touch nopass1
    375 }}}
    376 
    377 Mosbot checks for these files in the order: `forcepass 1,2,3` then `nopass1`.
    378 
    379 **Force files are not removed by `tonight.sh` or `mosbot.py`, so remove them manually to revert or change mosbot's behavior. **
    380 
    381 For more options with mosbot, see [wiki:MayallZbandLegacy/NotesforObservers/MosBot]
    382 
    383 Note that if you need to escape the script at some point during the night (see below), you will need to CTRL-C to stop mosbot.py and **restart** it when you are ready to start up again.  If you forget this, you will be observing tiles that you already observed earlier in the night.
    384 
    385 2. From the observer@mosaic3 xterm window, start taking exposures using the top-level observing script (tonight.sh):
    386 {{{
    387    cd ~/exec/mosbot
    388    ./tonight.sh
    389 }}}
    390 
    391 3. [wiki:MayallZbandLegacy/NotesforObservers/Copilot "copilot"] should already be running. If not, start running "copilot" in the mayall-idl VNC window. Copilot keeps a beautiful running plot of observing conditions.  From any mzls@mayall-idl window:
    392 {{{
    393    cd ~/obsbot
    394    python copilot.py
    395 }}}
    396 
    397 Whenever a new image is detected in the data directory (as defined by $MOS3_DATA), a new image is generated as `~/obsbot/recent.png`.
    398 
    399 See [wiki:MayallZbandLegacy/NotesforObservers/Copilot]
    400 
    401 4. Monitor focus by checking the image quality on each frame or keeping an eye on the mosstat PSF display. Keep track of the truss temperature variation and use the information to modify  the focus as needed. Note that the focus may not respond quickly to changes in temperature, so monitor the images carefully before adjusting focus.  The Mayall has astigmatism, so one can sometimes tell from the shape of the images which way to move the focus.  To stop and do a focus sequence:
    402 - Create a file to tell tonight.sh to quit. On mosaic3:
    403 {{{
    404    touch ~/exec/mosbot/quit
    405 }}}
    406 - Wait for the current exposure to complete (at which point the above file is automatically removed).
    407 - CTRL-C the mosbot.py session on mayall-idl.
    408 - Run a focus sequence (see link below for instructions).
    409   - [wiki:MayallZbandLegacy/NotesforObservers/FocusInfo Example of a focus sequence]
    410 - Re-start the observing as described above.  **IMPORTANT** make sure to re-run `mosbot.py` so that you don’t repeat exposures from the beginning of the night!
    411 
    412 5. If one wants to know where on the footprint the images being taken are, in real time:
    413 {{{
    414      mayall-idl> cd ~/obsbot
    415      mayall-idl> eog radec.png &
    416 }}}
    417 which auto-update the display when the radec.png is overwritten.
    418 
    419 Keep an eye on the CCD and dewar temps (should be around 173K and 90K respectively)
    420 
    421 OK - you are off and running! Congratulations!!!
     342==== Routine Observations ====
     343
     344 1. From the mzls@mayall-idl window, generate the top-level observing script (tonight.sh) assuming that we have three plan files named pass1.json, etc.
     345    {{{
     346cd ~/obsbot
     347python mosbot.py pass1.json pass2.json pass3.json
     348    }}}
     349    This will start the [wiki:MayallZbandLegacy/NotesforObservers/MosBot mosbot] script, which will watch the $MOS3_DATA directory for new images, analyze them, and update FUTURE exposure scripts, choosing the pass number and setting the exposure time. '''The exposure script behavior can be modified by creating or removing various files in the  exec/mosbot/ directory on mosaic3 (nocs xterm).'''
     350    * If the conditions look marginal, and you only want to run with pass3, say, just create an empty "forcepass3" file in the `~/exec/mosbot/` directory:
     351      {{{
     352cd ~/exec/mosbot
     353touch forcepass3
     354      }}}
     355    * If you want to allow only pass 2, then use:
     356      {{{
     357cd ~/exec/mosbot
     358touch forcepass2
     359      }}}
     360    * If you want to allow only pass 1, then use:
     361      {{{
     362cd ~/exec/mosbot
     363touch forcepass1
     364      }}}
     365      (though pass1 should not have to be forced if conditions are good!)
     366    * If you want to allow only pass 2 and pass 3, then use:
     367      {{{
     368cd ~/exec/mosbot
     369touch nopass1
     370      }}}
     371      Mosbot checks for these files in the order: `forcepass 1,2,3` then `nopass1`.
     372    * Force files are not removed by `tonight.sh` or `mosbot.py`, so remove them manually to revert or change mosbot's behavior.
     373    * For more options with mosbot, see [wiki:MayallZbandLegacy/NotesforObservers/MosBot]
     374
     375    Note that if you need to escape the script at some point during the night (see below), you will need to CTRL-C to stop mosbot.py and **restart** it when you are ready to start up again.  If you forget this, you will be observing tiles that you already observed earlier in the night.
     376 1. From the observer@mosaic3 xterm window, start taking exposures using the top-level observing script (tonight.sh):
     377    {{{
     378cd ~/exec/mosbot
     379./tonight.sh
     380    }}}
     381 1. [wiki:MayallZbandLegacy/NotesforObservers/Copilot "copilot"] should already be running. If not, start running "copilot" in the mayall-idl VNC window. Copilot keeps a beautiful running plot of observing conditions.  From any mzls@mayall-idl window:
     382    {{{
     383cd ~/obsbot
     384python copilot.py
     385    }}}
     386    Whenever a new image is detected in the data directory (as defined by $MOS3_DATA), a new image is generated as `~/obsbot/recent.png`. See [wiki:MayallZbandLegacy/NotesforObservers/Copilot]
     387 1. Monitor focus by checking the image quality on each frame or keeping an eye on the mosstat PSF display. Keep track of the truss temperature variation and use the information to modify  the focus as needed. Note that the focus may not respond quickly to changes in temperature, so monitor the images carefully before adjusting focus.  The Mayall has astigmatism, so one can sometimes tell from the shape of the images which way to move the focus.  To stop and do a focus sequence:
     388    - Create a file to tell tonight.sh to quit. On mosaic3:
     389      {{{
     390touch ~/exec/mosbot/quit
     391      }}}
     392    - Wait for the current exposure to complete (at which point the above file is automatically removed).
     393    - CTRL-C the mosbot.py session on mayall-idl.
     394    - Run a focus sequence (see link below for instructions).
     395      - [wiki:MayallZbandLegacy/NotesforObservers/FocusInfo Example of a focus sequence]
     396    - Re-start the observing as described above.  **IMPORTANT** make sure to re-run `mosbot.py` so that you don’t repeat exposures from the beginning of the night!
     397 1. If one wants to know where on the footprint the images being taken are, in real time:
     398    {{{
     399mayall-idl> cd ~/obsbot
     400mayall-idl> eog radec.png &
     401    }}}
     402    which auto-update the display when the radec.png is overwritten.
     403 1. Keep an eye on the CCD and dewar temps (should be around 173K and 90K respectively)
     404 1. OK - you are off and running! Congratulations!!!
    422405
    423406==== If you have problems ... ====
     
    433416From an IDL prompt, use the MOSSTAT routine to analyze the latest image on disk:
    434417{{{
    435    IDL> mosstat
     418IDL> mosstat
    436419}}}
    437420There are keyword options that allow you to choose different exposure numbers or CCDs
    438421within that exposure.  For example, to analyze chip 'im16' of the exposure number 12345, type:
    439422{{{
    440    IDL> mosstat, 12345, ext='im16'
     423IDL> mosstat, 12345, ext='im16'
    441424}}}
    442425The full documentation can be seen with:
    443426{{{
    444    IDL> doc_library,'mosstat'
     427IDL> doc_library,'mosstat'
    445428}}}
    446429To just have mosstat run continuously whenever each image appears, use
    447430{{{
    448    IDL> mosstat_continuous
     431IDL> mosstat_continuous
    449432}}}
    450433
     
    452435==== Please write useful human logs ====
    453436
    454 Keep a log about weather conditions, which pass you observed,
    455 and telescope problems.  Follow the example on the pages at [wiki:MayallZbandLegacy/ObservingLogs] .
     437Keep a log about weather conditions, which pass you observed, and telescope problems.  Follow the example on the pages at [wiki:MayallZbandLegacy/ObservingLogs] .
    456438
    457439Catastrophically bad frames (such as saturated frames, or where the telescope moved) are recorded and svn-checked-in to