15 Commits
Author SHA1 Message Date
maximeandClaude Opus 5.5 73567fe585 stations.txt: FLORIDA at Ernen, for its weather (MeteoSwiss BIN Binn, 3.6 km)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:27:00 +01:00
maximeandClaude Opus 5.5 799a53c102 pumping.py: start/running/log with diff, pump_diff.sh into data_diff/ (its own lock and log), for the Stations page of aimsight-app
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 11:13:27 +01:00
maximeandClaude Opus 5.5 ca366c150e Runs in data_diff/<SERIAL>/runs/<run>/: new_run.sh creates one, run_config.sh <SERIAL> <run> computes it
- The user's layout: the station's root holds only what is the same for every run (images_diff/, images/, metrics/,
  weather/); each run's folder holds what depends on it: config.yaml, displacement/, camera/, targets.csv,
  patterns.json.
- processing/new_run.sh <SERIAL> <run>: config.yaml of a new, empty run, the cloud's processing written in full (the
  patterns of sensors.json, the camera, optical's current commit); never over an existing one.
- processing/run_config.sh <SERIAL> <run>: reads the run's config.yaml (patterns, camera, emulator.version, checked
  against $OPTICAL's commit and local changes) and writes its displacement/, camera/, targets.csv (from its patterns)
  and patterns.json (the patterns as given to the emulator). No configs/, no runs/<name>/ outside data_diff/.
- pump_diff no longer writes targets.csv: it depends on the run.

JUNGFRAU run01 (2026-09-01, 2026-10-12..16, 525 images, 18 s): 7875 rows as data/, the same rejections, corr within
0.034 px; a run created by new_run.sh and run as is gives run01 exactly.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:52:46 +01:00
maximeandClaude Opus 5.5 d3bf4b6860 Configurations: processing/run_config.sh recomputes configs/<name>.yaml from data_diff/ into runs/<name>/, read like data/
Patterns by sensor_name (a property, or a window redrawn from a DIFF image as the device's pattern editor does),
re-measured with optical's emulator, camera correction as the cloud's process_shifts (one measurement at a time, or
the series), written in the files of data/ (displacement/, camera/, targets.csv; images/, metrics/, weather/ linked to
data_diff/), with run.yaml and diagnostics/ beside the stations. configs/cloud.yaml, empty, reproduces data/JUNGFRAU
2026-10-12..16: corr_x/y within 0.03 px, the same rejections, the camera pose within 5e-4 deg; 16 s.
configs/jungfrau_example.yaml: PM_G back to 0.7, BL_C's window redrawn. .gitignore: data_diff/, runs/, remeasure/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 10:00:02 +01:00
maximeandClaude Opus 5.5 81908ca370 Pumping of the differential images: extraction/pump_diff.sh into data_diff/<SERIAL>/, in the tree of data/ (never data/ itself)
The OPTICAL_SHIFT-DIFF images full size, with what measuring them again needs under images_diff/ (index of every
measurement per day with its exact time and why an image is missing, sensors.json with every pattern archived
included, unit.json), and the metrics, IRON images, weather and targets.csv as pump.py and weather.py write them into
data/. Its own lock and log; a day is indexed last, and not when its metrics failed; --min-free-gb. pump_metrics now
returns whether every day succeeded; weather.py takes --data. Tried on JUNGFRAU 2026-09-01 and 2026-10-12..16: DIFF
images byte-identical to pump.py --diff, metrics, IRON and weather byte-identical to data/.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 09:59:50 +01:00
maximeandClaude Opus 5.5 1b918facd9 Pumping: with --from, the last day pumped of each station is pumped again (pumped during the day, it was incomplete), as without --from; a range from the app no longer stops the current day at the hour of an earlier pumping
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 14:18:57 +01:00
maximeandClaude Opus 5.5 ea0228a73a Pumping: the weather of the stations with a position written into data/<SERIAL>/weather/ (extraction/weather.py, after pump.py); the mm (corr_x_mm, corr_y_mm by the sensor_id of each row) and targets.csv with the references (pattern_type, distance_mm, mm_per_px); --replace pumps a range again
pump.py --check passes; the mm and targets.csv parts are not yet run against the database (no VPN).
stations.txt: NIEDERHORN and NORDEND without a position (outside Switzerland).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 07:17:27 +01:00
maximeandClaude Opus 5.5 9adc38f9b9 absolute.py (ex lenzspitze_absolute.py): x / y in absolute on every station after each pumping, relative sensors without a position dropped
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 09:20:39 +01:00
maxime 63df363ff3 loc 2026-11-17 09:13:07 +01:00
maximeandClaude Opus 5.5 b1790fc422 The methods that bring data in, for the callers: extraction/pumping.py (tracked stations, pump.sh, its state), weather/meteoswiss.py (from aimsight-app, with hourly())
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 09:12:12 +01:00
maximeandClaude Opus 5.5 088484c376 stations.txt: SERIAL [position], the position read by the app for the weather
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-17 08:51:48 +01:00
maximeandClaude Opus 5.5 6454ffef0f Dépôts renommés avec le préfixe aimsight- : chemins et noms mis à jour
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 14:56:41 +01:00
maximeandClaude Opus 5.5 5ed9f5a97a English: pump.py and pump.sh (ex pomper), lenzspitze_absolute.py, options --from/--to/--delay, out/pump.log; .env loaded with +u (pump.sh -h works)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-16 12:40:03 +01:00
maximeandClaude Opus 5.5 260cd5e522 Lecture du .env interdite à Claude, comme le dit extraction/README.md (règle venue de Diagnostic-App avec le pompage)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 17:01:14 +01:00
maximeandClaude Opus 5.5 690400de0b Les données et leur pompage, extraits de Diagnostic-App (462ba9e)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 16:25:17 +01:00