energy_data_retrieval.hydro_catalogue.kengen#
Read KenGen 2025 statistics with explicit rating and fiscal-year boundaries.
- energy_data_retrieval.hydro_catalogue.kengen.parse_statistics(text)[source]#
Parse pdftotext -layout output of printed pp. 246 and 249, fail closed.
Totals and Small Hydros are deliberately excluded: they overlap named plants. A dash is missing, never zero. Sold energy and effective capacity retain their own fields; neither is substituted for generation or installed capacity.
- Parameters:
text (str)
- Return type:
list[dict[str, Any]]