From ac79bd5052590794cad0665f68bcbafc879e7d79 Mon Sep 17 00:00:00 2001 From: bendnorman Date: Sun, 17 Sep 2023 14:38:09 -0400 Subject: [PATCH] Resolve small denorm EIA rename issues --- docs/release_notes.rst | 2 +- src/pudl/output/pudltabl.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/release_notes.rst b/docs/release_notes.rst index c56745a0ee..aa67bc9345 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -114,7 +114,7 @@ Data Coverage * :ref:`core_eia860__scd_emissions_control_equipment`, see issue :issue:`2338` & PR :pr:`2561`. - * :ref:`denorm_emissions_control_equipment_eia860`, see issue :issue:`2338` & PR + * :ref:`out_eia860__yearly_emissions_control_equipment`, see issue :issue:`2338` & PR :pr:`2561`. * :ref:`core_eia860__yearly_boiler_emissions_control_equipment_assn`, see :issue:`2338` & PR :pr:`2561`. diff --git a/src/pudl/output/pudltabl.py b/src/pudl/output/pudltabl.py index 5e91ec7cda..1816da2107 100644 --- a/src/pudl/output/pudltabl.py +++ b/src/pudl/output/pudltabl.py @@ -206,7 +206,7 @@ def _register_output_methods(self: Self): # eia923 (denormalized, data primarily from EIA-923) "out_eia923__AGG_boiler_fuel": "bf_eia923", "out_eia923__AGG_fuel_receipts_costs": "frc_eia923", - "out_eia__AGG_generators": "gen_original_eia923", + "out_eia923__AGG_generation": "gen_original_eia923", "out_eia923__AGG_generation_fuel_combined": "gf_eia923", # ferc714 "core_ferc714__respondent_id": "respondent_id_ferc714", @@ -396,7 +396,7 @@ def gen_eia923(self: Self, update: bool = False) -> pd.DataFrame: resource = Resource.from_id(table_name) gen_df = gen_df.loc[:, resource.get_field_names()] else: - table_name = self._agg_table_name("denorm_generation_AGG_eia923") + table_name = self._agg_table_name("out_eia923__AGG_generation") gen_df = self._get_table_from_db(table_name) return gen_df