Changes between Initial Version and Version 1 of PublicPages/MayallZbandLegacy/NotesforObservers/MosBot


Ignore:
Timestamp:
Feb 8, 2016 10:41:29 AM (9 years ago)
Author:
Dustin Lang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • PublicPages/MayallZbandLegacy/NotesforObservers/MosBot

    v1 v1  
     1= MosBot =
     2
     3Mosbot is a python program that tries to adjust our observing scripts
     4to adapt to changing conditions through the night.
     5
     6Run it by logging in to the *mzls@mayall-idl* machine and then running:
     7{{{
     8cd ~/obsbot
     9python mosbot.py <pass1.json> <pass2.json> <pass3.json>
     10}}}
     11you will need to keep that window open, because you want mosbot to keep running all night.
     12"pass[123].json" are the 'plan' or 'JSON' files that Arjun should have given you;
     13they contain lists of exposures we want to take depending on what the conditions are doing.
     14It is probably most convenient to run mosbot from a Terminal window on the mayall-2 display.
     15You don't need to read any of the output it produces, but you should check periodically
     16that it is still running; the code is under development and some bugs remain.
     17
     18
     19Mosbot does two things:
     20
     211. On startup, it reads the *pass[123].json* files, drops exposures
     22that should happen before the current time, for each exposure writes
     23two little shell scripts, and also writes a top-level script
     24*/mosaic3/exec/mosbot/tonight.sh*
     25
     262. It then starts waiting for new images to appear in the $MOS3_DATA
     27directory.  Whenever an image appears, it analyzes it and, based on
     28the measured conditions (seeing, sky brightness, transparency), it
     29decides which pass we should be running, and what our exposure times
     30should be, and it overwrites the next few scripts.
     31
     32
     33
     34
     35
     36
     37
     38