FLAG CODE FILES

This numeric data package includes four flag code files that contain information regarding the source of each monthly data value, its reliability, whether or not it has been modified, and whether or not a discontinuity is present.  These files correspond on a line-by-line basis with the climate data files described in the previous section.  The first (temp.flag) provides the flag codes for the mean monthly temperature data set.  The second (precip.flag) provides the flag codes for the total monthly precipitation data set.  The third (press.sea.flag) provides the flag codes for the mean monthly sea level pressure data set.  The fourth (press.sta.flag) provides the flag codes for the mean monthly station pressure data set.


Each logical record in these files contains a country number, a station number, a year, and 12 sets of data source codes and flag codes (one set per month).  Each file is sorted by station number and year and can be read using the following FORTRAN IV code:


INTEGER COUNTRY, STATION, YEAR, SOURCE(12), REVISE(12),


*SUSP(12), DISC(12)


READ (1, 1, END=99) COUNTRY, STATION, YEAR,


*(SOURCE(J), REVISE(J), SUSP(J), DISC(J), J = 1, 12)


1 FORMAT (I3, I7, I4, 12(I2, 3I1))


These files can also be read using the following SAS code:


ARRAY SOURCE(12);

ARRAY REVISE(12);

ARRAY SUSP(12);

ARRAY DISC(12);

INPUT COUNTRY 1-3 STATION 4-10 YEAR 11-14 @;

DO J = 1 TO 12;

  INPUT SOURCE(J) 2. REVISE(J) 1. SUSP(J) 1. DISC(J) 1. @;

END;


Stated in tabular form, the contents include the following:


Variable

Variable type

Variable width

Starting column

Ending column

COUNTRY

STATION

YEAR

SOURCE1

REVISE1

SUSPECT1

DISC1

SOURCE2

REVISE2

SUSPECT2

DISC2

SOURCE3

REVISE3

SUSPECT3

DISC3

SOURCE4

REVISE4


SUSPECT4

DISC4

SOURCE5

REVISE5

SUSPECT5

DISC5

SOURCE6

REVISE6

SUSPECT6

DISC6

SOURCE7

REVISE7

SUSPECT7

DISC7

SOURCE8

REVISE8

SUSPECT8


DISC8

SOURCE9

REVISE9

SUSPECT9

DISC9

SOURCE10

REVISE10

SUSPECT10

DISC10

SOURCE11

REVISE11

SUSPECT11

DISC11

SOURCE12

REVISE12

SUSPECT12

DISC12

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric


Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric


Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

Numeric

3

7

4

2

1

1

1

2

1

1

1

2

1

1

1

2

1


1

1

2

1

1

1

2

1

1

1

2

1

1

1

2

1

1


1

2

1

1

1

2

1

1

1

2

1

1

1

2

1

1

1

1

4

11

15

17

18

19

20

22

23

24

25

27

28

29

30

32


33

34

35

37

38

39

40

42

43

44

45

47

48

49

50

52

53


54

55

57

58

59

60

62

63

64

65

67

68

69

70

72

73

74

3

10

14

16

17

18

19

21

22

23

24

26

27

28

29

31

32


33

34

36

37

38

39

41

42

43

44

46

47

48

49

51

52

53


54

56

57

58

59

61

62

63

64

66

67

68

69

71

72

73

74


where


COUNTRY

is a three-digit country code (e.g., 404 = United States of America, etc.).

STATION

is a seven-digit station identification number.  In most cases, the last two digits of this variable are 00, and the first five digits are the station's normal WMO number (e.g., 1234500).  For some stations, no WMO number was currently in use.  In these cases, the last two digits of STATION are other than 00, and the first five digits are the WMO number of the nearest active WMO station (e.g., 1234501).

YEAR

is the year of the data record.

SOURCE

are codes indicating the source of each monthly data value (for additional information, see Table 1).  The codes and their meanings are as follows:


1        =  60-station temperature/precipitation data base for the PRC,

2        =  277-station temperature/precipitation data base for Mexico,

3        =  U.S. Historical Climatology Network,

4        =  223-station temperature/precipitation data base for the USSR,

5        =  243-station temperature data base for the USSR,

6        =  622-station precipitation data base for the USSR,

7        =  65-station temperature/pressure data base compiled by T.H. Jacka,

8        =  African precipitation data base compile by Sharon Nicholson,

9        =  TD9799: African Historical Precipitation Data,

10        =  TD9799: Non-african Historical Precipitation Data,

11        =  A Comprehensive Precipitation Data Base for Global Land Areas,

12        =  1872-station temperature data base for global land areas,

13        =  World Monthly Surface Station Climatology,

14        =  World Weather Records,

15        =  6775-station temperature/precipitation data base for global land areas,

99        =  Missing data value.


REVISE(1-12)

are codes indicating whether or not each monthly value has been revised.  All time series were plotted and visually inspected for "gross" errors.  Numerous errors were the result of simple keypunch problems (e.g., missing negative signs, etc.) and thus were easily revised.  If a REVISE variable has a value of one, then the original observation appeared problematic and therefore was revised.  If the REVISE variable has a value of zero, then the original observation did not seem problematic and therefore was not revised.  If the REVISE variable has a value of 9, then the observation is missing.

SUSP(1-12)

are codes indicating whether or not each monthly value is suspect.  All time series were plotted and visually inspected for "gross" errors.  Some observations appeared atypical, but not so seriously as to be clearly erroneous.  If a SUSP variable has a value of one, then the observation should be considered suspect.  If the SUSP variable has a value of zero, then the observation did not seem suspect.  If the SUSP variable has a value of 9, then the observation is missing.

DISC(1-12)

are codes indicating whether or not there is a discontinuity in the time series beginning with this month.  All time series were plotted and visually inspected for "gross" errors.  All discontinuities visible on these plots were noted.  If a given DISC variable has a value of one, then there is a discontinuity in the time series beginning APPROXIMATELY at that month.  If the DISC variable has a value of zero, then there is no major discontinuity beginning at that month.  If the DISC variable has a value of 9, then the observation is missing.


Created with the Freeware Edition of HelpNDoc: Easily create Help documents