Changes between Version 1 and Version 2 of DataTakingMainPage


Ignore:
Timestamp:
07/16/13 22:30:35 (11 years ago)
Author:
ftemme
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DataTakingMainPage

    v1 v2  
    1 == Data Taking Procedure - Main Page ==
     1= Data Taking Procedure - Main Page =
     2
     3**Remarks**
     4
     5* This is just a short introduction/summary for doing a shift. For more Information (and for becoming an expert) follow the links!!
     6* There are always changes to the system. Therefore please check this pages and the [shift](</logbook/forumdisplay.php?fid=5> "shift-forum") forum regularly.
     7* The system is being automatized more and more, but this doesn't mean that there is nothing to do anymore.<br> **Monitoring** the system is **very important**.
     8
     9== Datataking Check List ==
     10
     11
     12DataTakingCheckList: Check List for a whole shift.
     13Be aware that you have to read the following points also, not only the the Check list!
     14
     15----
     16
     17== Preparation ==
     18
     19Preparation before going on shift:
     20
     21- PreparationBeforeGoingOnShift
     22
     23Preparation before nightly shift
     24
     25- read ALL [[https://www.fact-project.org/logbook/forumdisplay.php?fid=2|logbook]] and [[https://www.fact-project.org/logbook/forumdisplay.php?fid=5|shift]] forum entries
     26- start well in advance so that you still have time to contact the experts in case of problems or questions
     27
     28----
     29
     30== Logbook entries ==
     31
     32=== Shift summary ===
     33
     34The shift summary (first entry) has to contain the following information:
     35
     36- contact details
     37- planned schedule
     38- achieved schedule
     39- problems
     40- ORM alerts
     41
     42TemplateShiftSummary
     43
     44[spoiler="Template for the shift summary"]
     45
     46[code="html"]
     47[b]On shift:[/b] xxx (local) xxx(remote)
     48[b]contact during shift:[/b]
     49
     50| | xxx | xxx |
     51| :-: | :-: | :-: |
     52| Skype: | xxx | xxx |
     53| Fon (Landline)| | |
     54| Fon (mobile)| +xx | +xx |
     55| Email| xx@xx.xx | xx@xx.xx |
     56
     57| __Task__ | __Schedule Planned (UTC):__ | __Schedule Achieved (UTC):__ |
     58| :-: | :-: | :-: |
     59|    |    |    |
     60|    |    |    |
     61
     62
     63[b]Orm Alerts:[/b]
     64- possible Orm Alerts
     65
     66[b]Problems:[/b]
     67- list of problems
     68[/code]
     69[/spoiler]
     70
     71=== Datataking entries ===
     72
     73General remarks:
     74
     75- please fill the logbook in realtime, i.e. the entries should have the correct time stamps for better traceability of problems - otherwise, please note the time stamp when something happened
     76- __problems / information for single runs have to be inserted in the [[https://www.fact-project.org/run_db/db/run_comment.php|run-comment DB]]__
     77 - these are for example:
     78 - fad losses
     79 - tracking stops
     80 - car flash
     81- make a single entry for every measurement you do (one entry for every source, for every technical measurement ...)
     82- insert following informations
     83 - weather: skybrightness, clouds, calima, ... i.e. any information that cannot be retrieved from the auxiliary files
     84 - write down how long what take and how much time you loose by treating problems
     85 - any problem with hardware or software, therefore write down exactly what you did
     86 - please report also mistakes or missing information in the manuals so that they can be fixed/added
     87
     88TemplateNormalDatatakingSet
     89
     90[spoiler="Template for a normal Datataking Set"]
     91[code="html"]
     92__Crab__
     93
     94| __Wobble Position__ | runs  | comments | Clouds and all sky pictures |
     95|:----:|:---:|:-------:|:--------:|
     96|  1  |   |   |   |
     97|  2  |   |   |   |
     98|  1  |   |   |   |
     99|  2  |   |   |   |
     100|  1  |   |   |   |
     101|  2  |   |   |   |
     102|  1  |   |   |   |
     103|  2  |   |   |   |
     104
     105[u]Problems[/u]
     106- problem 1
     107 - details
     108 - solution
     109- problem 2
     110- ...
     111[/code]
     112[/spoiler]
     113
     114You can find the list of the runs taken at: https://www.fact-project.org/smartfact/#observations
     115
     116[spoiler="Template for quoting logfiles"]
     117[code="html"]
     118[quote='program/log file']
     119~~~
     120this is an example for log file text which will be nicely formated with the three tildes around
     121~~~
     122[/quote]
     123[/code]
     124[/spoiler]
     125
     126----
     127
     128== Startup ==
     129
     130- open Smartfact
     131- open the gtc-skycamera image and the weather station of Magic (see www.fact-project.org)
     132- open a ssh-connection to newdaq to submit scripts
     133- open the page http://www.fact-project.org/showlog/index.php (for checking the logfiles) <br> different logs can be checked by adding the name of the program, e.g. http://www.fact-project.org/showlog/?log=dimserver or https://www.fact-project.org/showlog/?log=magiclidar (use your own account for this and not the fact user!)
     134-  [[https://www.fact-project.org/logbook/showthread.php?tid=828|Introduction for a VPN session]] gives a helpful introduction for a VPN session to La Palma
     135
     136the following steps are not really needed anymore:
     137(you might just need it in case of problems)
     138
     139- connect to the screen session on newdaq. See ScreenSessionHelpfulCommands for a list of helpful commands for screen sessions)
     140- open VNC-session :04 on gui and VNC-session :02 on aux
     141 - start GUI (if not already running): FACT++/factGL
     142
     143Schedule
     144
     145- edit ~/FACT++/operation/scripts/schedule.js
     146 - you can find the formate of the schedule in the ScheduleTemplate
     147 - don't forget to change the date of the observation tasks
     148 - you can add several task to one observation, for example a ratescan following by normal datataking
     149 - if you specify the coordinate, notice: ra is in decimal hours and dec in decimal degree
     150
     151Planning the schedule:
     152
     153- fill the schedule according to the thread "observations (month JJJJ)" in the [[https://www.fact-project.org/logbook/forumdisplay.php?fid=5|shift]] forum
     154- use the [[https://fact-project.org/scheduling/scheduling.php|visibility and current prediction plots]] to plan the sources to observe
     155- for finding a good position for a ratescan, you can use software planetariums like stellarium or KStars
     156 - good position for a ratescan: zd < 10°, no bright star in the field of view
     157
     158[spoiler="Template for schedule.js"]
     159
     160[code="cpp"]
     161var observations =
     162[
     163 { date:"2013-03-13 19:44 UTC", observations:
     164     [
     165      { task:'startup' }
     166     ]
     167 },
     168
     169 { date:"2013-03-13 19:50 UTC", observations:
     170     [
     171      { task:'data', source:'Crab' }
     172     ]
     173 },
     174
     175 { date:"2013-03-13 23:58 UTC", observations:
     176     [
     177      { task:'ratescan', ra:9.438888, dec:29.0 },
     178      { task:'data',     source:'Crab'        }
     179     ]
     180 },
     181
     182 { date:"2013-03-14 00:45 UTC", observations:
     183     [
     184      { task:'ratescan', ra:11.26888888, dec:28.4477777 },
     185      { source:'Mrk 421'}
     186     ]
     187 },
     188
     189 { date:"2013-03-14 03:30 UTC", observations:
     190     [
     191      { source:'Mrk 501'}
     192     ]
     193 },
     194
     195 { date:"2013-03-14 06:30 UTC", observations:
     196     [
     197      { task:'shutdown'}
     198     ]
     199 },
     200
     201];
     202
     203[/code]
     204
     205[/spoiler]
     206
     207**Remark**: When there is not first-drs-calib until the start of astronomical twilight, please skip it (i.e. the single pe run), as data taking has first priority.
     208
     209Startup procedure:
     210
     211- start dimctrl client in any terminal: [i]/home/fact/operation/[b]dimctrl[/b][/i]
     212   - PWR_CONTROL/TOGGLE_DRIVE
     213   - DRIVE_CONTROL/UNLOCK
     214   - stop dimctrl: .q
     215- insert schedule to database: in /home/fact/operation : dimctrl --quit --cmd ".js scripts/updateSchedule.js"
     216- Start TPoint-camera
     217   - visit the page 10.0.100.230 from the La Palma Network
     218   - Login and start the TPoint Camera
     219- Check status of the Telescope in the TPoint Camera and the [[https://fact-project.org/cam/index.php|IR Camera]]
     220
     221----
     222
     223== Datataking ==
     224
     225- start Datataking script from a bash with following command in FACT++:
     226 - dimctrl --start scripts/Main.js
     227- don't forget to write the corresponding logbook entries and the comments in the run-comment DB
     228- if you have to start a dim-script for yourself, call it with following command from a bash:
     229 - dimctrl --batch ScriptsForDimCtrl/<scriptname>.dim
     230- For details of the different steps of the datataking, see the [[datatakingdetails datataking details]]
     231 - be aware that all steps mentioned in the datataking details are currently proceeded by the scripts
     232 - the datataking details contain the archive of the datataking procedures
     233
     234**Remark**: Please have in mind that **datataking has first priority**, i.e. first restart the script, then do the logbook entry.
     235
     236----
     237
     238== Trouble Shooting ==
     239
     240- [b]never[/b] stop a not hanging program with ctrl+c
     241 - when a restart of the program is really necessary use .q instead
     242 - restarting a program is in most cases not a solution and only increase the risk to trigger more problems. So avoid restarting programs as long as possible
     243- TroubleShooting
     244
     245Most common problems:
     246
     247- [[troubleshooting#tsfadloss FAD losses]]
     248- [[troubleshooting#tsdrivectrl Drive Error ]]
     249
     250----
     251
     252== Shutdown ==
     253
     254- After the shutdown task in the schedule was proceeded you have to do the the following task to finish the shutdown:
     255- stop datataking script with following command from a bash:
     256 - dimctrl --stop
     257- in dimctrl: PWR_CONTROL/TOGGLE_DRIVE
     258- make sure that
     259 - the bias is off and disconnected
     260 - the trigger is off
     261 - the lid is closed
     262 - the telescope is parked
     263 - all parts of the ShutdownProcedure are proceeded correctly