energy_data_retrieval.pv_catalogue.cne#

Stage the CNE Chile Capacidad Instalada de Gx CSV for identity review.

The CSV mixes plant and unit observations. Preserve the source grain, and keep net and gross MW separate. This reader never accepts a canonical identity.

class energy_data_retrieval.pv_catalogue.cne.CnePvObservation(row_number, site_key, site_rows, unit_label, technology, gross_mw, net_mw, native_status, update_date, reported_plant_service_date, review_flags)[source]#

Bases: object

Safe, source-qualified candidate without owner, tax or coordinate fields.

Parameters:
  • row_number (int)

  • site_key (tuple[str, ...])

  • site_rows (int)

  • unit_label (str | None)

  • technology (str)

  • gross_mw (float | None)

  • net_mw (float | None)

  • native_status (str | None)

  • update_date (str)

  • reported_plant_service_date (str | None)

  • review_flags (tuple[str, ...])

row_number: int#
site_key: tuple[str, ...]#
site_rows: int#
unit_label: str | None#
technology: str#
gross_mw: float | None#
net_mw: float | None#
native_status: str | None#
update_date: str#
reported_plant_service_date: str | None#
review_flags: tuple[str, ...]#
energy_data_retrieval.pv_catalogue.cne.read_cne_csv(path, *, sha256)[source]#

Read an exact source revision, staging only explicit photovoltaic rows.

The native final technology field distinguishes PV from generic solar or CSP. Conflicting classifications, repeated site keys and inconsistent capacity bases stay visible as review flags. No rows are aggregated.

Parameters:
  • path (Path)

  • sha256 (str)

Return type:

list[CnePvObservation]