energy_data_retrieval.hydro_catalogue.doed#

Nepal DoED construction licences: bounded provenance, not operating status.

energy_data_retrieval.hydro_catalogue.doed.parse_inventory(html)[source]#

Preserve four bounding coordinates and unconverted licence date strings.

Parameters:

html (str)

Return type:

list[dict[str, Any]]

energy_data_retrieval.hydro_catalogue.doed.parse_updated_date(html)[source]#

Require one explicit page update date; do not convert licence calendar strings.

Parameters:

html (str)

Return type:

str

energy_data_retrieval.hydro_catalogue.doed.validate_reviewed_batch(batch)[source]#

Require exhaustive, disjoint decisions within a frozen source-row partition.

Parameters:

batch (dict[str, Any])

Return type:

None

energy_data_retrieval.hydro_catalogue.doed.new_record(entry, *, now, source_id='doed-construction-over1-20261106', source_as_of=None)[source]#

Accept only explicitly reviewed licence identities; preserve unknown scope.

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

  • now (str)

  • source_id (str)

  • source_as_of (str | None)

Return type:

dict[str, Any]