1 | 'use strict';
|
---|
2 |
|
---|
3 |
|
---|
4 | // This list of objects is currently used by Main.js
|
---|
5 | // to build up the nightly schedule for FACT.
|
---|
6 | //
|
---|
7 | // one can define some 'tasks' like: "STARTUP", "SHUTDOWN", "RATESCAN" and "DATA"
|
---|
8 | // for the latter two, one should define a 'source' parameter as well.
|
---|
9 | // This must be a string which is contained in FACTs list of sources.
|
---|
10 | // The Ratescan can as well get ra and dec coordinates
|
---|
11 | // In case one does not specify a task "DATA" is assumed.
|
---|
12 | // example:
|
---|
13 | /*
|
---|
14 | var observations = [
|
---|
15 | { date:"2013-01-09 21:05 UTC", task:'startup' },
|
---|
16 | { date:"2013-01-09 21:20 UTC", task:'ratescan', source:'Dark Patch 3' },
|
---|
17 | { date:"2013-01-09 21:21 UTC", source:'Crab'},
|
---|
18 | { date:"2013-01-10 04:44 UTC", task:'ratescan', source:'Dark Patch 3'},
|
---|
19 | { date:"2013-01-10 04:45 UTC", task:'data', source:'Mrk 421'},
|
---|
20 | { date:"2013-01-10 04:44 UTC", task:'ratescan', ra:3.1415, dec:3.1415},
|
---|
21 | { date:"2013-01-10 04:44 UTC", task:'shutdown'} ];
|
---|
22 | */
|
---|
23 |
|
---|
24 | // technical information.
|
---|
25 | // the objects (i.e. the stuff in curly braces {})
|
---|
26 | // in this list are used to create
|
---|
27 | // instances of Observation-objects as defined in Object_class.js
|
---|
28 | // so in case one is interested details of this interface, that is
|
---|
29 | // the place to look.
|
---|
30 |
|
---|
31 | var observations = [
|
---|
32 | { date:"2013-01-13 19:05 UTC", task:'startup' },
|
---|
33 | { date:"2013-01-13 19:10 UTC", task:'data', source:'Crab'},
|
---|
34 | { date:"2013-01-13 23:50 UTC", task:'ratescan', source:'Dark Patch 3' },
|
---|
35 | { date:"2013-01-14 00:00 UTC", task:'data', source:'Crab'},
|
---|
36 | { date:"2013-01-14 04:30 UTC", task:'data', source:'Mrk 421'},
|
---|
37 | { date:"2013-01-14 07:10 UTC", task:'shutdown'} ];
|
---|
38 | // { date:"2013-01-10 04:44 UTC", task:'ratescan', source:'Dark Patch 3'},
|
---|
39 | // { date:"2013-01-10 04:45 UTC", task:'data', source:'Mrk 421'},
|
---|
40 | // { date:"2013-01-10 04:44 UTC", task:'ratescan', ra:3.1415, dec:3.1415},
|
---|
41 | // { date:"2013-01-10 04:44 UTC", task:'shutdown'} ];
|
---|
42 |
|
---|