Clean and allocate generation and fuel in EIA-923 data at sub-plant level only. The option to do it at the plant level was bugged (see #360) and is now deactivated. Closes #360. Closes CAR-4207.
Add missing typehints and docstrings to the functions
What the code is doing
Remove add_subplant_id from functions and discard if logic.
Testing
Run 2012 pipeline successfully
Where to look
The oge.data_cleaning.clean_eia923 and oge.data.create_primary_fuel_table are the 2 functions that are modified.
Add missing typehints and docstrings to these functions.
Usage Example/Visuals
N/A
Review estimate
5min
Future work
N/A
Checklist
[x] Update the documentation to reflect changes made in this PR
[x] Format all updated python files using black
[x] Clear outputs from all notebooks modified
[x] Add docstrings and type hints to any new functions created
Purpose
Clean and allocate generation and fuel in EIA-923 data at sub-plant level only. The option to do it at the plant level was bugged (see #360) and is now deactivated. Closes #360. Closes CAR-4207.
Add missing typehints and docstrings to the functions
What the code is doing
Remove
add_subplant_id
from functions and discardif
logic.Testing
Run 2012 pipeline successfully
Where to look
The
oge.data_cleaning.clean_eia923
andoge.data.create_primary_fuel_table
are the 2 functions that are modified. Add missing typehints and docstrings to these functions.Usage Example/Visuals
N/A
Review estimate
5min
Future work
N/A
Checklist
black