auto: labels requalified under the 5-noise rules (only what stands out from the noise): 32 analyses refined, the 6 paused periods verified, the long labels requalified with the fixes the period analysts found; 1153 -> 961 labels

- 32 analyses: each label kept, rewritten or removed by its analyst (section Requalification of the report; mm magnitudes where the targets have them)
- SNCF01 x3, WILDSTRUBEL 2026-09-01 -> 2026-10-06 x3: verified from their existing labels under the new rules
- long labels (no analysis): auto/analyses/long-labels/<STATION>/; NORDEND-169 and -195 run to 07/11, so NORDEND-283 and -284 (their continuation) are removed
- reading-rules.md, stations.md: the citations of removed or rewritten labels point to their successor, or to [expert]

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-17 23:58:00 +01:00
1 parent c779de7720
commit ddb17c2189
321 files changed
+18464 -3426

No files matched your search

@@ -0,0 +1,125 @@
# Labels: SNCF01, 2026-10-04T00:00Z → 2026-10-14T06:45Z (UTC)
Task: check the 30 labels already on the range (`work/existing.jsonl`) against the rules now in force (`labeling-rules.md`, section 1: a movement is labelled only beyond 5 of the target's own noises; a missing point is never labelled for itself). The 7 labels that cross the range bounds (`work/spanning.jsonl`) are checked inside the range only and are not changed.
Result: 28 labels. **14 kept** as they are, **14 corrected**, **2 removed**, **0 added**.
Context:
- Station: a masonry wall along railway tracks. Three references (BG.3.1, R1, R2). There are no system metrics with values, so no temperature is available.
- Targets are 16 to 21 m from the camera. 1 px is about 6 to 8.5 mm (`targets.csv`). CV.1 has no mm factor.
- Weather: SNCF01 has no `weather/` folder (a station without a Swiss position), so there is no MeteoSwiss data. Sun or overcast is read on the noon images. There are cast shadows on 04, 05, 06, 08, 10 and 12/10, a bright overcast sky on 07, 09 and 11/10, and sun with clouds on 13/10 (`work/thumbs/…zone560-0-2500-900…png`).
- The image quality columns are empty (older camera), so `quality.py` does not apply.
Method:
- Ran `inventory.py`, `overview.py` (15 min and 1 h, residuals) and `ranges.py --rolling 4 --instants 2`, plus `days.py --bounds` on P7 and on the pose (`--night 0-4 --smoothing 5`).
- Wrote three scripts in `scripts/`:
- `daily.py`: the deviation of each target per day.
- `fast_instants.py`: the instants beyond 5 noises from the rolling ±4 median, with the six passages taken out.
- `thermal_bounds.py`: first and last instant beyond 5 noises from the night level.
- Ran `summary.py` per instant around each short event, `stations.py`/`inventory.py` on FLORIDA and nine other stations for the gaps, and looked at the images.
## Verdict per old id
| Old id | Verdict | Evidence |
|---|---|---|
| SNCF01-8 | corrected (bounds, description) | Agitation beyond 5 noises from 09:00 (CV.4 y) to 16:15 (CV.2 y): new bounds 08:45→16:30, against 08:15→17:15. Old text copied from one day to the next; rewritten with this day's movers (CV.4, F4.2, BG.2, BG.3, and P jumping together at 11:30). Sunny day seen at 12:00. |
| SNCF01-9 | kept | P7 corr_x up to 31 noises, corr_y 21. The pose returns all night and rests at dawn (pan flat 05:00-06:30), so it chains to -10. Text true for the day. |
| SNCF01-10 | kept | P7 corr_x up to 36 noises. Pose returns until 06/10 05:00, chained to the next start. |
| SNCF01-11 | corrected (end, description) | Last exceedance 15:00 (P2 y), so the end moves from 16:45 to 15:15. The 16:00 train is its own label. Movers rewritten (CV.2, CV.4 up to 10 noises; P1-P3 corr_y together at 10:45-11:00). |
| SNCF01-12 | kept | 16:00 train seen on the image. BG.2, BG.3, F4.5, P4 stay under the threshold and jump up to 106 noises (BG.3 y). R1 and BG.3.1 rejected; no pose at that instant. |
| SNCF01-13 | **removed** | 06/10 06:45: the CV targets and F4.2 are rejected (missing points). The targets left under the threshold stay below 5 noises: P2 y +3.3, F4.6 y +3.0, F4.5 x +2.8, P1 y +2.6, P3/P4 y +2.5, BG.2 x +2.1. Nothing stands out on the curves. |
| SNCF01-14 | corrected (bounds, description) | Exceedances 07:15 (CV.4 x) to 13:00 (F4.5 x): 07:00→13:15, against 07:15→14:30. |
| SNCF01-15 | corrected (end, description) | Ended at midnight (forbidden). The curves are back by 22:30. The pan reaches its night level at 02:30-03:00 on 07/10 and stays there (0.0144-0.0150° until 04:15); the tilt is back at 03:00, so the end is 07/10 03:00. The old text had a copy error ("the evening and the evening"). |
| SNCF01-16 | corrected (end, description) | Ended at 21:00, but P5 corr_x is still beyond 5 noises from the next night level until 01:00 on 08/10, and P7 corr_y until 23:00. The pose returns until 04:00-04:15 on 08/10 (pan 0.0153°, tilt -0.1765°, then flat until 07:30), so the end is 08/10 04:15. This day is weaker and overcast: pan drops 0.006° against 0.013° on sunny days. Old text was a copy with an error. |
| SNCF01-17 | corrected (description) | The old text said the remaining targets "barely move". In fact BG.3 corr_x moves +7.1 noises, and F4.5 and F4.6 corr_y move -6 noises: beyond the threshold, which is why the label holds. The 13:00 train is seen on the image. |
| SNCF01-18 | kept | 16:00 train seen. BG.2, BG.3, F4.5, P1 jump (P1 -99 noises in y). |
| SNCF01-19 | kept | 19:45: BG.3.1 rejected, R1 left out, and a pose is computed from them that spikes (pan, tilt, rotation, scale). BG.2, BG.3, F4.5, P2-P7 jump 26-75 noises. There is no image at 19:45 (the camera takes one on the hour). |
| SNCF01-20 | kept | Exceedances 07:15 to 16:00, so 07:00→16:15 by the rule. The old 06:45→16:30 is one step off at each edge, which is within the tolerance. Sunny. |
| SNCF01-21 | kept | P7 corr_x 16.5 noises by day; P1 and P5 overshoot at night as the text says (P5 corr_x -0.13 px against -0.09). |
| SNCF01-22 | kept | No measurement of any sensor at 02:00. FLORIDA misses the same instant; none of the other nine stations does. The 02:00 image is missing (gap 01:00→02:15). Metrics empty. |
| SNCF01-23 | kept | No evening return (P7 stays at -0.40 px until midnight). Return on the night of 10/10. |
| SNCF01-24 | **removed** | 09/10, overcast: the only deviations are CV.4 x +5.1 at 09:15, one isolated measurement at the noise edge, and P5 x +5.8 at 07:15, which is the start of the thermal cycle of -23. CV.2 rejected once is a missing point. No agitation regime. |
| SNCF01-25 | kept | SNCF01 alone that night; the 02:00 image exists. |
| SNCF01-26 | kept | P7 corr_x 17 noises. Pose returns all night until 11/10 06:00-07:00, chained to the next start. |
| SNCF01-27 | corrected (bounds, description) | Exceedances 07:15 to 12:45, so 07:00→13:00, against 07:15→14:15. |
| SNCF01-28 | corrected (bounds, description) | Overcast. Seven single-measurement exceedances of 5.0 to 5.8 noises (CV.4 y, F4.2, CV.2, P1/P2 y) from 10:15 to 15:15, so 10:00→15:30, against 08:15→16:00. The P7 corr_x +6.9 at 16:15 is the nightfall step of the thermal cycle. Described as weak. |
| SNCF01-29 | corrected (end, description) | Ended at midnight. Curves back by 21:30. Pan and tilt reach the night level they keep at about 02:45 on 12/10 (pan about 0.016°, tilt -0.1738°), so the end is 12/10 02:45. Copy error in the old text. |
| SNCF01-30 | corrected (description) | All P targets are rejected at 14:15; only BG.2, BG.3 and F4.5 stay and jump (BG.3 y -91 noises). The old text "and some P" was copied from another passage. |
| SNCF01-31 | corrected (description) | CV.8, F4.2 and CV.6 are rejected. CV.4 stays under its threshold, its error drops (0.46 against 0.55) and its corr_x jumps +0.15 px (+6.9 noises, about 1.3 mm), then comes back. The old text said "nothing else moves". |
| SNCF01-32 | corrected (bounds, description) | Exceedances 07:45 to 14:30 (06:45 is -31), so 07:30→14:45, against 07:00→16:15. |
| SNCF01-33 | kept | Night 12→13 without return: P7 corr_x stays at -0.345 px, 15 noises above the night before. Back by 14/10 04:00 (-0.446). |
| SNCF01-34 | corrected (description) | Same as -30: all P rejected at 16:00; BG.2, BG.3, F4.5 jump. 16:00 train seen. |
| SNCF01-35 | kept | SNCF01 alone; the 02:00 image is missing. |
| SNCF01-36 | corrected (bounds, description) | Exceedances 08:00 to 13:45, so 07:45→14:00, against 08:30→14:30. |
| SNCF01-37 | kept | Gap at 01:30, shared with FLORIDA. |
## 1. My labels
### Visibility, daytime shimmer (-8, -11, -14, -20, -27, -28, -32, -36)
- **Phenomenon of the catalogue**: Atmospheric turbulence.
- **Precedents**: `precedents.py` could not run (Ollama unreachable). I used a grep of `labeling/auto/` instead: NORDEND-262 (early-afternoon fluctuation, cause not established) and WILDSTRUBEL-82/90 (agitation by day, error rising). They show the same shape. Bounds here are read on the exceedances, not from sunrise to mid-afternoon.
- **Family**: Visibility. The error of the agitated targets rises by day: CV.4 max 0.54 at night against 0.75-0.87 by day on 05/10, and CV.2 likewise. The agitation is a fast noise that comes back at once, only on sunny days (cast shadows at 12:00), and strongest on the low targets CV.2 and CV.4. This is not a pose agitation without an error rise (that would be thermal).
- **Measured**: rolling ±4 deviations in own noises (window noise CV.4 0.022 px ≈ 0.19 mm, CV.2 0.030 px ≈ 0.18 mm):
- CV.4 up to 12.4 noises (06/10 11:30, ≈ 2.4 mm).
- CV.2 up to 9 noises (≈ 1.7 mm).
- F4.2 up to 9.8 noises.
- Group jumps of BG.3 and the P targets in corr_x at single instants (04/10 11:30, 10/10 09:45, 12/10 10:30) or in corr_y (05/10 10:45).
- Number of exceedance instants per day: 04/10 15, 05/10 31, 06/10 13, 08/10 30, 10/10 24, 11/10 7, 12/10 19, 13/10 8.
- Night: none except the thermal nightfall steps of P6/P7.
- **Images**: noon zone sheet of the 10 days, plus the whole images of 05/10 16:00, 07/10 13:00, 07/10 16:00 and 12/10 16:00.
- **Confidence**: high on 04, 05, 06, 08, 10 and 12/10. Medium on 13/10. Medium-low on 11/10, which only just crosses the threshold.
### Thermal displacement (-9, -10, -15, -16, -21, -23, -26, -29, -33)
- **Phenomenon of the catalogue**: The camera moves through a thermal effect.
- **Precedents**: the reviewed SNCF01 labels themselves (chained cycles ending at the pose rest).
- **Family**: Thermal displacement. Every day, pan and tilt drop and scale rises, then come back; the curves follow and come back. There is no temperature, so the link is deduced.
- **Measured**: P7 corr_x daily peak in noises (and mm):
- 04/10: 31 (1.2 mm)
- 05/10: 36 (1.4 mm)
- 06/10: 26
- 07/10: 12
- 08/10: 16.5
- 09/10: 13
- 10/10: 17
- 11/10: 16
- 12/10: 25
- 13/10: 13
P1 corr_x moves the other way. The pose comes back slowly every night, with the slow monthly drift on top (tilt up, rotation down, as in SNCF01-7). The ends are therefore read where pan and tilt stop rising and stay, or at the next start.
- **Images**: noon sheet: sunny on the strong days, overcast on 07, 09 and 11/10.
- **Confidence**: high on the cause and the family; medium on the night ends (the pose drifts).
### Obstruction, passages (-12, -17, -18, -19, -30, -31, -34)
- **Phenomenon of the catalogue**: A pass-by hides the targets for the length of one measurement (a reference behind it makes the base jump); for -31, a target left under the threshold latches onto a light.
- **Family**: Obstruction. Trains are seen at 05/10 16:00, 07/10 13:00, 07/10 16:00 and 12/10 16:00. The others are deduced from the same signature (the camera takes its images on the hour).
- **Measured**: the remaining targets jump at the instant. In mm: BG.3 -1.19 px ≈ 7 mm, P1 -0.96 px ≈ 6 mm, P4 -0.81 px ≈ 5 mm. For -17, only BG.3 +0.08 px ≈ 0.5 mm and F4.5 ≈ 0.4 mm. For -31, CV.4 +0.15 px ≈ 1.3 mm.
- **Confidence**: high, except -31 (medium: no image).
### No data (-22, -25, -35, -37)
- **Phenomenon of the catalogue**: A gap common to several stations (09 and 14/10, with FLORIDA). For 10 and 13/10, SNCF01 alone; on 10/10 the image exists ("The station runs, the measurement is missing").
- **Confidence**: high that nothing was delivered; the cause is not established.
## 2. What I left without a label
- **06/10 06:45 (old -13, removed)**: CV and F4.2 rejected. The remaining targets move 2-3.3 noises in a common direction (P2 y +3.3, F4.6 y +3.0, F4.5 x +2.8, P1 y +2.6, P3 y +2.6, P4 y +2.5, BG.2 x +2.1). Under the threshold.
- **09/10 by day (old -24, removed)**: CV.4 x +5.1 at 09:15, a single isolated value. P5 x +5.8 at 07:15 is the start of the thermal cycle. CV.2 rejected at 09:30 is a missing point. Overcast. Max 5.1 noises with no other exceedance: not an agitation regime.
- **07/10 by day (never labelled)**: CV.4 x +5.4 at 11:15 and CV.2 y -6.2 at 13:45, two isolated single values on a day of about 1,500 daytime target values. Overcast; the error stays at its night level outside the passages. I count it as tail noise, consistent with 09/10. P6 y -5.1 and P7 y -6.1 at 18:30-18:45 fall inside the thermal label -16 (nightfall).
- **References**: R1, R2 and BG.3.1 corr at 08/10 12:30-13:30 (±6-8 noises) are inside -20. References are not labelled targets, and no target moves with them beyond the shimmer.
- **Target issue targets** (CV.6, CV.7, F4.3, F4.4, BG.1, F4.1): their noise is covered by SNCF01-1 to -6.
## 3. The documentation
- **What helped**:
- `labeling-rules.md` §1, the 5-noise rule: it decided -13 and -24, and the reading of the remaining targets at a passage.
- §2: "never at midnight", "later of the pose and the curves", "without rest, ends at the next start". These made the old ends of -15, -16 and -29 visibly inconsistent with -9, -10, -21, -23 and -26.
- §5: a sentence copied from a model must be reread on each label. The copies of "the evening and the evening" and "and some P" were errors of that kind.
- **What was missing**: no rule for a pose that never rests because a monthly drift sits on top of the daily cycle. I took "the level where it then stays for a few hours" (pan and tilt flat until the morning drop).
- **Not explicit in the rules**: a criterion for isolated single measurements at 5-6 noises on a long series with many values. I treated a single isolated exceedance with no regime as tail noise (07 and 09/10) and kept a day with seven exceedances (11/10). The user may want to settle this.
- **The spanning labels**, read within the range:
- SNCF01-5 (F4.3) says "about one measurement in two rejected". Within this range it is 254 of 984 (about a quarter). The regime still holds, so the label is not wrong, but the share is lower here.
- SNCF01-1, -2, -3, -4, -6 and -7 match the data within the range: BG.1 and F4.1 are rejected at every measurement; CV.7 667 of 984; F4.4 670 of 984; CV.6 in night runs on 09 and 12-13/10. For -7, the corr_y of F4.6, F4.5, BG.2, P4 and CV.8 rise and P1 drops slowly, and the rotation drops while the tilt rises.
## Difficulties
- `precedents.py` failed: Ollama unreachable at its URL. The first call was killed by its timeout, the second reported the connection error. Precedents were read by `grep` in `labeling/auto/` instead.
- No weather folder for SNCF01, and no temperature (metrics empty).
## Sources read
`instructions/analyst.md`, `tools/GUIDE.md`, `tools/DATA.md`, `labeling/families.md`, `labeling/labeling-rules.md`, `labeling/reading-rules.md`, `labeling/stations.md`, `labeling/auto/SNCF01.jsonl` (labels around the range), `work/existing.jsonl`, `work/spanning.jsonl`, `labeling/auto/{NORDEND,WILDSTRUBEL}.jsonl` (grep "shimmer"), the station `data/SNCF01/` (exports, camera, metrics, images), and the inventories of FLORIDA, JUNGFRAU, NORDEND, WILDSTRUBEL, LENZSPITZE, NIEDERHORN, CLARIDEN, ALASKA, WYOMING, NADELHORN, SUSTENHORN (gaps).
Binary file not shown.

After

Width:  |  Height:  |  Size: 96 KiB

@@ -0,0 +1,28 @@
{"start": "2026-10-04T08:45Z", "end": "2026-10-04T16:30Z", "family": "Visibility", "description": "By day (04/10), sunny day (cast shadows on the wall on the image of 12:00): the corrected curves of the low targets fluctuate from one measurement to the next beyond their noise, mostly CV.4 (corr_x and corr_y), F4.2, BG.2, BG.3, with one-measurement jumps that come back at once; late in the morning, BG.3, F4.2, BG.2 and the P targets jump together in corr_x for one measurement; CV.2 and CV.4 are rejected at times (missing points). At night everything is calm again. Deduced cause: heat shimmer, the air heated by the sun above the tracks and the ballast, which makes the spots tremble (a fast noise, by day only, with the recognition error of these low targets rising), nothing in front of the targets on the images. Do not trust the small movements of these curves over the range; this is not a movement of the structure."}
{"start": "2026-10-04T09:00Z", "end": "2026-10-05T06:30Z", "family": "Thermal displacement", "description": "Daytime thermal cycle (04/10): from the morning, the pan and the tilt of the camera drop and its scale rises, then they slowly come back in the afternoon, the evening and all night, until the start of the next morning. The corrected curves follow the same cycle, poorly compensated: corr_x of P7, P5, P6 and corr_y of P5, P6, P7, P4 move away from their night level during the day then come back, partly all at once at nightfall, when the recognition error also comes back (the lighting plays a part). Deduced cause: the camera and its mount move with the heat of the day (camera pose); the structure, a masonry wall, is not supposed to move like that. No temperature is available to confirm it. Normal, nothing to do.", "review": "2026-11-17"}
{"start": "2026-10-05T06:30Z", "end": "2026-10-06T07:15Z", "family": "Thermal displacement", "description": "Daytime thermal cycle (05/10): from the morning, the pan and the tilt of the camera drop and its scale rises, then they slowly come back in the afternoon, the evening and all night, until the start of the next morning. The corrected curves follow the same cycle, poorly compensated: corr_x of P7, P5, P6 and corr_y of P5, P6, P7, P4 move away from their night level during the day then come back, partly all at once at nightfall, when the recognition error also comes back (the lighting plays a part). Deduced cause: the camera and its mount move with the heat of the day (camera pose); the structure, a masonry wall, is not supposed to move like that. No temperature is available to confirm it. Normal, nothing to do.", "review": "2026-11-17"}
{"start": "2026-10-05T07:00Z", "end": "2026-10-05T15:15Z", "family": "Visibility", "description": "By day (05/10), sunny day (cast shadows on the image of 12:00): the corrected curves of the low targets fluctuate from one measurement to the next beyond their noise, the most strongly of the batch: CV.4 and CV.2 in both columns, F4.2, BG.3, and in late morning the corr_y of P1, P2, P3 jump together for one or two measurements; CV.2, CV.4 and F4.2 are rejected at times (missing points). Calm again before nightfall; the train of 16:00 is labelled apart. Deduced cause: heat shimmer, the air heated by the sun above the tracks and the ballast, which makes the spots tremble (a fast noise, by day only, with the recognition error of these low targets rising), nothing in front of the targets on the images. Do not trust the small movements of these curves over the range; this is not a movement of the structure."}
{"start": "2026-10-05T15:45Z", "end": "2026-10-05T16:15Z", "family": "Obstruction", "description": "One single measurement: most targets (the CV, the F4 and some of the P) are rejected and their curves are missing; the references are affected too (BG.3.1 and R1 rejected), the compensation retains none of them, and the targets that stayed under the threshold (BG.2, BG.3, F4.5 and some P) jump in corr_x and corr_y for the time of the measurement. Everything comes back at the next measurement. Cause: a passage in front of the targets and the references, a train passing, blurred, in front of the wall and the targets, seen on the 16:00 image. The structure is not moving: point to ignore, nothing to do.", "review": "2026-11-17"}
{"start": "2026-10-06T07:00Z", "end": "2026-10-06T13:15Z", "family": "Visibility", "description": "By day (06/10), sunny morning (cast shadows on the image of 12:00): the corrected curves of the low targets fluctuate beyond their noise, mostly CV.4 in corr_x, F4.2 in both columns and CV.2, with one-measurement jumps that come back at once; CV.2 and CV.4 are rejected at times (missing points). The other targets stay within their noise; calm again from early afternoon. Deduced cause: heat shimmer, the air heated by the sun above the tracks and the ballast, which makes the spots tremble (a fast noise, by day only, with the recognition error of these low targets rising), nothing in front of the targets on the images. Do not trust the small movements of these curves over the range; this is not a movement of the structure."}
{"start": "2026-10-06T07:15Z", "end": "2026-10-07T03:00Z", "family": "Thermal displacement", "description": "Daytime thermal cycle (06/10), sunny day (cast shadows on the image of 12:00): from the morning, the pan and the tilt of the camera drop strongly and its scale rises, until early afternoon; they come back slowly in the afternoon, the evening and the first half of the night. The compensation absorbs only part of it: corr_x of P7 rises clearly, with corr_y of P6 and P7, while corr_x of P1 drops and that of P5 rises; the curves come back to their night level late in the evening, the pose in the night. Deduced cause: the camera and its mount move with the heat of the day (camera pose); the structure, a masonry wall, is not supposed to move like that. No temperature is available to confirm it. Normal, nothing to do."}
{"start": "2026-10-07T07:30Z", "end": "2026-10-08T04:15Z", "family": "Thermal displacement", "description": "Weak daytime thermal cycle (07/10), overcast day (image of 12:00): in the morning, the pan and the tilt of the camera drop a little and its scale rises a little, then the camera stays in that position all afternoon; it comes back in the evening and all night, beyond its position of the previous night, until early on the 8th. The corrected curves follow, less than on the sunny days: corr_x of P5 and P7 rises, corr_y of P7 and P6 too, corr_x of P1 drops; P7 comes back late in the evening, P5 only after midnight. The three train passages of the day (13:00, 16:00, 19:45) are labelled apart. Deduced cause: the camera and its mount move with the heat of the day (camera pose); the structure, a masonry wall, is not supposed to move like that. No temperature is available to confirm it. Normal, nothing to do."}
{"start": "2026-10-07T12:45Z", "end": "2026-10-07T13:15Z", "family": "Obstruction", "description": "One single measurement: most targets (the CV, the F4 except F4.5 and F4.6, and all the P) are rejected and their curves are missing; the references are affected too (R1 rejected, BG.3.1 just under its threshold and left out), the compensation retains none of them; the targets that stayed under the threshold jump a little beyond their noise, BG.3 in corr_x, F4.5 and F4.6 in corr_y. Everything comes back at the next measurement. Cause seen: a train passing in front of the wall and the targets, blurred, on the image of 13:00. The structure is not moving: point to ignore, nothing to do."}
{"start": "2026-10-07T15:45Z", "end": "2026-10-07T16:15Z", "family": "Obstruction", "description": "One single measurement: most targets (the CV, the F4 and some of the P) are rejected and their curves are missing; the references are affected too (BG.3.1 and R1 rejected), the compensation retains none of them, and the targets that stayed under the threshold (BG.2, BG.3, F4.5 and some P) jump in corr_x and corr_y for the time of the measurement. Everything comes back at the next measurement. Cause: a passage in front of the targets and the references, a train passing in front of the targets, seen on the 16:00 image. The structure is not moving: point to ignore, nothing to do.", "review": "2026-11-17"}
{"start": "2026-10-07T19:30Z", "end": "2026-10-07T20:00Z", "family": "Obstruction", "description": "One single measurement: most targets (the CV, the F4 and some of the P) are rejected and their curves are missing; the references are affected too (BG.3.1 rejected), the compensation retains none of them, and the targets that stayed under the threshold (BG.2, BG.3, F4.5 and some P) jump in corr_x and corr_y for the time of the measurement. Everything comes back at the next measurement. Cause: a passage in front of the targets and the references, no image at that moment; deduced from the signature, the same as that of the trains seen on the images of the other passages. The structure is not moving: point to ignore, nothing to do.", "review": "2026-11-17"}
{"start": "2026-10-08T06:45Z", "end": "2026-10-08T16:30Z", "family": "Visibility", "description": "By day (08/10): the corrected curves of all targets fluctuate much more than at night, from one measurement to the next, especially CV.2, CV.4, F4.2, BG.3, CV.6, CV.9, with one-measurement jumps that come back at once, and CV.2, CV.4 (sometimes F4.2) are rejected at times, their curves having gaps; their recognition error varies strongly by day. At night everything becomes calm again. Deduced cause: heat shimmer from the air heated above the tracks (a fast noise over the whole scene, by day only), not visible on the images; the rejections of CV.2 and CV.4, low targets, may also come from passages, not seen. Do not trust the small movements of these curves by day; this is not a movement of the structure.", "review": "2026-11-17"}
{"start": "2026-10-08T08:15Z", "end": "2026-10-09T04:30Z", "family": "Thermal displacement", "description": "Daytime thermal cycle (08/10), weak by day and prolonged at night: from the morning, the pan and the tilt of the camera drop a little and its scale rises; in the evening, the camera rises beyond its position of the previous night and comes back to it only on the morning of the 9th. The corrected curves follow, poorly compensated: corr_y of P5, P6, P7, P4 moves away from its night level during the day; in the evening and at night, corr_x of P1, P5, P6, P7 exceeds its level of the previous night in the other direction, until the morning of the 9th. Deduced cause: the camera and its mount move with the heat of the day (camera pose); the structure, a masonry wall, is not supposed to move like that. No temperature is available to confirm it. Normal, nothing to do.", "review": "2026-11-17"}
{"start": "2026-10-09T01:45Z", "end": "2026-10-09T02:15Z", "family": "No data", "description": "One measurement is missing, for all sensors, around two in the morning: all curves have a gap; no image at that moment. The power metrics of the station are empty over the whole month. This one-measurement night gap, around 02:00 UTC, falls at the same measurement on FLORIDA and SNCF01 on 09, 14 and 15/10, and only on them; other stations have the same night gap around the same hour on other weeks (JUNGFRAU and NORDEND in early September): a common cause outside the station, at night, is probable; it is not established. Nothing to do on the station if it does not get worse.", "review": "2026-11-17"}
{"start": "2026-10-09T07:00Z", "end": "2026-10-10T06:00Z", "family": "Thermal displacement", "description": "Daytime thermal cycle (09/10), with no return in the evening: in the morning, the pan and the tilt of the camera drop and its scale rises, then the camera stays in that position all afternoon and evening; it comes back only slowly during the night, on the morning of the 10th. The corrected curves follow, poorly compensated: corr_x of P1, P2, P5, P6, P7 moves away from its night level during the day, stays away in the evening and comes back only on the morning of the 10th. Deduced cause: the camera and its mount move with the heat of the day (camera pose); the structure, a masonry wall, is not supposed to move like that. No temperature is available to confirm it. Normal, nothing to do.", "review": "2026-11-17"}
{"start": "2026-10-10T01:45Z", "end": "2026-10-10T02:15Z", "family": "No data", "description": "One measurement is missing, for all sensors, around two in the morning: all curves have a gap; the image of that moment exists nonetheless. The power metrics of the station are empty over the whole month. This one-measurement night gap, around 02:00 UTC, falls at the same measurement on FLORIDA and SNCF01 on 09, 14 and 15/10, and only on them (that night, on SNCF01 alone); other stations have the same night gap around the same hour on other weeks (JUNGFRAU and NORDEND in early September): a common cause outside the station, at night, is probable; it is not established. Nothing to do on the station if it does not get worse.", "review": "2026-11-17"}
{"start": "2026-10-10T07:00Z", "end": "2026-10-11T08:30Z", "family": "Thermal displacement", "description": "Daytime thermal cycle (10/10): from the morning, the pan and the tilt of the camera drop and its scale rises, then they slowly come back in the afternoon, the evening and all night, until the start of the next morning. The corrected curves follow the same cycle, poorly compensated: corr_x of P7, P5, P6 and corr_y of P5, P6, P7, P4 move away from their night level during the day then come back, partly all at once at nightfall, when the recognition error also comes back (the lighting plays a part). Deduced cause: the camera and its mount move with the heat of the day (camera pose); the structure, a masonry wall, is not supposed to move like that. No temperature is available to confirm it. Normal, nothing to do.", "review": "2026-11-17"}
{"start": "2026-10-10T07:00Z", "end": "2026-10-10T13:00Z", "family": "Visibility", "description": "By day (10/10), sunny morning (cast shadows on the image of 12:00): the corrected curves of the low targets fluctuate beyond their noise, mostly CV.4 in both columns, CV.9 and CV.2 in corr_y, F4.2 and F4.5, and in mid-morning BG.3, P2, P3 jump together in corr_x for one measurement; they come back at once. Calm again from early afternoon. Deduced cause: heat shimmer, the air heated by the sun above the tracks and the ballast, which makes the spots tremble (a fast noise, by day only, with the recognition error of these low targets rising), nothing in front of the targets on the images. Do not trust the small movements of these curves over the range; this is not a movement of the structure."}
{"start": "2026-10-11T10:00Z", "end": "2026-10-11T15:30Z", "family": "Visibility", "description": "By day (11/10), overcast day (image of 12:00), the weakest agitation of the batch that still crosses the noise: CV.4 in corr_y, F4.2, CV.2, and P1, P2 in corr_y make a few one-measurement jumps just beyond their noise, coming back at once; the train of 14:15 is labelled apart. Calm at night. Deduced cause: a weak shimmer of the air above the tracks by day, the same signature as on the sunny days, much weaker; nothing in front of the targets on the images. Do not trust the small movements of these curves over the range; this is not a movement of the structure."}
{"start": "2026-10-11T08:30Z", "end": "2026-10-12T02:45Z", "family": "Thermal displacement", "description": "Daytime thermal cycle (11/10), overcast day (image of 12:00): from the morning, the pan and the tilt of the camera drop and its scale rises, until early afternoon; they come back in the late afternoon, the evening and the first half of the night, beyond their position of the previous night. The compensation absorbs part of it: corr_x of P7 rises clearly, with corr_y of P6 and P5, while corr_x of P1 drops; the curves are back at their night level in the evening, the pose in the night. The train of 14:15 is labelled apart. Deduced cause: the camera and its mount move with the heat of the day (camera pose); the structure, a masonry wall, is not supposed to move like that. No temperature is available to confirm it. Normal, nothing to do."}
{"start": "2026-10-11T14:00Z", "end": "2026-10-11T14:30Z", "family": "Obstruction", "description": "One single measurement: most targets (the CV, the F4 and all the P) are rejected and their curves are missing; the references are affected too (BG.3.1 and R1 rejected), the compensation retains none of them, and the targets that stayed under the threshold, BG.2, BG.3 and F4.5, jump strongly in corr_x and corr_y for the time of the measurement. Everything comes back at the next measurement. Cause: a passage in front of the targets and the references; the camera takes its image on the hour, none at that measurement; deduced from the signature, the same as that of the trains seen on the images of the other passages. The structure is not moving: point to ignore, nothing to do."}
{"start": "2026-10-12T06:30Z", "end": "2026-10-12T07:00Z", "family": "Obstruction", "description": "One single measurement, early in the morning: CV.8 and F4.2 go above their threshold (CV.6 too), their curves are missing, and the recognition error of most CV and F4 targets and of the reference BG.3.1 rises; CV.4, left under its threshold with its recognition error dropping, jumps clearly in corr_x for that measurement, and comes back at the next one. The references hold, the other targets stay within their noise. Cause deduced from the signature: a partial passage in front of the low targets, CV.4 latching onto a light or a reflection; no image at that measurement (the camera takes one on the hour). The structure is not moving: point to ignore, nothing to do."}
{"start": "2026-10-12T07:30Z", "end": "2026-10-12T14:45Z", "family": "Visibility", "description": "By day (12/10), sunny day (cast shadows on the image of 12:00): the corrected curves of the low targets fluctuate beyond their noise, mostly CV.4 in both columns, F4.2, CV.2, F4.5, F4.6, and in mid-morning BG.3, F4.2, F4.6, P2, P3, P4, P6 jump together in corr_x for one measurement; they come back at once; CV.2 and CV.4 are rejected at times (missing points). Calm again in the afternoon. Deduced cause: heat shimmer, the air heated by the sun above the tracks and the ballast, which makes the spots tremble (a fast noise, by day only, with the recognition error of these low targets rising), nothing in front of the targets on the images. Do not trust the small movements of these curves over the range; this is not a movement of the structure."}
{"start": "2026-10-12T08:00Z", "end": "2026-10-14T04:00Z", "family": "Thermal displacement", "description": "Thermal cycle of 12 and 13/10, as one single episode: on the 12th, from the morning, the pan and the tilt of the camera drop and its scale rises; during the night from 12 to 13, the camera comes back only in part, and the corrected curves do not come back: corr_x of P1, P5, P6, P7 and corr_y of P4, P5, P6, P7 stay away from their night level all night, while the recognition error of the P rises a little; on the 13th, a second daytime dip is added to it, then everything comes back on the evening of the 13th and during the night, on the morning of the 14th. Deduced cause: the camera and its mount move with the heat of the day (camera pose); the night without return is not explained, no temperature being available. Nothing to do.", "review": "2026-11-17"}
{"start": "2026-10-12T15:45Z", "end": "2026-10-12T16:15Z", "family": "Obstruction", "description": "One single measurement: most targets (the CV, the F4 and all the P) are rejected and their curves are missing; the references are affected too (BG.3.1 and R1 rejected), the compensation retains none of them, and the targets that stayed under the threshold, BG.2, BG.3 and F4.5, jump strongly in corr_x and corr_y for the time of the measurement. Everything comes back at the next measurement. Cause seen: a train passing in front of the wall and the targets, blurred, on the image of 16:00. The structure is not moving: point to ignore, nothing to do."}
{"start": "2026-10-13T01:45Z", "end": "2026-10-13T02:15Z", "family": "No data", "description": "One measurement is missing, for all sensors, around two in the morning: all curves have a gap; no image at that moment. The power metrics of the station are empty over the whole month. This one-measurement night gap, around 02:00 UTC, falls at the same measurement on FLORIDA and SNCF01 on 09, 14 and 15/10, and only on them (that night, on SNCF01 alone); other stations have the same night gap around the same hour on other weeks (JUNGFRAU and NORDEND in early September): a common cause outside the station, at night, is probable; it is not established. Nothing to do on the station if it does not get worse.", "review": "2026-11-17"}
{"start": "2026-10-13T07:45Z", "end": "2026-10-13T14:00Z", "family": "Visibility", "description": "By day (13/10), sun and clouds (image of 12:00): the corrected curves of the low targets fluctuate beyond their noise, mostly CV.4 in corr_x, F4.2, F4.6, CV.2, and around midday P1, P2 and F4.2 jump together in corr_x for one measurement; they come back at once. Calm again in the afternoon. Deduced cause: heat shimmer, the air heated by the sun above the tracks and the ballast, which makes the spots tremble (a fast noise, by day only, with the recognition error of these low targets rising), nothing in front of the targets on the images. Do not trust the small movements of these curves over the range; this is not a movement of the structure."}
{"start": "2026-10-14T01:15Z", "end": "2026-10-14T01:45Z", "family": "No data", "description": "One measurement is missing, for all sensors, around two in the morning: all curves have a gap. The power metrics of the station are empty over the whole month. This one-measurement night gap, around 02:00 UTC, falls at the same measurement on FLORIDA and SNCF01 on 09, 14 and 15/10, and only on them; other stations have the same night gap around the same hour on other weeks (JUNGFRAU and NORDEND in early September): a common cause outside the station, at night, is probable; it is not established. Nothing to do on the station if it does not get worse.", "review": "2026-11-17"}
@@ -0,0 +1,114 @@
# SNCF01: check of the labels of 4 to 14 October
Your question: check the 30 labels already placed between 4 October 00:00 and 14 October 06:45, under the new rule that only what stands out from the noise is labelled. For each label: keep, correct, remove, or add.
## Verification
Counts:
- 14 kept
- 14 corrected
- 2 removed
- 0 added
Result: 28 labels.
Changes:
- **SNCF01-8**: bounds tightened to 08:45→16:30 (was 08:15→17:15). The text now describes that day's targets. Reason: the agitation goes beyond the noise only between 09:00 and 16:15.
- **SNCF01-11**: end moved from 16:45 to 15:15. Reason: the last movement beyond the noise is at 15:00; the 16:00 train has its own label.
- **SNCF01-13**: removed. Reason: at 06/10 06:45 the low targets are only missing points. The targets that remain move 3 noises at most.
- **SNCF01-14**: bounds changed to 07:00→13:15 (was 07:15→14:30). Reason: the agitation stops at 13:00.
- **SNCF01-15**: end moved from midnight to 07/10 03:00, and the text rewritten. Reasons: a cycle never ends at midnight; the camera reaches its night position about 03:00; the old text had a copy error.
- **SNCF01-16**: end moved from 21:00 to 08/10 04:15, and the text rewritten. Reasons: P5 is still off its level until 01:00, and the camera keeps coming back until 04:15. The day was weak and overcast; the old text was copied from a sunny day.
- **SNCF01-17**: text corrected. Reason: BG.3, F4.5 and F4.6 do move a little beyond their noise at the 13:00 train. The old text said they "barely move".
- **SNCF01-24**: removed. Reason: on 9 October (overcast) one single value reaches 5.1 noises. The rest is a missing point and the start of the thermal cycle.
- **SNCF01-27**: bounds changed to 07:00→13:00 (was 07:15→14:15). Reason: the agitation ends at 12:45.
- **SNCF01-28**: bounds changed to 10:00→15:30 (was 08:15→16:00), and the text now says weak and overcast. Reason: only a few values just beyond the noise.
- **SNCF01-29**: end moved from midnight to 12/10 02:45, and the text rewritten. Reasons: same as -15; the camera stops coming back at 02:45; the old text had a copy error.
- **SNCF01-30**: text corrected. Reason: all P targets are rejected at 14:15; only BG.2, BG.3 and F4.5 jump.
- **SNCF01-31**: text corrected. Reason: CV.4 is not rejected; it jumps by about 1.3 mm for one measurement. The old text said "nothing else moves".
- **SNCF01-32**: bounds changed to 07:30→14:45 (was 07:00→16:15). Reason: the agitation runs from 07:45 to 14:30.
- **SNCF01-34**: text corrected. Reason: same as -30.
- **SNCF01-36**: bounds changed to 07:45→14:00 (was 08:30→14:30). Reason: the agitation runs from 08:00 to 13:45.
Spanning labels:
- None is wrong inside the range.
- SNCF01-5 (F4.3) says about half of its measurements are rejected. Here it is about a quarter. The defect holds, but the text overstates it for this period.
## In short
Most labels hold. The two removed labels were below the noise threshold. The corrections are tighter bounds and texts that had been copied from another day.
The curves cannot be trusted:
- by day on sunny days, when the low targets shake;
- at the six train passages, where the targets that stay visible jump by up to about 7 mm for one measurement.
Every day the camera warms and moves, and the compensation leaves up to about 1.4 mm on P7. No real movement of the wall is seen in these ten days, apart from the slow month-long drift already labelled.
## What happened
**The camera's daily cycle (every day).** In the sun the camera turns a little and comes back at night. The compensation does not erase all of it:
- P7 drifts by about 1 to 1.4 mm on sunny days (4, 5, 6 and 12 October), and less on overcast days.
- P1 moves the other way.
- On 12 October the curves do not come back during the night; they come back on the 14th.
There is no temperature sensor on this station, so the link to the heat is likely, not confirmed. The structure itself is not moving.
**Daytime shaking of the low targets (sunny days).** From morning to early afternoon, the corrected curves of the low targets jump from one measurement to the next and come back at once. These are mostly CV.4, CV.2 and F4.2, up to about 2 mm. Their recognition error rises at the same time. Some P targets jump together for one measurement. At night it stops. The shaking appears only on days with sun (shadows on the wall in the images). The cause is likely hot air shimmering above the tracks. It is weak on 11 and 13 October and does not reach the threshold on 7 and 9 October.
**Trains (6 passages).**
- Trains are seen on the images on 5 October 16:00, 7 October 13:00 and 16:00, and 12 October 16:00.
- The passages on 7 October 19:45 and 11 October 14:15 are deduced from the same signature.
- On these trains, most targets and two of the three references are hidden. The targets left visible (BG.2, BG.3, F4.5, sometimes some P) jump by 5 to 7 mm for one measurement, then come back. Confirmed.
- On 12 October 06:45, a smaller passage makes CV.4 jump by about 1.3 mm for one measurement. Likely (no image).
![Corrected curves in x of P7, P1 and CV.4, in mm](curves_P7_P1_CV4_mm.png)
P7 (blue): the daily thermal hump. CV.4 (green): the daytime shaking. P1 (orange): the drop at the 7 October 16:00 train.
![Train passing on 7 October at 13:00](train_20261007T1300Z.jpg)
The blurred train crosses the lower part of the wall, in front of the targets.
**Missing measurements (4 nights).** On 9, 10, 13 and 14 October, one measurement is missing for all sensors, around 01:30-02:00. On the 9th and 14th FLORIDA misses the same instant. The cause is outside the station and not established.
## What to do
Nothing on site for these events. The six targets that are badly seen over the whole month are already labelled for action (BG.1, F4.1, CV.7, F4.4, F4.3, CV.6).
## Not established
- The daily cycle and the shaking are tied to heat by the images (sun) and their shape only. A temperature sensor on the station would confirm it.
- On 7 and 9 October, a single value per day reaches the threshold; I left them as noise. If you want such isolated values labelled, say so.
## Labels
| Start (UTC) | End (UTC) | Family | Targets | In a few words |
|---|---|---|---|---|
| 04/10 08:45 | 04/10 16:30 | Visibility | CV.4, F4.2, BG.2, BG.3, P | daytime shaking, sunny |
| 04/10 09:00 | 05/10 06:30 | Thermal displacement | P7, P6, P5, P1 | camera daily cycle |
| 05/10 06:30 | 06/10 07:15 | Thermal displacement | P7, P6, P5, P1 | camera daily cycle |
| 05/10 07:00 | 05/10 15:15 | Visibility | CV.2, CV.4, F4.2, P1-P3 | daytime shaking, sunny |
| 05/10 15:45 | 05/10 16:15 | Obstruction | BG.2, BG.3, F4.5, P4 | train, seen |
| 06/10 07:00 | 06/10 13:15 | Visibility | CV.4, F4.2, CV.2 | daytime shaking, sunny |
| 06/10 07:15 | 07/10 03:00 | Thermal displacement | P7, P6, P5, P1 | camera daily cycle |
| 07/10 07:30 | 08/10 04:15 | Thermal displacement | P5, P7, P6, P1 | weak cycle, overcast |
| 07/10 12:45 | 07/10 13:15 | Obstruction | BG.3, F4.5, F4.6 | train, seen |
| 07/10 15:45 | 07/10 16:15 | Obstruction | BG.2, BG.3, F4.5, P1 | train, seen |
| 07/10 19:30 | 07/10 20:00 | Obstruction | BG.2, BG.3, F4.5, P2-P7 | passage at night, deduced |
| 08/10 06:45 | 08/10 16:30 | Visibility | CV.2, CV.4, F4.2, P6, P7 | daytime shaking, sunny |
| 08/10 08:15 | 09/10 04:30 | Thermal displacement | P7, P6, P5, P1 | weak cycle, night overshoot |
| 09/10 01:45 | 09/10 02:15 | No data | all | one measurement missing, with FLORIDA |
| 09/10 07:00 | 10/10 06:00 | Thermal displacement | P5, P7, P6, P1, P2 | cycle without evening return |
| 10/10 01:45 | 10/10 02:15 | No data | all | one measurement missing |
| 10/10 07:00 | 11/10 08:30 | Thermal displacement | P7, P6, P5 | camera daily cycle |
| 10/10 07:00 | 10/10 13:00 | Visibility | CV.4, CV.9, CV.2, F4.2, P2, P3 | daytime shaking, sunny |
| 11/10 08:30 | 12/10 02:45 | Thermal displacement | P7, P6, P5, P1 | camera daily cycle, overcast |
| 11/10 10:00 | 11/10 15:30 | Visibility | CV.4, F4.2, CV.2, P1, P2 | weak shaking, overcast |
| 11/10 14:00 | 11/10 14:30 | Obstruction | BG.2, BG.3, F4.5 | passage, deduced |
| 12/10 06:30 | 12/10 07:00 | Obstruction | CV.4 | partial passage, deduced |
| 12/10 07:30 | 12/10 14:45 | Visibility | CV.4, F4.2, CV.2, BG.3, P | daytime shaking, sunny |
| 12/10 08:00 | 14/10 04:00 | Thermal displacement | P7, P6, P5, P1, P4 | two-day cycle, night without return |
| 12/10 15:45 | 12/10 16:15 | Obstruction | BG.2, BG.3, F4.5 | train, seen |
| 13/10 01:45 | 13/10 02:15 | No data | all | one measurement missing |
| 13/10 07:45 | 13/10 14:00 | Visibility | CV.4, F4.2, F4.6, P1, P2 | daytime shaking |
| 14/10 01:15 | 14/10 01:45 | No data | all | one measurement missing, with FLORIDA |
@@ -0,0 +1,6 @@
{
"station": "SNCF01",
"start": "2026-10-04T00:00Z",
"end": "2026-10-14T06:45Z",
"hints": "Verify the existing labels of the range (work/existing.jsonl): keep, correct, remove, add."
}
@@ -0,0 +1,107 @@
"""Builds labels.jsonl: kept labels copied verbatim from work/existing.jsonl (without id), corrected ones rewritten."""
import json, sys
O = sys.argv[1]
old = {json.loads(l)["id"]: json.loads(l) for l in open(f"{O}/work/existing.jsonl")}
KEEP = [9, 10, 12, 18, 19, 20, 21, 22, 23, 25, 26, 33, 35, 37]
SH = ("Deduced cause: heat shimmer, the air heated by the sun above the tracks and the ballast, which makes the spots "
"tremble (a fast noise, by day only, with the recognition error of these low targets rising), nothing in front "
"of the targets on the images. Do not trust the small movements of these curves over the range; this is not a "
"movement of the structure.")
new = {
8: ("2026-10-04T08:45Z", "2026-10-04T16:30Z", "Visibility",
"By day (04/10), sunny day (cast shadows on the wall on the image of 12:00): the corrected curves of the low targets "
"fluctuate from one measurement to the next beyond their noise, mostly CV.4 (corr_x and corr_y), F4.2, BG.2, BG.3, with "
"one-measurement jumps that come back at once; late in the morning, BG.3, F4.2, BG.2 and the P targets jump together in "
"corr_x for one measurement; CV.2 and CV.4 are rejected at times (missing points). At night everything is calm again. " + SH),
11: ("2026-10-05T07:00Z", "2026-10-05T15:15Z", "Visibility",
"By day (05/10), sunny day (cast shadows on the image of 12:00): the corrected curves of the low targets fluctuate from "
"one measurement to the next beyond their noise, the most strongly of the batch: CV.4 and CV.2 in both columns, F4.2, "
"BG.3, and in late morning the corr_y of P1, P2, P3 jump together for one or two measurements; CV.2, CV.4 and F4.2 are "
"rejected at times (missing points). Calm again before nightfall; the train of 16:00 is labelled apart. " + SH),
14: ("2026-10-06T07:00Z", "2026-10-06T13:15Z", "Visibility",
"By day (06/10), sunny morning (cast shadows on the image of 12:00): the corrected curves of the low targets fluctuate "
"beyond their noise, mostly CV.4 in corr_x, F4.2 in both columns and CV.2, with one-measurement jumps that come back at "
"once; CV.2 and CV.4 are rejected at times (missing points). The other targets stay within their noise; calm again from "
"early afternoon. " + SH),
15: ("2026-10-06T07:15Z", "2026-10-07T03:00Z", "Thermal displacement",
"Daytime thermal cycle (06/10), sunny day (cast shadows on the image of 12:00): from the morning, the pan and the tilt of "
"the camera drop strongly and its scale rises, until early afternoon; they come back slowly in the afternoon, the evening "
"and the first half of the night. The compensation absorbs only part of it: corr_x of P7 rises clearly, with corr_y of "
"P6 and P7, while corr_x of P1 drops and that of P5 rises; the curves come back to their night level late in the evening, "
"the pose in the night. Deduced cause: the camera and its mount move with the heat of the day (camera pose); the "
"structure, a masonry wall, is not supposed to move like that. No temperature is available to confirm it. Normal, "
"nothing to do."),
16: ("2026-10-07T07:30Z", "2026-10-08T04:15Z", "Thermal displacement",
"Weak daytime thermal cycle (07/10), overcast day (image of 12:00): in the morning, the pan and the tilt of the camera "
"drop a little and its scale rises a little, then the camera stays in that position all afternoon; it comes back in the "
"evening and all night, beyond its position of the previous night, until early on the 8th. The corrected curves follow, "
"less than on the sunny days: corr_x of P5 and P7 rises, corr_y of P7 and P6 too, corr_x of P1 drops; P7 comes back late "
"in the evening, P5 only after midnight. The three train passages of the day (13:00, 16:00, 19:45) are labelled apart. "
"Deduced cause: the camera and its mount move with the heat of the day (camera pose); the structure, a masonry wall, is "
"not supposed to move like that. No temperature is available to confirm it. Normal, nothing to do."),
17: ("2026-10-07T12:45Z", "2026-10-07T13:15Z", "Obstruction",
"One single measurement: most targets (the CV, the F4 except F4.5 and F4.6, and all the P) are rejected and their curves "
"are missing; the references are affected too (R1 rejected, BG.3.1 just under its threshold and left out), the "
"compensation retains none of them; the targets that stayed under the threshold jump a little beyond their noise, BG.3 in "
"corr_x, F4.5 and F4.6 in corr_y. Everything comes back at the next measurement. Cause seen: a train passing in front of "
"the wall and the targets, blurred, on the image of 13:00. The structure is not moving: point to ignore, nothing to do."),
27: ("2026-10-10T07:00Z", "2026-10-10T13:00Z", "Visibility",
"By day (10/10), sunny morning (cast shadows on the image of 12:00): the corrected curves of the low targets fluctuate "
"beyond their noise, mostly CV.4 in both columns, CV.9 and CV.2 in corr_y, F4.2 and F4.5, and in mid-morning BG.3, P2, "
"P3 jump together in corr_x for one measurement; they come back at once. Calm again from early afternoon. " + SH),
28: ("2026-10-11T10:00Z", "2026-10-11T15:30Z", "Visibility",
"By day (11/10), overcast day (image of 12:00), the weakest agitation of the batch that still crosses the noise: CV.4 in "
"corr_y, F4.2, CV.2, and P1, P2 in corr_y make a few one-measurement jumps just beyond their noise, coming back at once; "
"the train of 14:15 is labelled apart. Calm at night. Deduced cause: a weak shimmer of the air above the tracks by day, "
"the same signature as on the sunny days, much weaker; nothing in front of the targets on the images. Do not trust the "
"small movements of these curves over the range; this is not a movement of the structure."),
29: ("2026-10-11T08:30Z", "2026-10-12T02:45Z", "Thermal displacement",
"Daytime thermal cycle (11/10), overcast day (image of 12:00): from the morning, the pan and the tilt of the camera drop "
"and its scale rises, until early afternoon; they come back in the late afternoon, the evening and the first half of the "
"night, beyond their position of the previous night. The compensation absorbs part of it: corr_x of P7 rises clearly, "
"with corr_y of P6 and P5, while corr_x of P1 drops; the curves are back at their night level in the evening, the pose in "
"the night. The train of 14:15 is labelled apart. Deduced cause: the camera and its mount move with the heat of the day "
"(camera pose); the structure, a masonry wall, is not supposed to move like that. No temperature is available to confirm "
"it. Normal, nothing to do."),
30: ("2026-10-11T14:00Z", "2026-10-11T14:30Z", "Obstruction",
"One single measurement: most targets (the CV, the F4 and all the P) are rejected and their curves are missing; the "
"references are affected too (BG.3.1 and R1 rejected), the compensation retains none of them, and the targets that "
"stayed under the threshold, BG.2, BG.3 and F4.5, jump strongly in corr_x and corr_y for the time of the measurement. "
"Everything comes back at the next measurement. Cause: a passage in front of the targets and the references; the camera "
"takes its image on the hour, none at that measurement; deduced from the signature, the same as that of the trains seen "
"on the images of the other passages. The structure is not moving: point to ignore, nothing to do."),
31: ("2026-10-12T06:30Z", "2026-10-12T07:00Z", "Obstruction",
"One single measurement, early in the morning: CV.8 and F4.2 go above their threshold (CV.6 too), their curves are "
"missing, and the recognition error of most CV and F4 targets and of the reference BG.3.1 rises; CV.4, left under its "
"threshold with its recognition error dropping, jumps clearly in corr_x for that measurement, and comes back at the next "
"one. The references hold, the other targets stay within their noise. Cause deduced from the signature: a partial passage "
"in front of the low targets, CV.4 latching onto a light or a reflection; no image at that measurement (the camera takes "
"one on the hour). The structure is not moving: point to ignore, nothing to do."),
32: ("2026-10-12T07:30Z", "2026-10-12T14:45Z", "Visibility",
"By day (12/10), sunny day (cast shadows on the image of 12:00): the corrected curves of the low targets fluctuate beyond "
"their noise, mostly CV.4 in both columns, F4.2, CV.2, F4.5, F4.6, and in mid-morning BG.3, F4.2, F4.6, P2, P3, P4, P6 "
"jump together in corr_x for one measurement; they come back at once; CV.2 and CV.4 are rejected at times (missing "
"points). Calm again in the afternoon. " + SH),
34: ("2026-10-12T15:45Z", "2026-10-12T16:15Z", "Obstruction",
"One single measurement: most targets (the CV, the F4 and all the P) are rejected and their curves are missing; the "
"references are affected too (BG.3.1 and R1 rejected), the compensation retains none of them, and the targets that "
"stayed under the threshold, BG.2, BG.3 and F4.5, jump strongly in corr_x and corr_y for the time of the measurement. "
"Everything comes back at the next measurement. Cause seen: a train passing in front of the wall and the targets, "
"blurred, on the image of 16:00. The structure is not moving: point to ignore, nothing to do."),
36: ("2026-10-13T07:45Z", "2026-10-13T14:00Z", "Visibility",
"By day (13/10), sun and clouds (image of 12:00): the corrected curves of the low targets fluctuate beyond their noise, "
"mostly CV.4 in corr_x, F4.2, F4.6, CV.2, and around midday P1, P2 and F4.2 jump together in corr_x for one measurement; "
"they come back at once. Calm again in the afternoon. " + SH),
}
out = []
for i in sorted(KEEP + list(new)):
if i in KEEP:
d = dict(old[f"SNCF01-{i}"]); d.pop("id")
else:
s, e, f, desc = new[i]
d = {"start": s, "end": e, "family": f, "description": desc}
out.append(d)
with open(f"{O}/labels.jsonl", "w") as fh:
for d in out:
fh.write(json.dumps(d, ensure_ascii=False) + "\n")
print(len(out))
@@ -0,0 +1,55 @@
"""Per day and per target: fast deviation (rolling ±4 median) and slow deviation (smoothed 5, against the previous
night level 20-03 UTC), in own noises (median |diff| over the window), with the instants of the extremes.
Usage: python3 daily.py data/SNCF01 START END [exclude_instants_comma]"""
import sys, statistics
from datetime import timedelta
sys.path.insert(0, "tools/scripts")
import data, common
folder, start, end = sys.argv[1], data.parse_time(sys.argv[2]), data.parse_time(sys.argv[3])
excl = set(sys.argv[4].split(",")) if len(sys.argv) > 4 else set()
by = data.load(folder)
SKIP = {"BG.1", "F4.1"}
out = []
for s, ms in by.items():
if data.is_reference(ms) or s in SKIP:
continue
for col in ("corr_x", "corr_y"):
ser = [(m["t"], m[col]) for m in ms if start - timedelta(hours=12) <= m["t"] <= end and m[col] is not None
and data.iso(m["t"]) not in excl]
win = [v for t, v in ser if t >= start]
if len(win) < 10:
continue
noise = common.own_noise(win)
if not noise:
continue
vals = [v for _, v in ser]
days = {}
for i, (t, v) in enumerate(ser):
if t < start:
continue
nb = vals[max(0, i - 4):i] + vals[i + 1:i + 5]
fast = (v - statistics.median(nb)) / noise if nb else 0
sm = statistics.median(vals[max(0, i - 2):i + 3])
d = t.date()
days.setdefault(d, []).append((t, fast, sm))
# night level: 20-03 before each day
for d, rows in sorted(days.items()):
n0 = [v for t, v in ser if (t.date() == d - timedelta(days=1) and t.hour >= 20) or (t.date() == d and t.hour < 3)]
lvl = statistics.median(n0) if n0 else None
fmax = max(rows, key=lambda r: abs(r[1]))
nfast = sum(1 for r in rows if abs(r[1]) > 5)
if lvl is not None:
smax = max(rows, key=lambda r: abs(r[2] - lvl))
sdev = (smax[2] - lvl) / noise
exc = [r[0] for r in rows if abs(r[2] - lvl) / noise > 5]
else:
smax, sdev, exc = (None,), 0, []
out.append((str(d), s, col, noise, fmax[1], data.iso(fmax[0])[11:16], nfast, sdev,
data.iso(smax[0])[11:16] if smax[0] else "-",
data.iso(exc[0])[11:16] if exc else "-", data.iso(exc[-1])[11:16] if exc else "-",
(data.load_targets(folder).get(s) or {}).get("mm_per_px")))
for r in sorted(out):
k = r[11] or 0
print(f"{r[0]} {r[1]:6} {r[2]:6} noise {r[3]:.4f} ({r[3]*k:.3f}mm) fastmax {r[4]:+6.1f}@{r[5]} n>5 {r[6]:3d} "
f"slow {r[7]:+6.1f}@{r[8]} ({r[7]*r[3]*k:+.2f}mm) exc {r[9]}-{r[10]}")
@@ -0,0 +1,25 @@
"""Instants where a target's corr deviates >K own noises from its rolling ±4 median (passages excluded), per day,
with the targets, to bound the daytime agitation. Usage: fast_instants.py folder START END EXCL K"""
import sys, statistics
from datetime import timedelta
sys.path.insert(0, "tools/scripts")
import data, common
folder, start, end = sys.argv[1], data.parse_time(sys.argv[2]), data.parse_time(sys.argv[3])
excl = set(sys.argv[4].split(",")); K = float(sys.argv[5])
TI = {"BG.1", "F4.1", "CV.6", "CV.7", "F4.3", "F4.4"}
by = data.load(folder)
hits = {}
for s, ms in by.items():
if data.is_reference(ms) or s in TI:
continue
for col in ("corr_x", "corr_y"):
ser = [(m["t"], m[col]) for m in ms if start <= m["t"] <= end and m[col] is not None and data.iso(m["t"]) not in excl]
vals = [v for _, v in ser]
noise = common.own_noise(vals)
for i, (t, v) in enumerate(ser):
nb = vals[max(0, i - 4):i] + vals[i + 1:i + 5]
dv = (v - statistics.median(nb)) / noise
if abs(dv) > K:
hits.setdefault(t, []).append(f"{s}{col[-1]}{dv:+.1f}")
for t in sorted(hits):
print(data.iso(t), len(hits[t]), " ".join(hits[t]))
@@ -0,0 +1,42 @@
"""Per day: first instant (after 05:00) where a target's smoothed corr (median of 5) leaves the previous night level
(01:00-05:00) by > 5 own noises, and last instant (before next 06:00) where it is still > 5 noises from the next
night level; per target. Passages excluded. Usage: thermal_bounds.py folder EXCL"""
import sys, statistics
from datetime import timedelta, datetime, timezone
sys.path.insert(0, "tools/scripts")
import data, common
folder = sys.argv[1]; excl = set(sys.argv[2].split(","))
TI = {"BG.1", "F4.1", "CV.6", "CV.7", "F4.3", "F4.4"}
by = data.load(folder)
S, E = data.parse_time("2026-10-03T00:00Z"), data.parse_time("2026-10-14T12:00Z")
res = {}
for s, ms in by.items():
if data.is_reference(ms) or s in TI: continue
for col in ("corr_x", "corr_y"):
ser = [(m["t"], m[col]) for m in ms if S <= m["t"] <= E and m[col] is not None and data.iso(m["t"]) not in excl]
vals = [v for _, v in ser]
noise = common.own_noise(vals)
sm = [(t, statistics.median(vals[max(0, i-2):i+3])) for i, (t, _) in enumerate(ser)]
def night(d):
v = [x for t, x in ser if t.date() == d and 1 <= t.hour < 5]
return statistics.median(v) if v else None
for k in range(4, 15):
d = datetime(2026, 10, k, tzinfo=timezone.utc).date()
n0, n1 = night(d), night(d + timedelta(days=1))
if n0 is None: continue
seg = [(t, x) for t, x in sm if t.date() == d and t.hour >= 5]
st = next((t for t, x in seg if abs(x - n0) / noise > 5), None)
seg2 = [(t, x) for t, x in sm if (t.date() == d and t.hour >= 10) or (t.date() == d + timedelta(days=1) and t.hour < 6)]
en = None
if n1 is not None:
for t, x in seg2:
if abs(x - n1) / noise > 5: en = t
mx = max((abs(x - n0) / noise for t, x in seg), default=0)
res.setdefault(str(d), []).append((s + col[-1], st, en, mx))
for d in sorted(res):
rows = sorted(res[d], key=lambda r: -r[3])[:8]
sts = [r[1] for r in res[d] if r[1] and r[3] > 8]
ens = [r[2] for r in res[d] if r[2] and r[3] > 8]
print(d, "first", data.iso(min(sts)) if sts else "-", "last", data.iso(max(ens)) if ens else "-")
for r in rows:
print(" ", r[0], data.iso(r[1])[5:16] if r[1] else "-", data.iso(r[2])[5:16] if r[2] else "-", f"{r[3]:.1f}")
Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB