{# Deployment-timing intro prose + timing table + two-column YAML textarea comparison. The `timing` panel payload (kind="html"). #}

Stage 1 and Sugg. (raw) columns are in the raw instrument clock (uncorrected). Sugg. UTC columns apply the constant clock offset (and drift, for the end) and are safe to paste into the YAML deployment_time / recovery_time fields. Suggested UTC cells are highlighted amber when the pressure-derived suggested time differs from the YAML time by more than 2 Δt (indicating a sinking/rising transient was detected). The Stage 1 last cell is highlighted orange when the raw record ended more than 2 Δt before the YAML recovery time (instrument may have stopped early). Serial numbers link to the per-instrument report; the 6 h link jumps directly to the start/end window plots.

Spot-check recommended: open the 6 h start/end window plots for each instrument (click 6 h) and visually confirm that the orange suggested line (or green YAML line if they match) sits at a plausible transition in the pressure (or temperature) record before updating the YAML times.

{% for instr in instruments %} {% set tm = instr.timing %} {% if tm %} {# Anchor dates for deduplication: show only time when on the same day #} {% set d_start = (tm.get("stage1_start") or "")[:10] %} {% set d_end = (tm.get("stage1_end") or "")[:10] %} {# Stage1 first — always full date+time; anchors deduplication for start columns #} {# Sugg. start (raw) — only present for pressure instruments; time only when same date #} {% set v = tm.get("sugg_start") or "" %} {{- v[11:] if (v and v[:10] == d_start) else (v or "—") -}} {# Sugg. start (UTC) #} {% set v = tm.get("sugg_start_utc") or "" %} {{- v[11:] if (v and v[:10] == d_start) else (v or "—") -}} {# Stage1 last — orange-amber when instrument stopped early #} {{- tm.get("stage1_end") or "—" -}} {# Sugg. end (raw) #} {% set v = tm.get("sugg_end") or "" %} {{- v[11:] if (v and v[:10] == d_end) else (v or "—") -}} {# Sugg. end (UTC) #} {% set v = tm.get("sugg_end_utc") or "" %} {{- v[11:] if (v and v[:10] == d_end) else (v or "—") -}} {% elif instr.skipped %} {% else %} {% endif %} {% endfor %} {% if rec_deploy_sec or rec_recover_sec %} {% endif %}
# Type S/N Start End
Stage1 first Sugg. start (raw) Sugg. start (UTC) Stage1 last Sugg. end (raw) Sugg. end (UTC)
{{ loop.index }} {{ instr.instr_type }} {{ instr.serial }} 6 h {{ tm.get("stage1_start") or "—" }}skippedno stage 2 file
Mooring Mooring start {{ rec_deploy_sec or "—" }} Mooring end {{ rec_recover_sec or "—" }}
{% if yaml_deploy_time or yaml_recover_time or rec_deploy or rec_recover %}
{% if rec_differs %}

Deployment times — pressure-based instruments suggest times that differ from the current YAML. Copy the suggested snippet (blue border) into your YAML file. Times are given to the minute.

Current YAML

Suggested (copy → paste into YAML)

{% else %}

✓ Current YAML times match the pressure-based suggestion from the instruments.

Current YAML times

{% endif %}
{% endif %}