energy_data_retrieval.bess_catalogue.nemsa#

Offline, allowlisted staging of public NEMSA mini-grid inspection applications.

These are applicant declarations, not certificates or commercial-operation records. Keep reported units/text untouched for manual identity and scope review. No network access, personal-contact extraction, numeric repair or canonical import.

energy_data_retrieval.bess_catalogue.nemsa.parse_nemsa_minigrid_html(content, *, source_url)[source]#

Stage one application, keyed by the supplied exact public entry URL.

Identical page copies collapse; conflicting copies or changed mandatory headers fail closed. Company-address State rows are excluded by anchoring at the community label. Battery subsection observations never overwrite the top-level storage claim. Owner fields may contain personal applicant names, so ownership is deliberately left for manual source review.

Parameters:
  • content (bytes)

  • source_url (str)

Return type:

dict[str, Any]