Closed miloknowles closed 1 year ago
Potential causes to check:
pudl.sqlite
file by running load_data.download_updated_pudl_database(download=True)
?proposed
in the years that you are looking at?primary_fuel_table
have a non-missing energy_source_code
assigned in gen_fuel_allocated
If this is something you want to dig into, feel free to use the branch primary_fuel_table
It seems like this issue is now fixed - performing an outer merge on gen_fuel_allocated
and primary_fuel_table
results in no records with a "left_only" indicator.
Context: Currently, the
clean_eia923
function returns (1)gen_fuel_allocated
and (2)primary_fuel_table
. For each plant/generator/month row ingen_fuel_allocated
, I've been usingprimary_fuel_table
to look up the energy source code for that plant and generator.Problem: For a small number of generators in
gen_fuel_allocated
, there is no corresponding data inprimary_fuel_table
. Usually, that generator "appears" in theprimary_fuel_table
in a later year, which has allowed me to manually fix those generators.Any idea why this might be @grgmiller ? Maybe this is a problem you've already found? I can either create a manual data file to assign fuel types to these generators, or we can dig deeper into why this is happening.
For reference, here is my manual workaround: