Preserve native orthophoto detail for training
GeoIntel release gates / Compile, test, contracts and builds (push) Canceled after 0s
GeoIntel release gates / Python and npm vulnerability policy (push) Canceled after 0s
GeoIntel release gates / GIS image, SBOM and container scan (push) Canceled after 0s

This commit is contained in:
Jens
2026-07-27 01:20:10 +02:00
parent 7a83df1e7f
commit 9f05451f04
8 changed files with 59 additions and 10 deletions
+6 -1
View File
@@ -142,7 +142,12 @@ def main() -> int:
raster_path=raster_target,
source_name=reference_source,
min_label_px=args.min_label_px,
imagery_observed_at=raster.observed_at.isoformat() if raster.observed_at else None,
imagery_observed_at=(
raster.observed_at.isoformat()
if raster.observed_at
and (raster.source_metadata or {}).get("observation_time_precision") != "unknown_per_pixel"
else None
),
reference_observed_at=reference.observed_at.isoformat() if reference.observed_at else None,
)
normalized_target.write_text(json.dumps(normalized, ensure_ascii=False), encoding="utf-8")