Skip to content

Point denorm_generators_eia at out_eia__yearly_generators (re #527)#529

Open
steps-re wants to merge 1 commit into
RMI:mainfrom
steps-re:fix-527-out-eia-yearly-generators
Open

Point denorm_generators_eia at out_eia__yearly_generators (re #527)#529
steps-re wants to merge 1 commit into
RMI:mainfrom
steps-re:fix-527-out-eia-yearly-generators

Conversation

@steps-re

@steps-re steps-re commented Jul 7, 2026

Copy link
Copy Markdown

Re #527.

PUDL removed the intermediate _out_eia__yearly_generators table a few releases back; the same data is now published as out_eia__yearly_generators. This updates the two remaining stale references:

  • src/etoolbox/utils/pudl.py - the pl_scan_pudl(...) call in generator_ownership
  • src/etoolbox/utils/table_map.py - the denorm_generators_eia mapping

The new name is already used elsewhere in table_map.py (e.g. mcoe_generators_yearly), so this just brings the two stragglers in line.

I scoped this deliberately to the one table called out in the issue. There are other leading-underscore _out_eia__* entries in table_map.py (capacity factor, heat rate, fuel cost, plants_utilities, etc.), but some intermediate tables legitimately keep the _out_ prefix, so I didn't want to rename them blind. If it'd help, point me at the current PUDL table list (or confirm which were promoted) and I'm happy to audit and fix the rest in a follow-up.

Verified locally: package imports fine, ruff clean, and the unit suite passes (the only errors are a pre-existing missing script_runner fixture, identical on a clean checkout).

PUDL removed the intermediate _out_eia__yearly_generators table a few
releases ago; the same data now lives in out_eia__yearly_generators (which
this file already references elsewhere). Update the two remaining stale
references in utils/pudl.py and utils/table_map.py.

Re RMI#527.

Signed-off-by: Mike German <mike@stepsventures.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant