energy_analysis.module_counting.pipeline#
Verify the image receipt and geographic scope before running the grid counter.
- class energy_analysis.module_counting.pipeline.ImageModuleStudy(result, rgb, site_mask, source_metadata, site_feature, bounds_wgs84)[source]#
Bases:
objectExact input provenance, masked RGB image and unvalidated candidate inventory.
- Parameters:
result (ModuleCount)
rgb (ndarray[tuple[Any, ...], dtype[Any]])
site_mask (ndarray[tuple[Any, ...], dtype[bool]])
source_metadata (dict[str, Any])
site_feature (dict[str, Any])
bounds_wgs84 (tuple[float, float, float, float])
- result: ModuleCount#
- rgb: ndarray[tuple[Any, ...], dtype[Any]]#
- site_mask: ndarray[tuple[Any, ...], dtype[bool]]#
- source_metadata: dict[str, Any]#
- site_feature: dict[str, Any]#
- bounds_wgs84: tuple[float, float, float, float]#
- energy_analysis.module_counting.pipeline.count_rendered_site(image_path, site_feature, *, config=None)[source]#
Count a bounded site in an Orbital PV WMS 1.1.1 EPSG:4326 PNG capture.
The unchanged
.png.meta.jsonreceipt must match the image checksum. No native-resolution/capture-date assumption is made from output dimensions. The supplied polygon determines scope; this function does not identify plants.- Parameters:
image_path (str | Path)
site_feature (dict[str, Any])
config (ModuleCountingConfig | None)
- Return type: