Formation type
(1 to 24)
Limestone
(0 or 1)
Dolomite
(0 or 1)
Shale
(0 or 1)
Anhydrite or clay
(0 or 1)
Table 2: Generated output code for determining formation type and lithology.