21 | | = MosBot Options = |
| 21 | = Mosbot Description = |
| 22 | |
| 23 | Mosbot does two things: |
| 24 | |
| 25 | - On startup: |
| 26 | * reads the `pass{1,2,3}.json` files given on the command line |
| 27 | * drops exposures that are meant to be taken before the current time |
| 28 | * writes an "overall" script for the night, `~/exec/mosbot/tonight.sh` |
| 29 | * writes "default" mini scripts for each exposure |
| 30 | |
| 31 | - Then: |
| 32 | * waits for new images to appear in the `$MOS3_DATA` directory |
| 33 | * when a new image appears: |
| 34 | * measures sky, seeing, and transparency from the image |
| 35 | * decides which pass number to observe in the upcoming exposures |
| 36 | * computes exposure times for the upcoming exposures |
| 37 | * overwrites the mini scripts for these upcoming exposures |
| 38 | |
| 39 | = Mosbot Options = |
33 | | = MosBot Description = |
34 | | |
35 | | Mosbot does two things: |
36 | | |
37 | | - On startup, it reads the `pass[123].json` files, drops exposures |
38 | | that are meant to be taken before the current time, for each exposure writes |
39 | | two little shell scripts in `~/exec/mosbot/`, and also writes a top-level script |
40 | | `~/exec/mosbot/tonight.sh`. |
41 | | It will write default exposure scripts for the whole night. By default these will be pass 2, using the exposure |
42 | | times given in the JSON files -- usually 80 seconds. You can change the default pass number with `--pass`, and |
43 | | the default exposure time with `--exptime`. For example, if you are restarting in the middle of the night and |
44 | | you know the conditions are pass 3, you might want to do this. These default exposures are what will run, at |
45 | | least until the first image is taken and appears on disk. After that, MosBot will be choosing the pass and |
46 | | exposure time. |
47 | | |
48 | | - It then starts waiting for new images to appear in the $MOS3_DATA |
49 | | directory. Whenever an image appears, it analyzes it and, based on |
50 | | the measured conditions (seeing, sky brightness, transparency), it |
51 | | decides which pass we should be running, and what our exposure times |
52 | | should be, and it overwrites the little shell scripts in `~/exec/mosbot/` to adjust the next few exposures. |
| 92 | |
| 93 | It will write default exposure scripts for the whole night. By default these will be pass 2, using the exposure |
| 94 | times given in the JSON files -- usually 80 seconds. You can change the default pass number with `--pass`, and |
| 95 | the default exposure time with `--exptime`. For example, if you are restarting in the middle of the night and |
| 96 | you know the conditions are pass 3, you might want to do this. These default exposures are what will run, at |
| 97 | least until the first image is taken and appears on disk. After that, Mosbot will be choosing the pass and |
| 98 | exposure time. |
| 99 | |
| 100 | |