inventory: the weather (weather/) in what the data contain, its columns filled over the window; GUIDE.md says so

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-17 12:56:19 +01:00
1 parent 4fc86e68f5
commit b6f19b17b6
2 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ python3 tools/scripts/inventory.py <folder> [--start T] [--end T] [--files]
Names and counts, never values. Over the **whole period**: Names and counts, never values. Over the **whole period**:
- files by type: beyond 5 per type, the count, the first and the last (`--files`: the full list, only to look for a specific file); - files by type: beyond 5 per type, the count, the first and the last (`--files`: the full list, only to look for a specific file);
- **what each source contains** over the window: the columns of the export, of the pose and of `quality/`, with the number of rows that have a value ("empty" otherwise; an export column that not all sensors carry says how many carry it); the names of the system metrics of `metrics/`; the images and the difference images. The "Export image quality (peak to snr)" line says whether the six quality metrics are filled (then `quality.py`) or empty; - **what each source contains** over the window: the columns of the export, of the pose, of `quality/` and of `weather/` (the MeteoSwiss weather, hourly; a station without a Swiss position has none), with the number of rows that have a value ("empty" otherwise; an export column that not all sensors carry says how many carry it); the names of the system metrics of `metrics/`; the images and the difference images. The "Export image quality (peak to snr)" line says whether the six quality metrics are filled (then `quality.py`) or empty;
- images by runs of equal gaps between two images (within 5 min, over the window if given): one line per change of gap, a hole is dated by its two images; - images by runs of equal gaps between two images (within 5 min, over the window if given): one line per change of gap, a hole is dated by its two images;
- camera poses (count, period, measurement instants without registration), period, cadence, missing measurements, sensors (reference or target, error threshold, rejected measurements). When `pattern_type` is empty, a sensor is a reference if it carries `reproj_err` or `inlier` (the "pattern_type empty for N sensors" line says so); - camera poses (count, period, measurement instants without registration), period, cadence, missing measurements, sensors (reference or target, error threshold, rejected measurements). When `pattern_type` is empty, a sensor is a reference if it carries `reproj_err` or `inlier` (the "pattern_type empty for N sensors" line says so);
- "Duplicate readings": an export (often named after the customer's project) whose readings are already in the others; with 0 different values, it changes nothing to the reading, otherwise the tools keep the one of the last file in name order. - "Duplicate readings": an export (often named after the customer's project) whose readings are already in the others; with 0 different values, it changes nothing to the reading, otherwise the tools keep the one of the last file in name order.
+4 -2
View File
@@ -8,7 +8,7 @@ references retained by the compensation (inlier = 1; inlier empty over the windo
and, dated, the runs of instants where references are not (which ones, and why: rejected, inlier value, and, dated, the runs of instants where references are not (which ones, and why: rejected, inlier value,
empty). Camera movements (camera/): number of poses, period, and the measurement instants empty). Camera movements (camera/): number of poses, period, and the measurement instants
without a pose (no registration), over the whole period then over the window. Before the counts, what each source without a pose (no registration), over the whole period then over the window. Before the counts, what each source
contains (over the window, otherwise the whole period): the columns of the export, of the pose and of quality/, filled or empty (with, contains (over the window, otherwise the whole period): the columns of the export, of the pose, of quality/ and of weather/, filled or empty (with,
for an export column that not all sensors carry, how many carry it), the names of the system metrics for an export column that not all sensors carry, how many carry it), the names of the system metrics
of metrics/, the images and the differential images. Duplicate readings (same sensor, same instant in two of metrics/, the images and the differential images. Duplicate readings (same sensor, same instant in two
exports, or twice in one) are counted per export. Images: per run of equal gaps between two images (within 5 min; exports, or twice in one) are counted per export. Images: per run of equal gaps between two images (within 5 min;
@@ -112,7 +112,9 @@ def contents(folder, f, start=None, end=None):
for p in f["others"]: for p in f["others"]:
others[os.path.relpath(p, folder).split(os.sep)[0]].append(p) others[os.path.relpath(p, folder).split(os.sep)[0]].append(p)
for title, paths in (('"advanced" export', f["advanced"]), ("Camera pose (camera/)", f["camera"]), for title, paths in (('"advanced" export', f["advanced"]), ("Camera pose (camera/)", f["camera"]),
("Image quality (quality/)", others.pop("quality", []))): ("Image quality (quality/)", others.pop("quality", [])),
("Weather (weather/, nearest MeteoSwiss station, hourly; tools/DATA.md, no tool plots it)",
others.pop("weather", []))):
if paths: if paths:
n, count, who = filled(paths, start, end) n, count, who = filled(paths, start, end)
everyone = set().union(*who.values()) everyone = set().union(*who.values())