Part 2:

Content and Format of Data Files


9. Listing of Files Provided

The following is a listing of the files that comprise the CO2-emissions database and are distributed along with this documentation. These files are available in numerous ways and on a variety of media (see Sect. 7, "How To Obtain The Data"). This listing has been organized to reflect a 9-track magnetic tape request. The record formats, record lengths, and block sizes shown are the default file parameters for those not specifying these parameters when requesting machine-readable data files on 9-track magnetic tape. The default tape density, tape labelling, and file characters are 6250 BPI, nonlabelled, and ASCII, respectively.


File number, File size Logical Record Block Record
description, and name (megabytes) records format size length

1. General descriptive
information file (readme) 0.029 622 FBa 8000 80
2. FORTRAN 77 data retrieval
code to read and print the files
(files 4 and 5) containing the United
Nations gas and solid energy statistics
used to calculate the global, regional,
and national CO2-emissions
estimates (energy92.for) 0.001 30 FB 8000 80
3. SAS® code to read and
print files 4 or 5 (energy92.sas) 0.001 14 FB 8000 80
4. Gas fuel energy statistics from
the United Nations Energy
Statistics Database that were used
in calculating the CO2-emissions
estimates (gas92.dat) 0.391 9526 FB 4000 40
5. Solid fuel energy statistics from
the United Nations Energy
Statistics Database that were used
in calculating the CO2-emissions
estimates (solid92.dat) 1.208 29454 FB 4000 40
6. FORTRAN 77 data retrieval
code to read and print the file
(file 8) containing the United
Nations liquid energy statistics
used to calculate the global, regional,
and national CO2-emissions
estimates (liquid92.for) 0.001 30 FB 8000 80
7. SAS® code to read and
print file 8 (liquid92.sas) 0.001 6 FB 8000 80
8. Liquid fuel energy statistics from
the United Nations Energy
Statistics Database that were used
in calculating the CO2-emissions
estimates (liquid92.dat) 5.495 124909 FB 4300 43
9. Country codes that appear in the
United Nations Energy Statistics
Database (country.cod) 0.004 263 FB 6000 60
10. FORTRAN 77 data retrieval code
to read and print the file (file 12)
containing the conversion factors
provided by the United Nations to
convert solid fuel statistics from mass
units to energy units (factor92.for) 0.001 31 FB 8000 80
11. SAS® code to read and print file 12
(factor92.sas) 0.001 7 FB 8000 80
12. Conversion factors furnished by the
United Nations to convert solid fuel
statistics from mass units to energy
units (factor92.dat) 0.189 8977 FB 2400 24
13. FORTRAN 77 data retrieval code
to read and print the file (file 15)
containing the hydraulic cement
production estimates published
by the U.S. Department of Interior's
Bureau of Mines (cement92.for) 0.001 25 FB 8000 80
14. SAS® code to read and
print file 15 (cement92.sas) 0.001 14FB 8000 80
15. Hydraulic cement production
estimates published by the U.S.
Department of Interior's Bureau
of Mines (cement92.dat) 0.104 4698 FB 2100 21
16. FORTRAN 77 data retrieval code
to read and print the file (file 18)
containing UN and U.S. DOE EIA
gas flaring estimates (flare92.for) 0.001 24 FB 8000 80
17. SAS® code to read and print
file 16 (flare92.sas) 0.001 13 FB 800080
18. Gas flaring estimates from the
United Nations Energy Statistics
Database that were supplemented
with gas flaring estimates provided
by the U.S. Department of
Energy's Energy Information
Administration (flare92.dat) 0.027 1353 FB 2300 23
19. FORTRAN 77 data retrieval code
to read and print the file (file 21)
containing the national CO2-
emission estimates (nation92.for) 0.001 38 FB 8000 80
20. SAS® code to read and print
file 21 (nation92.sas) 0.001 16 FB 8000 80
21. National annual CO2-emission
estimates from fossil-fuel
consumption, cement production,
and gas flaring for 1950-1992
(nation92.ems) 0.655 8080 FB 8000 80
22. FORTRAN 77 retrieval code
to read and print the file (file 24)
containing the regional CO2-
emission estimates (region92.for) 0.001 38 FB 8000 80
23. SAS® code to read and
print file 23 (region92.sas) 0.001 14 FB 8000 80
24. Regional annual CO2-emission
estimates from fossil-fuel
consumption, cement production,
and gas flaring for 1950-1992
(region92.ems) 0.030 443 FB 6800 68
25. Country codes assigned to each
of ten regions (region.def) 0.001 60 FB 5900 59
26. FORTRAN 77 retrieval code
to read and print the file (file 28)
containing the global CO2-
emission estimates (global92.for) 0.001 37 FB 8000 80
27. SAS® code to read and print
file 28 (global92.sas) 0.001 14 FB 8000 80
28. Global annual CO2-emission
estimates from fossil-fuel
consumption, cement production,
and gas flaring for 1950-1992
(global92.ems) 0.001 56 FB 7300 73
Total size and number of records 8.155 188,792

a FB = fixed block
SAS® is the registered trademark of SAS Institute Inc., Cary, North Carolina 27511-8000

10. File Descriptions

The following is a listing of the descriptive file (i.e., readme) provided by the Carbon Dioxide Information Analysis Center along with this documentation and the other data files that comprise the CO2-emissions database. This file is intended to provide all the information (i.e., variable descriptions, formats, units) needed by the user to understand the content and format of each data file.

Dataset Title: Estimates of Global, Regional, and National Annual CO2 Emissions from Fossil-Fuel Burning, Hydraulic Cement Production, and Gas Flaring: 1950-1992

Principal Investigators

Tom Boden
Gregg Marland
Environmental Sciences Division
Oak Ridge National Laboratory
Oak Ridge, Tennessee 37831-6335
Bob Andres
Institute of Northern Engineering
School of Engineering
University of Alaska-Fairbanks
Fairbanks, Alaska 99775-5900


Source and Scope of the Data: The data files presented here include global, regional, and national estimates of CO2 emissions from fossil-fuel burning, gas flaring, and cement production along with the data used to make these estimates. Global, regional, and national CO2-emission estimates are provided for each year from 1950 to 1992. These CO2-emission estimates were derived principally from energy statistics published by the United Nations (UN) and calculated using the methods of Marland and Rotty (1984). Emission estimates from cement production were derived solely from cement production data published by the U.S. Department of Interior's Bureau of Mines. Emission estimates from gas flaring were derived primarily from gas-flaring estimates provided in the UN Energy Statistics (UNSTAT) Database and were supplemented with flaring estimates furnished by the U.S. Department of Energy's Energy Information Administration (DOE/EIA). Per capita estimates of CO2 emissions are provided and were calculated with population data provided by the UN.

Data files: The following 28 files comprise the CO2-emissions database.

Data File Formats

Three files (gas92.dat, liquid92.dat, and solid92.dat) are provided that collectively offer the energy statistics from the UNSTAT Database that were used to generate the global, regional, and national CO2-emission estimates. A single file is presented for each major fuel category (i.e., gas, liquid, and solid fuels) and each file is sorted in ascending order by a country code, year, and commodity code (e.g., AV = aviation gasoline, CL = coal). Therefore, all the data for Afghanistan (country code 004) are presented first and all the data for Zambia (country code 894) are presented last. The file gas92.dat contains 9513 records from 109 countries; the file liquid92.dat contains 124,909 records from 238 countries; and the file solid92.dat contains 29,441 records from 171 countries. The gas and solid files (gas92.dat and solid92.dat) may be read by using the following FORTRAN 77 format:

       CHARACTER CDTY*2,FORM*4,TRANS*7,QCODE*3
       INTEGER COUNTRY,YEAR,QUANTITY
       READ(5,20,END=999) COUNTRY,YEAR,CDTY,FORM,TRANS,
     1  QUANTITY,QCODE
 20    FORMAT(I3,1X,I4,1X,A2,1X,A4,1X,A7,1X,I11,1X,A3)

or by using the following SAS® input statement:

input country 1-3 year 5-8 cdty $ 10-11 form $ 13-16 trans $ 18-24
      quantity 26-36 qcode $ 38-40;

The file containing the UNSTAT liquid fuel energy statistics (liquid92.dat) is formatted in a slightly different manner than the gas and liquid files and may be read by using the following FORTRAN 77 format:

       CHARACTER CDTY*2,FORM*7,TRANS*7,QCODE*3
       INTEGER COUNTRY,YEAR,QUANTITY
       READ(5,20,END=999) COUNTRY,YEAR,CDTY,FORM,TRANS,
     1  QUANTITY,QCODE
 20    FORMAT(I3,1X,I4,1X,A2,1X,A7,1X,A7,1X,I11,1X,A3)

or by using the following SAS® input statement:

input country 1-3 year 5-8 cdty $ 10-11 form $ 13-19 trans $ 21-27
      quantity 29-39 qcode $ 41-43;

Stated in tabular form, the energy statistics subsets include the following. Differences between the file containing the liquid fuel energy statistics and the files containing the gas and solid fuel energy statistics are noted in parentheses.


Variable Variable Starting Ending
Variable type width column column

COUNTRY Numeric 3 1 3
YEAR Numeric 4 5 8
CDTY Character 2 10 11
FORM Alphanumeric 4 (7) 13 16 (19)
TRANS Alphanumeric 6 18 (21) 24 (27)
QUANTITY Numeric 11 26 (29) 36 (39)
QCODE Character 3 38 (41) 40 (43)

where:

COUNTRYis a one-to-three-digit country code (4-894). A complete list of these codes and the nations they represent is provided in Tables 1 and 2 of the documentation or in the file country.cod.
YEARis the year. Values range from 1950 to 1992.
CDTYis a two-letter commodity or fuel-type code. The codes and fuels they represent are as follows:

Gas fuels

GG - gasworks gas
NG - natural gas
OG - coke-oven gas
RG - refinery gas

Liquid fuels

AV - aviation gasoline
BT - bitumen/asphalt
CD - plant condensate
CR - crude petroleum
DL - gas-diesel oil
FS - feedstocks
GL - natural gas liquids
JF - jet fuel
KR - kerosene
LP - liquefied petroleum gas
LU - lubricants
MO - motor gasoline
NP - naphtha
NT - natural gasoline
PK - petroleum coke
PP - other petroleum products
PW - petroleum wax
RF - residual fuel oil
WS - white spirit/industrial spirit

Solid fuels

BB - lignite (brown coal) briquettes
BC - hard coal (patent fuel) briquettes
BK - brown coal coke
BP - peat briquettes
CL - coal
GK - gas coke
LB - lignite/brown coal
OK - coke-oven coke
OS - oil shale
PT - peat

FORMis an alphanumeric code that designates the type of fuel (i.e, GAS, LIQ, or SOL), whether the fuel is a primary or secondary fuel type (i.e., GAS1, GAS2, SOL1, SOL2, and LIQ1), and whether the fuel is a secondary liquid energy or nonenergy fuel type (i.e., LIQ2 or LIQ2NON). The form codes and fuels (commodity codes shown in parentheses) assigned to each form code are as follows:

GAS1 - natural gas (NG),
GAS2 - gasworks gas (GG), coke-oven gas (OG), and refinery gas (RG),
LIQ1 - crude petroleum (CR) and natural gas liquids (GL),
LIQ2 - aviation gasoline (AV), motor gasoline (MO), natural gasoline (NT), jet fuel (JF), kerosene (KR), gas-diesel oils (DL), residual fuel oils (RF), liquified petroleum gas (LP), feedstocks (FS), and plant condensate (CD),
LIQ2NON - naphthas (NP), white spirit/industrial spirit (WS), lubricants (LU), bitumen/asphalt (BT), petroleum wax (PW), petroleum coke (PK), and other petroleum products (PP),
SOL1 - coal (CL), lignite-brown coal (LB), peat (PT), and oil shale (OS),
SOL2 - coke-oven coke (OK), gas coke (GK), brown coal coke (BK), hard coal briquettes (BC), lignite-brown coal briquettes (BB), and peat briquettes (BP),

TRANS is a two-to-six character alphanumeric transaction code. The codes and their meanings are as follows.

Gas fuels

01 - gross production 03 - imports
03xxx - imports from a specific country xxx
04 - exports
04xxx - exports to a specific country xxx
061 - changes in stock at producers
062 - changes in stock at importers
103 - re-injected
104 - flared or lost
105 - extraction losses/shrinkages

Liquid fuels

01 - gross production
013 - gross production from refineries
014 - gross production from plants
03 - imports
04 - exports
05 - bunkers
061 - changes in stock at producers
062 - changes in stock at importers
063 - changes in stock at industrial consumers

Solid fuels

01 - gross production
03 - imports
03xxx - imports from a specific country xxx
04 - exports
04xxx - exports to a specific country xxx
05 - bunkers
061 - changes in stock at producers
062 - changes in stock at importers
063 - changes in stock at industrial consumers

QCODE is a three-letter code that defines the units for a given commodity. The unit codes and their meanings are as follows.


HSO - terajoules
WSO - metric tons
WSR - thousand metric tons
WSU - million metric tons

QUANTITYis the amount of a commodity (CDTY) for a given country (COUNTRY) during a given year (YEAR) that is produced, exported, imported, consumed, stored, or categorized as bunkers (TRANS) expressed in QCODE units. There are no missing values in any of the three UN energy statistics files, but zero values do exist.

The file country.cod provides a list of the 263 national and regional codes used in the UNSTAT Database and the countries or regions they denote (e.g., 004 Afghanistan). This file is needed to decipher the country codes in the files that contain the UN energy statistics and the file containing the national CO2-emission estimates.

The file factor92.dat contains conversion factors provided by the UN to convert solid fuel statistics from mass units to energy units. It is necessary to use these conversion factors in order to account for differences in the heating values of different solid fuel commodities. The file contains conversion factors for domestic and imported solid fuels and is sorted by country, year, commodity, and fuel source. The file contains 8,964 conversion factors for 62 countries, has no missing values, and may be read by using the following FORTRAN 77 format:

         READ(5,20,END=999) COUNTRY,YEAR,CDTY,SOURCE,CONVERT
 20    FORMAT(I3,1X,I4,1X,A2,1X,A1,1X,I6)

or by using the following SAS® input statement:

input country 1-3 year 5-8 cdty $ 10-11 source $ 13 convert 15-20;

Stated in tabular form, the contents of the file containing the UN conversion factors includes:


Variable Variable Starting Ending
Variable type width column column

COUNTRY Numeric 3 1 3
YEAR Numeric 4 5 8
CDTY Character 2 10 11
SOURCE Character 1 13 13
CONVERT Numeric 6 15 20

where:

COUNTRY is a one-to-three-digit country code (4-894). A complete list of these codes and the nations they represent is provided in Tables 1 and 2 of the documentation that accompanies these files or in the file country.cod.
YEAR is the year. Values range from 1950 to 1992.
CDTY is a two-letter commodity or fuel type code. The codes and the fuels they represent are as follows:

BB - lignite (brown coal) briquettes
BC - hard coal (patent fuel) briquettes
BK - brown coal coke
BP - peat briquettes
CL - coal
GK - gas coke
LB - lignite/brown coal
OK - coke-oven coke
OS - oil shale
PT - peat

SOURCE is a one character code that reflects the source or use of the commodity. The codes and their meanings are as follows:

C - consumption (derived as the weighted average of the conversion factors for
domestic production and imports)
D - domestic
I - imports

CONVERT is the conversion factor used to convert a solid fuel commodity from mass units (typically thousand metric tons) to energy units (terajoules). The conversion factors provided are from the UNSTAT Database and are expressed in kilocalories/kilogram.


The file cement92.dat contains estimates of the amount of hydraulic cement produced annually by individual countries for the years 1950 to 1992. These records are a composite of the estimates compiled by the U.S. Bureau of Mines and published annually in the Cement Minerals Yearbook. This file was used to calculate CO2 emissions resulting from the release of CO2 during cement production. The file contains 4685 records and provides annual cement production estimates for 166 countries. The file contains no missing values. Values of zero indicate that no cement was produced in a country during that year.

The file may be read by using the following FORTRAN 77 format:

READ(5,10)

10 FORMAT(//////)

20 CONTINUE

READ(5,25,END=999) COUNTRY,YEAR,QUANTITY,QCODE

25 FORMAT(I3,1X,I4,1X,I8,1X,A3)

or by using the following SAS® input statement:

input country 1-3 year 5-8 quantity 10-17 qcode $ 19-21;

Stated in tabular form, the cement production data file includes the following.


Variable Variable Starting Ending
Variable type width column column

COUNTRY Numeric 3 1 3
YEAR Numeric 4 5 8
QUANTITY Numeric 8 10 17
QCODE Character 3 19 21

where:

COUNTRYis a one-to-three-digit country code (4-894). A complete list of these codes and the nations they represent is provided in Tables 1 and 2 of the documentation that accompanies these files or in the file country.cod.
YEARis the year. Values range from 1950 to 1992.
QUANTITYis the amount of hydraulic cement produced by a COUNTRY during a given YEAR expressed in QCODE units.
QCODE is a three-letter code that represents the units (BAR for barrels and TST for thousand short tons). The cement production estimates are expressed in barrels (BAR) before and during 1969 and thousand short tons (TST) after 1969.


The file flare92.dat contains the annual amount of natural gas flared by individual countries in their oil fields. These values are derived principally from the UNSTAT Database, but 64 values were furnished by the DOE/EIA. The values furnished by DOE/EIA supplement, complete, replace, or improve gas flaring series for China, France, Norway, Oman, and the former USSR.

The gas-flaring data file provides 1340 records for 57 countries. The file contains no bonafide missing values. Zero values generally indicate that no gas was flared, except for 14 instances where we inserted zero values to temporarily complete data records. For China and France, some periods (1985-90 and 1983-90, respectively) exist where no annual gas-flaring estimates were available. Although we recognize that flaring occurred in these countries at these times, we felt uncomfortable inserting our own estimates and instead inserted zeros with the hope that in the future we will be able to replace these markers with reasonable estimates from reliable sources.

The gas-flaring data file may be read by using the following FORTRAN 77 format statement:

READ(5,20,END=999) COUNTRY,YEAR,QUANTITY

20 FORMAT(I3,1X,I4,1X,F10.2)

or by using the following SAS® input statement:

input country 1-3 year 5-8 quantity 10-19;

Stated in tabular form, the gas flaring data file includes the following:


Variable Variable Starting Ending
Variable type width column column

COUNTRY Numeric 3 1 3
YEAR Numeric 2 5 8
QUANTITY Numeric 8 10 19

where:

COUNTRYis a one-to-three-digit country code (values range from 4-890). A complete list of these codes and the nations they represent is provided in Tables 1 and 2 of the documentation that accompanies these files or in the file country.cod.
YEAR is the year. Values range from 1950 to 1992.
QUANTITYis the amount of natural gas flared by a COUNTRY during a given YEAR expressed in terajoules. There are no missing values. Zero values indicate that no natural gas was flared or have been placed in the file as a marker for incomplete time series.


File nation92.ems contains the national annual CO2-emission and per capita CO2-emission estimates for 240 countries. Most countries have emission records for the period 1950 to 1992. The file is sorted by country code, in ascending order, and year. These emission estimates were derived from the UN energy statistics, UN population data, DOE/EIA gas flaring estimates, and U.S. Bureau of Mines cement manufacturing data, respectively. All CO2-emission estimates are expressed in thousand metric tons of carbon. The per capita CO2-emission rates are expressed in tons of carbon person-1 year-1. The file contains 8080 records and may be read by using the following FORTRAN 77 format:

READ(5,20,END=999) COUNTRY,YEAR,CO2TOT,CO2GAS,CO2LIQ,

1 CO2SOL,CO2CEM,CO2FLA,PERCAP,BUNKER

20 FORMAT(I3,1X,I4,1X,I11,1X,I9,1X,I9,1X,I9,1X,I7,1X,

1 I7,1X,F6.2,1X,A6)

or by using the following SAS® input statement:

input country 1-3 year 5-8 co2tot 10-20 co2gas 22-30

co2liq 32-40 co2sol 42-50 co2cem 52-58 co2fla 60-66

@68 percap 6.2 bunker 75-80;

Stated in tabular form, the national CO2-emissions data file includes the following:


Variable Variable Starting Ending
Variable type width column column

COUNTRY Numeric 3 1 3
YEAR Numeric 4 5 8
CO2TOT Numeric 11 10 20
CO2GAS Numeric 9 22 30
CO2LIQ Numeric 9 32 40
CO2SOLNumeric 9 42 50
CO2CEM Numeric 7 52 58
CO2FLA Numeric 7 60 66
PERCAP Numeric 6 68 73
BUNKER Numeric 6 75 80

where:
COUNTRY is a one-to-three-digit country code (4-894). A complete list of these codes and the nations they represent is provided in Tables 1 and 2 of the documentation that accompanies these files or in the file country.cod.
YEARis the year. Values range from 1950 to 1992;
CO2TOTis the total annual CO2-emission estimate for an individual COUNTRY resulting from the burning of fossil fuels, cement production, and gas flaring for a given YEAR, expressed in thousand metric tons of carbon;
CO2GASis the annual CO2-emission estimate for an individual COUNTRY resulting from the burning of gas fuels, expressed in thousand metric tons of carbon;
CO2LIQis the annual CO2-emission estimate for an individual COUNTRY resulting from the burning of liquid fuels, expressed in thousand metric tons of carbon;
CO2SOLis the annual CO2-emission estimate for an individual COUNTRY resulting from the burning of solid fuels, expressed in thousand metric tons of carbon;
CO2CEMis the annual CO2-emission estimate for an individual COUNTRY resulting from the production of cement, expressed in thousand metric tons of carbon;
CO2FLAis the annual CO2-emission estimate for an individual COUNTRY resulting from gas flaring, expressed in thousand metric tons of carbon;
PERCAPis the annual estimate of the per capita emission rate for an individual COUNTRY, expressed in metric tons of carbon person-1 year-1.
BUNKERis the annual CO2-emission estimate for bunker fuels for an individual COUNTRY, expressed in thousand metric tons of carbon. Bunker fuels are fuels consumed by ships and aircraft engaged in international transportation. Emissions from bunker fuels are not included in the national emission totals.

Missing values are represented as blank fields in the data file. Many countries will have missing values for the bunker emission estimates.

File region92.ems contains the regional CO2-emission and per capita estimates. Annual emission estimates are provided for ten regions for the period 1950-1992. The file contains 430 observations, no missing values, and may be read by using the following FORTRAN 77 format:

READ(5,20,END=999) REGION,YEAR,CO2TOT,CO2GAS,CO2LIQ,

1 CO2SOL,CO2CEM,CO2FLA,PERCAP

20 FORMAT(A3,1X,I4,1X,I9,1X,I9,1X,I9,1X,I9,1X,I6,1X,

1 I6,1X,F5.2)

or by using the following SAS® input statement:

input region $ year co2tot co2gas co2liq co2sol co2cem co2fla percap;

Stated in tabular form, the regional CO2-emissions data file includes the following:


Variable Variable Starting Ending
Variable type width column column

REGION Character 3 1 3
YEAR Numeric 4 5 8
CO2TOT Numeric 9 10 18
CO2GAS Numeric 9 20 28
CO2LIQ Numeric 9 30 38
CO2SOL Numeric 9 40 48
CO2CEM Numeric 6 50 55
CO2FLA Numeric 6 57 62
PERCAP Numeric 5 64 68

where:
REGION is a three letter region code. The ten codes and the regions they represent are listed below. A list of the countries assigned to each region is provided in Table 6 of the documentation that accompanies these files or in the file region.def:

AFR - Africa
AMD - Latin, Central, and South America
CPA - Centrally Planned Asia
CPE - Centrally Planned Europe or Eastern Europe
FEA - Far East
GER - Germany
MDE - Middle East
NAM - North America
OCN - Oceania
WEU - Western Europe
YEARis the year. Values range from 1950 to 1992.
CO2TOTis the total annual CO2-emission estimate for a region resulting from the burning of fossil fuels, including gas flaring, and from hydraulic cement production, expressed in thousand metric tons of carbon;
CO2GASis the annual CO2-emission estimate for a region resulting from the burning of gas fuels, expressed in thousand metric tons of carbon;
CO2LIQis the annual CO2-emission estimate for a region resulting from the burning of liquid fuels, expressed in thousand metric tons of carbon;
CO2SOLis the annual CO2-emission estimate for a region resulting from the burning of solid fuels, expressed in thousand metric tons of carbon;
CO2CEMis the annual CO2-emission estimate for a region resulting from cement production, expressed in thousand metric tons of carbon;
CO2FLAis the annual CO2-emission estimate for a region resulting from gas flaring, expressed in thousand metric tons of carbon;
PERCAPis the annual per capita CO2-emission rate for each person in a region, expressed in metric tons of carbon person-1 year-1.

The file region.def lists the country codes assigned to each of ten global regions. The user will need to refer to Tables 1 or 2 of the documentation or the file country.cod to translate the country codes.

The file global92.ems contains the global annual CO2-emission and per capita estimates for the period 1950-1992. All CO2-emission estimates are expressed in million metric tons of carbon. The per capita CO2-emission rates are given in metric tons of carbon person-1 year-1. The file contains 43 observations, no missing values, and may be read by using the following FORTRAN 77 format:

REAL PERCAP

INTEGER YEAR,CO2TOT,CO2GAS,CO2LIQ,CO2SOL,CO2CEM,

1 CO2FLA

READ(5,10)

10 FORMAT(//////)

15 CONTINUE

READ(5,20,END=999) YEAR,CO2TOT,CO2GAS,CO2LIQ,

1 CO2SOL,CO2CEM,CO2FLA,PERCAP

20 FORMAT(I4,5X,I4,6X,I4,6X,I4,6X,I4,7X,I3,7X,

1 I3,6X,F4.2)

or by using the following SAS® input statement:

input year co2tot co2gas co2liq co2sol co2cem co2fla percap;

Stated in tabular form, the global annual CO2-emissions data file includes the following:


Variable Variable Starting Ending
Variable type width column column

YEAR Numeric 4 1 4
CO2TOT Numeric 4 10 13
CO2GAS Numeric 4 20 23
CO2LIQ Numeric 4 30 33
CO2SOL Numeric 4 40 43
CO2CEM Numeric 3 51 53
CO2FLA Numeric 361 63
PERCAP Numeric 4 70 73

where:
YEARis the year. Values range from 1950 to 1992.
CO2TOTis the total global annual CO2-emission estimate resulting from the burning of fossil fuels, including gas flaring, and from hydraulic cement production for a given YEAR, expressed in million metric tons of carbon.
CO2GASis the annual global CO2-emission estimate resulting from the burning of gas fuels, expressed in million metric tons of carbon.
CO2LIQis the annual global CO2-emission estimate resulting from the burning of liquid fuels, expressed in million metric tons of carbon.
CO2SOLis the annual global CO2-emission estimate resulting from the burning of solid fuels, expressed in million metric tons of carbon.
CO2CEMis the annual global CO2-emission estimate resulting from hydraulic cement production, expressed in million metric tons of carbon.
CO2FLAis the annual global CO2-emission estimate resulting from gas flaring in oil fields, expressed in million metric tons of carbon.
PERCAPis the annual global per capita emission estimate, expressed in metric tons of carbon person-1 year-1.

11. Listing of the FORTRAN 77 Data Retrieval Programs

The following is a listing of the FORTRAN 77 data retrieval program (energy92.for) to read and print the files containing the gas or solid fuel statistics extracted from the United Nations Energy Statistics Database.

c ********************************************

c ** FORTRAN 77 code to read and print ***

c ** the United Nations energy statistics ***

c ** used in calculating global, regional, ***

c ** and national CO2 emissions from ***

c ** 1950-1992 ***

c ********************************************

CHARACTER CDTY*2,FORM*4,TRANS*7,QCODE*3

INTEGER COUNTRY,YEAR,QUANTITY

OPEN(UNIT=5,FILE='solid92.dat')

WRITE(6,5)

5 FORMAT('Country',23X,'Primary or',3X,'Transaction',4X,

1 'Amount of',5X,'Units',/,2X,'Code',3X,'Year',3X,'Commodity',3X,

2 'Secondary Fuel',4X,'Code',5X,'Fuel Transacted',3X,

3 'Code')

READ(5,10)

10 FORMAT(////////////)

15 CONTINUE

READ(5,20,END=999) COUNTRY,YEAR,CDTY,FORM,TRANS,

1 QUANTITY,QCODE

20 FORMAT(I3,1X,I4,1X,A2,1X,A4,1X,A7,1X,I11,1X,A3)

WRITE(6,25) COUNTRY,YEAR,CDTY,FORM,TRANS,QUANTITY,

1 QCODE

25 FORMAT(3X,I3,3X,I4,6X,A2,12X,A4,9X,A7,5X,I11,5X,A3)

GOTO 15

999 CONTINUE

CLOSE(UNIT=5)

CLOSE(UNIT=6)

STOP

END



The following is a listing of the FORTRAN 77 data retrieval program (liquid92.for) to read and print the file containing the liquid fuel statistics extracted from the United Nations Energy Statistics Database.



c ********************************************

c ** FORTRAN 77 code to read and print ***

c ** the United Nations liquid energy ***

c ** statistics used in calculating global,***

c ** regional, and national CO2 emissions ***

c ** from 1950-1992 ***

c ********************************************

CHARACTER CDTY*2,FORM*7,TRANS*7,QCODE*3

INTEGER COUNTRY,YEAR,QUANTITY

OPEN(UNIT=5,FILE='liquid92.dat')

WRITE(6,5)

5 FORMAT('Country',23X,'Primary or',3X,'Transaction',7X,

1 'Amount of',5X,'Units',/,2X,'Code',3X,'Year',3X,'Commodity',3X,

2 'Secondary Fuel',4X,'Code',8X,'Fuel Transacted',3X,

3 'Code')

READ(5,10)

10 FORMAT(////////////)

15 CONTINUE

READ(5,20,END=999) COUNTRY,YEAR,CDTY,FORM,TRANS,

1 QUANTITY,QCODE

20 FORMAT(I3,1X,I4,1X,A2,1X,A7,1X,A7,1X,I11,1X,A3)

WRITE(6,25) COUNTRY,YEAR,CDTY,FORM,TRANS,QUANTITY,

1 QCODE

25 FORMAT(3X,I3,3X,I4,6X,A2,12X,A7,9X,A7,5X,I11,5X,A3)

GOTO 15

999 CONTINUE

CLOSE(UNIT=5)

CLOSE(UNIT=6)

STOP

END



The following is a listing of the FORTRAN 77 data retrieval program (factor92.for) to read and print the UN conversion factor file.

c ********************************************

c ** FORTRAN 77 code to read and print ***

c ** the file containing the conversion ***

c ** factors to used to convert solid fuels***

c ** reported in mass units to energy units***

c ********************************************

CHARACTER CDTY*2,SOURCE*1

INTEGER COUNTRY,YEAR,CONVERT

OPEN(UNIT=5,FILE='factor92.dat')

WRITE(6,5)

5 FORMAT('Country',11X,'Fuel',5X,'Fuel',3X,'Conversion',

1 /,2X,'Code',3X,'Year',2X,'Commodity',2X,'Source',4X,

2 'Factor')

READ(5,10)

10 FORMAT(////////////)

15 CONTINUE

READ(5,20,END=999) COUNTRY,YEAR,CDTY,SOURCE,CONVERT

20 FORMAT(I3,1X,I4,1X,A2,1X,A1,1X,I6)

WRITE(6,25) COUNTRY,YEAR,CDTY,SOURCE,CONVERT

25 FORMAT(3X,I3,3X,I4,6X,A2,8X,A1,5X,I6)

GOTO 15

999 CONTINUE

WRITE(6,30)

30 FORMAT('Source refers to the commodity source (i.e., D=domestic,

1 I=imports,',/,' and C=weighted average of the conversion factor

2 for domestic production and imports).',/,'Conversion factors are

3 expressed in Kcal/Kg.')

CLOSE(UNIT=5)

CLOSE(UNIT=6)

STOP

END



The following is a listing of the FORTRAN 77 data retrieval program (cement92.for) to read and print the hydraulic cement production data file.

c ********************************************

c ** FORTRAN 77 code to read and print ***

c ** the 1950-92 annual cement production ***

c ** estimates for individual countries ***

c ** provided by the U.S. Bureau of Mines ***

c ********************************************

CHARACTER QCODE*3

INTEGER COUNTRY,YEAR,QUANTITY

OPEN(UNIT=5,FILE='cement92.dat')

WRITE(6,5)

5 FORMAT(14X,'AMOUNT OF',/,16X,'CEMENT',4X,'UNIT',

1 /,'COUNTRY',2X,'YEAR',2X,'PRODUCED',2X,'CODES')

READ(5,10)

10 FORMAT(////////////)

20 CONTINUE

READ(5,25,END=999) COUNTRY,YEAR,QUANTITY,QCODE

25 FORMAT(I3,1X,I4,1X,I8,1X,A3)

WRITE(6,30) COUNTRY,YEAR,QUANTITY,QCODE

30 FORMAT(2X,I3,4X,I4,2X,I8,3X,A3)

GOTO 20

999 CONTINUE

CLOSE(UNIT=5)

CLOSE(UNIT=6)

STOP

END



The following is a listing of the FORTRAN 77 data retrieval program (flare92.for) to read and print the gas-flaring data file.

c ********************************************

c ** FORTRAN 77 code to read and print ***

c ** the 1950-92 annual gas flaring ***

c ** estimates for individual countries ***

c ********************************************

REAL QUANTITY

INTEGER COUNTRY,YEAR

OPEN(UNIT=5,FILE='flare92.dat')

WRITE(6,5)

5 FORMAT(16X,'AMOUNT OF',/,'COUNTRY',9X,

1 'GAS FLARED',/,2X,'CODE',3X,'YEAR',2X,'(TERAJOULES)')

READ(5,10)

10 FORMAT(////////////)

15 CONTINUE

READ(5,20,END=999) COUNTRY,YEAR,QUANTITY

20 FORMAT(I3,1X,I4,1X,F10.2)

WRITE(6,25) COUNTRY,YEAR,QUANTITY

25 FORMAT(2X,I3,4X,I4,2X,F10.2)

GOTO 15

999 CONTINUE

CLOSE(UNIT=5)

CLOSE(UNIT=6)

STOP

END



The following is a listing of the FORTRAN 77 data retrieval program (nation92.for) to read and print the file containing the national CO2-emission estimates.

c ********************************************

c ** FORTRAN 77 code to read and print ***

c ** the 1950-92 national CO2 emission ***

c ** estimates from fossil fuel burning, ***

c ** hydraulic cement production, and gas ***

c ** flaring ***

c ********************************************

CHARACTER*6 BUNKER

REAL PERCAP

INTEGER COUNTRY,YEAR,CO2TOT,CO2GAS,CO2LIQ,CO2SOL,

1 CO2CEM,CO2FLA

OPEN(UNIT=5,FILE='nation92.ems')

WRITE(6,5)

5 FORMAT(24X,'CO2 Emissions (thousand metric tons of carbon)',

1 //,'Country',23X,'Gas',5X,'Liquid',5X,'Solid',6X,'Cement',

2 7X,'Gas',6X,'Per',/,2X,'Code',3X,'Year',6X,'Total',5X,'Fuels',

3 5X,'Fuels',5X,'Fuels',4X,'Production',3X,'Flaring',2X,

4 'Capita',3X,'Bunkers')

READ(5,10)

10 FORMAT(////////////)

15 CONTINUE

READ(5,20,END=999) COUNTRY,YEAR,CO2TOT,CO2GAS,CO2LIQ,

1 CO2SOL,CO2CEM,CO2FLA,PERCAP,BUNKER

20 FORMAT(I3,1X,I4,1X,I11,1X,I9,1X,I9,1X,I9,1X,I7,1X,

1 I7,1X,F6.2,1X,A6)

WRITE(6,25) COUNTRY,YEAR,CO2TOT,CO2GAS,CO2LIQ,

1 CO2SOL,CO2CEM,CO2FLA,PERCAP,BUNKER

25 FORMAT(3X,I3,3X,I4,I11,1X,I9,1X,I9,1X,I9,6X,I7,4X,

1 I7,2X,F6.2,4X,A6)

GOTO 15

999 CONTINUE

WRITE(6,30)

30 FORMAT('Per capita emission estimates are expressed in metric ton

1s of carbon.')

CLOSE(UNIT=5)

CLOSE(UNIT=6)

STOP

END



The following is a listing of the FORTRAN 77 data retrieval program (region92.for) to read and print the file containing the regional CO2-emission estimates.

c ********************************************

c ** FORTRAN 77 code to read and print ***

c ** the 1950-92 regional CO2 emission ***

c ** estimates from fossil fuel burning, ***

c ** hydraulic cement production, and gas ***

c ** flaring ***

c ********************************************

CHARACTER REGION*3

REAL PERCAP

INTEGER YEAR,CO2TOT,CO2GAS,CO2LIQ,CO2SOL,CO2CEM,

1 CO2FLA

OPEN(UNIT=5,FILE='region92.ems')

WRITE(6,5)

5 FORMAT(22X,'CO2 Emissions (thousand metric tons of carbon)',

1 //,'Region',22X,'Gas',5X,'Liquid',5X,'Solid',6X,'Cement',

2 7X,'Gas',6X,'Per',/,1X,'Code',3X,'Year',5X,'Total',5X,'Fuels',

3 5X,'Fuels',5X,'Fuels',4X,'Production',3X,'Flaring',2X,

4 'Capita')

READ(5,10)

10 FORMAT(////////////)

15 CONTINUE

READ(5,20,END=999) REGION,YEAR,CO2TOT,CO2GAS,CO2LIQ,

1 CO2SOL,CO2CEM,CO2FLA,PERCAP

20 FORMAT(A3,1X,I4,1X,I9,1X,I9,1X,I9,1X,I9,1X,I6,1X,

1 I6,1X,F5.2)

WRITE(6,25) REGION,YEAR,CO2TOT,CO2GAS,CO2LIQ,

1 CO2SOL,CO2CEM,CO2FLA,PERCAP

25 FORMAT(2X,A3,3X,I4,1X,I9,1X,I9,1X,I9,1X,I9,6X,I6,4X,

1 I6,4X,F5.2)

GOTO 15

999 CONTINUE

WRITE(6,30)

30 FORMAT('Per capita emission estimates are expressed in metric ton

1s of carbon.')

CLOSE(UNIT=5)

CLOSE(UNIT=6)

STOP

END



The following is a listing of the FORTRAN 77 data retrieval program (global92.for) provided to read and print the file containing the global annual CO2-emission estimates.



c ********************************************

c ** FORTRAN 77 code to read and print ***

c ** the 1950-92 global CO2 emission ***

c ** estimates from fossil fuel burning, ***

c ** hydraulic cement production, and gas ***

c ** flaring ***

c ********************************************

REAL PERCAP

INTEGER YEAR,CO2TOT,CO2GAS,CO2LIQ,CO2SOL,CO2CEM,

1 CO2FLA

OPEN(UNIT=5,FILE='global92.ems')

WRITE(6,5)

5 FORMAT(13X,'CO2 Emissions (million metric tons of carbon)',

1 //,20X,'Gas',5X,'Liquid',4X,'Solid',5X,'Cement',

2 7X,'Gas',6X,'Per',/,'Year',5X,'Total',5X,'Fuels',5X,

3 'Fuels',4X,'Fuels',3X,'Production',3X,'Flaring',2X,

4 'Capita')

READ(5,10)

10 FORMAT(////////////)

15 CONTINUE

READ(5,20,END=999) YEAR,CO2TOT,CO2GAS,CO2LIQ,

1 CO2SOL,CO2CEM,CO2FLA,PERCAP

20 FORMAT(I4,5X,I4,6X,I4,6X,I4,6X,I4,7X,I3,7X,

1 I3,6X,F4.2)

WRITE(6,25) YEAR,CO2TOT,CO2GAS,CO2LIQ,

1 CO2SOL,CO2CEM,CO2FLA,PERCAP

25 FORMAT(I4,5X,I4,6X,I4,6X,I4,6X,I4,7X,I3,7X,

1 I3,6X,F4.2)

GOTO 15

999 CONTINUE

WRITE(6,30)

30 FORMAT('Per capita emission estimates are expressed in metric ton

1s of carbon.')

CLOSE(UNIT=5)

CLOSE(UNIT=6)

STOP

END


12. Listing of the SAS® Data Retrieval Programs

The following is a listing of the SAS® data retrieval program (energy92.sas) provided by CDIAC to read and print the files containing the UN gas or solid energy statistics.

data energy;

infile 'gas92.dat' firstobs=14;

input country 1-3 year 5-8 cdty $ 10-11 form $ 13-16 trans $ 18-24

quantity 26-36 qcode $ 38-40;

proc print;

run;



The following is a listing of the SAS® data retrieval program (liquid92.sas) provided by CDIAC to read and print the file containing the UN liquid energy statistics.

data liquid;

infile 'liquid92.dat' firstobs=14;

input country 1-3 year 5-8 cdty $ 10-11 form $ 13-19 trans $ 21-27

quantity 29-39 qcode $ 41-43;

proc print;

run;



The following is a listing of the SAS® data retrieval program (factor92.sas) provided by CDIAC to read and print the file containing the United Nations conversion factors.

data factor;

infile 'factor92.dat' firstobs=14;

input country 1-3 year 5-8 cdty $ 10-11 source $ 13 convert 15-20;

proc print;

var year cdty source convert;

id country;

run;



The following is a listing of the SAS® data retrieval program (cement92.sas) provided by CDIAC to read and print the cement production data file.

data cement;

infile 'cement92.dat' firstobs=14;

;

*********************************************************************

*** SAS code to read and print the file containing the 1950-1992 ***

*** annual hydraulic cement production estimates for individual ***

*** countries ***

*********************************************************************

;

input country 1-3 year 5-8 quantity 10-17 qcode $ 19-21;

proc print;

var year quantity qcode;

id country;

run;



The following is a listing of the SAS® data retrieval program (flare92.sas) provided by CDIAC to read and print the natural gas-flaring data file.

data flare;

infile 'flare92.dat' firstobs=14;

;

*********************************************************************

*** SAS code to read and print the file containing the 1950-1992 ***

*** annual gas flaring estimates for individual countries ***

*********************************************************************

;

input country 1-3 year 5-8 quantity 10-19;

proc print;

var year quantity;

id country;

run;



The following is a listing of the SAS ® data retrieval program (nation92.sas) provided by CDIAC to read and print the file containing the national CO2-emission estimates.

data nation;

infile 'nation92.ems' firstobs=14;

****************************************************

*** read and print the data file (nation92.ems) ***

*** containing national CO2 emissions from fossil***

*** fuel burning, cement production, and gas ***

*** flaring for 1950-1992 ***

****************************************************

;

input country 1-3 year 5-8 co2tot 10-20 co2gas 22-30

co2liq 32-40 co2sol 42-50 co2cem 52-58 co2fla 60-66

@68 percap 6.2 bunker 75-80;

proc print;

var year co2tot co2gas co2liq co2sol co2cem co2fla percap bunker;

id country;

run;



The following is a listing of the SAS® data retrieval program (region92.sas) provided by CDIAC to read and print the file containing the regional CO2-emission estimates.

data region;

infile 'region92.ems' firstobs=14;

****************************************************

*** read and print the data file (region92.ems) ***

*** containing regional CO2 emissions from fossil***

*** fuel burning, cement production, and gas ***

*** flaring for 1950-1992 ***

****************************************************

;

input region $ year co2tot co2gas co2liq co2sol co2cem co2fla percap;

proc print;

var year co2tot co2gas co2liq co2sol co2cem co2fla percap;

id region;

run;



The following is a listing of the SAS® data retrieval program (global92.sas) provided by CDIAC to read and print the file containing the global annual CO2-emission estimates.

data globe;

infile 'global92.ems' firstobs=14;

****************************************************

*** read and print the data file (global92.ems) ***

*** containing global CO2 emissions from fossil ***

*** fuel burning, cement production, and gas ***

*** flaring for 1950-1992 ***

****************************************************

;

input year co2tot co2gas co2liq co2sol co2cem co2fla percap;

proc print;

var co2tot co2gas co2liq co2sol co2cem co2fla percap;

id year;

run;


13. Verification of Data Transport

The files containing the CO2-emission estimates, cement production data, gas-flaring estimates, and energy statistics may be read using the FORTRAN 77 or SAS® input/output routines provided. Users should verify that the data have been correctly transported to their systems by generating some or all of the statistics presented in Tables 8-16. These statistics were generated in SAS® (using the PROC MEANS procedure), but may be duplicated by using other statistical packages or languages. If the statistics generated by the user differ from those presented here, the data sets may have been corrupted in transport.

These statistics are presented only as a tool to ensure proper reading of the data sets. They arenot to be construed as summarizing the CO2 emissions results or energy statistics.

The following is a listing of the SAS® program used to generate the statistics in Table 8.

data energy;

infile 'gas92.dat' firstobs=14;

input country 1-3 year 5-8 cdty $ 10-11 form $ 13-16 trans $ 18-24

quantity 26-36 qcode $ 38-40;

proc means n min max mean maxdec=2;

run;



The following is a listing of the SAS® program used to generate the statistics in Table 9.

data liquid;

infile 'liquid92.dat' firstobs=14;

input country 1-3 year 5-8 cdty $ 10-11 form $ 13-19 trans $ 21-27

quantity 29-39 qcode $ 41-43;

proc means n min max mean maxdec=2;

run;



The following is a listing of the SAS® program used to generate the statistics in Table 10.

data energy;

infile 'solid92.dat' firstobs=14;

input country 1-3 year 5-8 cdty $ 10-11 form $ 13-16 trans $ 18-24

quantity 26-36 qcode $ 38-40;

proc means n min max mean maxdec=2;

run;



The following is a listing of the SAS® program used to generate the statistics in Table 11.

data factor;

infile 'factor92.dat' firstobs=14;

input country 1-3 year 5-8 cdty $ 10-11 source $ 13 convert 15-20;

proc means n min max mean maxdec=2;

run;



The following is a listing of the SAS® program used to generate the statistics in Table 12.

data cement;

infile 'cement92.dat' firstobs=14;

input country 1-3 year 5-8 quantity 10-17 qcode $ 19-21;

proc means n min max mean maxdec=3;

run;



The following is a listing of the SAS® program used to generate the statistics in Table 13.

data flare;

infile 'flare92.dat' firstobs=14;

input country 1-3 year 5-8 quantity 10-19;

proc means n min max mean maxdec=2;

run;



The following is a listing of the SAS® program used to generate the statistics in Table 14.

data nation;

infile 'nation92.ems' firstobs=14;

input country 1-3 year 5-8 co2tot 10-20 co2gas 22-30 co2liq 32-40

co2sol 42-50 co2cem 52-58 co2fla 60-66 @68 percap 6.2 bunker 75-80;

proc means n min max mean maxdec=2;

run;



The following is a listing of the SAS® program used to generate the statistics in Table 15.

data region;

infile 'region92.ems' firstobs=14;

input region $ year co2tot co2gas co2liq co2sol co2cem co2fla percap;

proc means n min max mean maxdec=2;

run;



The following is a listing of the SAS® program used to generate the statistics in Table 16.

data globe;

infile 'global92.ems' firstobs=14;

input year co2tot co2gas co2liq co2sol co2cem co2fla percap;

proc means n min max mean maxdec=2;

run;


Appendix A

Tabular Listings and Graphical Displays of all National
CO2-Emissions Estimates


Appendix B

Reprints of Pertinent Literature


Marland, G., and R. M. Rotty. 1984. Carbon dioxide emissions from fossil fuels: A procedure for estimation and results for 1950-1982. Tellus 36(B):232-61.

Reprinted with permission of The Swedish Geophysical Society.

The copyright permission kindly extended to the Carbon Dioxide Information Analysis Center by The Swedish Geophysical Society did not include reprinting in the electronic form, only printed matter.