Closed WesIngwersen closed 5 years ago
e.g.
inventories_of_interest = {'eGRID': '2016', 'TRI': '2016', 'NEI': '2016', 'RCRAInfo': '2015'} emissions_and_wastes_by_facility = stewicombo.combineInventoriesforFacilitiesinOneInventory("eGRID",inventories_of_interest,filter_for_LCI=True) len(emissions_and_wastes_by_facility[emissions_and_wastes_by_facility['FRS_ID'].isnull()])
This should not be the case for eGRID where not all facilities have SRS_IDs
Found the problem in getInventoriesforFacilityMatches The function should have taken 'base_inventory' and not 'base_inventory_FRS'
Resolved in this commit
e.g.
! beware long run time
inventories_of_interest = {'eGRID': '2016', 'TRI': '2016', 'NEI': '2016', 'RCRAInfo': '2015'} emissions_and_wastes_by_facility = stewicombo.combineInventoriesforFacilitiesinOneInventory("eGRID",inventories_of_interest,filter_for_LCI=True) len(emissions_and_wastes_by_facility[emissions_and_wastes_by_facility['FRS_ID'].isnull()])
0
Null for FRS_ID removed
This should not be the case for eGRID where not all facilities have SRS_IDs