USEPA / ElectricityLCI

Creative Commons Zero v1.0 Universal
24 stars 10 forks source link

Combinator.py deletion error warnings #141

Closed WesIngwersen closed 3 years ago

WesIngwersen commented 3 years ago

Occurring with ELCI_1

WARNING:combinator.py:concat_clean_upstream_and_plant:Error deleting column Net Generation (MWh)
WARNING:combinator.py:fill_nans:Column State is not in the dataframe
Loading 2016 EIA-860 plant data from csv file
WARNING:combinator.py:concat_clean_upstream_and_plant:Error deleting column FuelCategory_right
WARNING:combinator.py:concat_clean_upstream_and_plant:Error deleting column Net Generation (MWh)
WARNING:combinator.py:concat_clean_upstream_and_plant:Error deleting column PrimaryFuel_right
Loading 2016 EIA-860 plant data from csv file
Combining upstream and generation inventories
WARNING:combinator.py:concat_clean_upstream_and_plant:Error deleting column FuelCategory_right
WARNING:combinator.py:concat_clean_upstream_and_plant:Error deleting column Net Generation (MWh)
WARNING:combinator.py:concat_clean_upstream_and_plant:Error deleting column PrimaryFuel_right
WesIngwersen commented 3 years ago

https://github.com/USEPA/ElectricityLCI/blob/3d0844a17c3c26fa6dcb53eb63f8e99c0bf34edc/electricitylci/combinator.py#L366

I assume the error is generated just because the columns are not present. If this is the case I don't think we need the logging message @jump2conclusionsmatt

WesIngwersen commented 3 years ago

Same warnings occur with ELCI_2

m-jamieson commented 3 years ago

Changed logging level for these messages to debug - 60377e0