pre-release v0.3.0-alpha.1 Tell us what breaks
downrange

Operations time: T-0, the sequence, clocks and procedures

A console in use is mostly about time. When is T-0, what comes next, how long until it, how long has this step been running, and is the data still arriving. This page is how Downrange answers those, and the four tables in a layout file that set it up.

T-0 #

[time]
t0 = 25.0                          # planned T-0, seconds of vehicle time
t0_when = "prop.state == FIRE"     # the moment this is first true becomes T-0
period_s = 60.0                    # the run repeats, as a simulator or a cyclic test does
site_zone = "MDT"                  # for the site clock
site_utc_offset_h = -6.0

T-0 is planned with t0, or with t0_utc = "2026-06-24T15:17:16Z" for a countdown to a real launch time. With t0_when, T-0 moves to what really happened: if ignition is 0.3 s late, the clocks and the plots count from the real ignition. The time is the timestamp of the sample that showed it, not the moment the screen noticed.

Plots and the timeline then read T-30, T+0, T+120 instead of vehicle seconds.

The planned sequence #

[[sequence]]
name = "Pressurise"
at = -15.0                          # seconds from T-0
when = "prop.state == PRESS"        # what shows it has started. Without it: on time

[[sequence]]
name = "Built-in hold"
at = -600.0
duration_s = 600.0
hold = true

The timeline widget draws the whole sequence before it happens, every step with its name and planned time, and a line at now that moves along it. A step is outlined until it starts and filled once it has. If it starts off plan, a mark shows where it really started and by how much: +0.4 s. Underneath, the state channel shows what the vehicle actually did.

Conditions are a channel, a comparison and a value: prop.state == FIRE, baro.alt >= 100, tvac.pressure <= 1e-3. State names only compare with == and !=. A step can't start before the one before it. When a run repeats, a condition has to be seen false once in the new run before it counts, so a state left over from the last run doesn't start the next one.

Conditions are checked against the newest sample each time the screen is drawn, at least four times a second. A state that lasts less than that can be missed.

Clocks #

The clock strip under the top bar is the same on every page. "clocks" in the tab row adds, removes, renames and reorders them; "save layout" keeps them.

Kind Reads Where it matters
utc UTC from this computer, with the date and day of the year The time the whole team, the range and the logs agree on
local This computer's own time zone Shifts and handovers
site Local time at the site, from [time] A remote range or test facility
met T- before T-0, T+ after Most calls are made on it
l_time Real time left to the planned T-0, holds included Launch countdowns: keeps running through a hold
t_time L-time less the built-in holds still ahead Launch countdowns: stops during a built-in hold
vehicle The vehicle's own clock, as stamped on its telemetry Matching logs from the vehicle
next Countdown to the next step, named What everyone is waiting for
since Time since a named step started Burn time, time since apogee, time since AOS
dwell Time in the current step, against its planned length Soaks, plateaus, thermal dwells
data_age Time since new telemetry reached the screen A link going quiet
run Time since this run started Long tests

L-time and T-time are the ones NASA's Launch Services Program uses: T-time is L-time minus the built-in hold time still to come, so T-time stops during a built-in hold while L-time keeps going. See NASA LSP's clock definitions.

UTC, local and site time come from this computer's clock, so they keep going while a replay is paused. The mission clocks count vehicle time, so they stop with it. When a simulator is sped up, as some templates are, the mission clocks run that much faster than the wall clock.

Procedures that tick themselves #

[[procedure]]
text = "Fire. Watch chamber pressure"
channel = "prop.chamber_p"         # shown under the step
after = "Fire"                      # ticks itself when that step of the sequence starts

[[procedure]]
text = "Tanks pressurised"
when = "prop.lox_tank_p >= 2300"    # or when this is first true

A step that ticked itself says so, with the mission time. A step ticked by hand says when. If a later step has happened and an earlier hand step was never ticked, the earlier one is marked. When the run repeats, the list starts over.

Why plots don't move #

Operator displays are read at a glance, often by someone who didn't set them up. A scale that changes between glances, an axis that slides on its own, or a plot that pans when someone brushes the trackpad all make a reading wrong without anyone noticing. Human factors guidance for control rooms, such as the NRC's NUREG-0700, is built around displays that stay put and say what they show.

So, in operate mode:

  • Every axis is labelled: the time axis with "time from T-0", the value axis with the unit.
  • A plot's value scale is min/max from the layout, or it grows to fit the run and never shrinks back within a run.
  • A plot's time axis is x_range from the layout, fixed relative to T-0, or it fills from the left and then moves on. It never starts with the data squashed against the right edge.
  • Nothing zooms, pans or scrolls, and the page fits the window.
  • Hold (Space) freezes the display at the instant it was pressed, and nowhere else.

Analyze mode gives the pointer back for looking at data afterwards.

Not done #

No spacecraft clock conversions (SCLK to SCET), one-way light time or Earth-received time. No countdown to a launch window close. No holds that start or end on a condition. Conditions are one comparison each, with no and or or.