Temporal reconciliation

Temporal reconciliation links target dates with label snapshots or validity windows and, by default, can also materialise the matched label sources per target date. The module therefore produces both an audit table and a practical handover folder for training data. The materialised sources can be passed to Spatial Reconstruction for grid alignment and to Soft Targets & Weights through the temporal-quality values.

Minimum inputs

InputRequired?Notes
Target datesYesText list, CSV date field or raster folder with dates in filenames.
Label table CSV or label source folderOptional, but needed for real reconciliationA table may contain snapshot/validity dates and a source path column. A folder may contain dated rasters/vectors such as labels_20240701.tif or survey_20240701.gpkg.
Date or validity fieldsMethod-dependentUse snapshot date fields for nearest/previous/next; use valid-from/valid-to for validity windows.
Source path fieldFor materialisation from CSVUsually source_path, label_path, raster_path or vector_path. Relative paths are resolved against the CSV folder.
Tolerance, backtrack, half-lifeOptionalControl acceptance and quality decay.

Accepted date formats

YYYY-MM-DD, YYYY/MM/DD, YYYY.MM.DD, YYYYMMDD, DD.MM.YYYY, DD/MM/YYYY

Matching

MethodMeaning
StaticUse one label state for all target dates. Mainly useful for metadata/date-axis generation.
Nearest / previous / nextPick the closest valid snapshot according to direction and tolerance.
Validity windowAccept labels where valid_from ≤ target_date ≤ valid_to; open-ended valid-to is allowed.
Previous valid / backtrackUse previous snapshots only within the backtrack window.

Core calculations

Δt = ttargettlabel

Date offset: signed temporal distance between target date and matched label snapshot. The output table stores |Δt| in days.

qt = exp(−ln(2) · |Δt| / T1/2)

Temporal quality: T1/2 is the half-life in days. After one half-life, quality is 0.5. The accepted flag is a hard rule; qt is a soft reliability value for later weighting.

Ltarget = Lj with accepted(ttarget, tj) = 1 and minimal allowed offset

Materialised label source: for each accepted target date, HELIX copies or indexes the matched raster/vector source as a per-date label source. Rasterisation and source fusion remain the responsibility of Spatial Reconstruction.

Main outputs

OutputMeaning
Date axis CSVIndex, date, year, day-of-year and spacing to previous/next date.
Temporal match CSVMatched label state, offset, status, accepted flag, temporal quality, source path and materialised source path.
Materialised label-source index CSVOne row per target date with original and copied/indexed source path. Use this as handover to scripts, Model Builder or Spatial Reconstruction.
Reconciled label-source folderContains copied matched rasters/vectors where source paths were available and accepted.
Report JSONMethod, counts and output paths.
Temporal selects the correct label state for each date. Spatial Reconstruction then makes the selected source grid-aligned. Soft Targets & Weights can use qt as reliability or weight information.