wiki:ScheduleTemplate

Version 5 (modified by ftemme, 11 years ago) ( diff )

--

Back to DataTakingMainPage

Template for schedule.js

var observations =
[
 { date:"2013-03-13 19:44 UTC", measurements:
     [
      { task:'startup' }
     ]
 },

 { date:"2013-03-13 19:50 UTC", measurements:
     [
      { task:'data', source:'Crab' }
     ]
 },

 { date:"2013-03-13 23:58 UTC", measurements:
     [
      { task:'ratescan', ra:9.438888, dec:29.0 },
      { task:'data',     source:'Crab'        }
     ]
 },

 { date:"2013-03-14 00:45 UTC", measurements:
     [
      { task:'ratescan', ra:11.26888888, dec:28.4477777 },
     ]
 },

 { date:"2013-03-14 03:30 UTC", measurements:
     [
      { task:'singlepe'},
      { task:'data', source:'Mrk 501' }
     ]
 },

 { date:"2013-03-14 06:30 UTC", measurements:
     [
      { task:'shutdown'}
     ]
 },

];
  • // are used for comments
  • the date of a observation block can be either specified directly or with now:
    • { date:"2013-03-14 03:30 UTC", measurements:
    • { date:"now", measurements:
  • if you need a task, where nothing is done (for example if you are waiting for better weather or decreasing currents you can use the task idle:
    • { task:'idle'},
Note: See TracWiki for help on using the wiki.