energy_analysis.module_counting.chile#

Reproducible Chilean site selection and explicitly qualified image-count attempts.

Registry maximum power, DC nameplate capacity, reported inventories and image candidates are different measurements. None silently substitutes for another.

energy_analysis.module_counting.chile.rank_operating_solar_sites(registry)[source]#

Rank positive CEN potencia_maxima values, retaining ties and unknown coordinates.

The scope is CEN’s operating Solares category (including solar thermal), not all private installations or a national ranking by DC module capacity. The two selected extrema are independently confirmed to be photovoltaic.

Parameters:

registry (DataFrame)

Return type:

DataFrame

energy_analysis.module_counting.chile.verified_file(directory, filename, checksums)[source]#

Resolve a local fixture only after checking its pinned SHA-256.

Parameters:
  • directory (Path)

  • filename (str)

  • checksums (dict[str, str])

Return type:

Path

energy_analysis.module_counting.chile.load_chile_study(directory)[source]#

Load the dated selection manifest and hash-verified full registry projection.

Parameters:

directory (str | Path)

Return type:

tuple[dict[str, Any], DataFrame]

energy_analysis.module_counting.chile.audit_site_image(directory, key)[source]#

Attempt the Icor counter on a bounded, attributed Chilean static map.

A source sampling gate prevents coarse basemap cells being called modules. No resampling, sharpening, extrapolation or use of reference inventory in detection occurs. Unresolved attempts retain None, never zero.

Parameters:
  • directory (str | Path)

  • key (str)

Return type:

dict[str, Any]

energy_analysis.module_counting.chile.export_chile_audit(directory, destination)[source]#

Export both attempts without relabelling source inventories as image counts.

Parameters:
  • directory (str | Path)

  • destination (str | Path)

Return type:

Path