SPACER

Phase 1 Time Constraints Help

Time constraints can be defined on the level of each observing run using a textual language. The textual syntax, semantics and graphical visualisation of this language are defined below.

Absolute Time Interval

Definition

A [from .. to] time interval in which observations have to take place.

  • from and to are in UT time and must be given in the format YYYY-MM-DDTHH:MM
  • An optional priority in the range [1..9] can be specified which defaults to 1.
  • An optional free text comment can be specified.
  • Either from or to can be omitted.

Syntax
  • between(from, to, priority, comment)
  • before(to, priority, comment)
  • after(from, priority, comment)
between(2018-10-13T12:00, 2018-10-16T12:00, 3, "a comment")
2018-10-13T12:00Absolute Time Interval2018-10-16T12:00
Prio 3
a comment
before(2018-10-16T12:00, 2, "a comment")
anytimeAbsolute Time Interval2018-10-16T12:00
Prio 2
a comment
after(2018-10-13T12:00, 1, "a comment")
2018-10-13T12:00Absolute Time Interval
Prio 1
a comment

Alternatives of Absolute Time Intervals

Definition

Several Absolute Time Constraints can be declared as exclusive (!) alternatives using keyword or, meaning that observations must be carried out entirely in a single one of the or'd ATIs.

Syntax

Any or'ed combination of before(...),  after(...),   between(...)

  • before(...) or after(...)
  • between(...) or between(...)
  • between(...) or before(...) or after(...)
between(2018-10-01T12:00, 2018-10-16T12:00, 1) or after(2018-12-24T12:00, 2)

Alternatives

2018-10-01T12:00Absolute Time Interval2018-10-16T12:00
Prio 1
 
OR
2018-12-24T12:00Absolute Time Interval
Prio 2
 

Options of Absolute Time Intervals and Alternatives

Definition

Absolute Time Intervals or Alternatives can be declared as options by comma-separating them, meaning that the requested observation time can be distributed over any combination of these.

Syntax
  • between(...), between(...), after(...)
  • before(...) or after(...), between(...)
between(2018-10-01T12:00, 2018-10-16T12:00, 1) or between(2018-12-24T12:00, 2018-12-28T12:00, 2), after(2019-01-15T12:00, 3)
Options
Alternatives
2018-10-01T12:00Absolute Time Interval2018-10-16T12:00
Prio 1
 
OR
2018-12-24T12:00Absolute Time Interval018-12-28T12:00
Prio 2
 
2019-01-15T12:00Absolute Time Interval
Prio 3
 

Fixed-Length Time Interval

Definition

Observations in a Fixed-Length Time Interval can start anytime, but once started, must finish within the specified length of time in units of days.

Syntax
  • within(duration)
within(10)
Fixed-Length Time Interval · 10 days
 

Block of Observation (BLOB)

Definition

A continuous, uninterrupted time interval in which observations must take place, with a duration given in

  • fraction of a night in visitor mode, i.e. 0.1n .. 1.0n
  • hours in service mode, i.e. 0.1h .. 10.0h
and an optional alignment, i.e. (b)eginning, (m)iddle, (e)nd of night.

Syntax
  • number[b|m|e](n|h)
3.5h
3.5h
0.7n
0.7n
0.5bn
0.5n |
first half of a night
3eh
| 3h
three hours at the end of the night
0.4mn
| 0.4n |
0.4n in the middle of the night

Concatenation of BLOBs with non-observable time intervals

Definition

BLOBs can be concatenated with non-observable, relative time intervals in units of days.

Syntax
  • [0.5n (2..10) 0.7n]
  • [2h (2..4) 3h]

[0.5n (2..10) 0.7n]

0.5n
2d .. 10d
0.7n


[2h (2..4) 3h]

2h
2d .. 4d
3h

Concatenation of non-consecutive BLOBs

Definition

BLOBs can be concatenated to specify that they must be executed in the given order without constraint on consecutive nights.

Syntax
  • [4h (..) 6h (..) 3.5h]

[4h (..) 6h (..) 3.5h]

4h
0 → ∞
6h
0 → ∞
3.5h

Concatenation of consecutive BLOBs

Definition

BLOBs can be concatenated to specify that they must be executed in the given order on consecutive nights.

Syntax
  • [0.5n : 0.7n]
  • [2h : 3h]

[0.5n : 0.7n]

0.5n
0.7n


[2h : 3h]

2h
3h

Nesting of BLOB / Concatenation of BLOBs inside Absolute Time Intervals and Fixed-Length Time Intervals

Definition

One BLOB or one Concatenation of BLOBS can be placed inside an Absolute Time Interval or a Fixed-Length Time Interval.

between(2018-10-01T12:00, 2018-10-31T12:00) { [0.5bn (2..10) 0.7en (..) 0.3mn] }

2018-10-01T12:00Absolute Time Interval2018-10-31T12:00
0.5n |
2d .. 10d
| 0.7n
0 → ∞
| 0.3n |
Prio 1

within(10) { [0.5bn (2..10) 0.7en (..) 0.3mn] }

Fixed-Length Time Interval · 10 days
0.5n |
2d .. 10d
| 0.7n
0 → ∞
| 0.3n |

Nesting of Fixed-Length Time Interval inside Absolute Time Interval

Definition

A single Fixed-Length Time Interval can be placed inside an Absolute Time Interval.

between(2018-10-01T12:00, 2018-10-31T12:00) { within(10) }

2018-10-01T12:00Absolute Time Interval2018-10-31T12:00
Fixed-Length Time Interval · 10 days
 
Prio 1

Full nesting

Example

An example of the maximum possible nesting applying the above nesting rules is shown on the right.

between(2018-10-01T12:00, 2018-10-31T12:00) { within(10) { [0.5bn (2..10) 0.7en (..) 0.3mn] } }

2018-10-01T12:00Absolute Time Interval2018-10-31T12:00
Fixed-Length Time Interval · 10 days
0.5n |
2d .. 10d
| 0.7n
0 → ∞
| 0.3n |
Prio 1