energy_data_retrieval.hydro_catalogue.kengen_new#

Accept explicitly reviewed owner-identified plants without invented registry IDs.

energy_data_retrieval.hydro_catalogue.kengen_new.new_record(entry, *, now)[source]#

Use a frozen catalogue accession, not a purported national licence ID.

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

  • now (str)

Return type:

dict[str, Any]

energy_data_retrieval.hydro_catalogue.kengen_new.accept_new(root, batch, output)[source]#

Preflight every identity and name collision before writing one new shard.

Parameters:
  • root (Path)

  • batch (dict[str, Any])

  • output (Path)

Return type:

int