energy_data_retrieval.wind_catalogue.observations#

Attach reviewed dated OEM observations without replacing configuration facts.

energy_data_retrieval.wind_catalogue.observations.enrich_oem_history(document, original, existing, *, now)[source]#

Apply an explicit record-ID/model crosswalk and checksum-pinned transcription.

Observations describe their historical boundary and original units. The caller reviews every mapping; neither model-name similarity nor table position creates an identity. Scalar specifications, aliases and creation times are preserved. Replaying identical observations is idempotent; changing the same dated source on an existing record raises instead of silently replacing the observation.

Parameters:
  • document (dict[str, Any])

  • original (bytes)

  • existing (list[dict[str, Any]])

  • now (str)

Return type:

list[dict[str, Any]]