Problems
- The VAC page stopped updating after 2025-01-31, when the legacy vacuum DAQ (
vac_now.datviaK1VAC_PRESSURE_DAQ.py) stopped. chlist_VAC.csvstill listed the legacy channels.TimeSeriesDict.fetchfails entirely if one channel is missing, so no data was fetched.- The empty DataFrame crashed
plot_VAC.py(IndexError) and truncateddata_VAC.csvto 3 bytes. Plot_TrendraisedZeroDivisionErrorfor gauges reading 0 Pa.- The summary legend was cluttered with inactive channels.
- The forecast was a quadratic fit in log-log space. It extrapolated upward even for clearly monotonic pump-down data.
- Some changes in
SEM/were reverted at 16:13 (chlist_VAC.csv,pySEM.py,backfill_VAC.py), and the cause is unknown.SEM_devandSEMwere also both runningSEM.shfrom cron against the same log.
Actions
- Replaced
chlist_VAC.csvwith 25 active channels (CS 8, X 10, Y 7), matchingVAC_OVERVIEW.adl. The old list is saved as.bak_old. pySEM.pychanges:get_TSD()falls back to per-channel fetch.Plot_Trendis guarded againstvmin <= 0.
plot_VAC.pychanges:- CSV writes are protected against an empty DataFrame.
- The legend shows only channels with data in the last day, in 2 columns.
- The forecast was rewritten as a damped log-linear extrapolation (details below).
- Restored the pre-2025 history from
SEM_dev, then backfilled 2025-02-01 to 2026-10-18 withbackfill_VAC.py. The 10-day recent window was processed first. - Rewrote
index.htmlwith the new per-chamber gauge links (MCF, IFI, PR2, PR3, BS-SR2, GVs, X/Y arms). - Re-synced
chlist,pySEM.pyandplot_VAC.pybetweenSEMandSEM_devafter the revert.data_VAC.csvwas restored from/mnt/slowmonitor/data/. - Removed the
SEM_devSEM.shcron line, leaving only theSEMhourly job at :07. - The new forecast works as follows:
- The slope of log10(P) is estimated over the last 6 h with Theil-Sen.
- The slope decays with a 12 h time constant.
- The result is clipped to 1e-8–101325 Pa.
- Decreasing, increasing and flat trends were checked on synthetic data.
Final state
data_VAC.csvis about 19 MB and 35,867 hourly rows, continuous from 2024 to Oct 2026.- All subplots and the summary plot show current data.
- The MCF pump-down forecast decays monotonically and levels off, and increasing trends are extrapolated upward.
- The hourly cron updates the page.
Remaining items
backfill_VAC.pyis a 0-byte file, with no copy inSEM_dev. It is no longer needed because the backfill is complete.- The forecast does not reproduce oscillations. It gives a flat mean-level line, and a seasonal (daily) component can be added later if needed.
- The cause of the 16:13 revert is not identified.