Support tab (agents:support on a range with a question, instructions/support.md, its answer in labeling/auto/support/); the weather read from data/<STATION>/weather/ (pumped), no call to MeteoSwiss from the app; plots in mm (corr_x_mm, corr_y_mm); analyst instructions: the weather pumped, the targets in mm and their distance

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-18 07:17:51 +01:00
1 parent 60d10a282c
commit 161fb0212f
12 files changed
+414 -104

No files matched your search

+6 -4
View File
@@ -15,11 +15,13 @@ The user selected a range in the Data page and clicked "Analyze the range": they
## The weather
The weather really measured near the station is not in `data/<STATION>/`: fetch it at the start, for every analysis, and read it with the other causes (rain, fog, wind, sun, frost, cold air). The place of the station is its line in `~/aimsight-data/extraction/stations.txt` (`<STATION> <place>`; no line, no weather: say so in your analysis). Then, from `~/aimsight-data`:
The weather really measured near the station is in `data/<STATION>/weather/`, one CSV per day (`tools/DATA.md`, "The weather"): read it at the start, for every analysis, with the other causes (rain, fog, wind, sun, frost, cold air). Hourly, UTC; the MeteoSwiss station and its distance are in the columns `station_name`, `distance_km`: give them in your analysis. No folder, or no day of your range: no weather (station without a Swiss position): say so in your analysis. It is the weather a few km away, not at the camera: what the images show prevails.
`python3 weather/meteoswiss.py "<place>" <start> <end> --out <output folder>/work/weather.csv`
## The targets in mm, their distance
hourly, UTC, `end` excluded; the MeteoSwiss station chosen and its distance are written on stderr: give them in your analysis. It is the weather a few km away, not at the camera: what the images show prevails.
`inventory.py` gives each target's distance from the camera, and `corr_x_mm`, `corr_y_mm` are `corr_x`, `corr_y` in mm (`tools/DATA.md`, "The targets"). The same curves: what is labelled is what stands out from the noise, in px or in mm, and a target's deviation in its own noises is the same in both units, so the threshold does not change. One event seen in px and in mm is one label.
The scale changes with the distance: a far target moves few px for many mm, a near one the reverse. So never compare targets with each other in px alone ("it moves more than the others", "they all move alike"): in mm, or in px with their distance. The distance also tells the camera from the structure: a camera that turns shifts every target by about the same px, so the mm grow with the distance; a movement of the structure of the same mm gives px that shrink with the distance; a parallax shows between targets at different distances. Use the mm if they help, px and distance otherwise; give the magnitudes in mm in the report. A target without a sure factor has no mm (`?` in `inventory.py`): say it in px.
## Three readers, three texts
@@ -42,7 +44,7 @@ hourly, UTC, `end` excluded; the MeteoSwiss station chosen and its distance are
## What happened
<one short paragraph per phenomenon, not per label: when (UTC), which targets, how far the curves are wrong, the cause and how sure you are (confirmed / likely / possible / unknown)>
<one short paragraph per phenomenon, not per label: when (UTC), which targets, how far the curves are wrong (in mm where the targets have them), the cause and how sure you are (confirmed / likely / possible / unknown)>
<one figure or GIF per phenomenon at most, the one that proves it, followed by one line saying what to look at>