From 3b4a4818d3d5e7b51868feed7acf8d6a4e460ef6 Mon Sep 17 00:00:00 2001 From: Jake Namovich Date: Mon, 18 Nov 2024 10:45:04 -0500 Subject: [PATCH 01/31] concordance for gloria sectors to USEEIO --- ...LORIA_to_useeio2_commodity_concordance.csv | 514 ++++++++++++++++++ 1 file changed, 514 insertions(+) create mode 100644 import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv diff --git a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv new file mode 100644 index 0000000..36a8b9f --- /dev/null +++ b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv @@ -0,0 +1,514 @@ +GLORIA Sector,USEEIO_Detail_2012,USEEIO_Detail_2017 +Growing wheat,1111B0,1111B0 +Growing maize,1111B0,1111B0 +Growing cereals n.e.c,1111B0,1111B0 +Growing leguminous crops and oil seeds,1111A0,1111A0 +Growing rice,1111B0,1111B0 +"Growing vegetables, roots, tubers",111200,111200 +Growing sugar beet and cane,111900,111900 +Growing tobacco,111900,111900 +Growing fibre crops,111900,111900 +Growing crops n.e.c.,111900,111900 +Growing crops n.e.c.,111400,111400 +Growing grapes,111200,111200 +Growing fruits and nuts,111300,111300 +"Growing beverage crops (coffee, tea etc)",111900,111900 +"Growing beverage crops (coffee, tea etc)",111300,111300 +"Growing spices, aromatic, drug and pharmaceutical crops",111900,111900 +Seeds and plant propagation,111900,111900 +Raising of cattle,112120,112120 +Raising of cattle,1121A0,1121A0 +Raising of sheep and goats,112A00,112A00 +Raising of swine/pigs,112A00,112A00 +Raising of poultry,112300,112300 +Raising of animals n.e.c.; services to agriculture,112A00,112A00 +Raising of animals n.e.c.; services to agriculture,115000,115000 +Forestry and logging,113000,113000 +Forestry and logging,115000,115000 +Fishing,112A00,112A00 +Fishing,114000,114000 +Crustaceans and molluscs,112A00,112A00 +Crustaceans and molluscs,114000,114000 +Hard coal,212100,212100 +Hard coal,21311A,21311A +Lignite and peat,212100,212100 +Lignite and peat,21311A,21311A +Petroleum extraction,211000,211000 +Petroleum extraction,21311A,21311A +Gas extraction,21311A,21311A +Gas extraction,221200,221200 +Iron ores,2122A0,2122A0 +Iron ores,21311A,21311A +Uranium ores,2122A0,2122A0 +Aluminium ore,2122A0,2122A0 +Aluminium ore,21311A,21311A +Copper ores,212230,212230 +Copper ores,21311A,21311A +Gold ores,2122A0,2122A0 +Gold ores,21311A,21311A +Lead/zinc/silver ores,212230,212230 +Lead/zinc/silver ores,2122A0,2122A0 +Lead/zinc/silver ores,21311A,21311A +Nickel ores,212230,212230 +Nickel ores,21311A,21311A +Tin ores,212230,212230 +Tin ores,2122A0,2122A0 +Tin ores,21311A,21311A +Other non-ferrous ores,2122A0,2122A0 +Other non-ferrous ores,21311A,21311A +"Quarrying of stone, sand and clay",212310,212310 +"Quarrying of stone, sand and clay",2123A0,2123A0 +"Quarrying of stone, sand and clay",21311A,21311A +Chemical and fertilizer minerals,2123A0,2123A0 +Chemical and fertilizer minerals,21311A,21311A +Extraction of salt,2123A0,2123A0 +Extraction of salt,21311A,21311A +Mining and quarrying n.e.c.; services to mining,2123A0,2123A0 +Mining and quarrying n.e.c.; services to mining,21311A,21311A +Mining and quarrying n.e.c.; services to mining,213111,213111 +Beef meat,31161A,31161A +Sheep meat,31161A,31161A +Pork,31161A,31161A +Poultry meat,311615,311615 +Other meat products,31161A,31161A +Fish products,311700,311700 +Cereal products,311210,311210 +Cereal products,311230,311230 +Vegetable products,311420,311420 +Fruit products,311420,311420 +Food products and feeds n.e.c.,311111,311111 +Food products and feeds n.e.c.,311119,311119 +Food products and feeds n.e.c.,311210,311210 +Food products and feeds n.e.c.,311221,311221 +Food products and feeds n.e.c.,311230,311230 +Food products and feeds n.e.c.,311300,311300 +Food products and feeds n.e.c.,311410,311410 +Food products and feeds n.e.c.,311420,311420 +Food products and feeds n.e.c.,311520,311520 +Food products and feeds n.e.c.,311810,311810 +Food products and feeds n.e.c.,3118A0,3118A0 +Food products and feeds n.e.c.,311910,311910 +Food products and feeds n.e.c.,311940,311940 +Food products and feeds n.e.c.,311990,311990 +"Sugar refining; cocoa, chocolate and confectionery",311300,311300 +Animal oils and fats,31161A,31161A +Vegetable oils and fats,311225,311225 +Vegetable oils and fats,311224,311224 +Dairy products,311513,311513 +Dairy products,311514,311514 +Dairy products,31151A,31151A +Dairy products,311520,311520 +Alcoholic and other beverages,311920,311920 +Alcoholic and other beverages,311930,311930 +Alcoholic and other beverages,312110,312110 +Alcoholic and other beverages,312120,312120 +Alcoholic and other beverages,312130,312130 +Alcoholic and other beverages,312140,312140 +Tobacco products,312200,312200 +Textiles and clothing,337900,337900 +Textiles and clothing,313100,313100 +Textiles and clothing,313200,313200 +Textiles and clothing,313300,313300 +Textiles and clothing,314110,314110 +Textiles and clothing,314120,314120 +Textiles and clothing,314900,314900 +Textiles and clothing,315000,315000 +Textiles and clothing,3252A0,3252A0 +Leather and footwear,316000,316000 +Leather and footwear,315000,315000 +Sawmill products,321100,321100 +Sawmill products,321200,321200 +Sawmill products,321910,321910 +Sawmill products,3219A0,3219A0 +Sawmill products,337110,337110 +Sawmill products,337121,337121 +Sawmill products,337122,337122 +Sawmill products,337127,337127 +Sawmill products,337215,337215 +Sawmill products,33721A,33721A +Pulp and paper,322110,322110 +Pulp and paper,322120,322120 +Pulp and paper,322130,322130 +Pulp and paper,322210,322210 +Pulp and paper,322220,322220 +Pulp and paper,322230,322230 +Pulp and paper,322291,322291 +Pulp and paper,322299,322299 +Printing,323110,323110 +Printing,323120,323120 +Coke oven products,212100,212100 +Refined petroleum products,324110,324110 +Refined petroleum products,325120,325120 +Refined petroleum products,324121,324121 +Refined petroleum products,324122,324122 +Refined petroleum products,324190,324190 +Nitrogenous fertilizers,325310,325310 +Non-nitrogenous and mixed fertilizers,325310,325310 +Basic petrochemical products,325110,325110 +Basic inorganic chemicals,325180,325180 +Basic organic chemicals,325190,325190 +Pharmaceuticals and medicinal products,325411,325411 +Pharmaceuticals and medicinal products,325412,325412 +Pharmaceuticals and medicinal products,325413,325413 +Pharmaceuticals and medicinal products,325414,325414 +"Dyes, paints, glues, detergents and other chemical products",325520,325520 +"Dyes, paints, glues, detergents and other chemical products",325610,325610 +"Dyes, paints, glues, detergents and other chemical products",325620,325620 +"Dyes, paints, glues, detergents and other chemical products",325910,325910 +"Dyes, paints, glues, detergents and other chemical products",325130,325130 +"Dyes, paints, glues, detergents and other chemical products",325211,325211 +"Dyes, paints, glues, detergents and other chemical products",325320,325320 +"Dyes, paints, glues, detergents and other chemical products",325510,325510 +"Dyes, paints, glues, detergents and other chemical products",3259A0,3259A0 +Rubber products,326210,326210 +Rubber products,326220,326220 +Rubber products,326290,326290 +Plastic products,326110,326110 +Plastic products,326120,326120 +Plastic products,326130,326130 +Plastic products,326140,326140 +Plastic products,326150,326150 +Plastic products,326160,326160 +Plastic products,326190,326190 +Clay building materials,327100,327100 +Glass and other ceramics n.e.c.,327200,327200 +"Cement, lime and plaster products",327310,327310 +"Cement, lime and plaster products",327320,327320 +"Cement, lime and plaster products",327330,327330 +"Cement, lime and plaster products",327390,327390 +"Cement, lime and plaster products",327400,327400 +Other non-metallic mineral products n.e.c.,327910,327910 +Other non-metallic mineral products n.e.c.,327991,327991 +Other non-metallic mineral products n.e.c.,327992,327992 +Other non-metallic mineral products n.e.c.,327993,327993 +Other non-metallic mineral products n.e.c.,327999,327999 +Basic iron and steel,331510,331510 +Basic iron and steel,33211A,33211A +Basic iron and steel,331520,331520 +Basic iron and steel,331110,331110 +Basic iron and steel,331200,331200 +Basic aluminium,331313,331313 +Basic aluminium,331314,331314 +Basic aluminium,33131B,33131B +Basic Copper,331420,331420 +Basic Copper,331410,331410 +Basic Gold,331410,331410 +Basic lead/zinc/silver,331490,331490 +Basic lead/zinc/silver,331520,331520 +Basic nickel,331490,331490 +Basic nickel,331520,331520 +Basic tin,331490,331490 +Basic tin,331520,331520 +Basic non-ferrous metals n.e.c.,331520,331520 +Basic non-ferrous metals n.e.c.,331490,331490 +Fabricated metal products,332119,332119 +Fabricated metal products,332114,332114 +Fabricated metal products,332200,332200 +Fabricated metal products,332410,332410 +Fabricated metal products,332310,332310 +Fabricated metal products,332320,332320 +Fabricated metal products,332420,332420 +Fabricated metal products,332430,332430 +Fabricated metal products,332500,332500 +Fabricated metal products,332600,332600 +Fabricated metal products,332710,332710 +Fabricated metal products,332720,332720 +Fabricated metal products,332800,332800 +Fabricated metal products,332913,332913 +Fabricated metal products,33291A,33291A +Fabricated metal products,332991,332991 +Fabricated metal products,332996,332996 +Fabricated metal products,33299A,33299A +Fabricated metal products,332999,332999 +Machinery and equipment,333111,333111 +Machinery and equipment,333112,333112 +Machinery and equipment,333120,333120 +Machinery and equipment,333130,333130 +Machinery and equipment,333242,333242 +Machinery and equipment,33329A,33329A +Machinery and equipment,333314,333314 +Machinery and equipment,333316,333316 +Machinery and equipment,333318,333318 +Machinery and equipment,333413,333413 +Machinery and equipment,333414,333414 +Machinery and equipment,333415,333415 +Machinery and equipment,333511,333511 +Machinery and equipment,333514,333514 +Machinery and equipment,333517,333517 +Machinery and equipment,33351B,33351B +Machinery and equipment,333611,333611 +Machinery and equipment,333612,333612 +Machinery and equipment,333613,333613 +Machinery and equipment,333618,333618 +Machinery and equipment,333912,333912 +Machinery and equipment,33391A,333914 +Machinery and equipment,333920,333920 +Machinery and equipment,333991,333991 +Machinery and equipment,333993,333993 +Machinery and equipment,333994,333994 +Machinery and equipment,33399A,33399A +Machinery and equipment,33399B,33399B +"Motor vehicles, trailers and semi-trailers",336111,336111 +"Motor vehicles, trailers and semi-trailers",336112,336112 +"Motor vehicles, trailers and semi-trailers",336120,336120 +"Motor vehicles, trailers and semi-trailers",336211,336211 +"Motor vehicles, trailers and semi-trailers",336212,336212 +"Motor vehicles, trailers and semi-trailers",336213,336213 +"Motor vehicles, trailers and semi-trailers",336214,336214 +"Motor vehicles, trailers and semi-trailers",336310,336310 +"Motor vehicles, trailers and semi-trailers",336320,336320 +"Motor vehicles, trailers and semi-trailers",336350,336350 +"Motor vehicles, trailers and semi-trailers",336360,336360 +"Motor vehicles, trailers and semi-trailers",336370,336370 +"Motor vehicles, trailers and semi-trailers",336390,336390 +"Motor vehicles, trailers and semi-trailers",3363A0,3363A0 +Other transport equipment,336411,336411 +Other transport equipment,336412,336412 +Other transport equipment,336413,336413 +Other transport equipment,336414,336414 +Other transport equipment,33641A,33641A +Other transport equipment,336500,336500 +Other transport equipment,336611,336611 +Other transport equipment,336612,336612 +Other transport equipment,336991,336991 +Other transport equipment,336992,336992 +Other transport equipment,336999,336999 +Repair and installation of machinery and equipment (service),811200,811200 +Repair and installation of machinery and equipment (service),811300,811300 +Repair and installation of machinery and equipment (service),811400,811400 +Computers; electronic products; optical and precision instruments,334111,334111 +Computers; electronic products; optical and precision instruments,334112,334112 +Computers; electronic products; optical and precision instruments,334118,334118 +Computers; electronic products; optical and precision instruments,334210,334210 +Computers; electronic products; optical and precision instruments,334220,334220 +Computers; electronic products; optical and precision instruments,334290,334290 +Computers; electronic products; optical and precision instruments,334300,334300 +Computers; electronic products; optical and precision instruments,334413,334413 +Computers; electronic products; optical and precision instruments,334418,334418 +Computers; electronic products; optical and precision instruments,33441A,33441A +Computers; electronic products; optical and precision instruments,334510,334510 +Computers; electronic products; optical and precision instruments,334511,334511 +Computers; electronic products; optical and precision instruments,334512,334512 +Computers; electronic products; optical and precision instruments,334513,334513 +Computers; electronic products; optical and precision instruments,334514,334514 +Computers; electronic products; optical and precision instruments,334515,334515 +Computers; electronic products; optical and precision instruments,334516,334516 +Computers; electronic products; optical and precision instruments,334517,334517 +Computers; electronic products; optical and precision instruments,33451A,33451A +Computers; electronic products; optical and precision instruments,334610,334610 +Electrical equipment,335110,335110 +Electrical equipment,335120,335120 +Electrical equipment,335210,335210 +Electrical equipment,335221,335220 +Electrical equipment,335222,335220 +Electrical equipment,335224,335220 +Electrical equipment,335228,335220 +Electrical equipment,335311,335311 +Electrical equipment,335312,335312 +Electrical equipment,335313,335313 +Electrical equipment,335314,335314 +Electrical equipment,335911,335911 +Electrical equipment,335912,335912 +Electrical equipment,335920,335920 +Electrical equipment,335930,335930 +Electrical equipment,335991,335991 +Electrical equipment,335999,335999 +Furniture and other manufacturing n.e.c,337110,337110 +Furniture and other manufacturing n.e.c,337121,337121 +Furniture and other manufacturing n.e.c,337122,337122 +Furniture and other manufacturing n.e.c,337127,337127 +Furniture and other manufacturing n.e.c,33712N,33712N +Furniture and other manufacturing n.e.c,337215,337215 +Furniture and other manufacturing n.e.c,33721A,33721A +Furniture and other manufacturing n.e.c,337900,337900 +Furniture and other manufacturing n.e.c,339112,339112 +Furniture and other manufacturing n.e.c,339113,339113 +Furniture and other manufacturing n.e.c,339114,339114 +Furniture and other manufacturing n.e.c,339115,339115 +Furniture and other manufacturing n.e.c,339116,339116 +Furniture and other manufacturing n.e.c,339910,339910 +Furniture and other manufacturing n.e.c,339920,339920 +Furniture and other manufacturing n.e.c,339930,339930 +Furniture and other manufacturing n.e.c,339940,339940 +Furniture and other manufacturing n.e.c,339950,339950 +Furniture and other manufacturing n.e.c,339990,339990 +"Electric power generation, transmission and distribution",221100,221100 +Distribution of gaseous fuels through mains,221200,221200 +"Water collection, treatment and supply; sewerage",221300,221300 +"Waste collection, treatment, and disposal",562111,562000 +"Waste collection, treatment, and disposal",562OTH,562000 +"Waste collection, treatment, and disposal",562112,562000 +"Waste collection, treatment, and disposal",562119,562000 +"Waste collection, treatment, and disposal",562HAZ,562000 +"Waste collection, treatment, and disposal",562212,562000 +"Waste collection, treatment, and disposal",562213,562000 +"Waste collection, treatment, and disposal",562910,562000 +"Waste collection, treatment, and disposal",562211,562000 +"Waste collection, treatment, and disposal",562219,562000 +"Waste collection, treatment, and disposal",562991,562000 +"Waste collection, treatment, and disposal",562998,562000 +Materials recovery,562920,562000 +Materials recovery,S00401,S00401 +Materials recovery,S00402,S00402 +Building construction,230301,230301 +Building construction,230302,230302 +Building construction,233210,233210 +Building construction,233230,233230 +Building construction,233240,233240 +Building construction,233262,233262 +Building construction,2332A0,2332A0 +Building construction,2332D0,2332D0 +Building construction,233411,233411 +Building construction,233412,233412 +Building construction,2334A0,2334A0 +Civil engineering construction,2332C0,2332C0 +Wholesale and retail trade; repair of motor vehicles and motorcycles,423100,423100 +Wholesale and retail trade; repair of motor vehicles and motorcycles,423400,423400 +Wholesale and retail trade; repair of motor vehicles and motorcycles,423600,423600 +Wholesale and retail trade; repair of motor vehicles and motorcycles,423800,423800 +Wholesale and retail trade; repair of motor vehicles and motorcycles,423A00,423A00 +Wholesale and retail trade; repair of motor vehicles and motorcycles,424200,424200 +Wholesale and retail trade; repair of motor vehicles and motorcycles,424400,424400 +Wholesale and retail trade; repair of motor vehicles and motorcycles,424700,424700 +Wholesale and retail trade; repair of motor vehicles and motorcycles,424A00,424A00 +Wholesale and retail trade; repair of motor vehicles and motorcycles,425000,425000 +Wholesale and retail trade; repair of motor vehicles and motorcycles,441000,441000 +Wholesale and retail trade; repair of motor vehicles and motorcycles,444000,444000 +Wholesale and retail trade; repair of motor vehicles and motorcycles,445000,445000 +Wholesale and retail trade; repair of motor vehicles and motorcycles,446000,446000 +Wholesale and retail trade; repair of motor vehicles and motorcycles,447000,447000 +Wholesale and retail trade; repair of motor vehicles and motorcycles,448000,448000 +Wholesale and retail trade; repair of motor vehicles and motorcycles,4B0000,4B0000 +Wholesale and retail trade; repair of motor vehicles and motorcycles,452000,452000 +Wholesale and retail trade; repair of motor vehicles and motorcycles,454000,454000 +Wholesale and retail trade; repair of motor vehicles and motorcycles,811100,811100 +Road transport,484000,484000 +Road transport,485000,485000 +Rail transport,482000,482000 +Transport via pipeline,486000,486000 +Water transport,483000,483000 +Air transport,481000,481000 +Services to transport,, +Postal and courier services,492000,492000 +Hospitality,721000,721000 +Hospitality,722110,722110 +Hospitality,722211,722211 +Hospitality,722A00,722A00 +Publishing,511110,511110 +Publishing,511120,511120 +Publishing,511130,511130 +Publishing,5111A0,5111A0 +Publishing,511200,511200 +Telecommunications,515100,515100 +Telecommunications,515200,515200 +Telecommunications,517110,517110 +Telecommunications,517210,517210 +Telecommunications,517A00,517A00 +Information services,518200,518200 +Information services,519130,519130 +Information services,5191A0,5191A0 +Finance and insurance,522A00,522A00 +Finance and insurance,523900,523900 +Finance and insurance,523A00,523A00 +Finance and insurance,524113,524113 +Finance and insurance,5241XX,5241XX +Finance and insurance,524200,524200 +Finance and insurance,525000,525000 +Finance and insurance,52A000,52A000 +Property and real estate,531HSO,531HSO +Property and real estate,531HST,531HST +Property and real estate,531ORE,531ORE +Property and real estate,532100,532100 +Property and real estate,532400,532400 +Property and real estate,532A00,532A00 +Property and real estate,533000,533000 +"Professional, scientific and technical services",541100,541100 +"Professional, scientific and technical services",541200,541200 +"Professional, scientific and technical services",541300,541300 +"Professional, scientific and technical services",541400,541400 +"Professional, scientific and technical services",541511,541511 +"Professional, scientific and technical services",541512,541512 +"Professional, scientific and technical services",54151A,54151A +"Professional, scientific and technical services",541610,541610 +"Professional, scientific and technical services",5416A0,5416A0 +"Professional, scientific and technical services",541700,541700 +"Professional, scientific and technical services",541800,541800 +"Professional, scientific and technical services",541920,541920 +"Professional, scientific and technical services",541940,541940 +"Professional, scientific and technical services",5419A0,5419A0 +Administrative services,561100,561100 +Administrative services,561200,561200 +Administrative services,561300,561300 +Administrative services,561400,561400 +Administrative services,561500,561500 +Administrative services,561600,561600 +Administrative services,561700,561700 +Administrative services,561900,561900 +Government; social security; defence; public order,GSLGE,GSLGE +Government; social security; defence; public order,GSLGH,GSLGH +Government; social security; defence; public order,GSLGO,GSLGO +Government; social security; defence; public order,F02S00,F02S00 +Government; social security; defence; public order,F02N00,F02N00 +Government; social security; defence; public order,F02E00,F02E00 +Government; social security; defence; public order,F02R00,F02R00 +Government; social security; defence; public order,F03000,F03000 +Government; social security; defence; public order,F04000,F04000 +Government; social security; defence; public order,F05000,F05000 +Government; social security; defence; public order,F06C00,F06C00 +Government; social security; defence; public order,F06E00,F06E00 +Government; social security; defence; public order,F06N00,F06N00 +Government; social security; defence; public order,F06S00,F06S00 +Government; social security; defence; public order,F07C00,F07C00 +Government; social security; defence; public order,F07E00,F07E00 +Government; social security; defence; public order,F07S00,F07S00 +Government; social security; defence; public order,F07N00,F07N00 +Government; social security; defence; public order,F01000,F01000 +Government; social security; defence; public order,F10C00,F10C00 +Government; social security; defence; public order,F10E00,F10E00 +Government; social security; defence; public order,F10N00,F10N00 +Government; social security; defence; public order,F10S00,F10S00 +Government; social security; defence; public order,S00101,S00101 +Government; social security; defence; public order,S00201,S00201 +Government; social security; defence; public order,S00102,S00102 +Government; social security; defence; public order,S00203,S00203 +Government; social security; defence; public order,S00202,S00202 +Government; social security; defence; public order,S00500,S00500 +Government; social security; defence; public order,S00600,S00600 +Education,611100,611100 +Education,611A00,611A00 +Education,611B00,611B00 +Human health and social work activities,621100,621100 +Human health and social work activities,621200,621200 +Human health and social work activities,621300,621300 +Human health and social work activities,621400,621400 +Human health and social work activities,621500,621500 +Human health and social work activities,621600,621600 +Human health and social work activities,621900,621900 +Human health and social work activities,622000,622000 +Human health and social work activities,623A00,623A00 +Human health and social work activities,623B00,623B00 +Human health and social work activities,624100,624100 +Human health and social work activities,624400,624400 +Human health and social work activities,624A00,624A00 +"Arts, entertainment and recreation",711100,711100 +"Arts, entertainment and recreation",711200,711200 +"Arts, entertainment and recreation",711500,711500 +"Arts, entertainment and recreation",711A00,711A00 +"Arts, entertainment and recreation",712000,712000 +"Arts, entertainment and recreation",713100,713100 +"Arts, entertainment and recreation",713200,713200 +"Arts, entertainment and recreation",713900,713900 +Other services,812100,812100 +Other services,812200,812200 +Other services,812300,812300 +Other services,812900,812900 +Other services,813100,813100 +Other services,813A00,813A00 +Other services,813B00,813B00 +Other services,814000,814000 +Other services,S00300,S00300 +,S00900,S00900 +,V00200,V00200 +,4200ID,4200ID +,V00100,V00100 +,V00300,V00300 From 2685224074c78c70e7a4a645619f5fad49ab2c60 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Tue, 19 Nov 2024 09:30:38 -0500 Subject: [PATCH 02/31] initial draft gloria parsing --- import_emission_factors/download_gloria.py | 45 ++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 import_emission_factors/download_gloria.py diff --git a/import_emission_factors/download_gloria.py b/import_emission_factors/download_gloria.py new file mode 100644 index 0000000..e824222 --- /dev/null +++ b/import_emission_factors/download_gloria.py @@ -0,0 +1,45 @@ +""" +Downloads and stores as pickle the relevant GLORIA matrices +""" + +import pandas as pd + +from pathlib import Path +import pickle as pkl + + +model_Path = Path(__file__).parent / 'mrio_models' +resource_Path = Path(__file__).parent / 'processed_mrio_resources' +#%% +## install pymrio from https://github.com/francis-barre/pymrio/tree/master +# which matches with https://github.com/IndEcol/pymrio/pull/139 +import pymrio + +def process_gloria(year_start=2012, year_end=2022, download=False): + years = list(range(year_start, year_end+1)) + if download == True: + print('Downloading GLORIA files') + pymrio.download_gloria(storage_folder=model_Path, year=years, + version='59a') + + for y in years: + gloria = pymrio.parse_gloria(path=model_Path, version='59a', + year=y) + # temporary storage + pkl.dump(gloria, open(resource_Path / f'gloria_parsed_{y}.pkl', 'wb')) + # gloria = pkl.load(open(resource_Path / f'gloria_parsed_{y}.pkl','rb')) + gloria = gloria.calc_all() + + d = {} + d['M'] = gloria.satellite.M # raw satellite multipliers + d['N'] = gloria.impacts.M # characterized multipliers + d['output'] = gloria.x + trade = pymrio.IOSystem.get_gross_trade(gloria) + d['Trade Total'] = trade[1] + # ^^ df with gross total imports and exports per sector and region + d['Bilateral Trade'] = trade[0] + # ^^ df with rows: exporting country and sector, columns: importing countries + pkl.dump(d, open(resource_Path / f'gloria_all_resources_{y}.pkl', 'wb')) + +if __name__ == '__main__': + process_gloria(year_start = 2022, year_end = 2022, download=True) From 16e0d4eae9538bb984fc104663cdc6e67cf9a492 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Wed, 20 Nov 2024 08:33:14 -0500 Subject: [PATCH 03/31] access satellite multipliers from GLORIA --- import_emission_factors/download_gloria.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/import_emission_factors/download_gloria.py b/import_emission_factors/download_gloria.py index e824222..873d638 100644 --- a/import_emission_factors/download_gloria.py +++ b/import_emission_factors/download_gloria.py @@ -26,13 +26,13 @@ def process_gloria(year_start=2012, year_end=2022, download=False): gloria = pymrio.parse_gloria(path=model_Path, version='59a', year=y) # temporary storage - pkl.dump(gloria, open(resource_Path / f'gloria_parsed_{y}.pkl', 'wb')) + # pkl.dump(gloria, open(resource_Path / f'gloria_parsed_{y}.pkl', 'wb')) # gloria = pkl.load(open(resource_Path / f'gloria_parsed_{y}.pkl','rb')) - gloria = gloria.calc_all() - + gloria.calc_all() + # pkl.dump(gloria, open(resource_Path / f'gloria_calc_{y}.pkl', 'wb')) + # gloria = pkl.load(open(resource_Path / f'gloria_calc_{y}.pkl','rb')) d = {} - d['M'] = gloria.satellite.M # raw satellite multipliers - d['N'] = gloria.impacts.M # characterized multipliers + d['M'] = gloria.Q.M # raw satellite multipliers d['output'] = gloria.x trade = pymrio.IOSystem.get_gross_trade(gloria) d['Trade Total'] = trade[1] From 8463aab0b31e406a83a7ffde1bda0a4628adf223 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Fri, 22 Nov 2024 12:56:33 -0500 Subject: [PATCH 04/31] skip download of standard deviation files --- import_emission_factors/download_gloria.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/import_emission_factors/download_gloria.py b/import_emission_factors/download_gloria.py index 873d638..a1b7fa5 100644 --- a/import_emission_factors/download_gloria.py +++ b/import_emission_factors/download_gloria.py @@ -15,12 +15,17 @@ # which matches with https://github.com/IndEcol/pymrio/pull/139 import pymrio +urls = pymrio.tools.iodownloader.GLORIA_CONFIG["datafiles"] +urls = {k: [i for i in lst if 'GLORIA_STDDEV' not in i] for k, lst in urls.items()} +## remove STDDEV files to reduce file size and improve runtime + def process_gloria(year_start=2012, year_end=2022, download=False): years = list(range(year_start, year_end+1)) if download == True: print('Downloading GLORIA files') pymrio.download_gloria(storage_folder=model_Path, year=years, - version='59a') + urls=urls, + version='59a') for y in years: gloria = pymrio.parse_gloria(path=model_Path, version='59a', From 8db6cc5ba3e0dc7ba46f8feab5e0fde390e3a859 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Mon, 2 Dec 2024 10:22:31 -0500 Subject: [PATCH 05/31] add new gdrive link --- import_emission_factors/download_gloria.py | 1 + 1 file changed, 1 insertion(+) diff --git a/import_emission_factors/download_gloria.py b/import_emission_factors/download_gloria.py index a1b7fa5..99125bd 100644 --- a/import_emission_factors/download_gloria.py +++ b/import_emission_factors/download_gloria.py @@ -7,6 +7,7 @@ from pathlib import Path import pickle as pkl +# https://drive.google.com/drive/folders/1tm1Cs5ABVRuE3fDkT80TfE5fPmnWPrA7 model_Path = Path(__file__).parent / 'mrio_models' resource_Path = Path(__file__).parent / 'processed_mrio_resources' From 7b4cab2fa7b0609e970c3ea8c390d7dbe4d6eead Mon Sep 17 00:00:00 2001 From: Jake Namovich Date: Fri, 6 Dec 2024 09:04:51 -0500 Subject: [PATCH 06/31] Created GLORIA to US Trade data concordance file. Deleted Exiobase version --- .../GLORIA_country_concordance.csv | 257 ++++++++++++++++++ .../exiobase_country_concordance.csv | 257 ------------------ 2 files changed, 257 insertions(+), 257 deletions(-) create mode 100644 import_emission_factors/concordances/GLORIA_country_concordance.csv delete mode 100644 import_emission_factors/concordances/exiobase_country_concordance.csv diff --git a/import_emission_factors/concordances/GLORIA_country_concordance.csv b/import_emission_factors/concordances/GLORIA_country_concordance.csv new file mode 100644 index 0000000..5f79a08 --- /dev/null +++ b/import_emission_factors/concordances/GLORIA_country_concordance.csv @@ -0,0 +1,257 @@ +Country,ISO Code,CountryCode,Region +Afghanistan,AF,AFG,APAC +Africa,,, +Albania,AL,ALB,EU +Algeria,DZ,DZA,ROW +All countries,,, +Andorra,AD,XEU,EU +Angola,AO,AGO,ROW +Anguilla,AI,XAM,ROW +Antigua and Barbuda,AG,XAM,ROW +Argentina,AR,ARG,ROW +Armenia,AM,ARM,EU +Aruba,AW,XAM,ROW +Asia and Pacific,,, +Australia,AU,AUS,APAC +Austria,AT,AUT,EU +Azerbaijan,AZ,AZE,EU +Bahamas,BS,BHS,ROW +Bahrain,BH,BHR,ROW +Bangladesh,BD,BGD,APAC +Barbados,BB,XAM,ROW +Belarus,BY,BLR,EU +Belgium,BE,BEL,EU +Belize,BZ,BLZ,ROW +Benin,BJ,BEN,ROW +Bermuda,BM,XAM,ROW +Bhutan,BT,BTN,APAC +Bolivia,BO,BOL,ROW +Bosnia and Herzegovina,BA,BIH,EU +Botswana,BW,BWA,ROW +Brazil,BR,BRA,ROW +British Indian Ocean Territory,IO,XAS,ROW +British Virgin Islands,VG,XAM,ROW +Brunei,BN,XAS,APAC +Bulgaria,BG,BGR,EU +Burkina Faso,BF,BFA,ROW +Burma (Myanmar),MM,XAS,APAC +Burundi,BI,BDI,APAC +Cabo Verde,CV,XAF,ROW +CAFTA-DR countries,,, +Cambodia,KH,KHM,APAC +Cameroon,CM,CMR,ROW +Canada,CA,CAN,CA +Cayman Islands,KY,XAM,ROW +Central African Republic,CF,CAF,ROW +Chad,TD,TCD,ROW +Chile,CL,CHL,ROW +China,CN,CHN,CN +Christmas Island (in the Indian Ocean),CX,XAS,APAC +Cocos (Keeling) Islands,CC,XAS,APAC +Colombia,CO,COL,ROW +Comoros,KM,XAF,ROW +"Congo, Democratic Republic of the Congo (formerly Za",rCD,COD,ROW +"Congo, Republic of the Congo",CG,COG,ROW +Cook Islands,CK,XAS,APAC +Costa Rica,CR,CRI,ROW +Cote d'Ivoire,CI,CIV,ROW +Croatia,HR,HRV,EU +Cuba,CU,CUB,ROW +Curacao,CW,XAM,ROW +Cyprus,CY,CYP,EU +Czech Republic,CZ,CZE,EU +Denmark,DK,DNK,EU +"Denmark, except Greenland",DK,DNK,EU +Djibouti,DJ,DJI,ROW +Dominica,DM,XAM,ROW +Dominican Republic,DO,DOM,ROW +Ecuador,EC,ECU,ROW +Egypt,EG,EGY,ROW +El Salvador,SV,SLV,ROW +Equatorial Guinea,GQ,GNQ,ROW +Eritrea,ER,ERI,ROW +Estonia,EE,EST,EU +Eswatini,SZ,XAF,ROW +Ethiopia,ET,ETH,ROW +Euro area,,, +Europe,,, +European Union,,, +Falkland Islands (Islas Malvinas),FK,XAM,ROW +Faroe Islands,FO,XEU,EU +Fiji,FJ,XAS,APAC +Finland,FI,FIN,EU +France,FR,FRA,EU +French Guiana,GF,XAM,ROW +French Polynesia,PF,XAS,APAC +French Southern and Antarctic Lands,TF,,ROW +Gabon,GA,GAB,ROW +Gambia,GM,GMB,ROW +Gaza Strip administered by Israel,GZ,XAS,ROW +Georgia,GE,GEO,EU +Germany,DE,DEU,EU +Germany (Federal Republic of Germany),DE,DEU,EU +Ghana,GH,GHA,ROW +Gibraltar,GI,XEU,EU +Greece,GR,GRC,EU +Greenland,GL,XEU,EU +Grenada,GD,XAM,ROW +Guadeloupe,GP,XAM,ROW +Guatemala,GT,GTM,ROW +Guinea,GN,GIN,ROW +Guinea-Bissau,GW,XAF,ROW +Guyana,GY,XAM,ROW +Haiti,HT,HTI,ROW +Heard Island and McDonald Islands,HM,,APAC +Holy See (Vatican City),VA,XEU,EU +Honduras,HN,HND,ROW +Hong Kong,HK,HKG,APAC +Hungary,HU,HUN,EU +Iceland,IS,ISL,EU +India,IN,IND,APAC +Indonesia,ID,IDN,APAC +International organizations and unallocated,,, +Iran,IR,IRN,ROW +Iraq,IQ,IRQ,ROW +Ireland,IE,IRL,EU +Israel,IL,ISR,ROW +Italy,IT,ITA,EU +Jamaica,JM,JAM,ROW +Japan,JP,JPN,JP +Jordan,JO,JOR,ROW +Kazakhstan,KZ,KAZ,EU +Kenya,KE,KEN,ROW +Kiribati,KI,XAS,APAC +Kosovo,KV,XEU,EU +Kuwait,KW,KWT,ROW +Kyrgyzstan,KG,KGZ,EU +Laos (Lao People's Democratic Republic),LA,LAO,APAC +Latin America and Other Western Hemisphere,,, +Latvia,LV,LVA,EU +Lebanon,LB,LBN,ROW +Lesotho,LS,XAF,ROW +Liberia,LR,LBR,ROW +Libya,LY,LBY,ROW +Liechtenstein,LI,XEU,EU +Lithuania,LT,LTU,EU +Luxembourg,LU,LUX,EU +Macao,MO,XAS,APAC +Madagascar,MG,MDG,ROW +Malawi,MW,MWI,ROW +Malaysia,MY,MYS,APAC +Maldives,MV,XAS,APAC +Mali,ML,MLI,ROW +Malta,MT,MLT,EU +Marshall Islands,MH,XAS,APAC +Martinique,MQ,XAM,ROW +Mauritania,MR,MRT,ROW +Mauritius,MU,XAF,ROW +Mayotte,YT,XAF,ROW +Mexico,MX,MEX,MX +"Micronesia, Federated States of",FM,XAS,APAC +Middle East,,, +Moldova (Republic of Moldova),MD,XEU,EU +Monaco,MC,XEU,EU +Mongolia,MN,MNG,APAC +Montenegro,ME,XEU,EU +Montserrat,MS,XEU,ROW +Morocco,MA,MAR,ROW +Mozambique,MZ,MOZ,ROW +Namibia,NA,NAM,ROW +Nauru,NR,XAS,APAC +Nepal,NP,NPL,APAC +Netherlands,NL,NLD,EU +New Caledonia,NC,XAS,APAC +New Zealand,NZ,NZL,APAC +Nicaragua,NI,NIC,ROW +Niger,NE,NER,ROW +Nigeria,NG,NGA,ROW +Niue,NU,XAS,APAC +Norfolk Island,NF,XAS,APAC +North Korea (Democratic People's Republic of Korea),KP,PRK,APAC +North Macedonia,MK,XEU,EU +Norway,NO,NOR,EU +Oman,OM,OMN,ROW +Other Africa (International Services Trade),,XAF,ROW +Other Asia and Pacific (International Services Trade),,XAS,APAC +Other Europe (International Services Trade),,XEU,EU +Other Middle East (International Services Trade),,XAS,ROW +Other South And Central America (International Services Trade),,XAM,ROW +Other Western Hemisphere,,,ROW +"Other Western Hemisphere, Other (International Services Trade)",,,ROW +Pakistan,PK,PAK,APAC +Palau,PW,XAS,APAC +Panama,PA,PAN,ROW +Papua New Guinea,PG,PNG,APAC +Paraguay,PY,PRY,ROW +Peru,PE,PER,ROW +Philippines,PH,PHL,APAC +Pitcairn Islands,PN,XAS,APAC +Poland,PL,POL,EU +Portugal,PT,PRT,EU +Qatar,QA,QAT,ROW +Reunion,RE,XAF,ROW +Romania,RO,ROU,EU +Russia,RU,RUS,EU +Rwanda,RW,RWA,ROW +Saint Helena,SH,,ROW +Saint Kitts and Nevis,KN,XAM,ROW +Saint Lucia,LC,XAM,ROW +Saint Pierre and Miquelon,PM,XAM,ROW +Saint Vincent and the Grenadines,VC,XAM,ROW +Samoa (Western Samoa),WS,XAS,APAC +San Marino,SM,XEU,EU +Sao Tome and Principe,ST,XAF,ROW +Saudi Arabia,SA,SAU,ROW +Senegal,SN,SEN,ROW +Serbia,RS,SRB,EU +Seychelles,SC,XAS,ROW +Sierra Leone,SL,SLE,ROW +Singapore,SG,SGP,APAC +Sint Maarten,SX,XAM,ROW +Slovakia,SK,SVK,EU +Slovenia,SI,SVN,EU +Solomon Islands,SB,XAS,APAC +Somalia,SO,SOM,ROW +South Africa,ZA,ZAF,ROW +South and Central America,,, +South Korea,KR,KOR,APAC +South Korea (Republic of Korea),KR,KOR,APAC +South Sudan,SS,SDS,ROW +Spain,ES,ESP,EU +Sri Lanka,LK,LKA,APAC +Sudan,SD,SDN,ROW +Suriname,SR,XAM,ROW +Svalbard and Jan Mayen,SJ,XEU,EU +Sweden,SE,SWE,EU +Switzerland,CH,CHE,EU +Syria (Syrian Arab Republic),SY,SYR,ROW +Taiwan,TW,XAS,APAC +Tajikistan,TJ,TJK,EU +Tanzania (United Republic of Tanzania),TZ,TZA,ROW +Thailand,TH,THA,APAC +Timor-Leste,TL,XAS,APAC +Togo,TG,TGO,ROW +Tokelau,TK,XAS,APAC +Tonga,TO,XAS,APAC +Trinidad and Tobago,TT,XAM,ROW +Tunisia,TN,TUN,ROW +Turkey,TR,TUR,EU +Turkmenistan,TM,TKM,EU +Turks and Caicos Islands,TC,XAM,ROW +Tuvalu,TV,XAS,APAC +Uganda,UG,UGA,ROW +Ukraine,UA,UKR,EU +United Arab Emirates,AE,ARE,ROW +United Kingdom,GB,GBR,EU +"United Kingdom Islands, Caribbean",,, +United States,US,USA,US +Uruguay,UY,URY,ROW +Uzbekistan,UZ,UZB,EU +Vanuatu,VU,XAM,APAC +Venezuela,VE,VEN,ROW +Vietnam,VN,VNM,APAC +Wallis and Futuna,WF,XAS,APAC +West Bank administered by Israel,WE,XAS,ROW +Yemen (Republic of Yemen),YE,DYE,ROW +Zambia,ZM,ZMB,ROW +Zimbabwe,ZW,ZWE,ROW diff --git a/import_emission_factors/concordances/exiobase_country_concordance.csv b/import_emission_factors/concordances/exiobase_country_concordance.csv deleted file mode 100644 index b413523..0000000 --- a/import_emission_factors/concordances/exiobase_country_concordance.csv +++ /dev/null @@ -1,257 +0,0 @@ -Country,ISO Code,CountryCode,Region -Afghanistan,AF,WA,APAC -Africa,,, -Albania,AL,WE,EU -Algeria,DZ,WF,ROW -All countries,,, -Andorra,AD,WE,EU -Angola,AO,WF,ROW -Anguilla,AI,WL,ROW -Antigua and Barbuda,AG,WL,ROW -Argentina,AR,WL,ROW -Armenia,AM,WE,EU -Aruba,AW,WL,ROW -Asia and Pacific,,, -Australia,AU,AU,APAC -Austria,AT,AT,EU -Azerbaijan,AZ,WE,EU -Bahamas,BS,WL,ROW -Bahrain,BH,WM,ROW -Bangladesh,BD,WA,APAC -Barbados,BB,WL,ROW -Belarus,BY,WE,EU -Belgium,BE,BE,EU -Belize,BZ,WL,ROW -Benin,BJ,WF,ROW -Bermuda,BM,WL,ROW -Bhutan,BT,WA,APAC -Bolivia,BO,WL,ROW -Bosnia and Herzegovina,BA,WE,EU -Botswana,BW,WF,ROW -Brazil,BR,BR,ROW -British Indian Ocean Territory,IO,WF,ROW -British Virgin Islands,VG,WL,ROW -Brunei,BN,WA,APAC -Bulgaria,BG,BG,EU -Burkina Faso,BF,WF,ROW -Burma (Myanmar),MM,WA,APAC -Burundi,BI,WA,APAC -Cabo Verde,CV,WF,ROW -CAFTA-DR countries,,, -Cambodia,KH,WA,APAC -Cameroon,CM,WF,ROW -Canada,CA,CA,CA -Cayman Islands,KY,WL,ROW -Central African Republic,CF,WF,ROW -Chad,TD,WF,ROW -Chile,CL,WL,ROW -China,CN,CN,CN -Christmas Island (in the Indian Ocean),CX,WA,APAC -Cocos (Keeling) Islands,CC,WA,APAC -Colombia,CO,WL,ROW -Comoros,KM,WF,ROW -"Congo, Democratic Republic of the Congo (formerly Za",rCD,WF,ROW -"Congo, Republic of the Congo",CG,WF,ROW -Cook Islands,CK,WA,APAC -Costa Rica,CR,WL,ROW -Cote d'Ivoire,CI,WF,ROW -Croatia,HR,HR,EU -Cuba,CU,WL,ROW -Curacao,CW,WL,ROW -Cyprus,CY,CY,EU -Czech Republic,CZ,CZ,EU -Denmark,DK,DK,EU -"Denmark, except Greenland",DK,DK,EU -Djibouti,DJ,WF,ROW -Dominica,DM,WL,ROW -Dominican Republic,DO,WL,ROW -Ecuador,EC,WL,ROW -Egypt,EG,WF,ROW -El Salvador,SV,WL,ROW -Equatorial Guinea,GQ,WF,ROW -Eritrea,ER,WF,ROW -Estonia,EE,EE,EU -Eswatini,SZ,WF,ROW -Ethiopia,ET,WF,ROW -Euro area,,, -Europe,,, -European Union,,, -Falkland Islands (Islas Malvinas),FK,WL,ROW -Faroe Islands,FO,WE,EU -Fiji,FJ,WA,APAC -Finland,FI,FI,EU -France,FR,FR,EU -French Guiana,GF,WL,ROW -French Polynesia,PF,WA,APAC -French Southern and Antarctic Lands,TF,WF,ROW -Gabon,GA,WF,ROW -Gambia,GM,WF,ROW -Gaza Strip administered by Israel,GZ,WM,ROW -Georgia,GE,WE,EU -Germany,DE,DE,EU -Germany (Federal Republic of Germany),DE,DE,EU -Ghana,GH,WF,ROW -Gibraltar,GI,WE,EU -Greece,GR,GR,EU -Greenland,GL,WE,EU -Grenada,GD,WL,ROW -Guadeloupe,GP,WL,ROW -Guatemala,GT,WL,ROW -Guinea,GN,WF,ROW -Guinea-Bissau,GW,WF,ROW -Guyana,GY,WL,ROW -Haiti,HT,WL,ROW -Heard Island and McDonald Islands,HM,WA,APAC -Holy See (Vatican City),VA,WE,EU -Honduras,HN,WL,ROW -Hong Kong,HK,WA,APAC -Hungary,HU,HU,EU -Iceland,IS,WE,EU -India,IN,IN,APAC -Indonesia,ID,ID,APAC -International organizations and unallocated,,, -Iran,IR,WM,ROW -Iraq,IQ,WM,ROW -Ireland,IE,IE,EU -Israel,IL,WM,ROW -Italy,IT,IT,EU -Jamaica,JM,WL,ROW -Japan,JP,JP,JP -Jordan,JO,WM,ROW -Kazakhstan,KZ,WE,EU -Kenya,KE,WF,ROW -Kiribati,KI,WA,APAC -Kosovo,KV,WE,EU -Kuwait,KW,WM,ROW -Kyrgyzstan,KG,WE,EU -Laos (Lao People's Democratic Republic),LA,WA,APAC -Latin America and Other Western Hemisphere,,, -Latvia,LV,LV,EU -Lebanon,LB,WM,ROW -Lesotho,LS,WF,ROW -Liberia,LR,WF,ROW -Libya,LY,WF,ROW -Liechtenstein,LI,WE,EU -Lithuania,LT,LT,EU -Luxembourg,LU,LU,EU -Macao,MO,WA,APAC -Madagascar,MG,WF,ROW -Malawi,MW,WF,ROW -Malaysia,MY,WA,APAC -Maldives,MV,WA,APAC -Mali,ML,WF,ROW -Malta,MT,MT,EU -Marshall Islands,MH,WA,APAC -Martinique,MQ,WL,ROW -Mauritania,MR,WF,ROW -Mauritius,MU,WF,ROW -Mayotte,YT,WF,ROW -Mexico,MX,MX,MX -"Micronesia, Federated States of",FM,WA,APAC -Middle East,,, -Moldova (Republic of Moldova),MD,WE,EU -Monaco,MC,WE,EU -Mongolia,MN,WA,APAC -Montenegro,ME,WE,EU -Montserrat,MS,WL,ROW -Morocco,MA,WF,ROW -Mozambique,MZ,WF,ROW -Namibia,NA,WF,ROW -Nauru,NR,WA,APAC -Nepal,NP,WA,APAC -Netherlands,NL,NL,EU -New Caledonia,NC,WA,APAC -New Zealand,NZ,WA,APAC -Nicaragua,NI,WL,ROW -Niger,NE,WF,ROW -Nigeria,NG,WF,ROW -Niue,NU,WA,APAC -Norfolk Island,NF,WA,APAC -North Korea (Democratic People's Republic of Korea),KP,WA,APAC -North Macedonia,MK,WE,EU -Norway,NO,NO,EU -Oman,OM,WM,ROW -Other Africa (International Services Trade),,WF,ROW -Other Asia and Pacific (International Services Trade),,WA,APAC -Other Europe (International Services Trade),,WE,EU -Other Middle East (International Services Trade),,WM,ROW -Other South And Central America (International Services Trade),,WL,ROW -Other Western Hemisphere,,WL,ROW -"Other Western Hemisphere, Other (International Services Trade)",,WL,ROW -Pakistan,PK,WA,APAC -Palau,PW,WA,APAC -Panama,PA,WL,ROW -Papua New Guinea,PG,WA,APAC -Paraguay,PY,WL,ROW -Peru,PE,WL,ROW -Philippines,PH,WA,APAC -Pitcairn Islands,PN,WA,APAC -Poland,PL,PL,EU -Portugal,PT,PT,EU -Qatar,QA,WM,ROW -Reunion,RE,WF,ROW -Romania,RO,RO,EU -Russia,RU,RU,EU -Rwanda,RW,WF,ROW -Saint Helena,SH,WF,ROW -Saint Kitts and Nevis,KN,WL,ROW -Saint Lucia,LC,WL,ROW -Saint Pierre and Miquelon,PM,WL,ROW -Saint Vincent and the Grenadines,VC,WL,ROW -Samoa (Western Samoa),WS,WA,APAC -San Marino,SM,WE,EU -Sao Tome and Principe,ST,WF,ROW -Saudi Arabia,SA,WM,ROW -Senegal,SN,WF,ROW -Serbia,RS,WE,EU -Seychelles,SC,WF,ROW -Sierra Leone,SL,WF,ROW -Singapore,SG,WA,APAC -Sint Maarten,SX,WL,ROW -Slovakia,SK,SK,EU -Slovenia,SI,SI,EU -Solomon Islands,SB,WA,APAC -Somalia,SO,WF,ROW -South Africa,ZA,ZA,ROW -South and Central America,,, -South Korea,KR,KR,APAC -South Korea (Republic of Korea),KR,KR,APAC -South Sudan,SS,WF,ROW -Spain,ES,ES,EU -Sri Lanka,LK,WA,APAC -Sudan,SD,WF,ROW -Suriname,SR,WL,ROW -Svalbard and Jan Mayen,SJ,WE,EU -Sweden,SE,SE,EU -Switzerland,CH,CH,EU -Syria (Syrian Arab Republic),SY,WM,ROW -Taiwan,TW,TW,APAC -Tajikistan,TJ,WE,EU -Tanzania (United Republic of Tanzania),TZ,WF,ROW -Thailand,TH,WA,APAC -Timor-Leste,TL,WA,APAC -Togo,TG,WF,ROW -Tokelau,TK,WA,APAC -Tonga,TO,WA,APAC -Trinidad and Tobago,TT,WL,ROW -Tunisia,TN,WF,ROW -Turkey,TR,TR,EU -Turkmenistan,TM,WE,EU -Turks and Caicos Islands,TC,WL,ROW -Tuvalu,TV,WA,APAC -Uganda,UG,WF,ROW -Ukraine,UA,WE,EU -United Arab Emirates,AE,WM,ROW -United Kingdom,GB,GB,EU -"United Kingdom Islands, Caribbean",,, -United States,US,US,US -Uruguay,UY,WL,ROW -Uzbekistan,UZ,WE,EU -Vanuatu,VU,WA,APAC -Venezuela,VE,WL,ROW -Vietnam,VN,WA,APAC -Wallis and Futuna,WF,WA,APAC -West Bank administered by Israel,WE,WM,ROW -Yemen (Republic of Yemen),YE,WM,ROW -Zambia,ZM,WF,ROW -Zimbabwe,ZW,WF,ROW From d37e91393e21f4054af8f8ffd71a51d9934df327 Mon Sep 17 00:00:00 2001 From: Jake Namovich Date: Fri, 6 Dec 2024 10:41:29 -0500 Subject: [PATCH 07/31] restored exiobase country concordance --- .../exiobase_country_concordance.csv | 257 ++++++++++++++++++ 1 file changed, 257 insertions(+) create mode 100644 import_emission_factors/concordances/exiobase_country_concordance.csv diff --git a/import_emission_factors/concordances/exiobase_country_concordance.csv b/import_emission_factors/concordances/exiobase_country_concordance.csv new file mode 100644 index 0000000..b413523 --- /dev/null +++ b/import_emission_factors/concordances/exiobase_country_concordance.csv @@ -0,0 +1,257 @@ +Country,ISO Code,CountryCode,Region +Afghanistan,AF,WA,APAC +Africa,,, +Albania,AL,WE,EU +Algeria,DZ,WF,ROW +All countries,,, +Andorra,AD,WE,EU +Angola,AO,WF,ROW +Anguilla,AI,WL,ROW +Antigua and Barbuda,AG,WL,ROW +Argentina,AR,WL,ROW +Armenia,AM,WE,EU +Aruba,AW,WL,ROW +Asia and Pacific,,, +Australia,AU,AU,APAC +Austria,AT,AT,EU +Azerbaijan,AZ,WE,EU +Bahamas,BS,WL,ROW +Bahrain,BH,WM,ROW +Bangladesh,BD,WA,APAC +Barbados,BB,WL,ROW +Belarus,BY,WE,EU +Belgium,BE,BE,EU +Belize,BZ,WL,ROW +Benin,BJ,WF,ROW +Bermuda,BM,WL,ROW +Bhutan,BT,WA,APAC +Bolivia,BO,WL,ROW +Bosnia and Herzegovina,BA,WE,EU +Botswana,BW,WF,ROW +Brazil,BR,BR,ROW +British Indian Ocean Territory,IO,WF,ROW +British Virgin Islands,VG,WL,ROW +Brunei,BN,WA,APAC +Bulgaria,BG,BG,EU +Burkina Faso,BF,WF,ROW +Burma (Myanmar),MM,WA,APAC +Burundi,BI,WA,APAC +Cabo Verde,CV,WF,ROW +CAFTA-DR countries,,, +Cambodia,KH,WA,APAC +Cameroon,CM,WF,ROW +Canada,CA,CA,CA +Cayman Islands,KY,WL,ROW +Central African Republic,CF,WF,ROW +Chad,TD,WF,ROW +Chile,CL,WL,ROW +China,CN,CN,CN +Christmas Island (in the Indian Ocean),CX,WA,APAC +Cocos (Keeling) Islands,CC,WA,APAC +Colombia,CO,WL,ROW +Comoros,KM,WF,ROW +"Congo, Democratic Republic of the Congo (formerly Za",rCD,WF,ROW +"Congo, Republic of the Congo",CG,WF,ROW +Cook Islands,CK,WA,APAC +Costa Rica,CR,WL,ROW +Cote d'Ivoire,CI,WF,ROW +Croatia,HR,HR,EU +Cuba,CU,WL,ROW +Curacao,CW,WL,ROW +Cyprus,CY,CY,EU +Czech Republic,CZ,CZ,EU +Denmark,DK,DK,EU +"Denmark, except Greenland",DK,DK,EU +Djibouti,DJ,WF,ROW +Dominica,DM,WL,ROW +Dominican Republic,DO,WL,ROW +Ecuador,EC,WL,ROW +Egypt,EG,WF,ROW +El Salvador,SV,WL,ROW +Equatorial Guinea,GQ,WF,ROW +Eritrea,ER,WF,ROW +Estonia,EE,EE,EU +Eswatini,SZ,WF,ROW +Ethiopia,ET,WF,ROW +Euro area,,, +Europe,,, +European Union,,, +Falkland Islands (Islas Malvinas),FK,WL,ROW +Faroe Islands,FO,WE,EU +Fiji,FJ,WA,APAC +Finland,FI,FI,EU +France,FR,FR,EU +French Guiana,GF,WL,ROW +French Polynesia,PF,WA,APAC +French Southern and Antarctic Lands,TF,WF,ROW +Gabon,GA,WF,ROW +Gambia,GM,WF,ROW +Gaza Strip administered by Israel,GZ,WM,ROW +Georgia,GE,WE,EU +Germany,DE,DE,EU +Germany (Federal Republic of Germany),DE,DE,EU +Ghana,GH,WF,ROW +Gibraltar,GI,WE,EU +Greece,GR,GR,EU +Greenland,GL,WE,EU +Grenada,GD,WL,ROW +Guadeloupe,GP,WL,ROW +Guatemala,GT,WL,ROW +Guinea,GN,WF,ROW +Guinea-Bissau,GW,WF,ROW +Guyana,GY,WL,ROW +Haiti,HT,WL,ROW +Heard Island and McDonald Islands,HM,WA,APAC +Holy See (Vatican City),VA,WE,EU +Honduras,HN,WL,ROW +Hong Kong,HK,WA,APAC +Hungary,HU,HU,EU +Iceland,IS,WE,EU +India,IN,IN,APAC +Indonesia,ID,ID,APAC +International organizations and unallocated,,, +Iran,IR,WM,ROW +Iraq,IQ,WM,ROW +Ireland,IE,IE,EU +Israel,IL,WM,ROW +Italy,IT,IT,EU +Jamaica,JM,WL,ROW +Japan,JP,JP,JP +Jordan,JO,WM,ROW +Kazakhstan,KZ,WE,EU +Kenya,KE,WF,ROW +Kiribati,KI,WA,APAC +Kosovo,KV,WE,EU +Kuwait,KW,WM,ROW +Kyrgyzstan,KG,WE,EU +Laos (Lao People's Democratic Republic),LA,WA,APAC +Latin America and Other Western Hemisphere,,, +Latvia,LV,LV,EU +Lebanon,LB,WM,ROW +Lesotho,LS,WF,ROW +Liberia,LR,WF,ROW +Libya,LY,WF,ROW +Liechtenstein,LI,WE,EU +Lithuania,LT,LT,EU +Luxembourg,LU,LU,EU +Macao,MO,WA,APAC +Madagascar,MG,WF,ROW +Malawi,MW,WF,ROW +Malaysia,MY,WA,APAC +Maldives,MV,WA,APAC +Mali,ML,WF,ROW +Malta,MT,MT,EU +Marshall Islands,MH,WA,APAC +Martinique,MQ,WL,ROW +Mauritania,MR,WF,ROW +Mauritius,MU,WF,ROW +Mayotte,YT,WF,ROW +Mexico,MX,MX,MX +"Micronesia, Federated States of",FM,WA,APAC +Middle East,,, +Moldova (Republic of Moldova),MD,WE,EU +Monaco,MC,WE,EU +Mongolia,MN,WA,APAC +Montenegro,ME,WE,EU +Montserrat,MS,WL,ROW +Morocco,MA,WF,ROW +Mozambique,MZ,WF,ROW +Namibia,NA,WF,ROW +Nauru,NR,WA,APAC +Nepal,NP,WA,APAC +Netherlands,NL,NL,EU +New Caledonia,NC,WA,APAC +New Zealand,NZ,WA,APAC +Nicaragua,NI,WL,ROW +Niger,NE,WF,ROW +Nigeria,NG,WF,ROW +Niue,NU,WA,APAC +Norfolk Island,NF,WA,APAC +North Korea (Democratic People's Republic of Korea),KP,WA,APAC +North Macedonia,MK,WE,EU +Norway,NO,NO,EU +Oman,OM,WM,ROW +Other Africa (International Services Trade),,WF,ROW +Other Asia and Pacific (International Services Trade),,WA,APAC +Other Europe (International Services Trade),,WE,EU +Other Middle East (International Services Trade),,WM,ROW +Other South And Central America (International Services Trade),,WL,ROW +Other Western Hemisphere,,WL,ROW +"Other Western Hemisphere, Other (International Services Trade)",,WL,ROW +Pakistan,PK,WA,APAC +Palau,PW,WA,APAC +Panama,PA,WL,ROW +Papua New Guinea,PG,WA,APAC +Paraguay,PY,WL,ROW +Peru,PE,WL,ROW +Philippines,PH,WA,APAC +Pitcairn Islands,PN,WA,APAC +Poland,PL,PL,EU +Portugal,PT,PT,EU +Qatar,QA,WM,ROW +Reunion,RE,WF,ROW +Romania,RO,RO,EU +Russia,RU,RU,EU +Rwanda,RW,WF,ROW +Saint Helena,SH,WF,ROW +Saint Kitts and Nevis,KN,WL,ROW +Saint Lucia,LC,WL,ROW +Saint Pierre and Miquelon,PM,WL,ROW +Saint Vincent and the Grenadines,VC,WL,ROW +Samoa (Western Samoa),WS,WA,APAC +San Marino,SM,WE,EU +Sao Tome and Principe,ST,WF,ROW +Saudi Arabia,SA,WM,ROW +Senegal,SN,WF,ROW +Serbia,RS,WE,EU +Seychelles,SC,WF,ROW +Sierra Leone,SL,WF,ROW +Singapore,SG,WA,APAC +Sint Maarten,SX,WL,ROW +Slovakia,SK,SK,EU +Slovenia,SI,SI,EU +Solomon Islands,SB,WA,APAC +Somalia,SO,WF,ROW +South Africa,ZA,ZA,ROW +South and Central America,,, +South Korea,KR,KR,APAC +South Korea (Republic of Korea),KR,KR,APAC +South Sudan,SS,WF,ROW +Spain,ES,ES,EU +Sri Lanka,LK,WA,APAC +Sudan,SD,WF,ROW +Suriname,SR,WL,ROW +Svalbard and Jan Mayen,SJ,WE,EU +Sweden,SE,SE,EU +Switzerland,CH,CH,EU +Syria (Syrian Arab Republic),SY,WM,ROW +Taiwan,TW,TW,APAC +Tajikistan,TJ,WE,EU +Tanzania (United Republic of Tanzania),TZ,WF,ROW +Thailand,TH,WA,APAC +Timor-Leste,TL,WA,APAC +Togo,TG,WF,ROW +Tokelau,TK,WA,APAC +Tonga,TO,WA,APAC +Trinidad and Tobago,TT,WL,ROW +Tunisia,TN,WF,ROW +Turkey,TR,TR,EU +Turkmenistan,TM,WE,EU +Turks and Caicos Islands,TC,WL,ROW +Tuvalu,TV,WA,APAC +Uganda,UG,WF,ROW +Ukraine,UA,WE,EU +United Arab Emirates,AE,WM,ROW +United Kingdom,GB,GB,EU +"United Kingdom Islands, Caribbean",,, +United States,US,US,US +Uruguay,UY,WL,ROW +Uzbekistan,UZ,WE,EU +Vanuatu,VU,WA,APAC +Venezuela,VE,WL,ROW +Vietnam,VN,WA,APAC +Wallis and Futuna,WF,WA,APAC +West Bank administered by Israel,WE,WM,ROW +Yemen (Republic of Yemen),YE,WM,ROW +Zambia,ZM,WF,ROW +Zimbabwe,ZW,WF,ROW From 569a971e23b27a002c0c641a65b909562f35f14a Mon Sep 17 00:00:00 2001 From: Ben Young Date: Fri, 6 Dec 2024 14:04:36 -0500 Subject: [PATCH 08/31] add initial draft gloria config and helpers; resolve duplicate regions --- .../GLORIA_country_concordance.csv | 14 +- .../data/gloria_country_names.csv | 159 ++++++++++++++++++ import_emission_factors/data/mrio_config.yml | 31 ++++ import_emission_factors/gloria_helpers.py | 35 ++++ 4 files changed, 232 insertions(+), 7 deletions(-) create mode 100644 import_emission_factors/data/gloria_country_names.csv create mode 100644 import_emission_factors/gloria_helpers.py diff --git a/import_emission_factors/concordances/GLORIA_country_concordance.csv b/import_emission_factors/concordances/GLORIA_country_concordance.csv index 5f79a08..65439ac 100644 --- a/import_emission_factors/concordances/GLORIA_country_concordance.csv +++ b/import_emission_factors/concordances/GLORIA_country_concordance.csv @@ -29,7 +29,7 @@ Bolivia,BO,BOL,ROW Bosnia and Herzegovina,BA,BIH,EU Botswana,BW,BWA,ROW Brazil,BR,BRA,ROW -British Indian Ocean Territory,IO,XAS,ROW +British Indian Ocean Territory,IO,XAS,APAC British Virgin Islands,VG,XAM,ROW Brunei,BN,XAS,APAC Bulgaria,BG,BGR,EU @@ -86,7 +86,7 @@ French Polynesia,PF,XAS,APAC French Southern and Antarctic Lands,TF,,ROW Gabon,GA,GAB,ROW Gambia,GM,GMB,ROW -Gaza Strip administered by Israel,GZ,XAS,ROW +Gaza Strip administered by Israel,GZ,XAS,APAC Georgia,GE,GEO,EU Germany,DE,DEU,EU Germany (Federal Republic of Germany),DE,DEU,EU @@ -153,7 +153,7 @@ Moldova (Republic of Moldova),MD,XEU,EU Monaco,MC,XEU,EU Mongolia,MN,MNG,APAC Montenegro,ME,XEU,EU -Montserrat,MS,XEU,ROW +Montserrat,MS,XEU,EU Morocco,MA,MAR,ROW Mozambique,MZ,MOZ,ROW Namibia,NA,NAM,ROW @@ -174,7 +174,7 @@ Oman,OM,OMN,ROW Other Africa (International Services Trade),,XAF,ROW Other Asia and Pacific (International Services Trade),,XAS,APAC Other Europe (International Services Trade),,XEU,EU -Other Middle East (International Services Trade),,XAS,ROW +Other Middle East (International Services Trade),,XAS,APAC Other South And Central America (International Services Trade),,XAM,ROW Other Western Hemisphere,,,ROW "Other Western Hemisphere, Other (International Services Trade)",,,ROW @@ -204,7 +204,7 @@ Sao Tome and Principe,ST,XAF,ROW Saudi Arabia,SA,SAU,ROW Senegal,SN,SEN,ROW Serbia,RS,SRB,EU -Seychelles,SC,XAS,ROW +Seychelles,SC,XAS,APAC Sierra Leone,SL,SLE,ROW Singapore,SG,SGP,APAC Sint Maarten,SX,XAM,ROW @@ -247,11 +247,11 @@ United Kingdom,GB,GBR,EU United States,US,USA,US Uruguay,UY,URY,ROW Uzbekistan,UZ,UZB,EU -Vanuatu,VU,XAM,APAC +Vanuatu,VU,XAM,ROW Venezuela,VE,VEN,ROW Vietnam,VN,VNM,APAC Wallis and Futuna,WF,XAS,APAC -West Bank administered by Israel,WE,XAS,ROW +West Bank administered by Israel,WE,XAS,APAC Yemen (Republic of Yemen),YE,DYE,ROW Zambia,ZM,ZMB,ROW Zimbabwe,ZW,ZWE,ROW diff --git a/import_emission_factors/data/gloria_country_names.csv b/import_emission_factors/data/gloria_country_names.csv new file mode 100644 index 0000000..52fd275 --- /dev/null +++ b/import_emission_factors/data/gloria_country_names.csv @@ -0,0 +1,159 @@ +CountryCode,Country +AFG,Afghanistan +AGO,Angola +ALB,Albania +ARE,United Arab Emirates +ARG,Argentina +ARM,Armenia +AUS,Australia +AUT,Austria +AZE,Azerbaijan +BDI,Burundi +BEL,Belgium +BEN,Benin +BFA,Burkina Faso +BGD,Bangladesh +BGR,Bulgaria +BHR,Bahrain +BHS,Bahamas +BIH,Bosnia and Herzegovina +BLR,Belarus +BLZ,Belize +BOL,Bolivia +BRA,Brazil +BTN,Bhutan +BWA,Botswana +CAF,Central African Republic +CAN,Canada +CHE,Switzerland +CHL,Chile +CHN,China +CIV,Cote d'Ivoire +CMR,Cameroon +COD,"Congo, Democratic Republic of the Congo (formerly Za" +COG,"Congo, Republic of the Congo" +COL,Colombia +CRI,Costa Rica +CUB,Cuba +CYP,Cyprus +CZE,Czech Republic +DEU,Germany +DJI,Djibouti +DNK,Denmark +DOM,Dominican Republic +DYE,Yemen (Republic of Yemen) +DZA,Algeria +ECU,Ecuador +EGY,Egypt +ERI,Eritrea +ESP,Spain +EST,Estonia +ETH,Ethiopia +FIN,Finland +FRA,France +GAB,Gabon +GBR,United Kingdom +GEO,Georgia +GHA,Ghana +GIN,Guinea +GMB,Gambia +GNQ,Equatorial Guinea +GRC,Greece +GTM,Guatemala +HKG,Hong Kong +HND,Honduras +HRV,Croatia +HTI,Haiti +HUN,Hungary +IDN,Indonesia +IND,India +IRL,Ireland +IRN,Iran +IRQ,Iraq +ISL,Iceland +ISR,Israel +ITA,Italy +JAM,Jamaica +JOR,Jordan +JPN,Japan +KAZ,Kazakhstan +KEN,Kenya +KGZ,Kyrgyzstan +KHM,Cambodia +KOR,South Korea +KWT,Kuwait +LAO,Laos (Lao People's Democratic Republic) +LBN,Lebanon +LBR,Liberia +LBY,Libya +LKA,Sri Lanka +LTU,Lithuania +LUX,Luxembourg +LVA,Latvia +MAR,Morocco +MDG,Madagascar +MEX,Mexico +MLI,Mali +MLT,Malta +MNG,Mongolia +MOZ,Mozambique +MRT,Mauritania +MWI,Malawi +MYS,Malaysia +NAM,Namibia +NER,Niger +NGA,Nigeria +NIC,Nicaragua +NLD,Netherlands +NOR,Norway +NPL,Nepal +NZL,New Zealand +OMN,Oman +PAK,Pakistan +PAN,Panama +PER,Peru +PHL,Philippines +PNG,Papua New Guinea +POL,Poland +PRK,North Korea (Democratic People's Republic of Korea) +PRT,Portugal +PRY,Paraguay +QAT,Qatar +ROU,Romania +RUS,Russia +RWA,Rwanda +SAU,Saudi Arabia +SDN,Sudan +SDS,South Sudan +SEN,Senegal +SGP,Singapore +SLE,Sierra Leone +SLV,El Salvador +SOM,Somalia +SRB,Serbia +SVK,Slovakia +SVN,Slovenia +SWE,Sweden +SYR,Syria (Syrian Arab Republic) +TCD,Chad +TGO,Togo +THA,Thailand +TJK,Tajikistan +TKM,Turkmenistan +TUN,Tunisia +TUR,Turkey +TZA,Tanzania (United Republic of Tanzania) +UGA,Uganda +UKR,Ukraine +URY,Uruguay +USA,United States +UZB,Uzbekistan +VEN,Venezuela +VNM,Vietnam +ZAF,South Africa +ZMB,Zambia +ZWE,Zimbabwe +XAF,UPDATE Rest of Africa +XAM,UPDATE Rest of America +XAS,UPDATE Rest of Asia +XEU,UPDATE Rest of Europe diff --git a/import_emission_factors/data/mrio_config.yml b/import_emission_factors/data/mrio_config.yml index 2182f78..4d48b6a 100644 --- a/import_emission_factors/data/mrio_config.yml +++ b/import_emission_factors/data/mrio_config.yml @@ -62,3 +62,34 @@ ceda: fields: USEEIO_Detail___schema__: BEA Detail CEDA Sector: MRIO Sector + +gloria: + # process_function: download_exiobase/process_exiobase + clean_M_function: gloria_helpers/clean_gloria_M_matrix + clean_trade_function: gloria_helpers/gloria_clean_trade + # currency_function: gloria_helpers/gloria_adjust_currency + price_type: TBD + calculation_configs: + use_industry_output_for_usa_electricity_imports: true + fields: + region: CountryCode + sector: MRIO Sector + exports: + USA: Exports to US + output: + indout: Output + flows: # if using satellite.M + # entries that start with the following keys + Limestone: Limestone + "'co2_excl_short_cycle_org_c_total_EDGAR_consistent'": Carbon dioxide + # CH4: Methane + # HFC: HFCs and PFCs, unspecified # units in kg CO2e + # N2O: Nitrous oxide + # PFC: HFCs and PFCs, unspecified # units in kg CO2e + # SF6: Sulfur hexafluoride + + useeio_concordance: + file: GLORIA_to_useeio2_commodity_concordance.csv + fields: + USEEIO_Detail___schema__: BEA Detail + GLORIA Sector: MRIO Sector diff --git a/import_emission_factors/gloria_helpers.py b/import_emission_factors/gloria_helpers.py new file mode 100644 index 0000000..bf557f5 --- /dev/null +++ b/import_emission_factors/gloria_helpers.py @@ -0,0 +1,35 @@ +import statistics +from datetime import date + +from currency_converter import CurrencyConverter + +def clean_gloria_M_matrix(M, fields_to_rename): + # for satellite + M_df = M.copy().reset_index() + + M_df['flow'] = M_df.stressor + M_df['flow'] = M_df['flow'].map(fields_to_rename) + M_df = M_df.loc[M_df.flow.isin(fields_to_rename.values())] + M_df = (M_df + .sort_index(axis=1) + .drop(columns=['stressor', 'category'], level=0) + .groupby('flow').agg('sum') + ) + + M_df = (M_df.transpose().reset_index() + .rename(columns=fields_to_rename) + ) + return M_df + +# def gloria_adjust_currency(df, year): +# c = CurrencyConverter(fallback_on_missing_rate=True) +# exch = statistics.mean([c.convert(1, 'EUR', 'USD', date=date(year, 1, 1)), +# c.convert(1, 'EUR', 'USD', date=date(year, 12, 30))]) +# df = (df +# .assign(EF=lambda x: x['EF']/exch) +# .assign(ReferenceCurrency='USD') +# ) +# return df + +def gloria_clean_trade(df): + return df.filter(['USA']).reset_index() From 49c8914a8be679754445f6f77dea335a7eec3419 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Fri, 6 Dec 2024 14:05:05 -0500 Subject: [PATCH 09/31] add gloria as option; don't allow None price_type --- import_emission_factors/generate_import_factors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/import_emission_factors/generate_import_factors.py b/import_emission_factors/generate_import_factors.py index 11c83a0..b2d8e4b 100644 --- a/import_emission_factors/generate_import_factors.py +++ b/import_emission_factors/generate_import_factors.py @@ -22,7 +22,7 @@ #%% Set Parameters for import emission factors years = list(range(2017,2023)) # list schema = 2017 # int -source = 'exiobase' # options are 'exiobase', 'ceda' +source = 'gloria' # options are 'exiobase', 'ceda', 'gloria' dataPath = Path(__file__).parent / 'data' conPath = Path(__file__).parent / 'concordances' @@ -163,7 +163,7 @@ def df_prepare(df, year): .assign(Unit='kg') .assign(ReferenceCurrency='Euro') .assign(Year=str(year)) - .assign(PriceType=config.get('price_type')) + .assign(PriceType=config['price_type']) ) fl = (fedelem.get_flows() From 51e20954b694e754f90dafc320ddd67a0998521e Mon Sep 17 00:00:00 2001 From: Jake Namovich Date: Fri, 13 Dec 2024 14:10:18 -0500 Subject: [PATCH 10/31] Updates to config file for GLORIA MRIO --- import_emission_factors/data/mrio_config.yml | 23 ++++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/import_emission_factors/data/mrio_config.yml b/import_emission_factors/data/mrio_config.yml index 4d48b6a..f181c47 100644 --- a/import_emission_factors/data/mrio_config.yml +++ b/import_emission_factors/data/mrio_config.yml @@ -74,7 +74,7 @@ gloria: fields: region: CountryCode sector: MRIO Sector - exports: + exports: Basic USA: Exports to US output: indout: Output @@ -82,11 +82,26 @@ gloria: # entries that start with the following keys Limestone: Limestone "'co2_excl_short_cycle_org_c_total_EDGAR_consistent'": Carbon dioxide - # CH4: Methane + "'ch4_total_EDGAR_consistent'": Methane # HFC: HFCs and PFCs, unspecified # units in kg CO2e - # N2O: Nitrous oxide + "'n2o_total_EDGAR_consistent'": Nitrous oxide # PFC: HFCs and PFCs, unspecified # units in kg CO2e - # SF6: Sulfur hexafluoride + "'sf6_total_EDGAR_consistent'": Sulfur hexafluoride + #lignite,other_sub-butiminous,coking,other_butiminous, anthracite,coal_and_peat: Coal + #various_residues: Crop Residues + #various_crops: Crops + "'Iron ores concentrates and compounds'": Ferrous ores + "'Grazed biomass'": Grazed biomass and fodder crops #must define other 'fodder crops' + "'Natural Gas'": Natural Gas #'Natural gas liquids' is another satellite indicator + #Silver, bauxite, gold, chromium, copper, manganese, other metal ores, nickel, lead, platinum, tin, titanium, uranium, zinc: Non-ferrous ores + #Gypsum, Ornamental_or_building_stone: Non-metallic minerals - construction dominant + #Industrial_sand_and_gravel, Industrial_minerals_n.e.c, : Non-metallic minerals - industrial or agricultural dominant + "'All other aquatic animals'": Non-wild animal products + #None: Other products mainly from fossil fuels e.g. plastics + "'Crude oil'": Petroleum + "'Wild fish catch'": Wild catch and harvest + "'Timber (Industrial roundwood)'": Wood + "'Crude oil'": Oil shale and tar sands useeio_concordance: file: GLORIA_to_useeio2_commodity_concordance.csv From 49edc96950942ee7fee0b33578cc44b8f2d77e37 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Sun, 15 Dec 2024 15:27:45 -0500 Subject: [PATCH 11/31] add `reference_currency` to config; enable use of mapping file --- .../data/gloria_mapping.csv | 14 +++++++ import_emission_factors/data/mrio_config.yml | 42 +++++-------------- .../generate_import_factors.py | 23 +++++++--- 3 files changed, 42 insertions(+), 37 deletions(-) create mode 100644 import_emission_factors/data/gloria_mapping.csv diff --git a/import_emission_factors/data/gloria_mapping.csv b/import_emission_factors/data/gloria_mapping.csv new file mode 100644 index 0000000..a7e58c9 --- /dev/null +++ b/import_emission_factors/data/gloria_mapping.csv @@ -0,0 +1,14 @@ +SourceListName,SourceFlowName,SourceFlowUUID,SourceFlowContext,SourceUnit,MatchCondition,ConversionFactor,TargetFlowName,TargetFlowUUID,TargetFlowContext,TargetUnit,Mapper,Verifier,LastUpdated +,'co2_excl_short_cycle_org_c_total_EDGAR_consistent',,,,,,Carbon dioxide,,,,,, +,'ch4_total_EDGAR_consistent',,,,,,Methane,,,,,, +,'n2o_total_EDGAR_consistent',,,,,,Nitrous oxide,,,,,, +,'sf6_total_EDGAR_consistent',,,,,,Sulfur hexafluoride,,,,,, +,Limestone,,,,,,Limestone,,,,,, +,Iron ores concentrates and compounds,,,,,,Ferrous ores,,,,,, +,Grazed biomass,,,,,,Grazed biomass and fodder crops,,,,,, +,Natural Gas,,,,,,Natural Gas,,,,,, +,Natural gas liquids,,,,,,Natural Gas,,,,,, +,All other aquatic animals,,,,,,Non-wild animal products,,,,,, +,Crude oil,,,,,,Oil shale and tar sands,,,,,, +,Wild fish catch,,,,,,Wild catch and harvest,,,,,, +,Timber (Industrial roundwood),,,,,,Wood,,,,,, diff --git a/import_emission_factors/data/mrio_config.yml b/import_emission_factors/data/mrio_config.yml index f181c47..c8c2ab2 100644 --- a/import_emission_factors/data/mrio_config.yml +++ b/import_emission_factors/data/mrio_config.yml @@ -6,6 +6,7 @@ exiobase: calculation_configs: use_industry_output_for_usa_electricity_imports: true price_type: Basic + reference_currency: Euro fields: region: CountryCode sector: MRIO Sector @@ -22,10 +23,10 @@ exiobase: PFC: HFCs and PFCs, unspecified # units in kg CO2e SF6: Sulfur hexafluoride - impacts: # if using impacts.M - Carbon dioxide (CO2) IPCC categories 1 to 4 and 6 to 7 (excl land use, land use change and forestry): Carbon dioxide - Methane (CH4) IPCC categories 1 to 4 and 6 to 7 (excl land use, land use change and forestry): Methane - Nitrous Oxide (N2O) IPCC categories 1 to 4 and 6 to 7 (excl land use, land use change and forestry): Nitrous oxide + # impacts: # if using impacts.M + # Carbon dioxide (CO2) IPCC categories 1 to 4 and 6 to 7 (excl land use, land use change and forestry): Carbon dioxide + # Methane (CH4) IPCC categories 1 to 4 and 6 to 7 (excl land use, land use change and forestry): Methane + # Nitrous Oxide (N2O) IPCC categories 1 to 4 and 6 to 7 (excl land use, land use change and forestry): Nitrous oxide useeio_concordance: file: exio_to_useeio2_commodity_concordance.csv @@ -40,6 +41,7 @@ ceda: clean_M_function: ceda_helpers/clean_ceda_M_matrix calculation_configs: use_industry_output_for_usa_electricity_imports: false + reference_currency: USD price_type: Producer fields: country: CountryCode @@ -67,41 +69,19 @@ gloria: # process_function: download_exiobase/process_exiobase clean_M_function: gloria_helpers/clean_gloria_M_matrix clean_trade_function: gloria_helpers/gloria_clean_trade - # currency_function: gloria_helpers/gloria_adjust_currency - price_type: TBD + # currency_function: gloria_helpers/gloria_adjust_currency # 1000 USD + reference_currency: USD + price_type: Basic calculation_configs: use_industry_output_for_usa_electricity_imports: true fields: region: CountryCode sector: MRIO Sector - exports: Basic + exports: USA: Exports to US output: indout: Output - flows: # if using satellite.M - # entries that start with the following keys - Limestone: Limestone - "'co2_excl_short_cycle_org_c_total_EDGAR_consistent'": Carbon dioxide - "'ch4_total_EDGAR_consistent'": Methane - # HFC: HFCs and PFCs, unspecified # units in kg CO2e - "'n2o_total_EDGAR_consistent'": Nitrous oxide - # PFC: HFCs and PFCs, unspecified # units in kg CO2e - "'sf6_total_EDGAR_consistent'": Sulfur hexafluoride - #lignite,other_sub-butiminous,coking,other_butiminous, anthracite,coal_and_peat: Coal - #various_residues: Crop Residues - #various_crops: Crops - "'Iron ores concentrates and compounds'": Ferrous ores - "'Grazed biomass'": Grazed biomass and fodder crops #must define other 'fodder crops' - "'Natural Gas'": Natural Gas #'Natural gas liquids' is another satellite indicator - #Silver, bauxite, gold, chromium, copper, manganese, other metal ores, nickel, lead, platinum, tin, titanium, uranium, zinc: Non-ferrous ores - #Gypsum, Ornamental_or_building_stone: Non-metallic minerals - construction dominant - #Industrial_sand_and_gravel, Industrial_minerals_n.e.c, : Non-metallic minerals - industrial or agricultural dominant - "'All other aquatic animals'": Non-wild animal products - #None: Other products mainly from fossil fuels e.g. plastics - "'Crude oil'": Petroleum - "'Wild fish catch'": Wild catch and harvest - "'Timber (Industrial roundwood)'": Wood - "'Crude oil'": Oil shale and tar sands + mapping_file: gloria_mapping.csv useeio_concordance: file: GLORIA_to_useeio2_commodity_concordance.csv diff --git a/import_emission_factors/generate_import_factors.py b/import_emission_factors/generate_import_factors.py index b2d8e4b..0199ec1 100644 --- a/import_emission_factors/generate_import_factors.py +++ b/import_emission_factors/generate_import_factors.py @@ -41,6 +41,11 @@ config = config.get(source) if not config: raise IndexError(f'MRIO config not found for {source}') + if config.get('mapping_file'): + # read in mapping file and recreate flows dict + flows = pd.read_csv(dataPath / config['mapping_file']) + config['mapping_file'] = flows + config['flows'] = dict(zip(flows['SourceFlowName'], flows['TargetFlowName'])) def generate_import_emission_factors(years: list, schema=2012, calc_tiva=False): @@ -158,10 +163,19 @@ def df_prepare(df, year): value_name = 'EF' ) + if config.get('mapping_file'): + # TODO update units and context assignment + df = (df + .assign(Compartment='emission/air') + .assign(Unit='kg') + ) + else: + df = (df + .assign(Compartment='emission/air') + .assign(Unit='kg') + ) df = (df - .assign(Compartment='emission/air') - .assign(Unit='kg') - .assign(ReferenceCurrency='Euro') + .assign(ReferenceCurrency=config['reference_currency']) .assign(Year=str(year)) .assign(PriceType=config['price_type']) ) @@ -249,9 +263,6 @@ def adjust_currency_and_rename_flows_units(df, year): if 'currency_function' in config: fxn = extract_function_from_config('currency_function') df = fxn(df, year) - else: - # some MRIO already in USD, only need to rename units - df = df.assign(ReferenceCurrency='USD') df.loc[df['Flowable'] == 'HFCs and PFCs, unspecified', 'Unit'] = 'kg CO2e' From c6e4529fc1850ed76ea7d2a3c623a6b204d2839a Mon Sep 17 00:00:00 2001 From: Jake Namovich Date: Tue, 17 Dec 2024 13:17:13 -0500 Subject: [PATCH 12/31] Updated satellite mapping file for GLORIA --- .../data/gloria_mapping.csv | 378 ++++++++++++++++++ 1 file changed, 378 insertions(+) diff --git a/import_emission_factors/data/gloria_mapping.csv b/import_emission_factors/data/gloria_mapping.csv index a7e58c9..c041a82 100644 --- a/import_emission_factors/data/gloria_mapping.csv +++ b/import_emission_factors/data/gloria_mapping.csv @@ -3,6 +3,26 @@ SourceListName,SourceFlowName,SourceFlowUUID,SourceFlowContext,SourceUnit,MatchC ,'ch4_total_EDGAR_consistent',,,,,,Methane,,,,,, ,'n2o_total_EDGAR_consistent',,,,,,Nitrous oxide,,,,,, ,'sf6_total_EDGAR_consistent',,,,,,Sulfur hexafluoride,,,,,, +,'hfc_125_total_EDGAR_consistent',,,,,,HFC-125,,,,,, +,'hfc_134a_total_EDGAR_consistent',,,,,,HFC-134a,,,,,, +,'hfc_143a_total_EDGAR_consistent',,,,,,HFC-143a,,,,,, +,'hfc_23_total_EDGAR_consistent',,,,,,HFC-23,,,,,, +,'hfc_236fa_total_EDGAR_consistent',,,,,,HFC-236fa,,,,,, +,'hfc_32_total_EDGAR_consistent',,,,,,HFC-32,,,,,, +,'hfc_41_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, +,'hfc_43_10_mee_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, +,'hfc_152a_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, +,'hfc_227ea_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, +,'hfc_245fa_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, +,'hfc_365mfc_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, +,'c4f10_total_EDGAR_consistent',,,,,,Perfluorobutane,,,,,, +,c_c4f8_total_EDGAR_consistent',,,,,,Perfluorocyclobutane,,,,,, +,'c6f14_total_EDGAR_consistent',,,,,,Perfluorohexane,,,,,, +,'c6f14_total_EDGAR_consistent',,,,,,Perfluorohexane,,,,,, +,c3f8_total_EDGAR_consistent',,,,,,Perfluoropropane,,,,,, +,'c2f6_total_EDGAR_consistent',,,,,,Hexafluoroethane,,,,,, +,'cf4_total_EDGAR_consistent',,,,,,Carbon tetrafluoride,,,,,, +,'nf3_total_EDGAR_consistent',,,,,,Nitrogen trifluoride,,,,,, ,Limestone,,,,,,Limestone,,,,,, ,Iron ores concentrates and compounds,,,,,,Ferrous ores,,,,,, ,Grazed biomass,,,,,,Grazed biomass and fodder crops,,,,,, @@ -10,5 +30,363 @@ SourceListName,SourceFlowName,SourceFlowUUID,SourceFlowContext,SourceUnit,MatchC ,Natural gas liquids,,,,,,Natural Gas,,,,,, ,All other aquatic animals,,,,,,Non-wild animal products,,,,,, ,Crude oil,,,,,,Oil shale and tar sands,,,,,, +,Oil shale and tar sands,,,,,,Oil shale and tar sands,,,,,, ,Wild fish catch,,,,,,Wild catch and harvest,,,,,, ,Timber (Industrial roundwood),,,,,,Wood,,,,,, +,Natural rubber in primary forms,,,,,,Wood,,,,,, +,Wood fuel and other extraction,,,,,,Wood,,,,,, +,Lignite (brown coal),,,,,,Coal,,,,,, +,Other Sub-Bituminous Coal,,,,,,Coal,,,,,, +,Coking Coal,,,,,,Coal,,,,,, +,Other Bituminous Coal,,,,,,Coal,,,,,, +,Anthracite,,,,,,Coal,,,,,, +,Rice_Residues,,,,,,Crop Residues,,,,,, +,Wheat_Residues,,,,,,Crop Residues,,,,,, +,Barley_Residues,,,,,,Crop Residues,,,,,, +,Buckwheat_Residues,,,,,,Crop Residues,,,,,, +,Canary seed_Residues,,,,,,Crop Residues,,,,,, +,Cereals n.e.c._Residues,,,,,,Crop Residues,,,,,, +,Fonio_Residues,,,,,,Crop Residues,,,,,, +,Maize (corn)_Residues,,,,,,Crop Residues,,,,,, +,Millet_Residues,,,,,,Crop Residues,,,,,, +,Mixed grain_Residues,,,,,,Crop Residues,,,,,, +,Oats_Residues,,,,,,Crop Residues,,,,,, +,Quinoa_Residues,,,,,,Crop Residues,,,,,, +,Rye_Residues,,,,,,Crop Residues,,,,,, +,Sorghum_Residues,,,,,,Crop Residues,,,,,, +,Triticale_Residues,,,,,,Crop Residues,,,,,, +,Natural rubber in primary forms_Residues,,,,,,Crop Residues,,,,,, +,"Anise, badian, coriander, cumin, caraway, fennel and juniper berries, raw_Residues",,,,,,Crop Residues,,,,,, +,"Chillies and peppers, dry (Capsicum spp., Pimenta spp.), raw_Residues",,,,,,Crop Residues,,,,,, +,"Cinnamon and cinnamon-tree flowers, raw_Residues",,,,,,Crop Residues,,,,,, +,"Cloves (whole stems), raw_Residues",,,,,,Crop Residues,,,,,, +,Cocoa beans_Residues,,,,,,Crop Residues,,,,,, +,"Coffee, green_Residues",,,,,,Crop Residues,,,,,, +,"Ginger, raw_Residues",,,,,,Crop Residues,,,,,, +,Hop cones_Residues,,,,,,Crop Residues,,,,,, +,Maté leaves_Residues,,,,,,Crop Residues,,,,,, +,"Nutmeg, mace, cardamoms, raw_Residues",,,,,,Crop Residues,,,,,, +,"Other stimulant, spice and aromatic crops, n.e.c._Residues",,,,,,Crop Residues,,,,,, +,"Pepper (Piper spp.), raw_Residues",,,,,,Crop Residues,,,,,, +,"Peppermint, spearmint_Residues",,,,,,Crop Residues,,,,,, +,"Pyrethrum, dried flowers_Residues",,,,,,Crop Residues,,,,,, +,Tea leaves_Residues,,,,,,Crop Residues,,,,,, +,"Vanilla, raw_Residues",,,,,,Crop Residues,,,,,, +,Unmanufactured tobacco_Residues,,,,,,Crop Residues,,,,,, +,"Cassava, fresh_Residues",,,,,,Crop Residues,,,,,, +,"Edible roots and tubers with high starch or inulin content, n.e.c., fresh_Residues",,,,,,Crop Residues,,,,,, +,Potatoes_Residues,,,,,,Crop Residues,,,,,, +,Sweet potatoes_Residues,,,,,,Crop Residues,,,,,, +,Taro_Residues,,,,,,Crop Residues,,,,,, +,Yams_Residues,,,,,,Crop Residues,,,,,, +,Yautia_Residues,,,,,,Crop Residues,,,,,, +,Other sugar crops n.e.c._Residues,,,,,,Crop Residues,,,,,, +,Sugar beet_Residues,,,,,,Crop Residues,,,,,, +,Sugar cane_Residues,,,,,,Crop Residues,,,,,, +,"Bambara beans, dry_Residues",,,,,,Crop Residues,,,,,, +,"Beans, dry_Residues",,,,,,Crop Residues,,,,,, +,"Broad beans and horse beans, dry_Residues",,,,,,Crop Residues,,,,,, +,"Chick peas, dry_Residues",,,,,,Crop Residues,,,,,, +,"Cow peas, dry_Residues",,,,,,Crop Residues,,,,,, +,"Lentils, dry_Residues",,,,,,Crop Residues,,,,,, +,Lupins_Residues,,,,,,Crop Residues,,,,,, +,Other pulses n.e.c._Residues,,,,,,Crop Residues,,,,,, +,"Peas, dry_Residues",,,,,,Crop Residues,,,,,, +,"Pigeon peas, dry_Residues",,,,,,Crop Residues,,,,,, +,Vetches_Residues,,,,,,Crop Residues,,,,,, +,"Almonds, in shell_Residues",,,,,,Crop Residues,,,,,, +,Areca nuts_Residues,,,,,,Crop Residues,,,,,, +,"Brazil nuts, in shell_Residues",,,,,,Crop Residues,,,,,, +,"Cashew nuts, in shell_Residues",,,,,,Crop Residues,,,,,, +,"Chestnuts, in shell_Residues",,,,,,Crop Residues,,,,,, +,"Hazelnuts, in shell_Residues",,,,,,Crop Residues,,,,,, +,Kola nuts_Residues,,,,,,Crop Residues,,,,,, +,"Other nuts (excluding wild edible nuts and groundnuts), in shell, n.e.c._Residues",,,,,,Crop Residues,,,,,, +,"Pistachios, in shell_Residues",,,,,,Crop Residues,,,,,, +,"Walnuts, in shell_Residues",,,,,,Crop Residues,,,,,, +,Castor oil seeds_Residues,,,,,,Crop Residues,,,,,, +,"Coconuts, in shell_Residues",,,,,,Crop Residues,,,,,, +,"Groundnuts, excluding shelled_Residues",,,,,,Crop Residues,,,,,, +,Hempseed_Residues,,,,,,Crop Residues,,,,,, +,Jojoba seeds_Residues,,,,,,Crop Residues,,,,,, +,Kapok fruit_Residues,,,,,,Crop Residues,,,,,, +,Karite nuts (sheanuts)_Residues,,,,,,Crop Residues,,,,,, +,Linseed_Residues,,,,,,Crop Residues,,,,,, +,Melonseed_Residues,,,,,,Crop Residues,,,,,, +,Mustard seed_Residues,,,,,,Crop Residues,,,,,, +,Oil palm fruit_Residues,,,,,,Crop Residues,,,,,, +,Olives_Residues,,,,,,Crop Residues,,,,,, +,"Other oil seeds, n.e.c._Residues",,,,,,Crop Residues,,,,,, +,Poppy seed_Residues,,,,,,Crop Residues,,,,,, +,Rape or colza seed_Residues,,,,,,Crop Residues,,,,,, +,Safflower seed_Residues,,,,,,Crop Residues,,,,,, +,Sesame seed_Residues,,,,,,Crop Residues,,,,,, +,Soya beans_Residues,,,,,,Crop Residues,,,,,, +,Sunflower seed_Residues,,,,,,Crop Residues,,,,,, +,Tallowtree seeds_Residues,,,,,,Crop Residues,,,,,, +,Tung nuts_Residues,,,,,,Crop Residues,,,,,, +,Artichokes_Residues,,,,,,Crop Residues,,,,,, +,Asparagus_Residues,,,,,,Crop Residues,,,,,, +,"Broad beans and horse beans, green_Residues",,,,,,Crop Residues,,,,,, +,Cabbages_Residues,,,,,,Crop Residues,,,,,, +,Carrots and turnips_Residues,,,,,,Crop Residues,,,,,, +,Cassava leaves_Residues,,,,,,Crop Residues,,,,,, +,Cauliflowers and broccoli_Residues,,,,,,Crop Residues,,,,,, +,Chicory roots_Residues,,,,,,Crop Residues,,,,,, +,"Chillies and peppers, green (Capsicum spp. and Pimenta spp.)_Residues",,,,,,Crop Residues,,,,,, +,Cucumbers and gherkins_Residues,,,,,,Crop Residues,,,,,, +,Eggplants (aubergines)_Residues,,,,,,Crop Residues,,,,,, +,Green corn (maize)_Residues,,,,,,Crop Residues,,,,,, +,Green garlic_Residues,,,,,,Crop Residues,,,,,, +,Leeks and other alliaceous vegetables_Residues,,,,,,Crop Residues,,,,,, +,Lettuce and chicory_Residues,,,,,,Crop Residues,,,,,, +,Locust beans (carobs)_Residues,,,,,,Crop Residues,,,,,, +,Mushrooms and truffles_Residues,,,,,,Crop Residues,,,,,, +,Okra_Residues,,,,,,Crop Residues,,,,,, +,"Onions and shallots, dry (excluding dehydrated)_Residues",,,,,,Crop Residues,,,,,, +,"Onions and shallots, green_Residues",,,,,,Crop Residues,,,,,, +,"Other beans, green_Residues",,,,,,Crop Residues,,,,,, +,"Other vegetables, fresh n.e.c._Residues",,,,,,Crop Residues,,,,,, +,"Peas, green_Residues",,,,,,Crop Residues,,,,,, +,"Pumpkins, squash and gourds_Residues",,,,,,Crop Residues,,,,,, +,Spinach_Residues,,,,,,Crop Residues,,,,,, +,String beans_Residues,,,,,,Crop Residues,,,,,, +,Tomatoes_Residues,,,,,,Crop Residues,,,,,, +,Apples_Residues,,,,,,Crop Residues,,,,,, +,Apricots_Residues,,,,,,Crop Residues,,,,,, +,Avocados_Residues,,,,,,Crop Residues,,,,,, +,Bananas_Residues,,,,,,Crop Residues,,,,,, +,Blueberries_Residues,,,,,,Crop Residues,,,,,, +,Cantaloupes and other melons_Residues,,,,,,Crop Residues,,,,,, +,Cashewapple_Residues,,,,,,Crop Residues,,,,,, +,Cherries_Residues,,,,,,Crop Residues,,,,,, +,Cranberries_Residues,,,,,,Crop Residues,,,,,, +,Currants_Residues,,,,,,Crop Residues,,,,,, +,Dates_Residues,,,,,,Crop Residues,,,,,, +,Figs_Residues,,,,,,Crop Residues,,,,,, +,Gooseberries_Residues,,,,,,Crop Residues,,,,,, +,Grapes_Residues,,,,,,Crop Residues,,,,,, +,Kiwi fruit_Residues,,,,,,Crop Residues,,,,,, +,Lemons and limes_Residues,,,,,,Crop Residues,,,,,, +,"Mangoes, guavas and mangosteens_Residues",,,,,,Crop Residues,,,,,, +,Oranges_Residues,,,,,,Crop Residues,,,,,, +,Other berries and fruits of the genus vaccinium n.e.c._Residues,,,,,,Crop Residues,,,,,, +,"Other citrus fruit, n.e.c._Residues",,,,,,Crop Residues,,,,,, +,"Other fruits, n.e.c._Residues",,,,,,Crop Residues,,,,,, +,Other pome fruits_Residues,,,,,,Crop Residues,,,,,, +,Other stone fruits_Residues,,,,,,Crop Residues,,,,,, +,"Other tropical fruits, n.e.c._Residues",,,,,,Crop Residues,,,,,, +,Papayas_Residues,,,,,,Crop Residues,,,,,, +,Peaches and nectarines_Residues,,,,,,Crop Residues,,,,,, +,Pears_Residues,,,,,,Crop Residues,,,,,, +,Persimmons_Residues,,,,,,Crop Residues,,,,,, +,Pineapples_Residues,,,,,,Crop Residues,,,,,, +,Plantains and cooking bananas_Residues,,,,,,Crop Residues,,,,,, +,Plums and sloes_Residues,,,,,,Crop Residues,,,,,, +,Pomelos and grapefruits_Residues,,,,,,Crop Residues,,,,,, +,Quinces_Residues,,,,,,Crop Residues,,,,,, +,Raspberries_Residues,,,,,,Crop Residues,,,,,, +,Sour cherries_Residues,,,,,,Crop Residues,,,,,, +,Strawberries_Residues,,,,,,Crop Residues,,,,,, +,"Tangerines, mandarins, clementines_Residues",,,,,,Crop Residues,,,,,, +,Watermelons_Residues,,,,,,Crop Residues,,,,,, +,"Abaca, manila hemp, raw_Residues",,,,,,Crop Residues,,,,,, +,"Agave fibres, raw, n.e.c._Residues",,,,,,Crop Residues,,,,,, +,"Coir, raw_Residues",,,,,,Crop Residues,,,,,, +,"Flax, processed but not spun_Residues",,,,,,Crop Residues,,,,,, +,"Jute, raw or retted_Residues",,,,,,Crop Residues,,,,,, +,"Kenaf, and other textile bast fibres, raw or retted_Residues",,,,,,Crop Residues,,,,,, +,"Other fibre crops, raw, n.e.c._Residues",,,,,,Crop Residues,,,,,, +,"Ramie, raw or retted_Residues",,,,,,Crop Residues,,,,,, +,"Seed cotton, unginned_Residues",,,,,,Crop Residues,,,,,, +,"Sisal, raw_Residues",,,,,,Crop Residues,,,,,, +,"True hemp, raw or retted_Residues",,,,,,Crop Residues,,,,,, +,Rice,,,,,,Crops,,,,,, +,Wheat,,,,,,Crops,,,,,, +,Barley,,,,,,Crops,,,,,, +,Buckwheat,,,,,,Crops,,,,,, +,Canary seed,,,,,,Crops,,,,,, +,Cereals n.e.c.,,,,,,Crops,,,,,, +,Fonio,,,,,,Crops,,,,,, +,Maize (corn),,,,,,Crops,,,,,, +,Millet,,,,,,Crops,,,,,, +,Mixed grain,,,,,,Crops,,,,,, +,Oats,,,,,,Crops,,,,,, +,Quinoa,,,,,,Crops,,,,,, +,Rye,,,,,,Crops,,,,,, +,Sorghum,,,,,,Crops,,,,,, +,Triticale,,,,,,Crops,,,,,, +,"Anise, badian, coriander, cumin, caraway, fennel and juniper berries, raw",,,,,,Crops,,,,,, +,"Chillies and peppers, dry (Capsicum spp., Pimenta spp.), raw",,,,,,Crops,,,,,, +,"Cloves (whole stems), raw",,,,,,Crops,,,,,, +,Cocoa beans,,,,,,Crops,,,,,, +,"Coffee, green",,,,,,Crops,,,,,, +,"Ginger, raw",,,,,,Crops,,,,,, +,Hop cones,,,,,,Crops,,,,,, +,Maté leaves,,,,,,Crops,,,,,, +,"Nutmeg, mace, cardamoms, raw",,,,,,Crops,,,,,, +,"Other stimulant, spice and aromatic crops, n.e.c.",,,,,,Crops,,,,,, +,"Pepper (Piper spp.), raw",,,,,,Crops,,,,,, +,"Peppermint, spearmint",,,,,,Crops,,,,,, +,"Pyrethrum, dried flowers",,,,,,Crops,,,,,, +,Tea leaves,,,,,,Crops,,,,,, +,"Vanilla, raw",,,,,,Crops,,,,,, +,Unmanufactured tobacco,,,,,,Crops,,,,,, +,"Cassava, fresh",,,,,,Crops,,,,,, +,"Edible roots and tubers with high starch or inulin content, n.e.c., fresh",,,,,,Crops,,,,,, +,Potatoes,,,,,,Crops,,,,,, +,Sweet potatoes,,,,,,Crops,,,,,, +,Taro,,,,,,Crops,,,,,, +,Yams,,,,,,Crops,,,,,, +,Yautia,,,,,,Crops,,,,,, +,Other sugar crops n.e.c.,,,,,,Crops,,,,,, +,Sugar beet,,,,,,Crops,,,,,, +,Sugar cane,,,,,,Crops,,,,,, +,"Bambara beans, dry",,,,,,Crops,,,,,, +,"Beans, dry",,,,,,Crops,,,,,, +,"Broad beans and horse beans, dry",,,,,,Crops,,,,,, +,"Chick peas, dry",,,,,,Crops,,,,,, +,"Cow peas, dry",,,,,,Crops,,,,,, +,"Lentils, dry",,,,,,Crops,,,,,, +,Lupins,,,,,,Crops,,,,,, +,Other pulses n.e.c.,,,,,,Crops,,,,,, +,"Peas, dry",,,,,,Crops,,,,,, +,"Pigeon peas, dry",,,,,,Crops,,,,,, +,Vetches,,,,,,Crops,,,,,, +,"Almonds, in shell",,,,,,Crops,,,,,, +,Areca nuts,,,,,,Crops,,,,,, +,"Brazil nuts, in shell",,,,,,Crops,,,,,, +,"Cashew nuts, in shell",,,,,,Crops,,,,,, +,"Chestnuts, in shell",,,,,,Crops,,,,,, +,"Hazelnuts, in shell",,,,,,Crops,,,,,, +,Kola nuts,,,,,,Crops,,,,,, +,"Other nuts (excluding wild edible nuts and groundnuts), in shell, n.e.c.",,,,,,Crops,,,,,, +,"Pistachios, in shell",,,,,,Crops,,,,,, +,"Walnuts, in shell",,,,,,Crops,,,,,, +,Castor oil seeds,,,,,,Crops,,,,,, +,"Coconuts, in shell",,,,,,Crops,,,,,, +,"Groundnuts, excluding shelled",,,,,,Crops,,,,,, +,Hempseed,,,,,,Crops,,,,,, +,Jojoba seeds,,,,,,Crops,,,,,, +,Kapok fruit,,,,,,Crops,,,,,, +,Karite nuts (sheanuts),,,,,,Crops,,,,,, +,Linseed,,,,,,Crops,,,,,, +,Melonseed,,,,,,Crops,,,,,, +,Mustard seed,,,,,,Crops,,,,,, +,Oil palm fruit,,,,,,Crops,,,,,, +,Olives,,,,,,Crops,,,,,, +,"Other oil seeds, n.e.c.",,,,,,Crops,,,,,, +,Poppy seed,,,,,,Crops,,,,,, +,Rape or colza seed,,,,,,Crops,,,,,, +,Safflower seed,,,,,,Crops,,,,,, +,Sesame seed,,,,,,Crops,,,,,, +,Soya beans,,,,,,Crops,,,,,, +,Sunflower seed,,,,,,Crops,,,,,, +,Tallowtree seeds,,,,,,Crops,,,,,, +,Tung nuts,,,,,,Crops,,,,,, +,Artichokes,,,,,,Crops,,,,,, +,Asparagus,,,,,,Crops,,,,,, +,"Broad beans and horse beans, green",,,,,,Crops,,,,,, +,Cabbages,,,,,,Crops,,,,,, +,Carrots and turnips,,,,,,Crops,,,,,, +,Cassava leaves,,,,,,Crops,,,,,, +,Cauliflowers and broccoli,,,,,,Crops,,,,,, +,Chicory roots,,,,,,Crops,,,,,, +,"Chillies and peppers, green (Capsicum spp. and Pimenta spp.)",,,,,,Crops,,,,,, +,Cucumbers and gherkins,,,,,,Crops,,,,,, +,Eggplants (aubergines),,,,,,Crops,,,,,, +,Green corn (maize),,,,,,Crops,,,,,, +,Green garlic,,,,,,Crops,,,,,, +,Leeks and other alliaceous vegetables,,,,,,Crops,,,,,, +,Lettuce and chicory,,,,,,Crops,,,,,, +,Locust beans (carobs),,,,,,Crops,,,,,, +,Mushrooms and truffles,,,,,,Crops,,,,,, +,Okra,,,,,,Crops,,,,,, +,"Onions and shallots, dry (excluding dehydrated)",,,,,,Crops,,,,,, +,"Onions and shallots, green",,,,,,Crops,,,,,, +,"Other beans, green",,,,,,Crops,,,,,, +,"Other vegetables, fresh n.e.c.",,,,,,Crops,,,,,, +,"Peas, green",,,,,,Crops,,,,,, +,"Pumpkins, squash and gourds",,,,,,Crops,,,,,, +,Spinach,,,,,,Crops,,,,,, +,String beans,,,,,,Crops,,,,,, +,Tomatoes,,,,,,Crops,,,,,, +,Apples,,,,,,Crops,,,,,, +,Apricots,,,,,,Crops,,,,,, +,Avocados,,,,,,Crops,,,,,, +,Bananas,,,,,,Crops,,,,,, +,Blueberries,,,,,,Crops,,,,,, +,Cantaloupes and other melons,,,,,,Crops,,,,,, +,Cashewapple,,,,,,Crops,,,,,, +,Cherries,,,,,,Crops,,,,,, +,Cranberries,,,,,,Crops,,,,,, +,Currants,,,,,,Crops,,,,,, +,Dates,,,,,,Crops,,,,,, +,Gooseberries,,,,,,Crops,,,,,, +,Grapes,,,,,,Crops,,,,,, +,Kiwi fruit,,,,,,Crops,,,,,, +,Lemons and limes,,,,,,Crops,,,,,, +,"Mangoes, guavas and mangosteens",,,,,,Crops,,,,,, +,Oranges,,,,,,Crops,,,,,, +,Other berries and fruits of the genus vaccinium n.e.c.,,,,,,Crops,,,,,, +,"Other citrus fruit, n.e.c.",,,,,,Crops,,,,,, +,"Other fruits, n.e.c.",,,,,,Crops,,,,,, +,Other pome fruits,,,,,,Crops,,,,,, +,Other stone fruits,,,,,,Crops,,,,,, +,"Other tropical fruits, n.e.c.",,,,,,Crops,,,,,, +,Papayas,,,,,,Crops,,,,,, +,Peaches and nectarines,,,,,,Crops,,,,,, +,Pears,,,,,,Crops,,,,,, +,Persimmons,,,,,,Crops,,,,,, +,Pineapples,,,,,,Crops,,,,,, +,Plantains and cooking bananas,,,,,,Crops,,,,,, +,Plums and sloes,,,,,,Crops,,,,,, +,Pomelos and grapefruits,,,,,,Crops,,,,,, +,Quinces,,,,,,Crops,,,,,, +,Raspberries,,,,,,Crops,,,,,, +,Sour cherries,,,,,,Crops,,,,,, +,Strawberries,,,,,,Crops,,,,,, +,"Tangerines, mandarins, clementines",,,,,,Crops,,,,,, +,Watermelons,,,,,,Crops,,,,,, +,"Abaca, manila hemp, raw",,,,,,Crops,,,,,, +,"Agave fibres, raw, n.e.c.",,,,,,Crops,,,,,, +,"Coir, raw",,,,,,Crops,,,,,, +,"Flax, processed but not spun",,,,,,Crops,,,,,, +,"Jute, raw or retted",,,,,,Crops,,,,,, +,"Kenaf, and other textile bast fibres, raw or retted",,,,,,Crops,,,,,, +,"Other fibre crops, raw, n.e.c.",,,,,,Crops,,,,,, +,"Ramie, raw or retted",,,,,,Crops,,,,,, +,"Seed cotton, unginned",,,,,,Crops,,,,,, +,"Sisal, raw",,,,,,Crops,,,,,, +,"True hemp, raw or retted",,,,,,Crops,,,,,, +,"Cinnamon and cinnamon-tree flowers, raw",,,,,,Crops,,,,,, +,Figs,,,,,,Crops,,,,,, +,Aquatic plants,,,,,,Crops,,,,,, +,Chalk,,,,,,Excavated earthen materials (including soil) nec,,,,,, +,Dolomite,,,,,,Excavated earthen materials (including soil) nec,,,,,, +,Salt,,,,,,Excavated earthen materials (including soil) nec,,,,,, +,Specialty clays,,,,,,Excavated earthen materials (including soil) nec,,,,,, +,Gypsum,,,,,,Excavated earthen materials (including soil) nec,,,,,, +,Peat,,,,,,Excavated earthen materials (including soil) nec,,,,,, +,Other non-metallic minerals n.e.c.,,,,,,Excavated earthen materials (including soil) nec,,,,,, +,Silver ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Bauxite and other aluminium ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Gold ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Chromium ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Copper ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Manganese ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Other metal ores concentrates and compounds nec. including mixed,,,,,,Non-ferrous ores,,,,,, +,Nickel ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Lead ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Platinum group metal ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Tin ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Titanium ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Uranium ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Zinc ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, +,Fertilizer minerals n.e.c.,,,,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, +,Chemical minerals n.e.c.,,,,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, +,Industrial minerals n.e.c,,,,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, +,Industrial sand and gravel,,,,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, +,Ornamental or building stone,,,,,,Non-metallic minerals - construction dominant,,,,,, +,Structural clays,,,,,,Non-metallic minerals - construction dominant,,,,,, +,Sand gravel and crushed rock for construction,,,,,,Non-metallic minerals - construction dominant,,,,,, From 9840cca13c19815d6b0dec40373f43510be4d8a5 Mon Sep 17 00:00:00 2001 From: Jake Namovich Date: Tue, 17 Dec 2024 14:07:46 -0500 Subject: [PATCH 13/31] Added units to GLORIA satellite mapping file --- .../data/gloria_mapping.csv | 782 +++++++++--------- 1 file changed, 391 insertions(+), 391 deletions(-) diff --git a/import_emission_factors/data/gloria_mapping.csv b/import_emission_factors/data/gloria_mapping.csv index c041a82..43692c4 100644 --- a/import_emission_factors/data/gloria_mapping.csv +++ b/import_emission_factors/data/gloria_mapping.csv @@ -1,392 +1,392 @@ SourceListName,SourceFlowName,SourceFlowUUID,SourceFlowContext,SourceUnit,MatchCondition,ConversionFactor,TargetFlowName,TargetFlowUUID,TargetFlowContext,TargetUnit,Mapper,Verifier,LastUpdated -,'co2_excl_short_cycle_org_c_total_EDGAR_consistent',,,,,,Carbon dioxide,,,,,, -,'ch4_total_EDGAR_consistent',,,,,,Methane,,,,,, -,'n2o_total_EDGAR_consistent',,,,,,Nitrous oxide,,,,,, -,'sf6_total_EDGAR_consistent',,,,,,Sulfur hexafluoride,,,,,, -,'hfc_125_total_EDGAR_consistent',,,,,,HFC-125,,,,,, -,'hfc_134a_total_EDGAR_consistent',,,,,,HFC-134a,,,,,, -,'hfc_143a_total_EDGAR_consistent',,,,,,HFC-143a,,,,,, -,'hfc_23_total_EDGAR_consistent',,,,,,HFC-23,,,,,, -,'hfc_236fa_total_EDGAR_consistent',,,,,,HFC-236fa,,,,,, -,'hfc_32_total_EDGAR_consistent',,,,,,HFC-32,,,,,, -,'hfc_41_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, -,'hfc_43_10_mee_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, -,'hfc_152a_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, -,'hfc_227ea_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, -,'hfc_245fa_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, -,'hfc_365mfc_total_EDGAR_consistent',,,,,,"HFCs and PFCs, unspecified",,,,,, -,'c4f10_total_EDGAR_consistent',,,,,,Perfluorobutane,,,,,, -,c_c4f8_total_EDGAR_consistent',,,,,,Perfluorocyclobutane,,,,,, -,'c6f14_total_EDGAR_consistent',,,,,,Perfluorohexane,,,,,, -,'c6f14_total_EDGAR_consistent',,,,,,Perfluorohexane,,,,,, -,c3f8_total_EDGAR_consistent',,,,,,Perfluoropropane,,,,,, -,'c2f6_total_EDGAR_consistent',,,,,,Hexafluoroethane,,,,,, -,'cf4_total_EDGAR_consistent',,,,,,Carbon tetrafluoride,,,,,, -,'nf3_total_EDGAR_consistent',,,,,,Nitrogen trifluoride,,,,,, -,Limestone,,,,,,Limestone,,,,,, -,Iron ores concentrates and compounds,,,,,,Ferrous ores,,,,,, -,Grazed biomass,,,,,,Grazed biomass and fodder crops,,,,,, -,Natural Gas,,,,,,Natural Gas,,,,,, -,Natural gas liquids,,,,,,Natural Gas,,,,,, -,All other aquatic animals,,,,,,Non-wild animal products,,,,,, -,Crude oil,,,,,,Oil shale and tar sands,,,,,, -,Oil shale and tar sands,,,,,,Oil shale and tar sands,,,,,, -,Wild fish catch,,,,,,Wild catch and harvest,,,,,, -,Timber (Industrial roundwood),,,,,,Wood,,,,,, -,Natural rubber in primary forms,,,,,,Wood,,,,,, -,Wood fuel and other extraction,,,,,,Wood,,,,,, -,Lignite (brown coal),,,,,,Coal,,,,,, -,Other Sub-Bituminous Coal,,,,,,Coal,,,,,, -,Coking Coal,,,,,,Coal,,,,,, -,Other Bituminous Coal,,,,,,Coal,,,,,, -,Anthracite,,,,,,Coal,,,,,, -,Rice_Residues,,,,,,Crop Residues,,,,,, -,Wheat_Residues,,,,,,Crop Residues,,,,,, -,Barley_Residues,,,,,,Crop Residues,,,,,, -,Buckwheat_Residues,,,,,,Crop Residues,,,,,, -,Canary seed_Residues,,,,,,Crop Residues,,,,,, -,Cereals n.e.c._Residues,,,,,,Crop Residues,,,,,, -,Fonio_Residues,,,,,,Crop Residues,,,,,, -,Maize (corn)_Residues,,,,,,Crop Residues,,,,,, -,Millet_Residues,,,,,,Crop Residues,,,,,, -,Mixed grain_Residues,,,,,,Crop Residues,,,,,, -,Oats_Residues,,,,,,Crop Residues,,,,,, -,Quinoa_Residues,,,,,,Crop Residues,,,,,, -,Rye_Residues,,,,,,Crop Residues,,,,,, -,Sorghum_Residues,,,,,,Crop Residues,,,,,, -,Triticale_Residues,,,,,,Crop Residues,,,,,, -,Natural rubber in primary forms_Residues,,,,,,Crop Residues,,,,,, -,"Anise, badian, coriander, cumin, caraway, fennel and juniper berries, raw_Residues",,,,,,Crop Residues,,,,,, -,"Chillies and peppers, dry (Capsicum spp., Pimenta spp.), raw_Residues",,,,,,Crop Residues,,,,,, -,"Cinnamon and cinnamon-tree flowers, raw_Residues",,,,,,Crop Residues,,,,,, -,"Cloves (whole stems), raw_Residues",,,,,,Crop Residues,,,,,, -,Cocoa beans_Residues,,,,,,Crop Residues,,,,,, -,"Coffee, green_Residues",,,,,,Crop Residues,,,,,, -,"Ginger, raw_Residues",,,,,,Crop Residues,,,,,, -,Hop cones_Residues,,,,,,Crop Residues,,,,,, -,Maté leaves_Residues,,,,,,Crop Residues,,,,,, -,"Nutmeg, mace, cardamoms, raw_Residues",,,,,,Crop Residues,,,,,, -,"Other stimulant, spice and aromatic crops, n.e.c._Residues",,,,,,Crop Residues,,,,,, -,"Pepper (Piper spp.), raw_Residues",,,,,,Crop Residues,,,,,, -,"Peppermint, spearmint_Residues",,,,,,Crop Residues,,,,,, -,"Pyrethrum, dried flowers_Residues",,,,,,Crop Residues,,,,,, -,Tea leaves_Residues,,,,,,Crop Residues,,,,,, -,"Vanilla, raw_Residues",,,,,,Crop Residues,,,,,, -,Unmanufactured tobacco_Residues,,,,,,Crop Residues,,,,,, -,"Cassava, fresh_Residues",,,,,,Crop Residues,,,,,, -,"Edible roots and tubers with high starch or inulin content, n.e.c., fresh_Residues",,,,,,Crop Residues,,,,,, -,Potatoes_Residues,,,,,,Crop Residues,,,,,, -,Sweet potatoes_Residues,,,,,,Crop Residues,,,,,, -,Taro_Residues,,,,,,Crop Residues,,,,,, -,Yams_Residues,,,,,,Crop Residues,,,,,, -,Yautia_Residues,,,,,,Crop Residues,,,,,, -,Other sugar crops n.e.c._Residues,,,,,,Crop Residues,,,,,, -,Sugar beet_Residues,,,,,,Crop Residues,,,,,, -,Sugar cane_Residues,,,,,,Crop Residues,,,,,, -,"Bambara beans, dry_Residues",,,,,,Crop Residues,,,,,, -,"Beans, dry_Residues",,,,,,Crop Residues,,,,,, -,"Broad beans and horse beans, dry_Residues",,,,,,Crop Residues,,,,,, -,"Chick peas, dry_Residues",,,,,,Crop Residues,,,,,, -,"Cow peas, dry_Residues",,,,,,Crop Residues,,,,,, -,"Lentils, dry_Residues",,,,,,Crop Residues,,,,,, -,Lupins_Residues,,,,,,Crop Residues,,,,,, -,Other pulses n.e.c._Residues,,,,,,Crop Residues,,,,,, -,"Peas, dry_Residues",,,,,,Crop Residues,,,,,, -,"Pigeon peas, dry_Residues",,,,,,Crop Residues,,,,,, -,Vetches_Residues,,,,,,Crop Residues,,,,,, -,"Almonds, in shell_Residues",,,,,,Crop Residues,,,,,, -,Areca nuts_Residues,,,,,,Crop Residues,,,,,, -,"Brazil nuts, in shell_Residues",,,,,,Crop Residues,,,,,, -,"Cashew nuts, in shell_Residues",,,,,,Crop Residues,,,,,, -,"Chestnuts, in shell_Residues",,,,,,Crop Residues,,,,,, -,"Hazelnuts, in shell_Residues",,,,,,Crop Residues,,,,,, -,Kola nuts_Residues,,,,,,Crop Residues,,,,,, -,"Other nuts (excluding wild edible nuts and groundnuts), in shell, n.e.c._Residues",,,,,,Crop Residues,,,,,, -,"Pistachios, in shell_Residues",,,,,,Crop Residues,,,,,, -,"Walnuts, in shell_Residues",,,,,,Crop Residues,,,,,, -,Castor oil seeds_Residues,,,,,,Crop Residues,,,,,, -,"Coconuts, in shell_Residues",,,,,,Crop Residues,,,,,, -,"Groundnuts, excluding shelled_Residues",,,,,,Crop Residues,,,,,, -,Hempseed_Residues,,,,,,Crop Residues,,,,,, -,Jojoba seeds_Residues,,,,,,Crop Residues,,,,,, -,Kapok fruit_Residues,,,,,,Crop Residues,,,,,, -,Karite nuts (sheanuts)_Residues,,,,,,Crop Residues,,,,,, -,Linseed_Residues,,,,,,Crop Residues,,,,,, -,Melonseed_Residues,,,,,,Crop Residues,,,,,, -,Mustard seed_Residues,,,,,,Crop Residues,,,,,, -,Oil palm fruit_Residues,,,,,,Crop Residues,,,,,, -,Olives_Residues,,,,,,Crop Residues,,,,,, -,"Other oil seeds, n.e.c._Residues",,,,,,Crop Residues,,,,,, -,Poppy seed_Residues,,,,,,Crop Residues,,,,,, -,Rape or colza seed_Residues,,,,,,Crop Residues,,,,,, -,Safflower seed_Residues,,,,,,Crop Residues,,,,,, -,Sesame seed_Residues,,,,,,Crop Residues,,,,,, -,Soya beans_Residues,,,,,,Crop Residues,,,,,, -,Sunflower seed_Residues,,,,,,Crop Residues,,,,,, -,Tallowtree seeds_Residues,,,,,,Crop Residues,,,,,, -,Tung nuts_Residues,,,,,,Crop Residues,,,,,, -,Artichokes_Residues,,,,,,Crop Residues,,,,,, -,Asparagus_Residues,,,,,,Crop Residues,,,,,, -,"Broad beans and horse beans, green_Residues",,,,,,Crop Residues,,,,,, -,Cabbages_Residues,,,,,,Crop Residues,,,,,, -,Carrots and turnips_Residues,,,,,,Crop Residues,,,,,, -,Cassava leaves_Residues,,,,,,Crop Residues,,,,,, -,Cauliflowers and broccoli_Residues,,,,,,Crop Residues,,,,,, -,Chicory roots_Residues,,,,,,Crop Residues,,,,,, -,"Chillies and peppers, green (Capsicum spp. and Pimenta spp.)_Residues",,,,,,Crop Residues,,,,,, -,Cucumbers and gherkins_Residues,,,,,,Crop Residues,,,,,, -,Eggplants (aubergines)_Residues,,,,,,Crop Residues,,,,,, -,Green corn (maize)_Residues,,,,,,Crop Residues,,,,,, -,Green garlic_Residues,,,,,,Crop Residues,,,,,, -,Leeks and other alliaceous vegetables_Residues,,,,,,Crop Residues,,,,,, -,Lettuce and chicory_Residues,,,,,,Crop Residues,,,,,, -,Locust beans (carobs)_Residues,,,,,,Crop Residues,,,,,, -,Mushrooms and truffles_Residues,,,,,,Crop Residues,,,,,, -,Okra_Residues,,,,,,Crop Residues,,,,,, -,"Onions and shallots, dry (excluding dehydrated)_Residues",,,,,,Crop Residues,,,,,, -,"Onions and shallots, green_Residues",,,,,,Crop Residues,,,,,, -,"Other beans, green_Residues",,,,,,Crop Residues,,,,,, -,"Other vegetables, fresh n.e.c._Residues",,,,,,Crop Residues,,,,,, -,"Peas, green_Residues",,,,,,Crop Residues,,,,,, -,"Pumpkins, squash and gourds_Residues",,,,,,Crop Residues,,,,,, -,Spinach_Residues,,,,,,Crop Residues,,,,,, -,String beans_Residues,,,,,,Crop Residues,,,,,, -,Tomatoes_Residues,,,,,,Crop Residues,,,,,, -,Apples_Residues,,,,,,Crop Residues,,,,,, -,Apricots_Residues,,,,,,Crop Residues,,,,,, -,Avocados_Residues,,,,,,Crop Residues,,,,,, -,Bananas_Residues,,,,,,Crop Residues,,,,,, -,Blueberries_Residues,,,,,,Crop Residues,,,,,, -,Cantaloupes and other melons_Residues,,,,,,Crop Residues,,,,,, -,Cashewapple_Residues,,,,,,Crop Residues,,,,,, -,Cherries_Residues,,,,,,Crop Residues,,,,,, -,Cranberries_Residues,,,,,,Crop Residues,,,,,, -,Currants_Residues,,,,,,Crop Residues,,,,,, -,Dates_Residues,,,,,,Crop Residues,,,,,, -,Figs_Residues,,,,,,Crop Residues,,,,,, -,Gooseberries_Residues,,,,,,Crop Residues,,,,,, -,Grapes_Residues,,,,,,Crop Residues,,,,,, -,Kiwi fruit_Residues,,,,,,Crop Residues,,,,,, -,Lemons and limes_Residues,,,,,,Crop Residues,,,,,, -,"Mangoes, guavas and mangosteens_Residues",,,,,,Crop Residues,,,,,, -,Oranges_Residues,,,,,,Crop Residues,,,,,, -,Other berries and fruits of the genus vaccinium n.e.c._Residues,,,,,,Crop Residues,,,,,, -,"Other citrus fruit, n.e.c._Residues",,,,,,Crop Residues,,,,,, -,"Other fruits, n.e.c._Residues",,,,,,Crop Residues,,,,,, -,Other pome fruits_Residues,,,,,,Crop Residues,,,,,, -,Other stone fruits_Residues,,,,,,Crop Residues,,,,,, -,"Other tropical fruits, n.e.c._Residues",,,,,,Crop Residues,,,,,, -,Papayas_Residues,,,,,,Crop Residues,,,,,, -,Peaches and nectarines_Residues,,,,,,Crop Residues,,,,,, -,Pears_Residues,,,,,,Crop Residues,,,,,, -,Persimmons_Residues,,,,,,Crop Residues,,,,,, -,Pineapples_Residues,,,,,,Crop Residues,,,,,, -,Plantains and cooking bananas_Residues,,,,,,Crop Residues,,,,,, -,Plums and sloes_Residues,,,,,,Crop Residues,,,,,, -,Pomelos and grapefruits_Residues,,,,,,Crop Residues,,,,,, -,Quinces_Residues,,,,,,Crop Residues,,,,,, -,Raspberries_Residues,,,,,,Crop Residues,,,,,, -,Sour cherries_Residues,,,,,,Crop Residues,,,,,, -,Strawberries_Residues,,,,,,Crop Residues,,,,,, -,"Tangerines, mandarins, clementines_Residues",,,,,,Crop Residues,,,,,, -,Watermelons_Residues,,,,,,Crop Residues,,,,,, -,"Abaca, manila hemp, raw_Residues",,,,,,Crop Residues,,,,,, -,"Agave fibres, raw, n.e.c._Residues",,,,,,Crop Residues,,,,,, -,"Coir, raw_Residues",,,,,,Crop Residues,,,,,, -,"Flax, processed but not spun_Residues",,,,,,Crop Residues,,,,,, -,"Jute, raw or retted_Residues",,,,,,Crop Residues,,,,,, -,"Kenaf, and other textile bast fibres, raw or retted_Residues",,,,,,Crop Residues,,,,,, -,"Other fibre crops, raw, n.e.c._Residues",,,,,,Crop Residues,,,,,, -,"Ramie, raw or retted_Residues",,,,,,Crop Residues,,,,,, -,"Seed cotton, unginned_Residues",,,,,,Crop Residues,,,,,, -,"Sisal, raw_Residues",,,,,,Crop Residues,,,,,, -,"True hemp, raw or retted_Residues",,,,,,Crop Residues,,,,,, -,Rice,,,,,,Crops,,,,,, -,Wheat,,,,,,Crops,,,,,, -,Barley,,,,,,Crops,,,,,, -,Buckwheat,,,,,,Crops,,,,,, -,Canary seed,,,,,,Crops,,,,,, -,Cereals n.e.c.,,,,,,Crops,,,,,, -,Fonio,,,,,,Crops,,,,,, -,Maize (corn),,,,,,Crops,,,,,, -,Millet,,,,,,Crops,,,,,, -,Mixed grain,,,,,,Crops,,,,,, -,Oats,,,,,,Crops,,,,,, -,Quinoa,,,,,,Crops,,,,,, -,Rye,,,,,,Crops,,,,,, -,Sorghum,,,,,,Crops,,,,,, -,Triticale,,,,,,Crops,,,,,, -,"Anise, badian, coriander, cumin, caraway, fennel and juniper berries, raw",,,,,,Crops,,,,,, -,"Chillies and peppers, dry (Capsicum spp., Pimenta spp.), raw",,,,,,Crops,,,,,, -,"Cloves (whole stems), raw",,,,,,Crops,,,,,, -,Cocoa beans,,,,,,Crops,,,,,, -,"Coffee, green",,,,,,Crops,,,,,, -,"Ginger, raw",,,,,,Crops,,,,,, -,Hop cones,,,,,,Crops,,,,,, -,Maté leaves,,,,,,Crops,,,,,, -,"Nutmeg, mace, cardamoms, raw",,,,,,Crops,,,,,, -,"Other stimulant, spice and aromatic crops, n.e.c.",,,,,,Crops,,,,,, -,"Pepper (Piper spp.), raw",,,,,,Crops,,,,,, -,"Peppermint, spearmint",,,,,,Crops,,,,,, -,"Pyrethrum, dried flowers",,,,,,Crops,,,,,, -,Tea leaves,,,,,,Crops,,,,,, -,"Vanilla, raw",,,,,,Crops,,,,,, -,Unmanufactured tobacco,,,,,,Crops,,,,,, -,"Cassava, fresh",,,,,,Crops,,,,,, -,"Edible roots and tubers with high starch or inulin content, n.e.c., fresh",,,,,,Crops,,,,,, -,Potatoes,,,,,,Crops,,,,,, -,Sweet potatoes,,,,,,Crops,,,,,, -,Taro,,,,,,Crops,,,,,, -,Yams,,,,,,Crops,,,,,, -,Yautia,,,,,,Crops,,,,,, -,Other sugar crops n.e.c.,,,,,,Crops,,,,,, -,Sugar beet,,,,,,Crops,,,,,, -,Sugar cane,,,,,,Crops,,,,,, -,"Bambara beans, dry",,,,,,Crops,,,,,, -,"Beans, dry",,,,,,Crops,,,,,, -,"Broad beans and horse beans, dry",,,,,,Crops,,,,,, -,"Chick peas, dry",,,,,,Crops,,,,,, -,"Cow peas, dry",,,,,,Crops,,,,,, -,"Lentils, dry",,,,,,Crops,,,,,, -,Lupins,,,,,,Crops,,,,,, -,Other pulses n.e.c.,,,,,,Crops,,,,,, -,"Peas, dry",,,,,,Crops,,,,,, -,"Pigeon peas, dry",,,,,,Crops,,,,,, -,Vetches,,,,,,Crops,,,,,, -,"Almonds, in shell",,,,,,Crops,,,,,, -,Areca nuts,,,,,,Crops,,,,,, -,"Brazil nuts, in shell",,,,,,Crops,,,,,, -,"Cashew nuts, in shell",,,,,,Crops,,,,,, -,"Chestnuts, in shell",,,,,,Crops,,,,,, -,"Hazelnuts, in shell",,,,,,Crops,,,,,, -,Kola nuts,,,,,,Crops,,,,,, -,"Other nuts (excluding wild edible nuts and groundnuts), in shell, n.e.c.",,,,,,Crops,,,,,, -,"Pistachios, in shell",,,,,,Crops,,,,,, -,"Walnuts, in shell",,,,,,Crops,,,,,, -,Castor oil seeds,,,,,,Crops,,,,,, -,"Coconuts, in shell",,,,,,Crops,,,,,, -,"Groundnuts, excluding shelled",,,,,,Crops,,,,,, -,Hempseed,,,,,,Crops,,,,,, -,Jojoba seeds,,,,,,Crops,,,,,, -,Kapok fruit,,,,,,Crops,,,,,, -,Karite nuts (sheanuts),,,,,,Crops,,,,,, -,Linseed,,,,,,Crops,,,,,, -,Melonseed,,,,,,Crops,,,,,, -,Mustard seed,,,,,,Crops,,,,,, -,Oil palm fruit,,,,,,Crops,,,,,, -,Olives,,,,,,Crops,,,,,, -,"Other oil seeds, n.e.c.",,,,,,Crops,,,,,, -,Poppy seed,,,,,,Crops,,,,,, -,Rape or colza seed,,,,,,Crops,,,,,, -,Safflower seed,,,,,,Crops,,,,,, -,Sesame seed,,,,,,Crops,,,,,, -,Soya beans,,,,,,Crops,,,,,, -,Sunflower seed,,,,,,Crops,,,,,, -,Tallowtree seeds,,,,,,Crops,,,,,, -,Tung nuts,,,,,,Crops,,,,,, -,Artichokes,,,,,,Crops,,,,,, -,Asparagus,,,,,,Crops,,,,,, -,"Broad beans and horse beans, green",,,,,,Crops,,,,,, -,Cabbages,,,,,,Crops,,,,,, -,Carrots and turnips,,,,,,Crops,,,,,, -,Cassava leaves,,,,,,Crops,,,,,, -,Cauliflowers and broccoli,,,,,,Crops,,,,,, -,Chicory roots,,,,,,Crops,,,,,, -,"Chillies and peppers, green (Capsicum spp. and Pimenta spp.)",,,,,,Crops,,,,,, -,Cucumbers and gherkins,,,,,,Crops,,,,,, -,Eggplants (aubergines),,,,,,Crops,,,,,, -,Green corn (maize),,,,,,Crops,,,,,, -,Green garlic,,,,,,Crops,,,,,, -,Leeks and other alliaceous vegetables,,,,,,Crops,,,,,, -,Lettuce and chicory,,,,,,Crops,,,,,, -,Locust beans (carobs),,,,,,Crops,,,,,, -,Mushrooms and truffles,,,,,,Crops,,,,,, -,Okra,,,,,,Crops,,,,,, -,"Onions and shallots, dry (excluding dehydrated)",,,,,,Crops,,,,,, -,"Onions and shallots, green",,,,,,Crops,,,,,, -,"Other beans, green",,,,,,Crops,,,,,, -,"Other vegetables, fresh n.e.c.",,,,,,Crops,,,,,, -,"Peas, green",,,,,,Crops,,,,,, -,"Pumpkins, squash and gourds",,,,,,Crops,,,,,, -,Spinach,,,,,,Crops,,,,,, -,String beans,,,,,,Crops,,,,,, -,Tomatoes,,,,,,Crops,,,,,, -,Apples,,,,,,Crops,,,,,, -,Apricots,,,,,,Crops,,,,,, -,Avocados,,,,,,Crops,,,,,, -,Bananas,,,,,,Crops,,,,,, -,Blueberries,,,,,,Crops,,,,,, -,Cantaloupes and other melons,,,,,,Crops,,,,,, -,Cashewapple,,,,,,Crops,,,,,, -,Cherries,,,,,,Crops,,,,,, -,Cranberries,,,,,,Crops,,,,,, -,Currants,,,,,,Crops,,,,,, -,Dates,,,,,,Crops,,,,,, -,Gooseberries,,,,,,Crops,,,,,, -,Grapes,,,,,,Crops,,,,,, -,Kiwi fruit,,,,,,Crops,,,,,, -,Lemons and limes,,,,,,Crops,,,,,, -,"Mangoes, guavas and mangosteens",,,,,,Crops,,,,,, -,Oranges,,,,,,Crops,,,,,, -,Other berries and fruits of the genus vaccinium n.e.c.,,,,,,Crops,,,,,, -,"Other citrus fruit, n.e.c.",,,,,,Crops,,,,,, -,"Other fruits, n.e.c.",,,,,,Crops,,,,,, -,Other pome fruits,,,,,,Crops,,,,,, -,Other stone fruits,,,,,,Crops,,,,,, -,"Other tropical fruits, n.e.c.",,,,,,Crops,,,,,, -,Papayas,,,,,,Crops,,,,,, -,Peaches and nectarines,,,,,,Crops,,,,,, -,Pears,,,,,,Crops,,,,,, -,Persimmons,,,,,,Crops,,,,,, -,Pineapples,,,,,,Crops,,,,,, -,Plantains and cooking bananas,,,,,,Crops,,,,,, -,Plums and sloes,,,,,,Crops,,,,,, -,Pomelos and grapefruits,,,,,,Crops,,,,,, -,Quinces,,,,,,Crops,,,,,, -,Raspberries,,,,,,Crops,,,,,, -,Sour cherries,,,,,,Crops,,,,,, -,Strawberries,,,,,,Crops,,,,,, -,"Tangerines, mandarins, clementines",,,,,,Crops,,,,,, -,Watermelons,,,,,,Crops,,,,,, -,"Abaca, manila hemp, raw",,,,,,Crops,,,,,, -,"Agave fibres, raw, n.e.c.",,,,,,Crops,,,,,, -,"Coir, raw",,,,,,Crops,,,,,, -,"Flax, processed but not spun",,,,,,Crops,,,,,, -,"Jute, raw or retted",,,,,,Crops,,,,,, -,"Kenaf, and other textile bast fibres, raw or retted",,,,,,Crops,,,,,, -,"Other fibre crops, raw, n.e.c.",,,,,,Crops,,,,,, -,"Ramie, raw or retted",,,,,,Crops,,,,,, -,"Seed cotton, unginned",,,,,,Crops,,,,,, -,"Sisal, raw",,,,,,Crops,,,,,, -,"True hemp, raw or retted",,,,,,Crops,,,,,, -,"Cinnamon and cinnamon-tree flowers, raw",,,,,,Crops,,,,,, -,Figs,,,,,,Crops,,,,,, -,Aquatic plants,,,,,,Crops,,,,,, -,Chalk,,,,,,Excavated earthen materials (including soil) nec,,,,,, -,Dolomite,,,,,,Excavated earthen materials (including soil) nec,,,,,, -,Salt,,,,,,Excavated earthen materials (including soil) nec,,,,,, -,Specialty clays,,,,,,Excavated earthen materials (including soil) nec,,,,,, -,Gypsum,,,,,,Excavated earthen materials (including soil) nec,,,,,, -,Peat,,,,,,Excavated earthen materials (including soil) nec,,,,,, -,Other non-metallic minerals n.e.c.,,,,,,Excavated earthen materials (including soil) nec,,,,,, -,Silver ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Bauxite and other aluminium ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Gold ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Chromium ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Copper ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Manganese ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Other metal ores concentrates and compounds nec. including mixed,,,,,,Non-ferrous ores,,,,,, -,Nickel ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Lead ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Platinum group metal ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Tin ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Titanium ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Uranium ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Zinc ores concentrates and compounds,,,,,,Non-ferrous ores,,,,,, -,Fertilizer minerals n.e.c.,,,,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, -,Chemical minerals n.e.c.,,,,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, -,Industrial minerals n.e.c,,,,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, -,Industrial sand and gravel,,,,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, -,Ornamental or building stone,,,,,,Non-metallic minerals - construction dominant,,,,,, -,Structural clays,,,,,,Non-metallic minerals - construction dominant,,,,,, -,Sand gravel and crushed rock for construction,,,,,,Non-metallic minerals - construction dominant,,,,,, +,'co2_excl_short_cycle_org_c_total_EDGAR_consistent',,,kilotonnes,,,Carbon dioxide,,,,,, +,'ch4_total_EDGAR_consistent',,,kilotonnes,,,Methane,,,,,, +,'n2o_total_EDGAR_consistent',,,kilotonnes,,,Nitrous oxide,,,,,, +,'sf6_total_EDGAR_consistent',,,kilotonnes,,,Sulfur hexafluoride,,,,,, +,'hfc_125_total_EDGAR_consistent',,,kilotonnes,,,HFC-125,,,,,, +,'hfc_134a_total_EDGAR_consistent',,,kilotonnes,,,HFC-134a,,,,,, +,'hfc_143a_total_EDGAR_consistent',,,kilotonnes,,,HFC-143a,,,,,, +,'hfc_23_total_EDGAR_consistent',,,kilotonnes,,,HFC-23,,,,,, +,'hfc_236fa_total_EDGAR_consistent',,,kilotonnes,,,HFC-236fa,,,,,, +,'hfc_32_total_EDGAR_consistent',,,kilotonnes,,,HFC-32,,,,,, +,'hfc_41_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, +,'hfc_43_10_mee_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, +,'hfc_152a_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, +,'hfc_227ea_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, +,'hfc_245fa_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, +,'hfc_365mfc_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, +,'c4f10_total_EDGAR_consistent',,,kilotonnes,,,Perfluorobutane,,,,,, +,c_c4f8_total_EDGAR_consistent',,,kilotonnes,,,Perfluorocyclobutane,,,,,, +,'c6f14_total_EDGAR_consistent',,,kilotonnes,,,Perfluorohexane,,,,,, +,'c6f14_total_EDGAR_consistent',,,kilotonnes,,,Perfluorohexane,,,,,, +,c3f8_total_EDGAR_consistent',,,kilotonnes,,,Perfluoropropane,,,,,, +,'c2f6_total_EDGAR_consistent',,,kilotonnes,,,Hexafluoroethane,,,,,, +,'cf4_total_EDGAR_consistent',,,kilotonnes,,,Carbon tetrafluoride,,,,,, +,'nf3_total_EDGAR_consistent',,,kilotonnes,,,Nitrogen trifluoride,,,,,, +,Limestone,,,tonnes,,,Limestone,,,,,, +,Iron ores concentrates and compounds,,,tonnes,,,Ferrous ores,,,,,, +,Grazed biomass,,,tonnes,,,Grazed biomass and fodder crops,,,,,, +,Natural Gas,,,tonnes,,,Natural Gas,,,,,, +,Natural gas liquids,,,tonnes,,,Natural Gas,,,,,, +,All other aquatic animals,,,tonnes,,,Non-wild animal products,,,,,, +,Crude oil,,,tonnes,,,Oil shale and tar sands,,,,,, +,Oil shale and tar sands,,,tonnes,,,Oil shale and tar sands,,,,,, +,Wild fish catch,,,tonnes,,,Wild catch and harvest,,,,,, +,Timber (Industrial roundwood),,,tonnes,,,Wood,,,,,, +,Natural rubber in primary forms,,,tonnes,,,Wood,,,,,, +,Wood fuel and other extraction,,,tonnes,,,Wood,,,,,, +,Lignite (brown coal),,,tonnes,,,Coal,,,,,, +,Other Sub-Bituminous Coal,,,tonnes,,,Coal,,,,,, +,Coking Coal,,,tonnes,,,Coal,,,,,, +,Other Bituminous Coal,,,tonnes,,,Coal,,,,,, +,Anthracite,,,tonnes,,,Coal,,,,,, +,Rice_Residues,,,tonnes,,,Crop Residues,,,,,, +,Wheat_Residues,,,tonnes,,,Crop Residues,,,,,, +,Barley_Residues,,,tonnes,,,Crop Residues,,,,,, +,Buckwheat_Residues,,,tonnes,,,Crop Residues,,,,,, +,Canary seed_Residues,,,tonnes,,,Crop Residues,,,,,, +,Cereals n.e.c._Residues,,,tonnes,,,Crop Residues,,,,,, +,Fonio_Residues,,,tonnes,,,Crop Residues,,,,,, +,Maize (corn)_Residues,,,tonnes,,,Crop Residues,,,,,, +,Millet_Residues,,,tonnes,,,Crop Residues,,,,,, +,Mixed grain_Residues,,,tonnes,,,Crop Residues,,,,,, +,Oats_Residues,,,tonnes,,,Crop Residues,,,,,, +,Quinoa_Residues,,,tonnes,,,Crop Residues,,,,,, +,Rye_Residues,,,tonnes,,,Crop Residues,,,,,, +,Sorghum_Residues,,,tonnes,,,Crop Residues,,,,,, +,Triticale_Residues,,,tonnes,,,Crop Residues,,,,,, +,Natural rubber in primary forms_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Anise, badian, coriander, cumin, caraway, fennel and juniper berries, raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Chillies and peppers, dry (Capsicum spp., Pimenta spp.), raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Cinnamon and cinnamon-tree flowers, raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Cloves (whole stems), raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,Cocoa beans_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Coffee, green_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Ginger, raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,Hop cones_Residues,,,tonnes,,,Crop Residues,,,,,, +,Maté leaves_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Nutmeg, mace, cardamoms, raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Other stimulant, spice and aromatic crops, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, +,"Pepper (Piper spp.), raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Peppermint, spearmint_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Pyrethrum, dried flowers_Residues",,,tonnes,,,Crop Residues,,,,,, +,Tea leaves_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Vanilla, raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,Unmanufactured tobacco_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Cassava, fresh_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Edible roots and tubers with high starch or inulin content, n.e.c., fresh_Residues",,,tonnes,,,Crop Residues,,,,,, +,Potatoes_Residues,,,tonnes,,,Crop Residues,,,,,, +,Sweet potatoes_Residues,,,tonnes,,,Crop Residues,,,,,, +,Taro_Residues,,,tonnes,,,Crop Residues,,,,,, +,Yams_Residues,,,tonnes,,,Crop Residues,,,,,, +,Yautia_Residues,,,tonnes,,,Crop Residues,,,,,, +,Other sugar crops n.e.c._Residues,,,tonnes,,,Crop Residues,,,,,, +,Sugar beet_Residues,,,tonnes,,,Crop Residues,,,,,, +,Sugar cane_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Bambara beans, dry_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Beans, dry_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Broad beans and horse beans, dry_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Chick peas, dry_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Cow peas, dry_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Lentils, dry_Residues",,,tonnes,,,Crop Residues,,,,,, +,Lupins_Residues,,,tonnes,,,Crop Residues,,,,,, +,Other pulses n.e.c._Residues,,,tonnes,,,Crop Residues,,,,,, +,"Peas, dry_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Pigeon peas, dry_Residues",,,tonnes,,,Crop Residues,,,,,, +,Vetches_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Almonds, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, +,Areca nuts_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Brazil nuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Cashew nuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Chestnuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Hazelnuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, +,Kola nuts_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Other nuts (excluding wild edible nuts and groundnuts), in shell, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, +,"Pistachios, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Walnuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, +,Castor oil seeds_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Coconuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Groundnuts, excluding shelled_Residues",,,tonnes,,,Crop Residues,,,,,, +,Hempseed_Residues,,,tonnes,,,Crop Residues,,,,,, +,Jojoba seeds_Residues,,,tonnes,,,Crop Residues,,,,,, +,Kapok fruit_Residues,,,tonnes,,,Crop Residues,,,,,, +,Karite nuts (sheanuts)_Residues,,,tonnes,,,Crop Residues,,,,,, +,Linseed_Residues,,,tonnes,,,Crop Residues,,,,,, +,Melonseed_Residues,,,tonnes,,,Crop Residues,,,,,, +,Mustard seed_Residues,,,tonnes,,,Crop Residues,,,,,, +,Oil palm fruit_Residues,,,tonnes,,,Crop Residues,,,,,, +,Olives_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Other oil seeds, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, +,Poppy seed_Residues,,,tonnes,,,Crop Residues,,,,,, +,Rape or colza seed_Residues,,,tonnes,,,Crop Residues,,,,,, +,Safflower seed_Residues,,,tonnes,,,Crop Residues,,,,,, +,Sesame seed_Residues,,,tonnes,,,Crop Residues,,,,,, +,Soya beans_Residues,,,tonnes,,,Crop Residues,,,,,, +,Sunflower seed_Residues,,,tonnes,,,Crop Residues,,,,,, +,Tallowtree seeds_Residues,,,tonnes,,,Crop Residues,,,,,, +,Tung nuts_Residues,,,tonnes,,,Crop Residues,,,,,, +,Artichokes_Residues,,,tonnes,,,Crop Residues,,,,,, +,Asparagus_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Broad beans and horse beans, green_Residues",,,tonnes,,,Crop Residues,,,,,, +,Cabbages_Residues,,,tonnes,,,Crop Residues,,,,,, +,Carrots and turnips_Residues,,,tonnes,,,Crop Residues,,,,,, +,Cassava leaves_Residues,,,tonnes,,,Crop Residues,,,,,, +,Cauliflowers and broccoli_Residues,,,tonnes,,,Crop Residues,,,,,, +,Chicory roots_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Chillies and peppers, green (Capsicum spp. and Pimenta spp.)_Residues",,,tonnes,,,Crop Residues,,,,,, +,Cucumbers and gherkins_Residues,,,tonnes,,,Crop Residues,,,,,, +,Eggplants (aubergines)_Residues,,,tonnes,,,Crop Residues,,,,,, +,Green corn (maize)_Residues,,,tonnes,,,Crop Residues,,,,,, +,Green garlic_Residues,,,tonnes,,,Crop Residues,,,,,, +,Leeks and other alliaceous vegetables_Residues,,,tonnes,,,Crop Residues,,,,,, +,Lettuce and chicory_Residues,,,tonnes,,,Crop Residues,,,,,, +,Locust beans (carobs)_Residues,,,tonnes,,,Crop Residues,,,,,, +,Mushrooms and truffles_Residues,,,tonnes,,,Crop Residues,,,,,, +,Okra_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Onions and shallots, dry (excluding dehydrated)_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Onions and shallots, green_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Other beans, green_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Other vegetables, fresh n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, +,"Peas, green_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Pumpkins, squash and gourds_Residues",,,tonnes,,,Crop Residues,,,,,, +,Spinach_Residues,,,tonnes,,,Crop Residues,,,,,, +,String beans_Residues,,,tonnes,,,Crop Residues,,,,,, +,Tomatoes_Residues,,,tonnes,,,Crop Residues,,,,,, +,Apples_Residues,,,tonnes,,,Crop Residues,,,,,, +,Apricots_Residues,,,tonnes,,,Crop Residues,,,,,, +,Avocados_Residues,,,tonnes,,,Crop Residues,,,,,, +,Bananas_Residues,,,tonnes,,,Crop Residues,,,,,, +,Blueberries_Residues,,,tonnes,,,Crop Residues,,,,,, +,Cantaloupes and other melons_Residues,,,tonnes,,,Crop Residues,,,,,, +,Cashewapple_Residues,,,tonnes,,,Crop Residues,,,,,, +,Cherries_Residues,,,tonnes,,,Crop Residues,,,,,, +,Cranberries_Residues,,,tonnes,,,Crop Residues,,,,,, +,Currants_Residues,,,tonnes,,,Crop Residues,,,,,, +,Dates_Residues,,,tonnes,,,Crop Residues,,,,,, +,Figs_Residues,,,tonnes,,,Crop Residues,,,,,, +,Gooseberries_Residues,,,tonnes,,,Crop Residues,,,,,, +,Grapes_Residues,,,tonnes,,,Crop Residues,,,,,, +,Kiwi fruit_Residues,,,tonnes,,,Crop Residues,,,,,, +,Lemons and limes_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Mangoes, guavas and mangosteens_Residues",,,tonnes,,,Crop Residues,,,,,, +,Oranges_Residues,,,tonnes,,,Crop Residues,,,,,, +,Other berries and fruits of the genus vaccinium n.e.c._Residues,,,tonnes,,,Crop Residues,,,,,, +,"Other citrus fruit, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, +,"Other fruits, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, +,Other pome fruits_Residues,,,tonnes,,,Crop Residues,,,,,, +,Other stone fruits_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Other tropical fruits, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, +,Papayas_Residues,,,tonnes,,,Crop Residues,,,,,, +,Peaches and nectarines_Residues,,,tonnes,,,Crop Residues,,,,,, +,Pears_Residues,,,tonnes,,,Crop Residues,,,,,, +,Persimmons_Residues,,,tonnes,,,Crop Residues,,,,,, +,Pineapples_Residues,,,tonnes,,,Crop Residues,,,,,, +,Plantains and cooking bananas_Residues,,,tonnes,,,Crop Residues,,,,,, +,Plums and sloes_Residues,,,tonnes,,,Crop Residues,,,,,, +,Pomelos and grapefruits_Residues,,,tonnes,,,Crop Residues,,,,,, +,Quinces_Residues,,,tonnes,,,Crop Residues,,,,,, +,Raspberries_Residues,,,tonnes,,,Crop Residues,,,,,, +,Sour cherries_Residues,,,tonnes,,,Crop Residues,,,,,, +,Strawberries_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Tangerines, mandarins, clementines_Residues",,,tonnes,,,Crop Residues,,,,,, +,Watermelons_Residues,,,tonnes,,,Crop Residues,,,,,, +,"Abaca, manila hemp, raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Agave fibres, raw, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, +,"Coir, raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Flax, processed but not spun_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Jute, raw or retted_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Kenaf, and other textile bast fibres, raw or retted_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Other fibre crops, raw, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, +,"Ramie, raw or retted_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Seed cotton, unginned_Residues",,,tonnes,,,Crop Residues,,,,,, +,"Sisal, raw_Residues",,,tonnes,,,Crop Residues,,,,,, +,"True hemp, raw or retted_Residues",,,tonnes,,,Crop Residues,,,,,, +,Rice,,,tonnes,,,Crops,,,,,, +,Wheat,,,tonnes,,,Crops,,,,,, +,Barley,,,tonnes,,,Crops,,,,,, +,Buckwheat,,,tonnes,,,Crops,,,,,, +,Canary seed,,,tonnes,,,Crops,,,,,, +,Cereals n.e.c.,,,tonnes,,,Crops,,,,,, +,Fonio,,,tonnes,,,Crops,,,,,, +,Maize (corn),,,tonnes,,,Crops,,,,,, +,Millet,,,tonnes,,,Crops,,,,,, +,Mixed grain,,,tonnes,,,Crops,,,,,, +,Oats,,,tonnes,,,Crops,,,,,, +,Quinoa,,,tonnes,,,Crops,,,,,, +,Rye,,,tonnes,,,Crops,,,,,, +,Sorghum,,,tonnes,,,Crops,,,,,, +,Triticale,,,tonnes,,,Crops,,,,,, +,"Anise, badian, coriander, cumin, caraway, fennel and juniper berries, raw",,,tonnes,,,Crops,,,,,, +,"Chillies and peppers, dry (Capsicum spp., Pimenta spp.), raw",,,tonnes,,,Crops,,,,,, +,"Cloves (whole stems), raw",,,tonnes,,,Crops,,,,,, +,Cocoa beans,,,tonnes,,,Crops,,,,,, +,"Coffee, green",,,tonnes,,,Crops,,,,,, +,"Ginger, raw",,,tonnes,,,Crops,,,,,, +,Hop cones,,,tonnes,,,Crops,,,,,, +,Maté leaves,,,tonnes,,,Crops,,,,,, +,"Nutmeg, mace, cardamoms, raw",,,tonnes,,,Crops,,,,,, +,"Other stimulant, spice and aromatic crops, n.e.c.",,,tonnes,,,Crops,,,,,, +,"Pepper (Piper spp.), raw",,,tonnes,,,Crops,,,,,, +,"Peppermint, spearmint",,,tonnes,,,Crops,,,,,, +,"Pyrethrum, dried flowers",,,tonnes,,,Crops,,,,,, +,Tea leaves,,,tonnes,,,Crops,,,,,, +,"Vanilla, raw",,,tonnes,,,Crops,,,,,, +,Unmanufactured tobacco,,,tonnes,,,Crops,,,,,, +,"Cassava, fresh",,,tonnes,,,Crops,,,,,, +,"Edible roots and tubers with high starch or inulin content, n.e.c., fresh",,,tonnes,,,Crops,,,,,, +,Potatoes,,,tonnes,,,Crops,,,,,, +,Sweet potatoes,,,tonnes,,,Crops,,,,,, +,Taro,,,tonnes,,,Crops,,,,,, +,Yams,,,tonnes,,,Crops,,,,,, +,Yautia,,,tonnes,,,Crops,,,,,, +,Other sugar crops n.e.c.,,,tonnes,,,Crops,,,,,, +,Sugar beet,,,tonnes,,,Crops,,,,,, +,Sugar cane,,,tonnes,,,Crops,,,,,, +,"Bambara beans, dry",,,tonnes,,,Crops,,,,,, +,"Beans, dry",,,tonnes,,,Crops,,,,,, +,"Broad beans and horse beans, dry",,,tonnes,,,Crops,,,,,, +,"Chick peas, dry",,,tonnes,,,Crops,,,,,, +,"Cow peas, dry",,,tonnes,,,Crops,,,,,, +,"Lentils, dry",,,tonnes,,,Crops,,,,,, +,Lupins,,,tonnes,,,Crops,,,,,, +,Other pulses n.e.c.,,,tonnes,,,Crops,,,,,, +,"Peas, dry",,,tonnes,,,Crops,,,,,, +,"Pigeon peas, dry",,,tonnes,,,Crops,,,,,, +,Vetches,,,tonnes,,,Crops,,,,,, +,"Almonds, in shell",,,tonnes,,,Crops,,,,,, +,Areca nuts,,,tonnes,,,Crops,,,,,, +,"Brazil nuts, in shell",,,tonnes,,,Crops,,,,,, +,"Cashew nuts, in shell",,,tonnes,,,Crops,,,,,, +,"Chestnuts, in shell",,,tonnes,,,Crops,,,,,, +,"Hazelnuts, in shell",,,tonnes,,,Crops,,,,,, +,Kola nuts,,,tonnes,,,Crops,,,,,, +,"Other nuts (excluding wild edible nuts and groundnuts), in shell, n.e.c.",,,tonnes,,,Crops,,,,,, +,"Pistachios, in shell",,,tonnes,,,Crops,,,,,, +,"Walnuts, in shell",,,tonnes,,,Crops,,,,,, +,Castor oil seeds,,,tonnes,,,Crops,,,,,, +,"Coconuts, in shell",,,tonnes,,,Crops,,,,,, +,"Groundnuts, excluding shelled",,,tonnes,,,Crops,,,,,, +,Hempseed,,,tonnes,,,Crops,,,,,, +,Jojoba seeds,,,tonnes,,,Crops,,,,,, +,Kapok fruit,,,tonnes,,,Crops,,,,,, +,Karite nuts (sheanuts),,,tonnes,,,Crops,,,,,, +,Linseed,,,tonnes,,,Crops,,,,,, +,Melonseed,,,tonnes,,,Crops,,,,,, +,Mustard seed,,,tonnes,,,Crops,,,,,, +,Oil palm fruit,,,tonnes,,,Crops,,,,,, +,Olives,,,tonnes,,,Crops,,,,,, +,"Other oil seeds, n.e.c.",,,tonnes,,,Crops,,,,,, +,Poppy seed,,,tonnes,,,Crops,,,,,, +,Rape or colza seed,,,tonnes,,,Crops,,,,,, +,Safflower seed,,,tonnes,,,Crops,,,,,, +,Sesame seed,,,tonnes,,,Crops,,,,,, +,Soya beans,,,tonnes,,,Crops,,,,,, +,Sunflower seed,,,tonnes,,,Crops,,,,,, +,Tallowtree seeds,,,tonnes,,,Crops,,,,,, +,Tung nuts,,,tonnes,,,Crops,,,,,, +,Artichokes,,,tonnes,,,Crops,,,,,, +,Asparagus,,,tonnes,,,Crops,,,,,, +,"Broad beans and horse beans, green",,,tonnes,,,Crops,,,,,, +,Cabbages,,,tonnes,,,Crops,,,,,, +,Carrots and turnips,,,tonnes,,,Crops,,,,,, +,Cassava leaves,,,tonnes,,,Crops,,,,,, +,Cauliflowers and broccoli,,,tonnes,,,Crops,,,,,, +,Chicory roots,,,tonnes,,,Crops,,,,,, +,"Chillies and peppers, green (Capsicum spp. and Pimenta spp.)",,,tonnes,,,Crops,,,,,, +,Cucumbers and gherkins,,,tonnes,,,Crops,,,,,, +,Eggplants (aubergines),,,tonnes,,,Crops,,,,,, +,Green corn (maize),,,tonnes,,,Crops,,,,,, +,Green garlic,,,tonnes,,,Crops,,,,,, +,Leeks and other alliaceous vegetables,,,tonnes,,,Crops,,,,,, +,Lettuce and chicory,,,tonnes,,,Crops,,,,,, +,Locust beans (carobs),,,tonnes,,,Crops,,,,,, +,Mushrooms and truffles,,,tonnes,,,Crops,,,,,, +,Okra,,,tonnes,,,Crops,,,,,, +,"Onions and shallots, dry (excluding dehydrated)",,,tonnes,,,Crops,,,,,, +,"Onions and shallots, green",,,tonnes,,,Crops,,,,,, +,"Other beans, green",,,tonnes,,,Crops,,,,,, +,"Other vegetables, fresh n.e.c.",,,tonnes,,,Crops,,,,,, +,"Peas, green",,,tonnes,,,Crops,,,,,, +,"Pumpkins, squash and gourds",,,tonnes,,,Crops,,,,,, +,Spinach,,,tonnes,,,Crops,,,,,, +,String beans,,,tonnes,,,Crops,,,,,, +,Tomatoes,,,tonnes,,,Crops,,,,,, +,Apples,,,tonnes,,,Crops,,,,,, +,Apricots,,,tonnes,,,Crops,,,,,, +,Avocados,,,tonnes,,,Crops,,,,,, +,Bananas,,,tonnes,,,Crops,,,,,, +,Blueberries,,,tonnes,,,Crops,,,,,, +,Cantaloupes and other melons,,,tonnes,,,Crops,,,,,, +,Cashewapple,,,tonnes,,,Crops,,,,,, +,Cherries,,,tonnes,,,Crops,,,,,, +,Cranberries,,,tonnes,,,Crops,,,,,, +,Currants,,,tonnes,,,Crops,,,,,, +,Dates,,,tonnes,,,Crops,,,,,, +,Gooseberries,,,tonnes,,,Crops,,,,,, +,Grapes,,,tonnes,,,Crops,,,,,, +,Kiwi fruit,,,tonnes,,,Crops,,,,,, +,Lemons and limes,,,tonnes,,,Crops,,,,,, +,"Mangoes, guavas and mangosteens",,,tonnes,,,Crops,,,,,, +,Oranges,,,tonnes,,,Crops,,,,,, +,Other berries and fruits of the genus vaccinium n.e.c.,,,tonnes,,,Crops,,,,,, +,"Other citrus fruit, n.e.c.",,,tonnes,,,Crops,,,,,, +,"Other fruits, n.e.c.",,,tonnes,,,Crops,,,,,, +,Other pome fruits,,,tonnes,,,Crops,,,,,, +,Other stone fruits,,,tonnes,,,Crops,,,,,, +,"Other tropical fruits, n.e.c.",,,tonnes,,,Crops,,,,,, +,Papayas,,,tonnes,,,Crops,,,,,, +,Peaches and nectarines,,,tonnes,,,Crops,,,,,, +,Pears,,,tonnes,,,Crops,,,,,, +,Persimmons,,,tonnes,,,Crops,,,,,, +,Pineapples,,,tonnes,,,Crops,,,,,, +,Plantains and cooking bananas,,,tonnes,,,Crops,,,,,, +,Plums and sloes,,,tonnes,,,Crops,,,,,, +,Pomelos and grapefruits,,,tonnes,,,Crops,,,,,, +,Quinces,,,tonnes,,,Crops,,,,,, +,Raspberries,,,tonnes,,,Crops,,,,,, +,Sour cherries,,,tonnes,,,Crops,,,,,, +,Strawberries,,,tonnes,,,Crops,,,,,, +,"Tangerines, mandarins, clementines",,,tonnes,,,Crops,,,,,, +,Watermelons,,,tonnes,,,Crops,,,,,, +,"Abaca, manila hemp, raw",,,tonnes,,,Crops,,,,,, +,"Agave fibres, raw, n.e.c.",,,tonnes,,,Crops,,,,,, +,"Coir, raw",,,tonnes,,,Crops,,,,,, +,"Flax, processed but not spun",,,tonnes,,,Crops,,,,,, +,"Jute, raw or retted",,,tonnes,,,Crops,,,,,, +,"Kenaf, and other textile bast fibres, raw or retted",,,tonnes,,,Crops,,,,,, +,"Other fibre crops, raw, n.e.c.",,,tonnes,,,Crops,,,,,, +,"Ramie, raw or retted",,,tonnes,,,Crops,,,,,, +,"Seed cotton, unginned",,,tonnes,,,Crops,,,,,, +,"Sisal, raw",,,tonnes,,,Crops,,,,,, +,"True hemp, raw or retted",,,tonnes,,,Crops,,,,,, +,"Cinnamon and cinnamon-tree flowers, raw",,,tonnes,,,Crops,,,,,, +,Figs,,,tonnes,,,Crops,,,,,, +,Aquatic plants,,,tonnes,,,Crops,,,,,, +,Chalk,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, +,Dolomite,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, +,Salt,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, +,Specialty clays,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, +,Gypsum,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, +,Peat,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, +,Other non-metallic minerals n.e.c.,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, +,Silver ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Bauxite and other aluminium ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Gold ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Chromium ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Copper ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Manganese ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Other metal ores concentrates and compounds nec. including mixed,,,tonnes,,,Non-ferrous ores,,,,,, +,Nickel ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Lead ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Platinum group metal ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Tin ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Titanium ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Uranium ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Zinc ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, +,Fertilizer minerals n.e.c.,,,tonnes,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, +,Chemical minerals n.e.c.,,,tonnes,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, +,Industrial minerals n.e.c,,,tonnes,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, +,Industrial sand and gravel,,,tonnes,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, +,Ornamental or building stone,,,tonnes,,,Non-metallic minerals - construction dominant,,,,,, +,Structural clays,,,tonnes,,,Non-metallic minerals - construction dominant,,,,,, +,Sand gravel and crushed rock for construction,,,tonnes,,,Non-metallic minerals - construction dominant,,,,,, From b55ae7bc9fddb346fde64e47a19ab0a13af47bec Mon Sep 17 00:00:00 2001 From: Ben Young Date: Wed, 18 Dec 2024 09:08:48 -0500 Subject: [PATCH 14/31] add units, UUIDs, and conversions to flow mapping; implement into code --- import_emission_factors/ceda_helpers.py | 2 +- .../data/gloria_mapping.csv | 781 +++++++++--------- import_emission_factors/data/mrio_config.yml | 4 +- import_emission_factors/exiobase_helpers.py | 2 +- .../generate_import_factors.py | 53 +- import_emission_factors/gloria_helpers.py | 32 +- 6 files changed, 445 insertions(+), 429 deletions(-) diff --git a/import_emission_factors/ceda_helpers.py b/import_emission_factors/ceda_helpers.py index eb21298..2d8a6b3 100644 --- a/import_emission_factors/ceda_helpers.py +++ b/import_emission_factors/ceda_helpers.py @@ -1,4 +1,4 @@ -def clean_ceda_M_matrix(M, fields_to_rename): +def clean_ceda_M_matrix(M, fields_to_rename, **kwargs): M = M.rename(columns=fields_to_rename) M_melted = M.melt( id_vars=['CountryCode', 'MRIO Sector'], value_name='EF', var_name='flow' diff --git a/import_emission_factors/data/gloria_mapping.csv b/import_emission_factors/data/gloria_mapping.csv index 43692c4..ec82d74 100644 --- a/import_emission_factors/data/gloria_mapping.csv +++ b/import_emission_factors/data/gloria_mapping.csv @@ -1,392 +1,391 @@ SourceListName,SourceFlowName,SourceFlowUUID,SourceFlowContext,SourceUnit,MatchCondition,ConversionFactor,TargetFlowName,TargetFlowUUID,TargetFlowContext,TargetUnit,Mapper,Verifier,LastUpdated -,'co2_excl_short_cycle_org_c_total_EDGAR_consistent',,,kilotonnes,,,Carbon dioxide,,,,,, -,'ch4_total_EDGAR_consistent',,,kilotonnes,,,Methane,,,,,, -,'n2o_total_EDGAR_consistent',,,kilotonnes,,,Nitrous oxide,,,,,, -,'sf6_total_EDGAR_consistent',,,kilotonnes,,,Sulfur hexafluoride,,,,,, -,'hfc_125_total_EDGAR_consistent',,,kilotonnes,,,HFC-125,,,,,, -,'hfc_134a_total_EDGAR_consistent',,,kilotonnes,,,HFC-134a,,,,,, -,'hfc_143a_total_EDGAR_consistent',,,kilotonnes,,,HFC-143a,,,,,, -,'hfc_23_total_EDGAR_consistent',,,kilotonnes,,,HFC-23,,,,,, -,'hfc_236fa_total_EDGAR_consistent',,,kilotonnes,,,HFC-236fa,,,,,, -,'hfc_32_total_EDGAR_consistent',,,kilotonnes,,,HFC-32,,,,,, -,'hfc_41_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, -,'hfc_43_10_mee_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, -,'hfc_152a_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, -,'hfc_227ea_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, -,'hfc_245fa_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, -,'hfc_365mfc_total_EDGAR_consistent',,,kilotonnes,,,"HFCs and PFCs, unspecified",,,,,, -,'c4f10_total_EDGAR_consistent',,,kilotonnes,,,Perfluorobutane,,,,,, -,c_c4f8_total_EDGAR_consistent',,,kilotonnes,,,Perfluorocyclobutane,,,,,, -,'c6f14_total_EDGAR_consistent',,,kilotonnes,,,Perfluorohexane,,,,,, -,'c6f14_total_EDGAR_consistent',,,kilotonnes,,,Perfluorohexane,,,,,, -,c3f8_total_EDGAR_consistent',,,kilotonnes,,,Perfluoropropane,,,,,, -,'c2f6_total_EDGAR_consistent',,,kilotonnes,,,Hexafluoroethane,,,,,, -,'cf4_total_EDGAR_consistent',,,kilotonnes,,,Carbon tetrafluoride,,,,,, -,'nf3_total_EDGAR_consistent',,,kilotonnes,,,Nitrogen trifluoride,,,,,, -,Limestone,,,tonnes,,,Limestone,,,,,, -,Iron ores concentrates and compounds,,,tonnes,,,Ferrous ores,,,,,, -,Grazed biomass,,,tonnes,,,Grazed biomass and fodder crops,,,,,, -,Natural Gas,,,tonnes,,,Natural Gas,,,,,, -,Natural gas liquids,,,tonnes,,,Natural Gas,,,,,, -,All other aquatic animals,,,tonnes,,,Non-wild animal products,,,,,, -,Crude oil,,,tonnes,,,Oil shale and tar sands,,,,,, -,Oil shale and tar sands,,,tonnes,,,Oil shale and tar sands,,,,,, -,Wild fish catch,,,tonnes,,,Wild catch and harvest,,,,,, -,Timber (Industrial roundwood),,,tonnes,,,Wood,,,,,, -,Natural rubber in primary forms,,,tonnes,,,Wood,,,,,, -,Wood fuel and other extraction,,,tonnes,,,Wood,,,,,, -,Lignite (brown coal),,,tonnes,,,Coal,,,,,, -,Other Sub-Bituminous Coal,,,tonnes,,,Coal,,,,,, -,Coking Coal,,,tonnes,,,Coal,,,,,, -,Other Bituminous Coal,,,tonnes,,,Coal,,,,,, -,Anthracite,,,tonnes,,,Coal,,,,,, -,Rice_Residues,,,tonnes,,,Crop Residues,,,,,, -,Wheat_Residues,,,tonnes,,,Crop Residues,,,,,, -,Barley_Residues,,,tonnes,,,Crop Residues,,,,,, -,Buckwheat_Residues,,,tonnes,,,Crop Residues,,,,,, -,Canary seed_Residues,,,tonnes,,,Crop Residues,,,,,, -,Cereals n.e.c._Residues,,,tonnes,,,Crop Residues,,,,,, -,Fonio_Residues,,,tonnes,,,Crop Residues,,,,,, -,Maize (corn)_Residues,,,tonnes,,,Crop Residues,,,,,, -,Millet_Residues,,,tonnes,,,Crop Residues,,,,,, -,Mixed grain_Residues,,,tonnes,,,Crop Residues,,,,,, -,Oats_Residues,,,tonnes,,,Crop Residues,,,,,, -,Quinoa_Residues,,,tonnes,,,Crop Residues,,,,,, -,Rye_Residues,,,tonnes,,,Crop Residues,,,,,, -,Sorghum_Residues,,,tonnes,,,Crop Residues,,,,,, -,Triticale_Residues,,,tonnes,,,Crop Residues,,,,,, -,Natural rubber in primary forms_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Anise, badian, coriander, cumin, caraway, fennel and juniper berries, raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Chillies and peppers, dry (Capsicum spp., Pimenta spp.), raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Cinnamon and cinnamon-tree flowers, raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Cloves (whole stems), raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,Cocoa beans_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Coffee, green_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Ginger, raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,Hop cones_Residues,,,tonnes,,,Crop Residues,,,,,, -,Maté leaves_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Nutmeg, mace, cardamoms, raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Other stimulant, spice and aromatic crops, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, -,"Pepper (Piper spp.), raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Peppermint, spearmint_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Pyrethrum, dried flowers_Residues",,,tonnes,,,Crop Residues,,,,,, -,Tea leaves_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Vanilla, raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,Unmanufactured tobacco_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Cassava, fresh_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Edible roots and tubers with high starch or inulin content, n.e.c., fresh_Residues",,,tonnes,,,Crop Residues,,,,,, -,Potatoes_Residues,,,tonnes,,,Crop Residues,,,,,, -,Sweet potatoes_Residues,,,tonnes,,,Crop Residues,,,,,, -,Taro_Residues,,,tonnes,,,Crop Residues,,,,,, -,Yams_Residues,,,tonnes,,,Crop Residues,,,,,, -,Yautia_Residues,,,tonnes,,,Crop Residues,,,,,, -,Other sugar crops n.e.c._Residues,,,tonnes,,,Crop Residues,,,,,, -,Sugar beet_Residues,,,tonnes,,,Crop Residues,,,,,, -,Sugar cane_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Bambara beans, dry_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Beans, dry_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Broad beans and horse beans, dry_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Chick peas, dry_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Cow peas, dry_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Lentils, dry_Residues",,,tonnes,,,Crop Residues,,,,,, -,Lupins_Residues,,,tonnes,,,Crop Residues,,,,,, -,Other pulses n.e.c._Residues,,,tonnes,,,Crop Residues,,,,,, -,"Peas, dry_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Pigeon peas, dry_Residues",,,tonnes,,,Crop Residues,,,,,, -,Vetches_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Almonds, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, -,Areca nuts_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Brazil nuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Cashew nuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Chestnuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Hazelnuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, -,Kola nuts_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Other nuts (excluding wild edible nuts and groundnuts), in shell, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, -,"Pistachios, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Walnuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, -,Castor oil seeds_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Coconuts, in shell_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Groundnuts, excluding shelled_Residues",,,tonnes,,,Crop Residues,,,,,, -,Hempseed_Residues,,,tonnes,,,Crop Residues,,,,,, -,Jojoba seeds_Residues,,,tonnes,,,Crop Residues,,,,,, -,Kapok fruit_Residues,,,tonnes,,,Crop Residues,,,,,, -,Karite nuts (sheanuts)_Residues,,,tonnes,,,Crop Residues,,,,,, -,Linseed_Residues,,,tonnes,,,Crop Residues,,,,,, -,Melonseed_Residues,,,tonnes,,,Crop Residues,,,,,, -,Mustard seed_Residues,,,tonnes,,,Crop Residues,,,,,, -,Oil palm fruit_Residues,,,tonnes,,,Crop Residues,,,,,, -,Olives_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Other oil seeds, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, -,Poppy seed_Residues,,,tonnes,,,Crop Residues,,,,,, -,Rape or colza seed_Residues,,,tonnes,,,Crop Residues,,,,,, -,Safflower seed_Residues,,,tonnes,,,Crop Residues,,,,,, -,Sesame seed_Residues,,,tonnes,,,Crop Residues,,,,,, -,Soya beans_Residues,,,tonnes,,,Crop Residues,,,,,, -,Sunflower seed_Residues,,,tonnes,,,Crop Residues,,,,,, -,Tallowtree seeds_Residues,,,tonnes,,,Crop Residues,,,,,, -,Tung nuts_Residues,,,tonnes,,,Crop Residues,,,,,, -,Artichokes_Residues,,,tonnes,,,Crop Residues,,,,,, -,Asparagus_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Broad beans and horse beans, green_Residues",,,tonnes,,,Crop Residues,,,,,, -,Cabbages_Residues,,,tonnes,,,Crop Residues,,,,,, -,Carrots and turnips_Residues,,,tonnes,,,Crop Residues,,,,,, -,Cassava leaves_Residues,,,tonnes,,,Crop Residues,,,,,, -,Cauliflowers and broccoli_Residues,,,tonnes,,,Crop Residues,,,,,, -,Chicory roots_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Chillies and peppers, green (Capsicum spp. and Pimenta spp.)_Residues",,,tonnes,,,Crop Residues,,,,,, -,Cucumbers and gherkins_Residues,,,tonnes,,,Crop Residues,,,,,, -,Eggplants (aubergines)_Residues,,,tonnes,,,Crop Residues,,,,,, -,Green corn (maize)_Residues,,,tonnes,,,Crop Residues,,,,,, -,Green garlic_Residues,,,tonnes,,,Crop Residues,,,,,, -,Leeks and other alliaceous vegetables_Residues,,,tonnes,,,Crop Residues,,,,,, -,Lettuce and chicory_Residues,,,tonnes,,,Crop Residues,,,,,, -,Locust beans (carobs)_Residues,,,tonnes,,,Crop Residues,,,,,, -,Mushrooms and truffles_Residues,,,tonnes,,,Crop Residues,,,,,, -,Okra_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Onions and shallots, dry (excluding dehydrated)_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Onions and shallots, green_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Other beans, green_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Other vegetables, fresh n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, -,"Peas, green_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Pumpkins, squash and gourds_Residues",,,tonnes,,,Crop Residues,,,,,, -,Spinach_Residues,,,tonnes,,,Crop Residues,,,,,, -,String beans_Residues,,,tonnes,,,Crop Residues,,,,,, -,Tomatoes_Residues,,,tonnes,,,Crop Residues,,,,,, -,Apples_Residues,,,tonnes,,,Crop Residues,,,,,, -,Apricots_Residues,,,tonnes,,,Crop Residues,,,,,, -,Avocados_Residues,,,tonnes,,,Crop Residues,,,,,, -,Bananas_Residues,,,tonnes,,,Crop Residues,,,,,, -,Blueberries_Residues,,,tonnes,,,Crop Residues,,,,,, -,Cantaloupes and other melons_Residues,,,tonnes,,,Crop Residues,,,,,, -,Cashewapple_Residues,,,tonnes,,,Crop Residues,,,,,, -,Cherries_Residues,,,tonnes,,,Crop Residues,,,,,, -,Cranberries_Residues,,,tonnes,,,Crop Residues,,,,,, -,Currants_Residues,,,tonnes,,,Crop Residues,,,,,, -,Dates_Residues,,,tonnes,,,Crop Residues,,,,,, -,Figs_Residues,,,tonnes,,,Crop Residues,,,,,, -,Gooseberries_Residues,,,tonnes,,,Crop Residues,,,,,, -,Grapes_Residues,,,tonnes,,,Crop Residues,,,,,, -,Kiwi fruit_Residues,,,tonnes,,,Crop Residues,,,,,, -,Lemons and limes_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Mangoes, guavas and mangosteens_Residues",,,tonnes,,,Crop Residues,,,,,, -,Oranges_Residues,,,tonnes,,,Crop Residues,,,,,, -,Other berries and fruits of the genus vaccinium n.e.c._Residues,,,tonnes,,,Crop Residues,,,,,, -,"Other citrus fruit, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, -,"Other fruits, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, -,Other pome fruits_Residues,,,tonnes,,,Crop Residues,,,,,, -,Other stone fruits_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Other tropical fruits, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, -,Papayas_Residues,,,tonnes,,,Crop Residues,,,,,, -,Peaches and nectarines_Residues,,,tonnes,,,Crop Residues,,,,,, -,Pears_Residues,,,tonnes,,,Crop Residues,,,,,, -,Persimmons_Residues,,,tonnes,,,Crop Residues,,,,,, -,Pineapples_Residues,,,tonnes,,,Crop Residues,,,,,, -,Plantains and cooking bananas_Residues,,,tonnes,,,Crop Residues,,,,,, -,Plums and sloes_Residues,,,tonnes,,,Crop Residues,,,,,, -,Pomelos and grapefruits_Residues,,,tonnes,,,Crop Residues,,,,,, -,Quinces_Residues,,,tonnes,,,Crop Residues,,,,,, -,Raspberries_Residues,,,tonnes,,,Crop Residues,,,,,, -,Sour cherries_Residues,,,tonnes,,,Crop Residues,,,,,, -,Strawberries_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Tangerines, mandarins, clementines_Residues",,,tonnes,,,Crop Residues,,,,,, -,Watermelons_Residues,,,tonnes,,,Crop Residues,,,,,, -,"Abaca, manila hemp, raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Agave fibres, raw, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, -,"Coir, raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Flax, processed but not spun_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Jute, raw or retted_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Kenaf, and other textile bast fibres, raw or retted_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Other fibre crops, raw, n.e.c._Residues",,,tonnes,,,Crop Residues,,,,,, -,"Ramie, raw or retted_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Seed cotton, unginned_Residues",,,tonnes,,,Crop Residues,,,,,, -,"Sisal, raw_Residues",,,tonnes,,,Crop Residues,,,,,, -,"True hemp, raw or retted_Residues",,,tonnes,,,Crop Residues,,,,,, -,Rice,,,tonnes,,,Crops,,,,,, -,Wheat,,,tonnes,,,Crops,,,,,, -,Barley,,,tonnes,,,Crops,,,,,, -,Buckwheat,,,tonnes,,,Crops,,,,,, -,Canary seed,,,tonnes,,,Crops,,,,,, -,Cereals n.e.c.,,,tonnes,,,Crops,,,,,, -,Fonio,,,tonnes,,,Crops,,,,,, -,Maize (corn),,,tonnes,,,Crops,,,,,, -,Millet,,,tonnes,,,Crops,,,,,, -,Mixed grain,,,tonnes,,,Crops,,,,,, -,Oats,,,tonnes,,,Crops,,,,,, -,Quinoa,,,tonnes,,,Crops,,,,,, -,Rye,,,tonnes,,,Crops,,,,,, -,Sorghum,,,tonnes,,,Crops,,,,,, -,Triticale,,,tonnes,,,Crops,,,,,, -,"Anise, badian, coriander, cumin, caraway, fennel and juniper berries, raw",,,tonnes,,,Crops,,,,,, -,"Chillies and peppers, dry (Capsicum spp., Pimenta spp.), raw",,,tonnes,,,Crops,,,,,, -,"Cloves (whole stems), raw",,,tonnes,,,Crops,,,,,, -,Cocoa beans,,,tonnes,,,Crops,,,,,, -,"Coffee, green",,,tonnes,,,Crops,,,,,, -,"Ginger, raw",,,tonnes,,,Crops,,,,,, -,Hop cones,,,tonnes,,,Crops,,,,,, -,Maté leaves,,,tonnes,,,Crops,,,,,, -,"Nutmeg, mace, cardamoms, raw",,,tonnes,,,Crops,,,,,, -,"Other stimulant, spice and aromatic crops, n.e.c.",,,tonnes,,,Crops,,,,,, -,"Pepper (Piper spp.), raw",,,tonnes,,,Crops,,,,,, -,"Peppermint, spearmint",,,tonnes,,,Crops,,,,,, -,"Pyrethrum, dried flowers",,,tonnes,,,Crops,,,,,, -,Tea leaves,,,tonnes,,,Crops,,,,,, -,"Vanilla, raw",,,tonnes,,,Crops,,,,,, -,Unmanufactured tobacco,,,tonnes,,,Crops,,,,,, -,"Cassava, fresh",,,tonnes,,,Crops,,,,,, -,"Edible roots and tubers with high starch or inulin content, n.e.c., fresh",,,tonnes,,,Crops,,,,,, -,Potatoes,,,tonnes,,,Crops,,,,,, -,Sweet potatoes,,,tonnes,,,Crops,,,,,, -,Taro,,,tonnes,,,Crops,,,,,, -,Yams,,,tonnes,,,Crops,,,,,, -,Yautia,,,tonnes,,,Crops,,,,,, -,Other sugar crops n.e.c.,,,tonnes,,,Crops,,,,,, -,Sugar beet,,,tonnes,,,Crops,,,,,, -,Sugar cane,,,tonnes,,,Crops,,,,,, -,"Bambara beans, dry",,,tonnes,,,Crops,,,,,, -,"Beans, dry",,,tonnes,,,Crops,,,,,, -,"Broad beans and horse beans, dry",,,tonnes,,,Crops,,,,,, -,"Chick peas, dry",,,tonnes,,,Crops,,,,,, -,"Cow peas, dry",,,tonnes,,,Crops,,,,,, -,"Lentils, dry",,,tonnes,,,Crops,,,,,, -,Lupins,,,tonnes,,,Crops,,,,,, -,Other pulses n.e.c.,,,tonnes,,,Crops,,,,,, -,"Peas, dry",,,tonnes,,,Crops,,,,,, -,"Pigeon peas, dry",,,tonnes,,,Crops,,,,,, -,Vetches,,,tonnes,,,Crops,,,,,, -,"Almonds, in shell",,,tonnes,,,Crops,,,,,, -,Areca nuts,,,tonnes,,,Crops,,,,,, -,"Brazil nuts, in shell",,,tonnes,,,Crops,,,,,, -,"Cashew nuts, in shell",,,tonnes,,,Crops,,,,,, -,"Chestnuts, in shell",,,tonnes,,,Crops,,,,,, -,"Hazelnuts, in shell",,,tonnes,,,Crops,,,,,, -,Kola nuts,,,tonnes,,,Crops,,,,,, -,"Other nuts (excluding wild edible nuts and groundnuts), in shell, n.e.c.",,,tonnes,,,Crops,,,,,, -,"Pistachios, in shell",,,tonnes,,,Crops,,,,,, -,"Walnuts, in shell",,,tonnes,,,Crops,,,,,, -,Castor oil seeds,,,tonnes,,,Crops,,,,,, -,"Coconuts, in shell",,,tonnes,,,Crops,,,,,, -,"Groundnuts, excluding shelled",,,tonnes,,,Crops,,,,,, -,Hempseed,,,tonnes,,,Crops,,,,,, -,Jojoba seeds,,,tonnes,,,Crops,,,,,, -,Kapok fruit,,,tonnes,,,Crops,,,,,, -,Karite nuts (sheanuts),,,tonnes,,,Crops,,,,,, -,Linseed,,,tonnes,,,Crops,,,,,, -,Melonseed,,,tonnes,,,Crops,,,,,, -,Mustard seed,,,tonnes,,,Crops,,,,,, -,Oil palm fruit,,,tonnes,,,Crops,,,,,, -,Olives,,,tonnes,,,Crops,,,,,, -,"Other oil seeds, n.e.c.",,,tonnes,,,Crops,,,,,, -,Poppy seed,,,tonnes,,,Crops,,,,,, -,Rape or colza seed,,,tonnes,,,Crops,,,,,, -,Safflower seed,,,tonnes,,,Crops,,,,,, -,Sesame seed,,,tonnes,,,Crops,,,,,, -,Soya beans,,,tonnes,,,Crops,,,,,, -,Sunflower seed,,,tonnes,,,Crops,,,,,, -,Tallowtree seeds,,,tonnes,,,Crops,,,,,, -,Tung nuts,,,tonnes,,,Crops,,,,,, -,Artichokes,,,tonnes,,,Crops,,,,,, -,Asparagus,,,tonnes,,,Crops,,,,,, -,"Broad beans and horse beans, green",,,tonnes,,,Crops,,,,,, -,Cabbages,,,tonnes,,,Crops,,,,,, -,Carrots and turnips,,,tonnes,,,Crops,,,,,, -,Cassava leaves,,,tonnes,,,Crops,,,,,, -,Cauliflowers and broccoli,,,tonnes,,,Crops,,,,,, -,Chicory roots,,,tonnes,,,Crops,,,,,, -,"Chillies and peppers, green (Capsicum spp. and Pimenta spp.)",,,tonnes,,,Crops,,,,,, -,Cucumbers and gherkins,,,tonnes,,,Crops,,,,,, -,Eggplants (aubergines),,,tonnes,,,Crops,,,,,, -,Green corn (maize),,,tonnes,,,Crops,,,,,, -,Green garlic,,,tonnes,,,Crops,,,,,, -,Leeks and other alliaceous vegetables,,,tonnes,,,Crops,,,,,, -,Lettuce and chicory,,,tonnes,,,Crops,,,,,, -,Locust beans (carobs),,,tonnes,,,Crops,,,,,, -,Mushrooms and truffles,,,tonnes,,,Crops,,,,,, -,Okra,,,tonnes,,,Crops,,,,,, -,"Onions and shallots, dry (excluding dehydrated)",,,tonnes,,,Crops,,,,,, -,"Onions and shallots, green",,,tonnes,,,Crops,,,,,, -,"Other beans, green",,,tonnes,,,Crops,,,,,, -,"Other vegetables, fresh n.e.c.",,,tonnes,,,Crops,,,,,, -,"Peas, green",,,tonnes,,,Crops,,,,,, -,"Pumpkins, squash and gourds",,,tonnes,,,Crops,,,,,, -,Spinach,,,tonnes,,,Crops,,,,,, -,String beans,,,tonnes,,,Crops,,,,,, -,Tomatoes,,,tonnes,,,Crops,,,,,, -,Apples,,,tonnes,,,Crops,,,,,, -,Apricots,,,tonnes,,,Crops,,,,,, -,Avocados,,,tonnes,,,Crops,,,,,, -,Bananas,,,tonnes,,,Crops,,,,,, -,Blueberries,,,tonnes,,,Crops,,,,,, -,Cantaloupes and other melons,,,tonnes,,,Crops,,,,,, -,Cashewapple,,,tonnes,,,Crops,,,,,, -,Cherries,,,tonnes,,,Crops,,,,,, -,Cranberries,,,tonnes,,,Crops,,,,,, -,Currants,,,tonnes,,,Crops,,,,,, -,Dates,,,tonnes,,,Crops,,,,,, -,Gooseberries,,,tonnes,,,Crops,,,,,, -,Grapes,,,tonnes,,,Crops,,,,,, -,Kiwi fruit,,,tonnes,,,Crops,,,,,, -,Lemons and limes,,,tonnes,,,Crops,,,,,, -,"Mangoes, guavas and mangosteens",,,tonnes,,,Crops,,,,,, -,Oranges,,,tonnes,,,Crops,,,,,, -,Other berries and fruits of the genus vaccinium n.e.c.,,,tonnes,,,Crops,,,,,, -,"Other citrus fruit, n.e.c.",,,tonnes,,,Crops,,,,,, -,"Other fruits, n.e.c.",,,tonnes,,,Crops,,,,,, -,Other pome fruits,,,tonnes,,,Crops,,,,,, -,Other stone fruits,,,tonnes,,,Crops,,,,,, -,"Other tropical fruits, n.e.c.",,,tonnes,,,Crops,,,,,, -,Papayas,,,tonnes,,,Crops,,,,,, -,Peaches and nectarines,,,tonnes,,,Crops,,,,,, -,Pears,,,tonnes,,,Crops,,,,,, -,Persimmons,,,tonnes,,,Crops,,,,,, -,Pineapples,,,tonnes,,,Crops,,,,,, -,Plantains and cooking bananas,,,tonnes,,,Crops,,,,,, -,Plums and sloes,,,tonnes,,,Crops,,,,,, -,Pomelos and grapefruits,,,tonnes,,,Crops,,,,,, -,Quinces,,,tonnes,,,Crops,,,,,, -,Raspberries,,,tonnes,,,Crops,,,,,, -,Sour cherries,,,tonnes,,,Crops,,,,,, -,Strawberries,,,tonnes,,,Crops,,,,,, -,"Tangerines, mandarins, clementines",,,tonnes,,,Crops,,,,,, -,Watermelons,,,tonnes,,,Crops,,,,,, -,"Abaca, manila hemp, raw",,,tonnes,,,Crops,,,,,, -,"Agave fibres, raw, n.e.c.",,,tonnes,,,Crops,,,,,, -,"Coir, raw",,,tonnes,,,Crops,,,,,, -,"Flax, processed but not spun",,,tonnes,,,Crops,,,,,, -,"Jute, raw or retted",,,tonnes,,,Crops,,,,,, -,"Kenaf, and other textile bast fibres, raw or retted",,,tonnes,,,Crops,,,,,, -,"Other fibre crops, raw, n.e.c.",,,tonnes,,,Crops,,,,,, -,"Ramie, raw or retted",,,tonnes,,,Crops,,,,,, -,"Seed cotton, unginned",,,tonnes,,,Crops,,,,,, -,"Sisal, raw",,,tonnes,,,Crops,,,,,, -,"True hemp, raw or retted",,,tonnes,,,Crops,,,,,, -,"Cinnamon and cinnamon-tree flowers, raw",,,tonnes,,,Crops,,,,,, -,Figs,,,tonnes,,,Crops,,,,,, -,Aquatic plants,,,tonnes,,,Crops,,,,,, -,Chalk,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, -,Dolomite,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, -,Salt,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, -,Specialty clays,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, -,Gypsum,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, -,Peat,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, -,Other non-metallic minerals n.e.c.,,,tonnes,,,Excavated earthen materials (including soil) nec,,,,,, -,Silver ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Bauxite and other aluminium ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Gold ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Chromium ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Copper ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Manganese ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Other metal ores concentrates and compounds nec. including mixed,,,tonnes,,,Non-ferrous ores,,,,,, -,Nickel ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Lead ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Platinum group metal ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Tin ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Titanium ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Uranium ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Zinc ores concentrates and compounds,,,tonnes,,,Non-ferrous ores,,,,,, -,Fertilizer minerals n.e.c.,,,tonnes,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, -,Chemical minerals n.e.c.,,,tonnes,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, -,Industrial minerals n.e.c,,,tonnes,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, -,Industrial sand and gravel,,,tonnes,,,Non-metallic minerals - industrial or agricultural dominant,,,,,, -,Ornamental or building stone,,,tonnes,,,Non-metallic minerals - construction dominant,,,,,, -,Structural clays,,,tonnes,,,Non-metallic minerals - construction dominant,,,,,, -,Sand gravel and crushed rock for construction,,,tonnes,,,Non-metallic minerals - construction dominant,,,,,, +,'co2_excl_short_cycle_org_c_total_EDGAR_consistent',,,kilotonnes,=,1000000,Carbon dioxide,b6f010fb-a764-3063-af2d-bcb8309a97b7,emission/air,kg,,, +,'ch4_total_EDGAR_consistent',,,kilotonnes,=,1000000,Methane,aab83476-ec6c-3742-af85-15d320b7ce80,emission/air,kg,,, +,'n2o_total_EDGAR_consistent',,,kilotonnes,=,1000000,Nitrous oxide,cfee0524-7ad6-300b-b050-6249135a2492,emission/air,kg,,, +,'sf6_total_EDGAR_consistent',,,kilotonnes,=,1000000,Sulfur hexafluoride,8334c424-1603-3274-bec1-15a7bd5c8e86,emission/air,kg,,, +,'hfc_125_total_EDGAR_consistent',,,kilotonnes,=,1000000,HFC-125,44be3f68-dee3-3228-adb4-04b003485c5f,emission/air,kg,,, +,'hfc_134a_total_EDGAR_consistent',,,kilotonnes,=,1000000,HFC-134a,4fd60c2c-8625-3b10-8618-e3eacc121bbb,emission/air,kg,,, +,'hfc_143a_total_EDGAR_consistent',,,kilotonnes,=,1000000,HFC-143a,3c29f66a-2dd8-3f9b-a05c-c8cb3d93f0f1,emission/air,kg,,, +,'hfc_23_total_EDGAR_consistent',,,kilotonnes,=,1000000,HFC-23,b7bab095-d0bf-3d7b-9c8e-c247d71a8f85,emission/air,kg,,, +,'hfc_236fa_total_EDGAR_consistent',,,kilotonnes,=,1000000,HFC-236fa,32057bc6-6839-3dbc-b33d-5b72e542e3fc,emission/air,kg,,, +,'hfc_32_total_EDGAR_consistent',,,kilotonnes,=,1000000,HFC-32,747fa9a4-559b-37a4-ac9b-5ca630274739,emission/air,kg,,, +,'hfc_41_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_43_10_mee_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_152a_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_227ea_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_245fa_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_365mfc_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'c4f10_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluorobutane,b79859f9-9979-3708-9390-a3d6c0690561,emission/air,kg,,, +,c_c4f8_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluorocyclobutane,8dbc9ab8-994d-3120-a843-bdbd98c41047,emission/air,kg,,, +,'c6f14_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluorohexane,abbacdaf-9d6d-3805-bd10-d35905d7dff8,emission/air,kg,,, +,c3f8_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluoropropane,d7bc2a19-d1a1-3cbb-b19b-758691f823c1,emission/air,kg,,, +,'c2f6_total_EDGAR_consistent',,,kilotonnes,=,1000000,Hexafluoroethane,b24a2de2-da9b-30b8-ae33-3d4ffa692029,emission/air,kg,,, +,'cf4_total_EDGAR_consistent',,,kilotonnes,=,1000000,Carbon tetrafluoride,fbfa508b-f3c9-3977-a47d-1138e96914a3,emission/air,kg,,, +,'nf3_total_EDGAR_consistent',,,kilotonnes,=,1000000,Nitrogen trifluoride,80d4ef62-ca97-37d6-87ac-83233956c063,emission/air,kg,,, +,Limestone,,,tonnes,>,1000,Non-metallic minerals - construction dominant,n.a.,resource,kg,,, +,Iron ores concentrates and compounds,,,tonnes,>,1000,Ferrous ores,n.a.,resource,kg,,, +,Grazed biomass,,,tonnes,>,1000,Grazed biomass and fodder crops,n.a.,resource,kg,,, +,Natural Gas,,,tonnes,=,1000,Natural Gas,n.a.,resource,kg,,, +,Natural gas liquids,,,tonnes,>,1000,Natural Gas,n.a.,resource,kg,,, +,All other aquatic animals,,,tonnes,>,1000,Non-wild animal products,n.a.,resource,kg,,, +,Crude oil,,,tonnes,=,1000,Petroleum,n.a.,resource,kg,,, +,Oil shale and tar sands,,,tonnes,>,1000,Oil shale and tar sands,n.a.,resource,kg,,, +,Wild fish catch,,,tonnes,>,1000,Wild catch and harvest,n.a.,resource,kg,,, +,Timber (Industrial roundwood),,,tonnes,>,1000,Wood,n.a.,resource,kg,,, +,Natural rubber in primary forms,,,tonnes,>,1000,Wood,n.a.,resource,kg,,, +,Wood fuel and other extraction,,,tonnes,>,1000,Wood,n.a.,resource,kg,,, +,Lignite (brown coal),,,tonnes,>,1000,Coal,n.a.,resource,kg,,, +,Other Sub-Bituminous Coal,,,tonnes,>,1000,Coal,n.a.,resource,kg,,, +,Coking Coal,,,tonnes,>,1000,Coal,n.a.,resource,kg,,, +,Other Bituminous Coal,,,tonnes,>,1000,Coal,n.a.,resource,kg,,, +,Anthracite,,,tonnes,>,1000,Coal,n.a.,resource,kg,,, +,Rice_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Wheat_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Barley_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Buckwheat_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Canary seed_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Cereals n.e.c._Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Fonio_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Maize (corn)_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Millet_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Mixed grain_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Oats_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Quinoa_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Rye_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Sorghum_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Triticale_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Natural rubber in primary forms_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Anise, badian, coriander, cumin, caraway, fennel and juniper berries, raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Chillies and peppers, dry (Capsicum spp., Pimenta spp.), raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Cinnamon and cinnamon-tree flowers, raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Cloves (whole stems), raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Cocoa beans_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Coffee, green_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Ginger, raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Hop cones_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Mat leaves_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Nutmeg, mace, cardamoms, raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Other stimulant, spice and aromatic crops, n.e.c._Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Pepper (Piper spp.), raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Peppermint, spearmint_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Pyrethrum, dried flowers_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Tea leaves_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Vanilla, raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Unmanufactured tobacco_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Cassava, fresh_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Edible roots and tubers with high starch or inulin content, n.e.c., fresh_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Potatoes_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Sweet potatoes_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Taro_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Yams_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Yautia_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Other sugar crops n.e.c._Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Sugar beet_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Sugar cane_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Bambara beans, dry_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Beans, dry_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Broad beans and horse beans, dry_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Chick peas, dry_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Cow peas, dry_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Lentils, dry_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Lupins_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Other pulses n.e.c._Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Peas, dry_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Pigeon peas, dry_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Vetches_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Almonds, in shell_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Areca nuts_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Brazil nuts, in shell_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Cashew nuts, in shell_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Chestnuts, in shell_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Hazelnuts, in shell_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Kola nuts_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Other nuts (excluding wild edible nuts and groundnuts), in shell, n.e.c._Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Pistachios, in shell_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Walnuts, in shell_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Castor oil seeds_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Coconuts, in shell_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Groundnuts, excluding shelled_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Hempseed_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Jojoba seeds_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Kapok fruit_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Karite nuts (sheanuts)_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Linseed_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Melonseed_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Mustard seed_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Oil palm fruit_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Olives_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Other oil seeds, n.e.c._Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Poppy seed_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Rape or colza seed_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Safflower seed_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Sesame seed_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Soya beans_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Sunflower seed_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Tallowtree seeds_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Tung nuts_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Artichokes_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Asparagus_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Broad beans and horse beans, green_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Cabbages_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Carrots and turnips_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Cassava leaves_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Cauliflowers and broccoli_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Chicory roots_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Chillies and peppers, green (Capsicum spp. and Pimenta spp.)_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Cucumbers and gherkins_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Eggplants (aubergines)_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Green corn (maize)_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Green garlic_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Leeks and other alliaceous vegetables_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Lettuce and chicory_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Locust beans (carobs)_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Mushrooms and truffles_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Okra_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Onions and shallots, dry (excluding dehydrated)_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Onions and shallots, green_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Other beans, green_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Other vegetables, fresh n.e.c._Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Peas, green_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Pumpkins, squash and gourds_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Spinach_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,String beans_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Tomatoes_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Apples_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Apricots_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Avocados_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Bananas_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Blueberries_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Cantaloupes and other melons_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Cashewapple_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Cherries_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Cranberries_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Currants_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Dates_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Figs_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Gooseberries_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Grapes_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Kiwi fruit_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Lemons and limes_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Mangoes, guavas and mangosteens_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Oranges_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Other berries and fruits of the genus vaccinium n.e.c._Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Other citrus fruit, n.e.c._Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Other fruits, n.e.c._Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Other pome fruits_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Other stone fruits_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Other tropical fruits, n.e.c._Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Papayas_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Peaches and nectarines_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Pears_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Persimmons_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Pineapples_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Plantains and cooking bananas_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Plums and sloes_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Pomelos and grapefruits_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Quinces_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Raspberries_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Sour cherries_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Strawberries_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Tangerines, mandarins, clementines_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Watermelons_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Abaca, manila hemp, raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Agave fibres, raw, n.e.c._Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Coir, raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Flax, processed but not spun_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Jute, raw or retted_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Kenaf, and other textile bast fibres, raw or retted_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Other fibre crops, raw, n.e.c._Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Ramie, raw or retted_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Seed cotton, unginned_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"Sisal, raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,"True hemp, raw or retted_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Rice,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Wheat,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Barley,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Buckwheat,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Canary seed,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Cereals n.e.c.,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Fonio,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Maize (corn),,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Millet,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Mixed grain,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Oats,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Quinoa,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Rye,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Sorghum,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Triticale,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Anise, badian, coriander, cumin, caraway, fennel and juniper berries, raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Chillies and peppers, dry (Capsicum spp., Pimenta spp.), raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Cloves (whole stems), raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Cocoa beans,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Coffee, green",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Ginger, raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Hop cones,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Mat leaves,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Nutmeg, mace, cardamoms, raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Other stimulant, spice and aromatic crops, n.e.c.",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Pepper (Piper spp.), raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Peppermint, spearmint",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Pyrethrum, dried flowers",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Tea leaves,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Vanilla, raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Unmanufactured tobacco,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Cassava, fresh",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Edible roots and tubers with high starch or inulin content, n.e.c., fresh",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Potatoes,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Sweet potatoes,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Taro,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Yams,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Yautia,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Other sugar crops n.e.c.,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Sugar beet,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Sugar cane,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Bambara beans, dry",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Beans, dry",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Broad beans and horse beans, dry",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Chick peas, dry",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Cow peas, dry",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Lentils, dry",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Lupins,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Other pulses n.e.c.,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Peas, dry",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Pigeon peas, dry",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Vetches,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Almonds, in shell",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Areca nuts,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Brazil nuts, in shell",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Cashew nuts, in shell",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Chestnuts, in shell",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Hazelnuts, in shell",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Kola nuts,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Other nuts (excluding wild edible nuts and groundnuts), in shell, n.e.c.",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Pistachios, in shell",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Walnuts, in shell",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Castor oil seeds,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Coconuts, in shell",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Groundnuts, excluding shelled",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Hempseed,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Jojoba seeds,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Kapok fruit,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Karite nuts (sheanuts),,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Linseed,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Melonseed,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Mustard seed,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Oil palm fruit,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Olives,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Other oil seeds, n.e.c.",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Poppy seed,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Rape or colza seed,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Safflower seed,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Sesame seed,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Soya beans,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Sunflower seed,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Tallowtree seeds,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Tung nuts,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Artichokes,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Asparagus,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Broad beans and horse beans, green",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Cabbages,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Carrots and turnips,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Cassava leaves,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Cauliflowers and broccoli,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Chicory roots,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Chillies and peppers, green (Capsicum spp. and Pimenta spp.)",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Cucumbers and gherkins,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Eggplants (aubergines),,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Green corn (maize),,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Green garlic,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Leeks and other alliaceous vegetables,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Lettuce and chicory,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Locust beans (carobs),,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Mushrooms and truffles,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Okra,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Onions and shallots, dry (excluding dehydrated)",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Onions and shallots, green",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Other beans, green",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Other vegetables, fresh n.e.c.",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Peas, green",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Pumpkins, squash and gourds",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Spinach,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,String beans,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Tomatoes,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Apples,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Apricots,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Avocados,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Bananas,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Blueberries,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Cantaloupes and other melons,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Cashewapple,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Cherries,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Cranberries,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Currants,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Dates,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Gooseberries,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Grapes,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Kiwi fruit,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Lemons and limes,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Mangoes, guavas and mangosteens",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Oranges,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Other berries and fruits of the genus vaccinium n.e.c.,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Other citrus fruit, n.e.c.",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Other fruits, n.e.c.",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Other pome fruits,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Other stone fruits,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Other tropical fruits, n.e.c.",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Papayas,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Peaches and nectarines,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Pears,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Persimmons,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Pineapples,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Plantains and cooking bananas,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Plums and sloes,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Pomelos and grapefruits,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Quinces,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Raspberries,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Sour cherries,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Strawberries,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Tangerines, mandarins, clementines",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Watermelons,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Abaca, manila hemp, raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Agave fibres, raw, n.e.c.",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Coir, raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Flax, processed but not spun",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Jute, raw or retted",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Kenaf, and other textile bast fibres, raw or retted",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Other fibre crops, raw, n.e.c.",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Ramie, raw or retted",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Seed cotton, unginned",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Sisal, raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"True hemp, raw or retted",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,"Cinnamon and cinnamon-tree flowers, raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Figs,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Aquatic plants,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Chalk,,,tonnes,>,1000,Excavated earthen materials (including soil) nec,n.a.,resource,kg,,, +,Dolomite,,,tonnes,>,1000,Excavated earthen materials (including soil) nec,n.a.,resource,kg,,, +,Salt,,,tonnes,>,1000,Excavated earthen materials (including soil) nec,n.a.,resource,kg,,, +,Specialty clays,,,tonnes,>,1000,Excavated earthen materials (including soil) nec,n.a.,resource,kg,,, +,Gypsum,,,tonnes,>,1000,Excavated earthen materials (including soil) nec,n.a.,resource,kg,,, +,Peat,,,tonnes,>,1000,Excavated earthen materials (including soil) nec,n.a.,resource,kg,,, +,Other non-metallic minerals n.e.c.,,,tonnes,>,1000,Excavated earthen materials (including soil) nec,n.a.,resource,kg,,, +,Silver ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Bauxite and other aluminium ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Gold ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Chromium ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Copper ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Manganese ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Other metal ores concentrates and compounds nec. including mixed,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Nickel ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Lead ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Platinum group metal ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Tin ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Titanium ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Uranium ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Zinc ores concentrates and compounds,,,tonnes,>,1000,Non-ferrous ores,n.a.,resource,kg,,, +,Fertilizer minerals n.e.c.,,,tonnes,>,1000,Non-metallic minerals - industrial or agricultural dominant,n.a.,resource,kg,,, +,Chemical minerals n.e.c.,,,tonnes,>,1000,Non-metallic minerals - industrial or agricultural dominant,n.a.,resource,kg,,, +,Industrial minerals n.e.c,,,tonnes,>,1000,Non-metallic minerals - industrial or agricultural dominant,n.a.,resource,kg,,, +,Industrial sand and gravel,,,tonnes,>,1000,Non-metallic minerals - industrial or agricultural dominant,n.a.,resource,kg,,, +,Ornamental or building stone,,,tonnes,>,1000,Non-metallic minerals - construction dominant,n.a.,resource,kg,,, +,Structural clays,,,tonnes,>,1000,Non-metallic minerals - construction dominant,n.a.,resource,kg,,, +,Sand gravel and crushed rock for construction,,,tonnes,>,1000,Non-metallic minerals - construction dominant,n.a.,resource,kg,,, diff --git a/import_emission_factors/data/mrio_config.yml b/import_emission_factors/data/mrio_config.yml index c8c2ab2..c6ce52f 100644 --- a/import_emission_factors/data/mrio_config.yml +++ b/import_emission_factors/data/mrio_config.yml @@ -66,10 +66,10 @@ ceda: CEDA Sector: MRIO Sector gloria: - # process_function: download_exiobase/process_exiobase + process_function: download_gloria/process_gloria clean_M_function: gloria_helpers/clean_gloria_M_matrix clean_trade_function: gloria_helpers/gloria_clean_trade - # currency_function: gloria_helpers/gloria_adjust_currency # 1000 USD + currency_function: gloria_helpers/gloria_adjust_currency # 1000 USD reference_currency: USD price_type: Basic calculation_configs: diff --git a/import_emission_factors/exiobase_helpers.py b/import_emission_factors/exiobase_helpers.py index 95bb410..4a528c0 100644 --- a/import_emission_factors/exiobase_helpers.py +++ b/import_emission_factors/exiobase_helpers.py @@ -3,7 +3,7 @@ from currency_converter import CurrencyConverter -def clean_exiobase_M_matrix(M, fields_to_rename): +def clean_exiobase_M_matrix(M, fields_to_rename, **kwargs): # for satellite M_df = M.copy().reset_index() diff --git a/import_emission_factors/generate_import_factors.py b/import_emission_factors/generate_import_factors.py index 0199ec1..d939eef 100644 --- a/import_emission_factors/generate_import_factors.py +++ b/import_emission_factors/generate_import_factors.py @@ -163,39 +163,50 @@ def df_prepare(df, year): value_name = 'EF' ) - if config.get('mapping_file'): - # TODO update units and context assignment + if 'mapping_file' in config: + mapping = config.get('mapping_file') df = (df - .assign(Compartment='emission/air') - .assign(Unit='kg') + .assign(Context = lambda x: x['Flow'].map( + pd.Series(mapping['TargetFlowContext'].values, + index=mapping['TargetFlowName']) + .to_dict())) + .assign(Unit = lambda x: x['Flow'].map( + pd.Series(mapping['TargetUnit'].values, + index=mapping['TargetFlowName']) + .to_dict())) + .assign(FlowUUID = lambda x: x['Flow'].map( + pd.Series(mapping['TargetFlowUUID'].values, + index=mapping['TargetFlowName']) + .to_dict())) + .assign(Flowable = lambda x: x['Flow']) ) else: df = (df .assign(Compartment='emission/air') .assign(Unit='kg') ) + fl = (fedelem.get_flows() + .query('Flowable in @df.Flow') + .filter(['Flowable', 'Context', 'Flow UUID']) + ) + df = (df + .merge(fl, how='left', + left_on=['Flow', 'Compartment'], + right_on=['Flowable', 'Context'], + ) + .assign(Flowable=lambda x: x['Flowable'].fillna(x['Flow'])) + .drop(columns=['Flow', 'Compartment']) + .rename(columns={'Flow UUID': 'FlowUUID'}) + .assign(FlowUUID=lambda x: x['FlowUUID'].fillna('n.a.')) + .assign(Context=lambda x: x['Context'].fillna('emission/air')) + ) + df = (df .assign(ReferenceCurrency=config['reference_currency']) .assign(Year=str(year)) .assign(PriceType=config['price_type']) ) - fl = (fedelem.get_flows() - .query('Flowable in @df.Flow') - .filter(['Flowable', 'Context', 'Flow UUID']) - ) - df = (df - .merge(fl, how='left', - left_on=['Flow', 'Compartment'], - right_on=['Flowable', 'Context'], - ) - .assign(Flowable=lambda x: x['Flowable'].fillna(x['Flow'])) - .drop(columns=['Flow', 'Compartment']) - .rename(columns={'Flow UUID': 'FlowUUID'}) - .assign(FlowUUID=lambda x: x['FlowUUID'].fillna('n.a.')) - .assign(Context=lambda x: x['Context'].fillna('emission/air')) - ) - df = adjust_currency_and_rename_flows_units(df, year) return df @@ -420,7 +431,7 @@ def clean_mrio_M_matrix(M, fields_to_rename): Wrapper function to call correct M matrix cleaning function for MRIO ''' fxn = extract_function_from_config('clean_M_function') - return fxn(M, fields_to_rename) + return fxn(M, fields_to_rename, mapping=config.get('mapping_file')) def clean_mrio_trade_data(df): diff --git a/import_emission_factors/gloria_helpers.py b/import_emission_factors/gloria_helpers.py index bf557f5..6e2b185 100644 --- a/import_emission_factors/gloria_helpers.py +++ b/import_emission_factors/gloria_helpers.py @@ -1,15 +1,24 @@ +import pandas as pd import statistics from datetime import date from currency_converter import CurrencyConverter -def clean_gloria_M_matrix(M, fields_to_rename): - # for satellite +def clean_gloria_M_matrix(M, fields_to_rename, **kwargs): M_df = M.copy().reset_index() + mapping = kwargs.get('mapping') + + M_df['flow'] = M_df['stressor'].map(fields_to_rename) + M_df['ConversionFactor'] = M_df['stressor'].map( + pd.Series(mapping['ConversionFactor'].values, + index=mapping['SourceFlowName']) + .to_dict()) - M_df['flow'] = M_df.stressor - M_df['flow'] = M_df['flow'].map(fields_to_rename) M_df = M_df.loc[M_df.flow.isin(fields_to_rename.values())] + + cols = M_df.select_dtypes(include='number').columns.drop('ConversionFactor', level=0) + M_df[cols] = M_df[cols].mul(M_df['ConversionFactor'], axis=0) + M_df = (M_df .sort_index(axis=1) .drop(columns=['stressor', 'category'], level=0) @@ -21,15 +30,12 @@ def clean_gloria_M_matrix(M, fields_to_rename): ) return M_df -# def gloria_adjust_currency(df, year): -# c = CurrencyConverter(fallback_on_missing_rate=True) -# exch = statistics.mean([c.convert(1, 'EUR', 'USD', date=date(year, 1, 1)), -# c.convert(1, 'EUR', 'USD', date=date(year, 12, 30))]) -# df = (df -# .assign(EF=lambda x: x['EF']/exch) -# .assign(ReferenceCurrency='USD') -# ) -# return df +def gloria_adjust_currency(df, year): + df = (df + .assign(EF=lambda x: x['EF']/1000) + .assign(ReferenceCurrency='USD') + ) + return df def gloria_clean_trade(df): return df.filter(['USA']).reset_index() From af2340b38149aac3a954537635c5953760a9dc8a Mon Sep 17 00:00:00 2001 From: Ben Young Date: Wed, 18 Dec 2024 09:29:49 -0500 Subject: [PATCH 15/31] drop `Region` from concordance file after #54 --- .../GLORIA_country_concordance.csv | 514 +++++++++--------- 1 file changed, 257 insertions(+), 257 deletions(-) diff --git a/import_emission_factors/concordances/GLORIA_country_concordance.csv b/import_emission_factors/concordances/GLORIA_country_concordance.csv index 65439ac..8f78298 100644 --- a/import_emission_factors/concordances/GLORIA_country_concordance.csv +++ b/import_emission_factors/concordances/GLORIA_country_concordance.csv @@ -1,257 +1,257 @@ -Country,ISO Code,CountryCode,Region -Afghanistan,AF,AFG,APAC -Africa,,, -Albania,AL,ALB,EU -Algeria,DZ,DZA,ROW -All countries,,, -Andorra,AD,XEU,EU -Angola,AO,AGO,ROW -Anguilla,AI,XAM,ROW -Antigua and Barbuda,AG,XAM,ROW -Argentina,AR,ARG,ROW -Armenia,AM,ARM,EU -Aruba,AW,XAM,ROW -Asia and Pacific,,, -Australia,AU,AUS,APAC -Austria,AT,AUT,EU -Azerbaijan,AZ,AZE,EU -Bahamas,BS,BHS,ROW -Bahrain,BH,BHR,ROW -Bangladesh,BD,BGD,APAC -Barbados,BB,XAM,ROW -Belarus,BY,BLR,EU -Belgium,BE,BEL,EU -Belize,BZ,BLZ,ROW -Benin,BJ,BEN,ROW -Bermuda,BM,XAM,ROW -Bhutan,BT,BTN,APAC -Bolivia,BO,BOL,ROW -Bosnia and Herzegovina,BA,BIH,EU -Botswana,BW,BWA,ROW -Brazil,BR,BRA,ROW -British Indian Ocean Territory,IO,XAS,APAC -British Virgin Islands,VG,XAM,ROW -Brunei,BN,XAS,APAC -Bulgaria,BG,BGR,EU -Burkina Faso,BF,BFA,ROW -Burma (Myanmar),MM,XAS,APAC -Burundi,BI,BDI,APAC -Cabo Verde,CV,XAF,ROW -CAFTA-DR countries,,, -Cambodia,KH,KHM,APAC -Cameroon,CM,CMR,ROW -Canada,CA,CAN,CA -Cayman Islands,KY,XAM,ROW -Central African Republic,CF,CAF,ROW -Chad,TD,TCD,ROW -Chile,CL,CHL,ROW -China,CN,CHN,CN -Christmas Island (in the Indian Ocean),CX,XAS,APAC -Cocos (Keeling) Islands,CC,XAS,APAC -Colombia,CO,COL,ROW -Comoros,KM,XAF,ROW -"Congo, Democratic Republic of the Congo (formerly Za",rCD,COD,ROW -"Congo, Republic of the Congo",CG,COG,ROW -Cook Islands,CK,XAS,APAC -Costa Rica,CR,CRI,ROW -Cote d'Ivoire,CI,CIV,ROW -Croatia,HR,HRV,EU -Cuba,CU,CUB,ROW -Curacao,CW,XAM,ROW -Cyprus,CY,CYP,EU -Czech Republic,CZ,CZE,EU -Denmark,DK,DNK,EU -"Denmark, except Greenland",DK,DNK,EU -Djibouti,DJ,DJI,ROW -Dominica,DM,XAM,ROW -Dominican Republic,DO,DOM,ROW -Ecuador,EC,ECU,ROW -Egypt,EG,EGY,ROW -El Salvador,SV,SLV,ROW -Equatorial Guinea,GQ,GNQ,ROW -Eritrea,ER,ERI,ROW -Estonia,EE,EST,EU -Eswatini,SZ,XAF,ROW -Ethiopia,ET,ETH,ROW -Euro area,,, -Europe,,, -European Union,,, -Falkland Islands (Islas Malvinas),FK,XAM,ROW -Faroe Islands,FO,XEU,EU -Fiji,FJ,XAS,APAC -Finland,FI,FIN,EU -France,FR,FRA,EU -French Guiana,GF,XAM,ROW -French Polynesia,PF,XAS,APAC -French Southern and Antarctic Lands,TF,,ROW -Gabon,GA,GAB,ROW -Gambia,GM,GMB,ROW -Gaza Strip administered by Israel,GZ,XAS,APAC -Georgia,GE,GEO,EU -Germany,DE,DEU,EU -Germany (Federal Republic of Germany),DE,DEU,EU -Ghana,GH,GHA,ROW -Gibraltar,GI,XEU,EU -Greece,GR,GRC,EU -Greenland,GL,XEU,EU -Grenada,GD,XAM,ROW -Guadeloupe,GP,XAM,ROW -Guatemala,GT,GTM,ROW -Guinea,GN,GIN,ROW -Guinea-Bissau,GW,XAF,ROW -Guyana,GY,XAM,ROW -Haiti,HT,HTI,ROW -Heard Island and McDonald Islands,HM,,APAC -Holy See (Vatican City),VA,XEU,EU -Honduras,HN,HND,ROW -Hong Kong,HK,HKG,APAC -Hungary,HU,HUN,EU -Iceland,IS,ISL,EU -India,IN,IND,APAC -Indonesia,ID,IDN,APAC -International organizations and unallocated,,, -Iran,IR,IRN,ROW -Iraq,IQ,IRQ,ROW -Ireland,IE,IRL,EU -Israel,IL,ISR,ROW -Italy,IT,ITA,EU -Jamaica,JM,JAM,ROW -Japan,JP,JPN,JP -Jordan,JO,JOR,ROW -Kazakhstan,KZ,KAZ,EU -Kenya,KE,KEN,ROW -Kiribati,KI,XAS,APAC -Kosovo,KV,XEU,EU -Kuwait,KW,KWT,ROW -Kyrgyzstan,KG,KGZ,EU -Laos (Lao People's Democratic Republic),LA,LAO,APAC -Latin America and Other Western Hemisphere,,, -Latvia,LV,LVA,EU -Lebanon,LB,LBN,ROW -Lesotho,LS,XAF,ROW -Liberia,LR,LBR,ROW -Libya,LY,LBY,ROW -Liechtenstein,LI,XEU,EU -Lithuania,LT,LTU,EU -Luxembourg,LU,LUX,EU -Macao,MO,XAS,APAC -Madagascar,MG,MDG,ROW -Malawi,MW,MWI,ROW -Malaysia,MY,MYS,APAC -Maldives,MV,XAS,APAC -Mali,ML,MLI,ROW -Malta,MT,MLT,EU -Marshall Islands,MH,XAS,APAC -Martinique,MQ,XAM,ROW -Mauritania,MR,MRT,ROW -Mauritius,MU,XAF,ROW -Mayotte,YT,XAF,ROW -Mexico,MX,MEX,MX -"Micronesia, Federated States of",FM,XAS,APAC -Middle East,,, -Moldova (Republic of Moldova),MD,XEU,EU -Monaco,MC,XEU,EU -Mongolia,MN,MNG,APAC -Montenegro,ME,XEU,EU -Montserrat,MS,XEU,EU -Morocco,MA,MAR,ROW -Mozambique,MZ,MOZ,ROW -Namibia,NA,NAM,ROW -Nauru,NR,XAS,APAC -Nepal,NP,NPL,APAC -Netherlands,NL,NLD,EU -New Caledonia,NC,XAS,APAC -New Zealand,NZ,NZL,APAC -Nicaragua,NI,NIC,ROW -Niger,NE,NER,ROW -Nigeria,NG,NGA,ROW -Niue,NU,XAS,APAC -Norfolk Island,NF,XAS,APAC -North Korea (Democratic People's Republic of Korea),KP,PRK,APAC -North Macedonia,MK,XEU,EU -Norway,NO,NOR,EU -Oman,OM,OMN,ROW -Other Africa (International Services Trade),,XAF,ROW -Other Asia and Pacific (International Services Trade),,XAS,APAC -Other Europe (International Services Trade),,XEU,EU -Other Middle East (International Services Trade),,XAS,APAC -Other South And Central America (International Services Trade),,XAM,ROW -Other Western Hemisphere,,,ROW -"Other Western Hemisphere, Other (International Services Trade)",,,ROW -Pakistan,PK,PAK,APAC -Palau,PW,XAS,APAC -Panama,PA,PAN,ROW -Papua New Guinea,PG,PNG,APAC -Paraguay,PY,PRY,ROW -Peru,PE,PER,ROW -Philippines,PH,PHL,APAC -Pitcairn Islands,PN,XAS,APAC -Poland,PL,POL,EU -Portugal,PT,PRT,EU -Qatar,QA,QAT,ROW -Reunion,RE,XAF,ROW -Romania,RO,ROU,EU -Russia,RU,RUS,EU -Rwanda,RW,RWA,ROW -Saint Helena,SH,,ROW -Saint Kitts and Nevis,KN,XAM,ROW -Saint Lucia,LC,XAM,ROW -Saint Pierre and Miquelon,PM,XAM,ROW -Saint Vincent and the Grenadines,VC,XAM,ROW -Samoa (Western Samoa),WS,XAS,APAC -San Marino,SM,XEU,EU -Sao Tome and Principe,ST,XAF,ROW -Saudi Arabia,SA,SAU,ROW -Senegal,SN,SEN,ROW -Serbia,RS,SRB,EU -Seychelles,SC,XAS,APAC -Sierra Leone,SL,SLE,ROW -Singapore,SG,SGP,APAC -Sint Maarten,SX,XAM,ROW -Slovakia,SK,SVK,EU -Slovenia,SI,SVN,EU -Solomon Islands,SB,XAS,APAC -Somalia,SO,SOM,ROW -South Africa,ZA,ZAF,ROW -South and Central America,,, -South Korea,KR,KOR,APAC -South Korea (Republic of Korea),KR,KOR,APAC -South Sudan,SS,SDS,ROW -Spain,ES,ESP,EU -Sri Lanka,LK,LKA,APAC -Sudan,SD,SDN,ROW -Suriname,SR,XAM,ROW -Svalbard and Jan Mayen,SJ,XEU,EU -Sweden,SE,SWE,EU -Switzerland,CH,CHE,EU -Syria (Syrian Arab Republic),SY,SYR,ROW -Taiwan,TW,XAS,APAC -Tajikistan,TJ,TJK,EU -Tanzania (United Republic of Tanzania),TZ,TZA,ROW -Thailand,TH,THA,APAC -Timor-Leste,TL,XAS,APAC -Togo,TG,TGO,ROW -Tokelau,TK,XAS,APAC -Tonga,TO,XAS,APAC -Trinidad and Tobago,TT,XAM,ROW -Tunisia,TN,TUN,ROW -Turkey,TR,TUR,EU -Turkmenistan,TM,TKM,EU -Turks and Caicos Islands,TC,XAM,ROW -Tuvalu,TV,XAS,APAC -Uganda,UG,UGA,ROW -Ukraine,UA,UKR,EU -United Arab Emirates,AE,ARE,ROW -United Kingdom,GB,GBR,EU -"United Kingdom Islands, Caribbean",,, -United States,US,USA,US -Uruguay,UY,URY,ROW -Uzbekistan,UZ,UZB,EU -Vanuatu,VU,XAM,ROW -Venezuela,VE,VEN,ROW -Vietnam,VN,VNM,APAC -Wallis and Futuna,WF,XAS,APAC -West Bank administered by Israel,WE,XAS,APAC -Yemen (Republic of Yemen),YE,DYE,ROW -Zambia,ZM,ZMB,ROW -Zimbabwe,ZW,ZWE,ROW +Country,ISO Code,CountryCode +Afghanistan,AF,AFG +Africa,, +Albania,AL,ALB +Algeria,DZ,DZA +All countries,, +Andorra,AD,XEU +Angola,AO,AGO +Anguilla,AI,XAM +Antigua and Barbuda,AG,XAM +Argentina,AR,ARG +Armenia,AM,ARM +Aruba,AW,XAM +Asia and Pacific,, +Australia,AU,AUS +Austria,AT,AUT +Azerbaijan,AZ,AZE +Bahamas,BS,BHS +Bahrain,BH,BHR +Bangladesh,BD,BGD +Barbados,BB,XAM +Belarus,BY,BLR +Belgium,BE,BEL +Belize,BZ,BLZ +Benin,BJ,BEN +Bermuda,BM,XAM +Bhutan,BT,BTN +Bolivia,BO,BOL +Bosnia and Herzegovina,BA,BIH +Botswana,BW,BWA +Brazil,BR,BRA +British Indian Ocean Territory,IO,XAS +British Virgin Islands,VG,XAM +Brunei,BN,XAS +Bulgaria,BG,BGR +Burkina Faso,BF,BFA +Burma (Myanmar),MM,XAS +Burundi,BI,BDI +Cabo Verde,CV,XAF +CAFTA-DR countries,, +Cambodia,KH,KHM +Cameroon,CM,CMR +Canada,CA,CAN +Cayman Islands,KY,XAM +Central African Republic,CF,CAF +Chad,TD,TCD +Chile,CL,CHL +China,CN,CHN +Christmas Island (in the Indian Ocean),CX,XAS +Cocos (Keeling) Islands,CC,XAS +Colombia,CO,COL +Comoros,KM,XAF +"Congo, Democratic Republic of the Congo (formerly Za",rCD,COD +"Congo, Republic of the Congo",CG,COG +Cook Islands,CK,XAS +Costa Rica,CR,CRI +Cote d'Ivoire,CI,CIV +Croatia,HR,HRV +Cuba,CU,CUB +Curacao,CW,XAM +Cyprus,CY,CYP +Czech Republic,CZ,CZE +Denmark,DK,DNK +"Denmark, except Greenland",DK,DNK +Djibouti,DJ,DJI +Dominica,DM,XAM +Dominican Republic,DO,DOM +Ecuador,EC,ECU +Egypt,EG,EGY +El Salvador,SV,SLV +Equatorial Guinea,GQ,GNQ +Eritrea,ER,ERI +Estonia,EE,EST +Eswatini,SZ,XAF +Ethiopia,ET,ETH +Euro area,, +Europe,, +European Union,, +Falkland Islands (Islas Malvinas),FK,XAM +Faroe Islands,FO,XEU +Fiji,FJ,XAS +Finland,FI,FIN +France,FR,FRA +French Guiana,GF,XAM +French Polynesia,PF,XAS +French Southern and Antarctic Lands,TF, +Gabon,GA,GAB +Gambia,GM,GMB +Gaza Strip administered by Israel,GZ,XAS +Georgia,GE,GEO +Germany,DE,DEU +Germany (Federal Republic of Germany),DE,DEU +Ghana,GH,GHA +Gibraltar,GI,XEU +Greece,GR,GRC +Greenland,GL,XEU +Grenada,GD,XAM +Guadeloupe,GP,XAM +Guatemala,GT,GTM +Guinea,GN,GIN +Guinea-Bissau,GW,XAF +Guyana,GY,XAM +Haiti,HT,HTI +Heard Island and McDonald Islands,HM, +Holy See (Vatican City),VA,XEU +Honduras,HN,HND +Hong Kong,HK,HKG +Hungary,HU,HUN +Iceland,IS,ISL +India,IN,IND +Indonesia,ID,IDN +International organizations and unallocated,, +Iran,IR,IRN +Iraq,IQ,IRQ +Ireland,IE,IRL +Israel,IL,ISR +Italy,IT,ITA +Jamaica,JM,JAM +Japan,JP,JPN +Jordan,JO,JOR +Kazakhstan,KZ,KAZ +Kenya,KE,KEN +Kiribati,KI,XAS +Kosovo,KV,XEU +Kuwait,KW,KWT +Kyrgyzstan,KG,KGZ +Laos (Lao People's Democratic Republic),LA,LAO +Latin America and Other Western Hemisphere,, +Latvia,LV,LVA +Lebanon,LB,LBN +Lesotho,LS,XAF +Liberia,LR,LBR +Libya,LY,LBY +Liechtenstein,LI,XEU +Lithuania,LT,LTU +Luxembourg,LU,LUX +Macao,MO,XAS +Madagascar,MG,MDG +Malawi,MW,MWI +Malaysia,MY,MYS +Maldives,MV,XAS +Mali,ML,MLI +Malta,MT,MLT +Marshall Islands,MH,XAS +Martinique,MQ,XAM +Mauritania,MR,MRT +Mauritius,MU,XAF +Mayotte,YT,XAF +Mexico,MX,MEX +"Micronesia, Federated States of",FM,XAS +Middle East,, +Moldova (Republic of Moldova),MD,XEU +Monaco,MC,XEU +Mongolia,MN,MNG +Montenegro,ME,XEU +Montserrat,MS,XEU +Morocco,MA,MAR +Mozambique,MZ,MOZ +Namibia,NA,NAM +Nauru,NR,XAS +Nepal,NP,NPL +Netherlands,NL,NLD +New Caledonia,NC,XAS +New Zealand,NZ,NZL +Nicaragua,NI,NIC +Niger,NE,NER +Nigeria,NG,NGA +Niue,NU,XAS +Norfolk Island,NF,XAS +North Korea (Democratic People's Republic of Korea),KP,PRK +North Macedonia,MK,XEU +Norway,NO,NOR +Oman,OM,OMN +Other Africa (International Services Trade),,XAF +Other Asia and Pacific (International Services Trade),,XAS +Other Europe (International Services Trade),,XEU +Other Middle East (International Services Trade),,XAS +Other South And Central America (International Services Trade),,XAM +Other Western Hemisphere,, +"Other Western Hemisphere, Other (International Services Trade)",, +Pakistan,PK,PAK +Palau,PW,XAS +Panama,PA,PAN +Papua New Guinea,PG,PNG +Paraguay,PY,PRY +Peru,PE,PER +Philippines,PH,PHL +Pitcairn Islands,PN,XAS +Poland,PL,POL +Portugal,PT,PRT +Qatar,QA,QAT +Reunion,RE,XAF +Romania,RO,ROU +Russia,RU,RUS +Rwanda,RW,RWA +Saint Helena,SH, +Saint Kitts and Nevis,KN,XAM +Saint Lucia,LC,XAM +Saint Pierre and Miquelon,PM,XAM +Saint Vincent and the Grenadines,VC,XAM +Samoa (Western Samoa),WS,XAS +San Marino,SM,XEU +Sao Tome and Principe,ST,XAF +Saudi Arabia,SA,SAU +Senegal,SN,SEN +Serbia,RS,SRB +Seychelles,SC,XAS +Sierra Leone,SL,SLE +Singapore,SG,SGP +Sint Maarten,SX,XAM +Slovakia,SK,SVK +Slovenia,SI,SVN +Solomon Islands,SB,XAS +Somalia,SO,SOM +South Africa,ZA,ZAF +South and Central America,, +South Korea,KR,KOR +South Korea (Republic of Korea),KR,KOR +South Sudan,SS,SDS +Spain,ES,ESP +Sri Lanka,LK,LKA +Sudan,SD,SDN +Suriname,SR,XAM +Svalbard and Jan Mayen,SJ,XEU +Sweden,SE,SWE +Switzerland,CH,CHE +Syria (Syrian Arab Republic),SY,SYR +Taiwan,TW,XAS +Tajikistan,TJ,TJK +Tanzania (United Republic of Tanzania),TZ,TZA +Thailand,TH,THA +Timor-Leste,TL,XAS +Togo,TG,TGO +Tokelau,TK,XAS +Tonga,TO,XAS +Trinidad and Tobago,TT,XAM +Tunisia,TN,TUN +Turkey,TR,TUR +Turkmenistan,TM,TKM +Turks and Caicos Islands,TC,XAM +Tuvalu,TV,XAS +Uganda,UG,UGA +Ukraine,UA,UKR +United Arab Emirates,AE,ARE +United Kingdom,GB,GBR +"United Kingdom Islands, Caribbean",, +United States,US,USA +Uruguay,UY,URY +Uzbekistan,UZ,UZB +Vanuatu,VU,XAM +Venezuela,VE,VEN +Vietnam,VN,VNM +Wallis and Futuna,WF,XAS +West Bank administered by Israel,WE,XAS +Yemen (Republic of Yemen),YE,DYE +Zambia,ZM,ZMB +Zimbabwe,ZW,ZWE From 2a0ded5ac625533087d768ef9f1c9fb651fe2c3f Mon Sep 17 00:00:00 2001 From: Ben Young Date: Wed, 18 Dec 2024 10:07:38 -0500 Subject: [PATCH 16/31] fix typos in mapping --- import_emission_factors/data/gloria_mapping.csv | 10 +++++----- import_emission_factors/generate_import_factors.py | 2 +- import_emission_factors/gloria_helpers.py | 1 + 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/import_emission_factors/data/gloria_mapping.csv b/import_emission_factors/data/gloria_mapping.csv index ec82d74..7eb069c 100644 --- a/import_emission_factors/data/gloria_mapping.csv +++ b/import_emission_factors/data/gloria_mapping.csv @@ -16,16 +16,16 @@ SourceListName,SourceFlowName,SourceFlowUUID,SourceFlowContext,SourceUnit,MatchC ,'hfc_245fa_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, ,'hfc_365mfc_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, ,'c4f10_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluorobutane,b79859f9-9979-3708-9390-a3d6c0690561,emission/air,kg,,, -,c_c4f8_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluorocyclobutane,8dbc9ab8-994d-3120-a843-bdbd98c41047,emission/air,kg,,, +,'c_c4f8_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluorocyclobutane,8dbc9ab8-994d-3120-a843-bdbd98c41047,emission/air,kg,,, ,'c6f14_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluorohexane,abbacdaf-9d6d-3805-bd10-d35905d7dff8,emission/air,kg,,, -,c3f8_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluoropropane,d7bc2a19-d1a1-3cbb-b19b-758691f823c1,emission/air,kg,,, +,'c3f8_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluoropropane,d7bc2a19-d1a1-3cbb-b19b-758691f823c1,emission/air,kg,,, ,'c2f6_total_EDGAR_consistent',,,kilotonnes,=,1000000,Hexafluoroethane,b24a2de2-da9b-30b8-ae33-3d4ffa692029,emission/air,kg,,, ,'cf4_total_EDGAR_consistent',,,kilotonnes,=,1000000,Carbon tetrafluoride,fbfa508b-f3c9-3977-a47d-1138e96914a3,emission/air,kg,,, ,'nf3_total_EDGAR_consistent',,,kilotonnes,=,1000000,Nitrogen trifluoride,80d4ef62-ca97-37d6-87ac-83233956c063,emission/air,kg,,, ,Limestone,,,tonnes,>,1000,Non-metallic minerals - construction dominant,n.a.,resource,kg,,, ,Iron ores concentrates and compounds,,,tonnes,>,1000,Ferrous ores,n.a.,resource,kg,,, ,Grazed biomass,,,tonnes,>,1000,Grazed biomass and fodder crops,n.a.,resource,kg,,, -,Natural Gas,,,tonnes,=,1000,Natural Gas,n.a.,resource,kg,,, +,Natural gas,,,tonnes,=,1000,Natural Gas,n.a.,resource,kg,,, ,Natural gas liquids,,,tonnes,>,1000,Natural Gas,n.a.,resource,kg,,, ,All other aquatic animals,,,tonnes,>,1000,Non-wild animal products,n.a.,resource,kg,,, ,Crude oil,,,tonnes,=,1000,Petroleum,n.a.,resource,kg,,, @@ -63,7 +63,7 @@ SourceListName,SourceFlowName,SourceFlowUUID,SourceFlowContext,SourceUnit,MatchC ,"Coffee, green_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, ,"Ginger, raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, ,Hop cones_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, -,Mat leaves_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, +,Maté leaves_Residues,,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, ,"Nutmeg, mace, cardamoms, raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, ,"Other stimulant, spice and aromatic crops, n.e.c._Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, ,"Pepper (Piper spp.), raw_Residues",,,tonnes,>,1000,Crop Residues,n.a.,resource,kg,,, @@ -222,7 +222,7 @@ SourceListName,SourceFlowName,SourceFlowUUID,SourceFlowContext,SourceUnit,MatchC ,"Coffee, green",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, ,"Ginger, raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, ,Hop cones,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, -,Mat leaves,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, +,Maté leaves,,,tonnes,>,1000,Crops,n.a.,resource,kg,,, ,"Nutmeg, mace, cardamoms, raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, ,"Other stimulant, spice and aromatic crops, n.e.c.",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, ,"Pepper (Piper spp.), raw",,,tonnes,>,1000,Crops,n.a.,resource,kg,,, diff --git a/import_emission_factors/generate_import_factors.py b/import_emission_factors/generate_import_factors.py index b848983..3e12bc3 100644 --- a/import_emission_factors/generate_import_factors.py +++ b/import_emission_factors/generate_import_factors.py @@ -1,6 +1,6 @@ """ Generates import factors from selected MRIO. -Current options are: EXIOBASE, CEDA +Current options are: EXIOBASE, CEDA, GLORIA """ import pickle as pkl diff --git a/import_emission_factors/gloria_helpers.py b/import_emission_factors/gloria_helpers.py index 6e2b185..28f8085 100644 --- a/import_emission_factors/gloria_helpers.py +++ b/import_emission_factors/gloria_helpers.py @@ -9,6 +9,7 @@ def clean_gloria_M_matrix(M, fields_to_rename, **kwargs): mapping = kwargs.get('mapping') M_df['flow'] = M_df['stressor'].map(fields_to_rename) + missing = [k for k in fields_to_rename.keys() if k not in M_df['stressor'].values] M_df['ConversionFactor'] = M_df['stressor'].map( pd.Series(mapping['ConversionFactor'].values, index=mapping['SourceFlowName']) From 1a15b977e29eeb25c3d7158b2351bfe2546921df Mon Sep 17 00:00:00 2001 From: Jake Namovich Date: Fri, 20 Dec 2024 14:59:28 -0500 Subject: [PATCH 17/31] Updated GLORIA mapping files (sectors & flowables) --- ...LORIA_to_useeio2_commodity_concordance.csv | 62 ++----------------- .../data/gloria_mapping.csv | 12 ++-- 2 files changed, 10 insertions(+), 64 deletions(-) diff --git a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv index 36a8b9f..662b81e 100644 --- a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv +++ b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv @@ -25,47 +25,30 @@ Raising of animals n.e.c.; services to agriculture,112A00,112A00 Raising of animals n.e.c.; services to agriculture,115000,115000 Forestry and logging,113000,113000 Forestry and logging,115000,115000 -Fishing,112A00,112A00 Fishing,114000,114000 -Crustaceans and molluscs,112A00,112A00 Crustaceans and molluscs,114000,114000 Hard coal,212100,212100 -Hard coal,21311A,21311A Lignite and peat,212100,212100 -Lignite and peat,21311A,21311A Petroleum extraction,211000,211000 -Petroleum extraction,21311A,21311A -Gas extraction,21311A,21311A -Gas extraction,221200,221200 +Petroleum extraction,213111,213111 +Gas extraction,211000,211000 +Gas extraction,213111,213111 Iron ores,2122A0,2122A0 -Iron ores,21311A,21311A Uranium ores,2122A0,2122A0 Aluminium ore,2122A0,2122A0 -Aluminium ore,21311A,21311A Copper ores,212230,212230 -Copper ores,21311A,21311A Gold ores,2122A0,2122A0 -Gold ores,21311A,21311A Lead/zinc/silver ores,212230,212230 Lead/zinc/silver ores,2122A0,2122A0 -Lead/zinc/silver ores,21311A,21311A Nickel ores,212230,212230 -Nickel ores,21311A,21311A -Tin ores,212230,212230 Tin ores,2122A0,2122A0 -Tin ores,21311A,21311A Other non-ferrous ores,2122A0,2122A0 -Other non-ferrous ores,21311A,21311A "Quarrying of stone, sand and clay",212310,212310 "Quarrying of stone, sand and clay",2123A0,2123A0 -"Quarrying of stone, sand and clay",21311A,21311A Chemical and fertilizer minerals,2123A0,2123A0 -Chemical and fertilizer minerals,21311A,21311A Extraction of salt,2123A0,2123A0 -Extraction of salt,21311A,21311A Mining and quarrying n.e.c.; services to mining,2123A0,2123A0 Mining and quarrying n.e.c.; services to mining,21311A,21311A -Mining and quarrying n.e.c.; services to mining,213111,213111 Beef meat,31161A,31161A Sheep meat,31161A,31161A Pork,31161A,31161A @@ -78,13 +61,8 @@ Vegetable products,311420,311420 Fruit products,311420,311420 Food products and feeds n.e.c.,311111,311111 Food products and feeds n.e.c.,311119,311119 -Food products and feeds n.e.c.,311210,311210 Food products and feeds n.e.c.,311221,311221 -Food products and feeds n.e.c.,311230,311230 -Food products and feeds n.e.c.,311300,311300 Food products and feeds n.e.c.,311410,311410 -Food products and feeds n.e.c.,311420,311420 -Food products and feeds n.e.c.,311520,311520 Food products and feeds n.e.c.,311810,311810 Food products and feeds n.e.c.,3118A0,3118A0 Food products and feeds n.e.c.,311910,311910 @@ -105,7 +83,6 @@ Alcoholic and other beverages,312120,312120 Alcoholic and other beverages,312130,312130 Alcoholic and other beverages,312140,312140 Tobacco products,312200,312200 -Textiles and clothing,337900,337900 Textiles and clothing,313100,313100 Textiles and clothing,313200,313200 Textiles and clothing,313300,313300 @@ -120,12 +97,6 @@ Sawmill products,321100,321100 Sawmill products,321200,321200 Sawmill products,321910,321910 Sawmill products,3219A0,3219A0 -Sawmill products,337110,337110 -Sawmill products,337121,337121 -Sawmill products,337122,337122 -Sawmill products,337127,337127 -Sawmill products,337215,337215 -Sawmill products,33721A,33721A Pulp and paper,322110,322110 Pulp and paper,322120,322120 Pulp and paper,322130,322130 @@ -136,7 +107,7 @@ Pulp and paper,322291,322291 Pulp and paper,322299,322299 Printing,323110,323110 Printing,323120,323120 -Coke oven products,212100,212100 +Coke oven products,324190,324190 Refined petroleum products,324110,324110 Refined petroleum products,325120,325120 Refined petroleum products,324121,324121 @@ -447,26 +418,6 @@ Administrative services,561900,561900 Government; social security; defence; public order,GSLGE,GSLGE Government; social security; defence; public order,GSLGH,GSLGH Government; social security; defence; public order,GSLGO,GSLGO -Government; social security; defence; public order,F02S00,F02S00 -Government; social security; defence; public order,F02N00,F02N00 -Government; social security; defence; public order,F02E00,F02E00 -Government; social security; defence; public order,F02R00,F02R00 -Government; social security; defence; public order,F03000,F03000 -Government; social security; defence; public order,F04000,F04000 -Government; social security; defence; public order,F05000,F05000 -Government; social security; defence; public order,F06C00,F06C00 -Government; social security; defence; public order,F06E00,F06E00 -Government; social security; defence; public order,F06N00,F06N00 -Government; social security; defence; public order,F06S00,F06S00 -Government; social security; defence; public order,F07C00,F07C00 -Government; social security; defence; public order,F07E00,F07E00 -Government; social security; defence; public order,F07S00,F07S00 -Government; social security; defence; public order,F07N00,F07N00 -Government; social security; defence; public order,F01000,F01000 -Government; social security; defence; public order,F10C00,F10C00 -Government; social security; defence; public order,F10E00,F10E00 -Government; social security; defence; public order,F10N00,F10N00 -Government; social security; defence; public order,F10S00,F10S00 Government; social security; defence; public order,S00101,S00101 Government; social security; defence; public order,S00201,S00201 Government; social security; defence; public order,S00102,S00102 @@ -507,8 +458,3 @@ Other services,813A00,813A00 Other services,813B00,813B00 Other services,814000,814000 Other services,S00300,S00300 -,S00900,S00900 -,V00200,V00200 -,4200ID,4200ID -,V00100,V00100 -,V00300,V00300 diff --git a/import_emission_factors/data/gloria_mapping.csv b/import_emission_factors/data/gloria_mapping.csv index 7eb069c..aac4b97 100644 --- a/import_emission_factors/data/gloria_mapping.csv +++ b/import_emission_factors/data/gloria_mapping.csv @@ -9,12 +9,12 @@ SourceListName,SourceFlowName,SourceFlowUUID,SourceFlowContext,SourceUnit,MatchC ,'hfc_23_total_EDGAR_consistent',,,kilotonnes,=,1000000,HFC-23,b7bab095-d0bf-3d7b-9c8e-c247d71a8f85,emission/air,kg,,, ,'hfc_236fa_total_EDGAR_consistent',,,kilotonnes,=,1000000,HFC-236fa,32057bc6-6839-3dbc-b33d-5b72e542e3fc,emission/air,kg,,, ,'hfc_32_total_EDGAR_consistent',,,kilotonnes,=,1000000,HFC-32,747fa9a4-559b-37a4-ac9b-5ca630274739,emission/air,kg,,, -,'hfc_41_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, -,'hfc_43_10_mee_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, -,'hfc_152a_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, -,'hfc_227ea_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, -,'hfc_245fa_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, -,'hfc_365mfc_total_EDGAR_consistent',,,kilotonnes,>,1000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_41_total_EDGAR_consistent',,,kilotonnes,>,135000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_43_10_mee_total_EDGAR_consistent',,,kilotonnes,>,1650000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_152a_total_EDGAR_consistent',,,kilotonnes,>,164000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_227ea_total_EDGAR_consistent',,,kilotonnes,>,3600000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_245fa_total_EDGAR_consistent',,,kilotonnes,>,962000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, +,'hfc_365mfc_total_EDGAR_consistent',,,kilotonnes,>,914000000,"HFCs and PFCs, unspecified",n.a.,emission/air,kg CO2e,,, ,'c4f10_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluorobutane,b79859f9-9979-3708-9390-a3d6c0690561,emission/air,kg,,, ,'c_c4f8_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluorocyclobutane,8dbc9ab8-994d-3120-a843-bdbd98c41047,emission/air,kg,,, ,'c6f14_total_EDGAR_consistent',,,kilotonnes,=,1000000,Perfluorohexane,abbacdaf-9d6d-3805-bd10-d35905d7dff8,emission/air,kg,,, From b00057278331c39ece1a38d18bcee01344857373 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Fri, 3 Jan 2025 07:56:21 -0500 Subject: [PATCH 18/31] drop additional multiple mappings --- .../concordances/GLORIA_to_useeio2_commodity_concordance.csv | 4 ---- 1 file changed, 4 deletions(-) diff --git a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv index 662b81e..a9a523e 100644 --- a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv +++ b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv @@ -28,11 +28,8 @@ Forestry and logging,115000,115000 Fishing,114000,114000 Crustaceans and molluscs,114000,114000 Hard coal,212100,212100 -Lignite and peat,212100,212100 Petroleum extraction,211000,211000 -Petroleum extraction,213111,213111 Gas extraction,211000,211000 -Gas extraction,213111,213111 Iron ores,2122A0,2122A0 Uranium ores,2122A0,2122A0 Aluminium ore,2122A0,2122A0 @@ -47,7 +44,6 @@ Other non-ferrous ores,2122A0,2122A0 "Quarrying of stone, sand and clay",2123A0,2123A0 Chemical and fertilizer minerals,2123A0,2123A0 Extraction of salt,2123A0,2123A0 -Mining and quarrying n.e.c.; services to mining,2123A0,2123A0 Mining and quarrying n.e.c.; services to mining,21311A,21311A Beef meat,31161A,31161A Sheep meat,31161A,31161A From 99b38fd18c2cbfb968b340bf30083c324eb2fd71 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Fri, 3 Jan 2025 07:58:07 -0500 Subject: [PATCH 19/31] add year parameter to clean_mrio function; drop select gloria sectors with minimal output --- .../generate_import_factors.py | 8 +++-- import_emission_factors/gloria_helpers.py | 30 +++++++++++++++++-- 2 files changed, 33 insertions(+), 5 deletions(-) diff --git a/import_emission_factors/generate_import_factors.py b/import_emission_factors/generate_import_factors.py index 3e12bc3..6afed22 100644 --- a/import_emission_factors/generate_import_factors.py +++ b/import_emission_factors/generate_import_factors.py @@ -321,7 +321,7 @@ def pull_mrio_multipliers(year): mrio = pkl.load(open(file,'rb')) fields_to_rename = {**config['fields'], **config['flows']} - M_df = clean_mrio_M_matrix(mrio['M'], fields_to_rename) + M_df = clean_mrio_M_matrix(mrio['M'], fields_to_rename, year) M_df = M_df.assign(Year=str(year)) # # for impacts @@ -364,12 +364,12 @@ def process_mrio_data(year): fxn(year_start=year, year_end=year) -def clean_mrio_M_matrix(M, fields_to_rename): +def clean_mrio_M_matrix(M, fields_to_rename, year): ''' Wrapper function to call correct M matrix cleaning function for MRIO ''' fxn = extract_function_from_config('clean_M_function') - return fxn(M, fields_to_rename, mapping=config.get('mapping_file')) + return fxn(M, fields_to_rename, mapping=config.get('mapping_file'), year=year) def clean_mrio_trade_data(df): @@ -530,3 +530,5 @@ def extract_function_from_config(fkey): #%% if __name__ == '__main__': generate_import_emission_factors(years = years, schema = schema) + # multiplier_df = (pd.read_csv(out_Path /f'multiplier_df_{source}_2022_{str(schema)[-2:]}sch.csv') + # .query('Flow == "Carbon dioxide"')) diff --git a/import_emission_factors/gloria_helpers.py b/import_emission_factors/gloria_helpers.py index 28f8085..63a93f9 100644 --- a/import_emission_factors/gloria_helpers.py +++ b/import_emission_factors/gloria_helpers.py @@ -7,6 +7,7 @@ def clean_gloria_M_matrix(M, fields_to_rename, **kwargs): M_df = M.copy().reset_index() mapping = kwargs.get('mapping') + year = kwargs.get('year') M_df['flow'] = M_df['stressor'].map(fields_to_rename) missing = [k for k in fields_to_rename.keys() if k not in M_df['stressor'].values] @@ -22,13 +23,36 @@ def clean_gloria_M_matrix(M, fields_to_rename, **kwargs): M_df = (M_df .sort_index(axis=1) - .drop(columns=['stressor', 'category'], level=0) + .drop(columns=['stressor', 'category', 'ConversionFactor'], level=0) .groupby('flow').agg('sum') ) M_df = (M_df.transpose().reset_index() .rename(columns=fields_to_rename) ) + + from generate_import_factors import pull_mrio_data + # filter dataset with sectors that have reasonable output to avoid outliers + output = pull_mrio_data(year, 'output') + M_df = (M_df.merge(output, how = 'left') + .query('Output > 1') + .reset_index(drop=True) + .drop(columns='Output') + ) + + drop_list = [ + # ('CHL', 'Motor vehicles, trailers and semi-trailers'), + # ('BEL', 'Hard Coal'), + # ('HKG', 'Rubber products'), + # ('HKG', 'Plastic products'), + # ('HKG', 'Quarrying of stone, sand and clay'), + # ('HKG', 'Chemical and fertilizer minerals'), + ('SGP', 'Mining and quarrying n.e.c.; services to mining') + ] + for i in drop_list: + print(f'Dropping outliers for {": ".join(i)}') + M_df = (M_df.query('~(CountryCode == @i[0] and `MRIO Sector` == @i[1])') + .reset_index(drop=True)) return M_df def gloria_adjust_currency(df, year): @@ -39,4 +63,6 @@ def gloria_adjust_currency(df, year): return df def gloria_clean_trade(df): - return df.filter(['USA']).reset_index() + df = df.filter(['USA']).reset_index() + df.loc[df['USA'] < 0.01, 'USA'] = 0 # round down very small values + return df From 514a3d1194839c8ae73c8432aaa5b0e4e88d5313 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Fri, 3 Jan 2025 10:59:56 -0500 Subject: [PATCH 20/31] update country names --- .../data/gloria_country_names.csv | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/import_emission_factors/data/gloria_country_names.csv b/import_emission_factors/data/gloria_country_names.csv index 52fd275..602466f 100644 --- a/import_emission_factors/data/gloria_country_names.csv +++ b/import_emission_factors/data/gloria_country_names.csv @@ -30,8 +30,8 @@ CHL,Chile CHN,China CIV,Cote d'Ivoire CMR,Cameroon -COD,"Congo, Democratic Republic of the Congo (formerly Za" -COG,"Congo, Republic of the Congo" +COD,DR Congo +COG,Rep Congo COL,Colombia CRI,Costa Rica CUB,Cuba @@ -41,7 +41,7 @@ DEU,Germany DJI,Djibouti DNK,Denmark DOM,Dominican Republic -DYE,Yemen (Republic of Yemen) +DYE,DR Yemen (Aden) DZA,Algeria ECU,Ecuador EGY,Egypt @@ -82,7 +82,7 @@ KGZ,Kyrgyzstan KHM,Cambodia KOR,South Korea KWT,Kuwait -LAO,Laos (Lao People's Democratic Republic) +LAO,Laos LBN,Lebanon LBR,Liberia LBY,Libya @@ -115,7 +115,7 @@ PER,Peru PHL,Philippines PNG,Papua New Guinea POL,Poland -PRK,North Korea (Democratic People's Republic of Korea) +PRK,North Korea PRT,Portugal PRY,Paraguay QAT,Qatar @@ -134,7 +134,7 @@ SRB,Serbia SVK,Slovakia SVN,Slovenia SWE,Sweden -SYR,Syria (Syrian Arab Republic) +SYR,Syria TCD,Chad TGO,Togo THA,Thailand @@ -142,18 +142,18 @@ TJK,Tajikistan TKM,Turkmenistan TUN,Tunisia TUR,Turkey -TZA,Tanzania (United Republic of Tanzania) +TZA,Tanzania UGA,Uganda UKR,Ukraine URY,Uruguay -USA,United States +USA,United States of America UZB,Uzbekistan VEN,Venezuela -VNM,Vietnam +VNM,Viet Nam ZAF,South Africa ZMB,Zambia ZWE,Zimbabwe -XAF,UPDATE Rest of Africa -XAM,UPDATE Rest of America -XAS,UPDATE Rest of Asia -XEU,UPDATE Rest of Europe +XAF,Rest of Africa +XAM,Rest of Americas +XAS,Rest of Asia-Pacific +XEU,Rest of Europe From 7d22802f4bc36d70aced5e5fb808ddadf22f43d7 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Mon, 3 Mar 2025 15:25:10 -0500 Subject: [PATCH 21/31] update list of yellowthroat models --- models.csv | 5 +++++ models.md | 5 +++++ versioning/aliases.csv | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/models.csv b/models.csv index 84756d2..581aeb2 100644 --- a/models.csv +++ b/models.csv @@ -1,6 +1,11 @@ Model,Version,Years,Alias,Modelspec,Excel,RDS,API,JSON,Status StateEEIO v1.2-milkbar-YY,1.2.0,2012-2020,milkbar,,,,,,draft StateEEIO v1.2-shoofly-YY,1.2.0,2012-2020,shoofly,,,,,,draft +USEEIO v2.4-yellowthroat-17,2.4.0,2017,yellowthroat,,,,,,draft +USEEIO v2.4-yellowthroat-18,2.4.0,2018,yellowthroat,,,,,,draft +USEEIO v2.4-yellowthroat-19,2.4.0,2019,yellowthroat,,,,,,draft +USEEIO v2.4-yellowthroat-20,2.4.0,2020,yellowthroat,,,,,,draft +USEEIO v2.4-yellowthroat-21,2.4.0,2021,yellowthroat,,,,,,draft USEEIO v2.4-yellowthroat-22,2.4.0,2022,yellowthroat,,,,,,draft USEEIO v2.4-catbird-17,2.4.0,2017,catbird,,,,,,draft USEEIO v2.4-catbird-18,2.4.0,2018,catbird,,,,,,draft diff --git a/models.md b/models.md index 0031e91..58bb9be 100644 --- a/models.md +++ b/models.md @@ -5,6 +5,11 @@ More information for model given aliases and versions can be found below. | Model | Version | Years | Alias | Modelspec | Excel | RDS | API | JSON | Status | |-----------------------------|---------|-------|--------------|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|--------------|-----|------|-----------| +| USEEIO v2.4-yellowthroat-17 | 2.4.0 | 2017 | yellowthroat | | | | | | draft | +| USEEIO v2.4-yellowthroat-18 | 2.4.0 | 2018 | yellowthroat | | | | | | draft | +| USEEIO v2.4-yellowthroat-19 | 2.4.0 | 2019 | yellowthroat | | | | | | draft | +| USEEIO v2.4-yellowthroat-20 | 2.4.0 | 2020 | yellowthroat | | | | | | draft | +| USEEIO v2.4-yellowthroat-21 | 2.4.0 | 2021 | yellowthroat | | | | | | draft | | USEEIO v2.4-yellowthroat-22 | 2.4.0 | 2022 | yellowthroat | | | | | | draft | | USEEIO v2.4-catbird-17 | 2.4.0 | 2017 | catbird | | | | | | draft | | USEEIO v2.4-catbird-18 | 2.4.0 | 2018 | catbird | | | | | | draft | diff --git a/versioning/aliases.csv b/versioning/aliases.csv index a4a447b..60dfdfc 100644 --- a/versioning/aliases.csv +++ b/versioning/aliases.csv @@ -1,7 +1,7 @@ Alias,N or S,C or I,Sector Schema,Model Type,Price Type,IEF source,Extentions,Indicators milkbar,S,C,"BEA Summary 2012, utility disaggregation",EEIO,PRO,n.a.,, shoofly,S,C,BEA Summary 2012,EEIO,PRO,n.a.,, -yellowthroat,N,C,BEA Summary 2017,EEIO,PRO,GLORIA 2022,GHG_national_m2_v2.0.3,GHG (IPCC_AR6) +yellowthroat,N,C,BEA Summary 2017,EEIO,PRO,GLORIA v59a,"GHG_national_m2_v2.0.3, Raw_material_extraction_national_v2.0.2","GHG (IPCC_AR6), MF-Bio, MF-Fossil, MF-Metal, MF-Mineral" catbird,N,C,BEA Detail 2017,EEIO,PRO,CEDA 2024,GHG_national_m2_v2.0.3,GHG (IPCC_AR6) oriole,N,C,BEA Summary 2017,EEIO,PRO,CEDA 2024,GHG_national_m2_v2.0.3,GHG (IPCC_AR6) cherpumple,S,C,BEA Summary 2012,EEIO,PRO,EXIOBASE,GHG_state_m1_v2.0.0,GHG (IPCC_AR6) From 27d85191d7b272793a18a892b31dbaaa9a848978 Mon Sep 17 00:00:00 2001 From: WesIngwersen Date: Thu, 27 Mar 2025 15:48:21 -0400 Subject: [PATCH 22/31] Imrpove GLORIA-USEEIO commodity matching. Assume ISIC v4 for mapping check and use ISIC v4 manual along with NAICS 2017 index to check more closely for product correspondence - Add Well drilling match to mining and quarrying n.e.c.; services to mining - match compressed gases, synthetic rubber and plastics to Basic petrochemical products per ISIC v4 manual which includes "manufacture of liquefied or compressed inorganic industrial or medical gases" -Remove nonferrous metal casts from Basic iron and steel -Match 'All other forging, stamping, and sintering' to fabricated metal products and not basic iron and steel -Add match for 331410 to Basic Pb/Zn/Ag, Basic Ni, Basic Sn,Basic non-ferrous because 331410 includes all metals except Fe and Al -Add 331520 to all metals except Fe and Al and also not Au because no gold casts found -Match optical instrument and photography (333314,333316) to Computers; electronic products; optical and precision instruments instead of to Machinery and equipment -Remove mapping of used goods to materials recovery -Change Utilities construction to Civil Engineering, not Building Construction - Match 493000 to Services to transport because 493000 includes logistics - Change Vehicle rental and leasing, Commercial equipment rental, Consumer goods and general rental centers, and Lessors of nonfinancial intangible assets to Adminstrative services from Property and real estate, per Section N Adminstrative and support service activities of ISIC v4 - Change State and local government hospitals and health services mapping to Human heath and social work instead of Government - Change State and local government educational services to Education instead of Government --- ...LORIA_to_useeio2_commodity_concordance.csv | 45 ++++++++++--------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv index a9a523e..70b42df 100644 --- a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv +++ b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv @@ -1,4 +1,4 @@ -GLORIA Sector,USEEIO_Detail_2012,USEEIO_Detail_2017 +GLORIA Sector,USEEIO_Detail_2012,USEEIO_Detail_2017 Growing wheat,1111B0,1111B0 Growing maize,1111B0,1111B0 Growing cereals n.e.c,1111B0,1111B0 @@ -44,6 +44,7 @@ Other non-ferrous ores,2122A0,2122A0 "Quarrying of stone, sand and clay",2123A0,2123A0 Chemical and fertilizer minerals,2123A0,2123A0 Extraction of salt,2123A0,2123A0 +Mining and quarrying n.e.c.; services to mining,213111,213111 Mining and quarrying n.e.c.; services to mining,21311A,21311A Beef meat,31161A,31161A Sheep meat,31161A,31161A @@ -105,13 +106,15 @@ Printing,323110,323110 Printing,323120,323120 Coke oven products,324190,324190 Refined petroleum products,324110,324110 -Refined petroleum products,325120,325120 Refined petroleum products,324121,324121 Refined petroleum products,324122,324122 Refined petroleum products,324190,324190 Nitrogenous fertilizers,325310,325310 Non-nitrogenous and mixed fertilizers,325310,325310 Basic petrochemical products,325110,325110 +Basic petrochemical products,325120,325120 +Basic petrochemical products,3252A0,3252A0 +Basic petrochemical products,325211,325211 Basic inorganic chemicals,325180,325180 Basic organic chemicals,325190,325190 Pharmaceuticals and medicinal products,325411,325411 @@ -123,7 +126,6 @@ Pharmaceuticals and medicinal products,325414,325414 "Dyes, paints, glues, detergents and other chemical products",325620,325620 "Dyes, paints, glues, detergents and other chemical products",325910,325910 "Dyes, paints, glues, detergents and other chemical products",325130,325130 -"Dyes, paints, glues, detergents and other chemical products",325211,325211 "Dyes, paints, glues, detergents and other chemical products",325320,325320 "Dyes, paints, glues, detergents and other chemical products",325510,325510 "Dyes, paints, glues, detergents and other chemical products",3259A0,3259A0 @@ -149,27 +151,31 @@ Other non-metallic mineral products n.e.c.,327991,327991 Other non-metallic mineral products n.e.c.,327992,327992 Other non-metallic mineral products n.e.c.,327993,327993 Other non-metallic mineral products n.e.c.,327999,327999 -Basic iron and steel,331510,331510 -Basic iron and steel,33211A,33211A -Basic iron and steel,331520,331520 Basic iron and steel,331110,331110 Basic iron and steel,331200,331200 +Basic iron and steel,331510,331510 Basic aluminium,331313,331313 -Basic aluminium,331314,331314 Basic aluminium,33131B,33131B Basic Copper,331420,331420 Basic Copper,331410,331410 +Basic Copper,331520,331520 Basic Gold,331410,331410 +Basic Gold,331490,331490 +Basic lead/zinc/silver,331410,331410 Basic lead/zinc/silver,331490,331490 Basic lead/zinc/silver,331520,331520 +Basic nickel,331410,331410 Basic nickel,331490,331490 Basic nickel,331520,331520 +Basic tin,331410,331410 Basic tin,331490,331490 Basic tin,331520,331520 +Basic non-ferrous metals n.e.c.,331410,331410 Basic non-ferrous metals n.e.c.,331520,331520 Basic non-ferrous metals n.e.c.,331490,331490 Fabricated metal products,332119,332119 Fabricated metal products,332114,332114 +Fabricated metal products,33211A,33211A Fabricated metal products,332200,332200 Fabricated metal products,332410,332410 Fabricated metal products,332310,332310 @@ -193,8 +199,6 @@ Machinery and equipment,333120,333120 Machinery and equipment,333130,333130 Machinery and equipment,333242,333242 Machinery and equipment,33329A,33329A -Machinery and equipment,333314,333314 -Machinery and equipment,333316,333316 Machinery and equipment,333318,333318 Machinery and equipment,333413,333413 Machinery and equipment,333414,333414 @@ -243,6 +247,8 @@ Other transport equipment,336999,336999 Repair and installation of machinery and equipment (service),811200,811200 Repair and installation of machinery and equipment (service),811300,811300 Repair and installation of machinery and equipment (service),811400,811400 +Computers; electronic products; optical and precision instruments,333314,333314 +Computers; electronic products; optical and precision instruments,333316,333316 Computers; electronic products; optical and precision instruments,334111,334111 Computers; electronic products; optical and precision instruments,334112,334112 Computers; electronic products; optical and precision instruments,334118,334118 @@ -316,12 +322,10 @@ Distribution of gaseous fuels through mains,221200,221200 "Waste collection, treatment, and disposal",562998,562000 Materials recovery,562920,562000 Materials recovery,S00401,S00401 -Materials recovery,S00402,S00402 Building construction,230301,230301 Building construction,230302,230302 Building construction,233210,233210 Building construction,233230,233230 -Building construction,233240,233240 Building construction,233262,233262 Building construction,2332A0,2332A0 Building construction,2332D0,2332D0 @@ -329,6 +333,7 @@ Building construction,233411,233411 Building construction,233412,233412 Building construction,2334A0,2334A0 Civil engineering construction,2332C0,2332C0 +Civil engineering construction,233240,233240 Wholesale and retail trade; repair of motor vehicles and motorcycles,423100,423100 Wholesale and retail trade; repair of motor vehicles and motorcycles,423400,423400 Wholesale and retail trade; repair of motor vehicles and motorcycles,423600,423600 @@ -355,7 +360,7 @@ Rail transport,482000,482000 Transport via pipeline,486000,486000 Water transport,483000,483000 Air transport,481000,481000 -Services to transport,, +Services to transport,493000,493000 Postal and courier services,492000,492000 Hospitality,721000,721000 Hospitality,722110,722110 @@ -385,10 +390,6 @@ Finance and insurance,52A000,52A000 Property and real estate,531HSO,531HSO Property and real estate,531HST,531HST Property and real estate,531ORE,531ORE -Property and real estate,532100,532100 -Property and real estate,532400,532400 -Property and real estate,532A00,532A00 -Property and real estate,533000,533000 "Professional, scientific and technical services",541100,541100 "Professional, scientific and technical services",541200,541200 "Professional, scientific and technical services",541300,541300 @@ -403,6 +404,10 @@ Property and real estate,533000,533000 "Professional, scientific and technical services",541920,541920 "Professional, scientific and technical services",541940,541940 "Professional, scientific and technical services",5419A0,5419A0 +Administrative services,532100,532100 +Administrative services,532400,532400 +Administrative services,532A00,532A00 +Administrative services,533000,533000 Administrative services,561100,561100 Administrative services,561200,561200 Administrative services,561300,561300 @@ -411,19 +416,15 @@ Administrative services,561500,561500 Administrative services,561600,561600 Administrative services,561700,561700 Administrative services,561900,561900 -Government; social security; defence; public order,GSLGE,GSLGE -Government; social security; defence; public order,GSLGH,GSLGH Government; social security; defence; public order,GSLGO,GSLGO -Government; social security; defence; public order,S00101,S00101 -Government; social security; defence; public order,S00201,S00201 Government; social security; defence; public order,S00102,S00102 Government; social security; defence; public order,S00203,S00203 -Government; social security; defence; public order,S00202,S00202 Government; social security; defence; public order,S00500,S00500 Government; social security; defence; public order,S00600,S00600 Education,611100,611100 Education,611A00,611A00 Education,611B00,611B00 +Education,GSLGE,GSLGE Human health and social work activities,621100,621100 Human health and social work activities,621200,621200 Human health and social work activities,621300,621300 @@ -437,6 +438,7 @@ Human health and social work activities,623B00,623B00 Human health and social work activities,624100,624100 Human health and social work activities,624400,624400 Human health and social work activities,624A00,624A00 +Human health and social work activities,GSLGH,GSLGH "Arts, entertainment and recreation",711100,711100 "Arts, entertainment and recreation",711200,711200 "Arts, entertainment and recreation",711500,711500 @@ -453,4 +455,3 @@ Other services,813100,813100 Other services,813A00,813A00 Other services,813B00,813B00 Other services,814000,814000 -Other services,S00300,S00300 From eabccea9631bf14243275b3587778d7481ef296f Mon Sep 17 00:00:00 2001 From: WesIngwersen Date: Mon, 31 Mar 2025 16:33:30 -0400 Subject: [PATCH 23/31] - Move radio, television to Publishing and add Sound recording and movies - Add 48A000 (sight seeing and transport services) to Services to transport --- .../GLORIA_to_useeio2_commodity_concordance.csv | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv index 70b42df..0f718c0 100644 --- a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv +++ b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv @@ -361,6 +361,7 @@ Transport via pipeline,486000,486000 Water transport,483000,483000 Air transport,481000,481000 Services to transport,493000,493000 +Services to transport,48A000,48A000 Postal and courier services,492000,492000 Hospitality,721000,721000 Hospitality,722110,722110 @@ -371,8 +372,10 @@ Publishing,511120,511120 Publishing,511130,511130 Publishing,5111A0,5111A0 Publishing,511200,511200 -Telecommunications,515100,515100 -Telecommunications,515200,515200 +Publishing,512100,512100 +Publishing,512200,512200 +Publishing,515100,515100 +Publishing,515200,515200 Telecommunications,517110,517110 Telecommunications,517210,517210 Telecommunications,517A00,517A00 From 8b4e0762a390cbd09ccf7c48b5f664bccfea82ef Mon Sep 17 00:00:00 2001 From: WesIngwersen Date: Mon, 31 Mar 2025 16:43:23 -0400 Subject: [PATCH 24/31] Add script check_for_missing_USEEIO_sectors_in_crosswalk.py --- ...for_missing_USEEIO_sectors_in_crosswalk.py | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 import_emission_factors/scripts/check_for_missing_USEEIO_sectors_in_crosswalk.py diff --git a/import_emission_factors/scripts/check_for_missing_USEEIO_sectors_in_crosswalk.py b/import_emission_factors/scripts/check_for_missing_USEEIO_sectors_in_crosswalk.py new file mode 100644 index 0000000..e08bd4d --- /dev/null +++ b/import_emission_factors/scripts/check_for_missing_USEEIO_sectors_in_crosswalk.py @@ -0,0 +1,22 @@ +''' +Can check for USEEIO model sectors that do not have mappings in crosswalk +CAUTION: DOES NOT YET DYNAMICALLY CHANGE IEF Source; its grabbing source that is set in generate_import_factors.py +''' + +import pandas as pd +from import_emission_factors.generate_import_factors import get_mrio_to_useeio_concordance + +schema = 2017 + + +cw = get_mrio_to_useeio_concordance(schema) +useeio_sectors_in_cw = set(pd.unique(cw.get('BEA Detail').values)) + +useeio_sectors = pd.read_csv("import_emission_factors/concordances/useeio_internal_concordance.csv") +useeio_sectors = set(pd.unique(useeio_sectors.get('USEEIO_Detail_2017'))) + +sector_missing_in_cw = useeio_sectors - useeio_sectors_in_cw + +print(sector_missing_in_cw) + + From db6f9f52b65898b030c729f52b34ecc6dfa86926 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Tue, 8 Apr 2025 10:16:54 -0400 Subject: [PATCH 25/31] fix check of missing countries --- .../concordances/GLORIA_country_concordance.csv | 10 +++++----- import_emission_factors/generate_import_factors.py | 3 +-- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/import_emission_factors/concordances/GLORIA_country_concordance.csv b/import_emission_factors/concordances/GLORIA_country_concordance.csv index 8f78298..9391a50 100644 --- a/import_emission_factors/concordances/GLORIA_country_concordance.csv +++ b/import_emission_factors/concordances/GLORIA_country_concordance.csv @@ -83,7 +83,7 @@ Finland,FI,FIN France,FR,FRA French Guiana,GF,XAM French Polynesia,PF,XAS -French Southern and Antarctic Lands,TF, +French Southern and Antarctic Lands,TF,XAF Gabon,GA,GAB Gambia,GM,GMB Gaza Strip administered by Israel,GZ,XAS @@ -101,7 +101,7 @@ Guinea,GN,GIN Guinea-Bissau,GW,XAF Guyana,GY,XAM Haiti,HT,HTI -Heard Island and McDonald Islands,HM, +Heard Island and McDonald Islands,HM,XAS Holy See (Vatican City),VA,XEU Honduras,HN,HND Hong Kong,HK,HKG @@ -176,8 +176,8 @@ Other Asia and Pacific (International Services Trade),,XAS Other Europe (International Services Trade),,XEU Other Middle East (International Services Trade),,XAS Other South And Central America (International Services Trade),,XAM -Other Western Hemisphere,, -"Other Western Hemisphere, Other (International Services Trade)",, +Other Western Hemisphere,,XAM +"Other Western Hemisphere, Other (International Services Trade)",,XAM Pakistan,PK,PAK Palau,PW,XAS Panama,PA,PAN @@ -193,7 +193,7 @@ Reunion,RE,XAF Romania,RO,ROU Russia,RU,RUS Rwanda,RW,RWA -Saint Helena,SH, +Saint Helena,SH,XAF Saint Kitts and Nevis,KN,XAM Saint Lucia,LC,XAM Saint Pierre and Miquelon,PM,XAM diff --git a/import_emission_factors/generate_import_factors.py b/import_emission_factors/generate_import_factors.py index 6afed22..c0da71e 100644 --- a/import_emission_factors/generate_import_factors.py +++ b/import_emission_factors/generate_import_factors.py @@ -302,8 +302,7 @@ def map_mrio_countires(df): path = conPath / f'{source}_country_concordance.csv' codes = pd.read_csv(path, dtype=str, usecols=['Country', 'CountryCode']) df = df.merge(codes, on='Country', how='left', validate='m:1') - missing = (set(df[df.isnull().any(axis=1)]['Country']) - - set(codes['Country'])) + missing = (set(df[df.isnull().any(axis=1)]['Country'])) if len(missing) > 0: print(f'WARNING: missing countries in correspondence: {missing}') From fb807d07b4495563e6715c3a0ddad3764f726a3d Mon Sep 17 00:00:00 2001 From: Ben Young Date: Tue, 8 Apr 2025 10:20:13 -0400 Subject: [PATCH 26/31] add warning for additional country checks after merge --- .../concordances/GLORIA_country_concordance.csv | 2 +- import_emission_factors/data/gloria_country_names.csv | 2 +- import_emission_factors/generate_import_factors.py | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/import_emission_factors/concordances/GLORIA_country_concordance.csv b/import_emission_factors/concordances/GLORIA_country_concordance.csv index 9391a50..9447066 100644 --- a/import_emission_factors/concordances/GLORIA_country_concordance.csv +++ b/import_emission_factors/concordances/GLORIA_country_concordance.csv @@ -252,6 +252,6 @@ Venezuela,VE,VEN Vietnam,VN,VNM Wallis and Futuna,WF,XAS West Bank administered by Israel,WE,XAS -Yemen (Republic of Yemen),YE,DYE +Yemen (Republic of Yemen),YE,YEM Zambia,ZM,ZMB Zimbabwe,ZW,ZWE diff --git a/import_emission_factors/data/gloria_country_names.csv b/import_emission_factors/data/gloria_country_names.csv index 602466f..10ba78f 100644 --- a/import_emission_factors/data/gloria_country_names.csv +++ b/import_emission_factors/data/gloria_country_names.csv @@ -41,7 +41,7 @@ DEU,Germany DJI,Djibouti DNK,Denmark DOM,Dominican Republic -DYE,DR Yemen (Aden) +YEM,Yemen (Republic of Yemen) DZA,Algeria ECU,Ecuador EGY,Egypt diff --git a/import_emission_factors/generate_import_factors.py b/import_emission_factors/generate_import_factors.py index c0da71e..f433d9a 100644 --- a/import_emission_factors/generate_import_factors.py +++ b/import_emission_factors/generate_import_factors.py @@ -128,6 +128,9 @@ def generate_import_emission_factors(years: list, schema=2012, calc_tiva=False): on=['CountryCode', 'BEA Detail', 'BEA Summary']) .merge(mrio_country_names, on='CountryCode', validate='m:1') ) + missing = set(imports_agg['CountryCode']) - set(agg['CountryCode']) + if(len(missing) > 0): + print(f'WARNING: missing countries in correspondence: {missing}') ## NOTE: If in future more physical data are brought in, the code ## is unable to distinguish and sort out mismatches by detail/ ## summary sectors. From 08ff1881556fa33cd15ef5b7147055a26a00e54b Mon Sep 17 00:00:00 2001 From: Ben Young Date: Tue, 8 Apr 2025 10:37:42 -0400 Subject: [PATCH 27/31] add additoinal check for missing sectors --- import_emission_factors/generate_import_factors.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/import_emission_factors/generate_import_factors.py b/import_emission_factors/generate_import_factors.py index f433d9a..34cc313 100644 --- a/import_emission_factors/generate_import_factors.py +++ b/import_emission_factors/generate_import_factors.py @@ -131,6 +131,19 @@ def generate_import_emission_factors(years: list, schema=2012, calc_tiva=False): missing = set(imports_agg['CountryCode']) - set(agg['CountryCode']) if(len(missing) > 0): print(f'WARNING: missing countries in correspondence: {missing}') + + # Check for sectors missing from MRIO mapping file + check = pd.concat([ + imports_agg.query('cntry_cntrb_to_national_detail > 0')[['BEA Summary', 'BEA Detail']].drop_duplicates().assign(source='imports'), + agg[['BEA Summary', 'BEA Detail']].drop_duplicates().assign(source='mrio')], + ignore_index=True) + duplicates = check.duplicated(keep=False, subset=['BEA Summary', 'BEA Detail']) + check_unique = check[~duplicates] + missing = check_unique.query('source == "imports"').sort_values(by='BEA Summary') + if(len(missing) > 0): + print(f'WARNING: sectors with imports not found in MRIO: \n', + f'{missing.drop(columns="source")}') + ## NOTE: If in future more physical data are brought in, the code ## is unable to distinguish and sort out mismatches by detail/ ## summary sectors. From d90b3e052e1bef75a1ef6740e137ee9a98a5ba32 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Tue, 8 Apr 2025 10:38:46 -0400 Subject: [PATCH 28/31] add back S00101 and 491000, use the same mapping as s00102 to align with the imports mapping for all GFE in the BEA service mapping concordance --- .../concordances/GLORIA_to_useeio2_commodity_concordance.csv | 2 ++ 1 file changed, 2 insertions(+) diff --git a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv index 0f718c0..9b963b9 100644 --- a/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv +++ b/import_emission_factors/concordances/GLORIA_to_useeio2_commodity_concordance.csv @@ -420,6 +420,8 @@ Administrative services,561600,561600 Administrative services,561700,561700 Administrative services,561900,561900 Government; social security; defence; public order,GSLGO,GSLGO +Government; social security; defence; public order,491000,491000 +Government; social security; defence; public order,S00101,S00101 Government; social security; defence; public order,S00102,S00102 Government; social security; defence; public order,S00203,S00203 Government; social security; defence; public order,S00500,S00500 From 82cac1b59a4683d20e11dc16b1bdfe041c920b35 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Tue, 8 Apr 2025 11:01:36 -0400 Subject: [PATCH 29/31] add check for final df for missing contributions --- import_emission_factors/generate_import_factors.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/import_emission_factors/generate_import_factors.py b/import_emission_factors/generate_import_factors.py index 34cc313..aa82993 100644 --- a/import_emission_factors/generate_import_factors.py +++ b/import_emission_factors/generate_import_factors.py @@ -142,12 +142,21 @@ def generate_import_emission_factors(years: list, schema=2012, calc_tiva=False): missing = check_unique.query('source == "imports"').sort_values(by='BEA Summary') if(len(missing) > 0): print(f'WARNING: sectors with imports not found in MRIO: \n', - f'{missing.drop(columns="source")}') + f'{missing.drop(columns="source").to_string(index=False)}') ## NOTE: If in future more physical data are brought in, the code ## is unable to distinguish and sort out mismatches by detail/ ## summary sectors. multiplier_df = df_prepare(multiplier_df, year) + check = (multiplier_df + .query('Flow == @multiplier_df["Flow"][0]') + .groupby(['BEA Summary']).agg({'cntry_cntrb_to_national_summary':'sum'}) + .rename(columns={'cntry_cntrb_to_national_summary': 'contrib'}) + .query('contrib > 0 and contrib <= 0.9999') + ) + if(len(check) > 0): + print(f'WARNING: some sectors may have missing data: \n' + f'{check.to_string(index=True)}') multiplier_df.to_csv( out_Path /f'multiplier_df_{source}_{year}_{str(schema)[-2:]}sch.csv', index=False) calculate_and_store_emission_factors(multiplier_df) From de58bfd61ce8b0404fa4abea9ff57632a3a832d0 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Tue, 8 Apr 2025 15:04:28 -0400 Subject: [PATCH 30/31] drop specific sector/country combinations; isntead use an output based cutoff #61 --- import_emission_factors/gloria_helpers.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/import_emission_factors/gloria_helpers.py b/import_emission_factors/gloria_helpers.py index 63a93f9..d2e4bcc 100644 --- a/import_emission_factors/gloria_helpers.py +++ b/import_emission_factors/gloria_helpers.py @@ -35,10 +35,11 @@ def clean_gloria_M_matrix(M, fields_to_rename, **kwargs): # filter dataset with sectors that have reasonable output to avoid outliers output = pull_mrio_data(year, 'output') M_df = (M_df.merge(output, how = 'left') - .query('Output > 1') + .query('Output > 1000') .reset_index(drop=True) .drop(columns='Output') ) + ## ^^ Note that dropping rows can impact the trade contributions later drop_list = [ # ('CHL', 'Motor vehicles, trailers and semi-trailers'), @@ -47,7 +48,7 @@ def clean_gloria_M_matrix(M, fields_to_rename, **kwargs): # ('HKG', 'Plastic products'), # ('HKG', 'Quarrying of stone, sand and clay'), # ('HKG', 'Chemical and fertilizer minerals'), - ('SGP', 'Mining and quarrying n.e.c.; services to mining') + # ('SGP', 'Mining and quarrying n.e.c.; services to mining') ] for i in drop_list: print(f'Dropping outliers for {": ".join(i)}') From 66ac8296651d8db1c9add681a76a85877ce04b22 Mon Sep 17 00:00:00 2001 From: Ben Young Date: Wed, 16 Apr 2025 14:15:40 -0400 Subject: [PATCH 31/31] add updated detail models --- models.csv | 2 ++ models.md | 2 ++ versioning/aliases.csv | 1 + 3 files changed, 5 insertions(+) diff --git a/models.csv b/models.csv index a0b8395..845746a 100644 --- a/models.csv +++ b/models.csv @@ -1,4 +1,5 @@ Model,Version,Years,Alias,Modelspec,Excel,RDS,API,JSON,Status +USEEIO v2.5-kinglet-22,2.5,2022,kinglet,,,,,,draft USEEIO v2.5-kingbird-17,2.5,2017,kingbird,,,,,,draft USEEIO v2.5-kingbird-18,2.5,2018,kingbird,,,,,,draft USEEIO v2.5-kingbird-19,2.5,2019,kingbird,,,,,,draft @@ -8,6 +9,7 @@ USEEIO v2.5-kingbird-22,2.5,2022,kingbird,,,,,,draft StateEEIO v1.3-pecan-YY,1.3.0,2012-2023,pecan,,,,,,draft StateEEIO v1.2-milkbar-YY,1.2.0,2012-2020,milkbar,,,,,,internal StateEEIO v1.2-shoofly-YY,1.2.0,2012-2020,shoofly,,,,,,internal +USEEIO v2.5-waxwing-22,2.5,2022,waxwing,,,,,,draft USEEIO v2.5-yellowthroat-17,2.5,2017,yellowthroat,,,,,,draft USEEIO v2.5-yellowthroat-18,2.5,2018,yellowthroat,,,,,,draft USEEIO v2.5-yellowthroat-19,2.5,2019,yellowthroat,,,,,,draft diff --git a/models.md b/models.md index 410df4e..c1d667f 100644 --- a/models.md +++ b/models.md @@ -5,6 +5,7 @@ More information for model given aliases and versions can be found below. | Model | Version | Years | Alias | Modelspec | Excel | RDS | API | JSON | Status | |-----------------------------|---------|-------|--------------|-----------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------|--------------|-----|------|-----------| +| USEEIO v2.5-kinglet-22 | 2.5 | 2022 | kinglet | | | | | | draft | | USEEIO v2.5-kingbird-17 | 2.5 | 2017 | kingbird | | | | | | draft | | USEEIO v2.5-kingbird-18 | 2.5 | 2018 | kingbird | | | | | | draft | | USEEIO v2.5-kingbird-19 | 2.5 | 2019 | kingbird | | | | | | draft | @@ -15,6 +16,7 @@ More information for model given aliases and versions can be found below. | StateEEIO v1.3-pecan-YY | 1.3.0 | 2012-2023 | pecan | | | | | | draft | | StateEEIO v1.2-milkbar-YY | 1.2.0 | 2012-2020 | milkbar | | | | | | internal | | StateEEIO v1.2-shoofly-YY | 1.2.0 | 2012-2020 | shoofly | | | | | | internal | +| USEEIO v2.5-waxwing-22 | 2.5 | 2022 | waxwing | | | | | | draft | | USEEIO v2.5-yellowthroat-17 | 2.5 | 2017 | yellowthroat | | | | | | draft | | USEEIO v2.5-yellowthroat-18 | 2.5 | 2018 | yellowthroat | | | | | | draft | | USEEIO v2.5-yellowthroat-19 | 2.5 | 2019 | yellowthroat | | | | | | draft | diff --git a/versioning/aliases.csv b/versioning/aliases.csv index f91a14b..c0ddd22 100644 --- a/versioning/aliases.csv +++ b/versioning/aliases.csv @@ -2,6 +2,7 @@ Alias,N or S,C or I,Sector Schema,Model Type,Price Type,IEF source,Extentions,In pecan,S,C,BEA Summary 2017,EEIO,PRO,,, milkbar,S,C,"BEA Summary 2012, utility disaggregation",EEIO,PRO,n.a.,, shoofly,S,C,BEA Summary 2012,EEIO,PRO,n.a.,, +waxwing,N,C,BEA Detail 2017,EEIO,PRO,GLORIA v59a,"GHG_national_m2_v2.0.3, Raw_material_extraction_national_v2.0.2","GHG (IPCC_AR6), MF-Bio, MF-Fossil, MF-Metal, MF-Mineral" yellowthroat,N,C,BEA Summary 2017,EEIO,PRO,GLORIA v59a,"GHG_national_m2_v2.0.3, Raw_material_extraction_national_v2.0.2","GHG (IPCC_AR6), MF-Bio, MF-Fossil, MF-Metal, MF-Mineral" catbird,N,C,BEA Detail 2017,EEIO,PRO,CEDA 2024,GHG_national_m2_v2.0.3,GHG (IPCC_AR6) oriole,N,C,BEA Summary 2017,EEIO,PRO,CEDA 2024,GHG_national_m2_v2.0.3,GHG (IPCC_AR6)