pictures/imod_logo.png

iMOD User Manual version 5.2 (html)


9.18DLF-files

The colour information for boreholes will be read from a DLF-file. On default, iMOD tries to read the file: {IMOD_USER}\SETTINGS\DRILL.DLF. If this fails, iMOD will search for the files {IMOD_USER}\SETTINGS\DRILL1.DLF to \DRILL10.DLF. If none of these files are found iMOD uses its internal default values.

The syntax of a DLF-file is as follows:

LABELS

Use the first line of the file to identify the columns. These are however unchangeable! Repeat the following attributes (CLASS, IRED, IGREEN, IBLUE, LEGEND) for each line.

CLASS

Use the first column to specify the search-string that should match the first column of the associated *.TXT file as described.

IRED

Red saturation (0-255)

IGREEN

Green saturation (0-255)

IBLUE

Blue saturation (0-255)

LEGEND

Label used in the legend.

WIDTH
(optional)

Enter the width category (1-10) used in 2D and 3D plotting. This is an optional value and is assigned the value 1 by default.

Example of a DLF-file:

CLASS,IRED,IGREEN,IBLUE,LEGEND
FS,255,255,0,"Fine Sand",1.00
C,148,0,211,Clay,0.25
G,218,165,32,Gravel,2.00
"P H",244,164,96,"Peat Holland",0.50
L,238,130,238,Loam,0.75

Note: The maximum string length of the Class-column is 20 characters. The maximum string length for the LEGEND column is 50 characters. The maximum number of classes is 250 (lines, excluding the header).