Listing of the SAS® Data Retrieval Programs

The following is a listing of the SAS® data retrieval code (flask.sas) written by CDIAC to read and print any of the files containing CO2 mixing ratios from individual flask samples.

filename dat 'alt.co2';
data cmdlco2;
infile dat firstobs=11;
input sta $ 1-3 yyyy 5-8 mm 10-11 dd 13-14 hr 16-17 min 19-20 flaskid $ 22-29
      smethod $ 31 co2 34-40 datasel $ 42-44 instru $ 46-47 samyy 49-52
      sammm 54-55 samdd 57-58 dayfile $ 60-65;
proc print;
run;

The following is a listing of the SAS® data retrieval code (month.sas) written by CDIAC to read and print any of the files containing the NOAA/CMDL monthly CO2 mixing ratios.

filename dat 'altmm.co2';
data monthly;
infile dat firstobs=11;
input sta $ yyyy mm co2;
proc print;
run;


Previous | Continue | Access Data | Table of Contents
CDIAC Home Page | E-mail CDIAC