singularity-energy / open-grid-emissions

Tools for producing high-quality hourly generation and emissions data for U.S. electric grids
MIT License
67 stars 4 forks source link

Add 2005, 2006 and 2007 years #362

Closed rouille closed 1 month ago

rouille commented 1 month ago

Purpose

Allow to run pipeline for years 2005, 2006 and 2007. Closes CAR-4211.

Add missing typehints and add/format docstrings in all functions located in the load_data and download_data modules.

What the code is doing

Testing

Run 2005, 2006 and 2007 pipelines successfully.

Where to look

Usage Example/Visuals

From log file:

2024-05-17 11:21:37,194 [WARNING] oge.oge.download_data:313 EIA-923 data is unavailable for 2006.
...
2024-05-17 11:22:32,070 [INFO] oge.data_pipeline:169 3. Cleaning EIA-923 data
2024-05-17 11:22:33,969 [WARNING] oge.oge.load_data:670 denorm_boiler_fuel_monthly_eia923 is empty
2024-05-17 11:22:34,136 [WARNING] oge.oge.load_data:670 denorm_generation_monthly_eia923 is empty
2024-05-17 11:22:34,660 [WARNING] oge.oge.load_data:670 boiler_generator_assn_eia860 is empty

Review estimate

2 min if you don't pay attention to added/formatted docstrings. 20min otherwise

Future work

Add information in the plant attributes file.

Checklist