Chemistry or property files contain horizontal and vertical coordinates, which describe the 3-D locations and values of properties of a system. For simplicity, these files will generally be referred to in this manual as chemistry files, although they can actually contain any scalar property value of interest. Chemistry files must be in ASCII format and can be delimited by commas, spaces, or tabs. They must have a .csv suffix to be selected in the file browsers of EVS modules .The content and format of chemistry files are the same for 3-D modules, posting modules (sphere), and fence diagram modules, except that fence diagram files require special subsetting and ordering. Each line of the chemistry file contains the coordinate data for one sampling location and up to 300 (columns of) chemistry or property values. There are no computational restrictions on the number of borings and/or samples that can be included in a chemistry file, except that run times for execution of kriging do increase with a greater number of samples in the file.
Chemistry data can be visualized independently or within a domain bounded by a geologic system. When a geologic domain is utilized for a 3-D visualization, a consistent coordinate system must be used in both the chemistry and geology files ( i.e., either elevations or depths must be used for the z coordinate in both files). The boring and sample locations in 3-D chemistry files do not have to correspond to those in the geology files, except that they must be contained within the spatial domain of the geology, or they will not be displayed in the visualization. If the posting of borings and sample locations are to honor the topography of a site, the chemistry files also must contain the top surface elevation of the boring. As will be described in later sections, EVS uses tubes to show actual boring locations and depths, and spheres to show actual sample locations in three-space. In order for these entities to be correctly positioned in relation to a variable topography, the top elevation of the boring must be supplied to the program.
Format:
You may insert comment lines in C Tech Chemistry (.csv) input files. Comments can be inserted anywhere in a file and must begin with a ’#’ character. The line numbers that follow refer to all non-commented lines in the file.
Line 1: You may include any header message here (that does not start with a ’#’ character) unless you wish to include analyte names for use by other EVS modules (e.g. data component name). The format for line 1 to enable chemical names is as follows
A. Placing a pair of ’@’ symbols triggers the use and display of chemical names (example @@VOC). Any characters up to the @@ characters are ignored, and only the first analyte name needs @@, after that the chemical names must be delimited by spaces,
B. The following rules for commas are implemented to accommodate comma delimited files and also for using chemical names which have a comma within (example 1,1-DCA). Commas following a name will not become a part of the name, but a comma in the middle of a text string will be included in the name. The recommended approach is to put a space before the names.
C. If you want a space in your analyte name, you must use underscores and EVS will convert underscores to spaces (example: Vinyl_Chloride in a .csv file will be converted to "Vinyl Chloride")... Or you may enclose the entire name in quotation marks (example: "Vinyl Chloride").
A good example of analyte name usage is 5_chemicals.csv in the \ctech\data\chemistry\ directory.
The advantages of using chemical names (attribute names of any type) are the following:
many modules use actual analyte names instead of data component numbers,
when writing EVS Field files (.eff, .efb, etc.), you will get analyte names instead of data component numbers.
when querying your data set with post_samples’ mouse interactivity, the analyte name is displayed.
time-series data can be used and the appropriate time-step can be displayed.
Line 2: Elevation/Depth Specifier: This line must contain the word Elevation or Depth (case insensitive) or the numbers 1 or -1 respectively to denote whether sample elevations are true elevation or depth below ground surface. If actual elevations are used (a right-handed coordinate system), then this parameter should be Elevation (1); if depths below the top surface elevation are used, then this parameter should be Depth (-1).
Optionally, you can include the units of your coordinates (e.g. feet or meters)
Note: The ability to use the words Depth or Elevation is the preferred method. The use of 1 or &endash;1 remains for backwards compatibility.
Line 3: The first integer (n) is the number of samples (rows of data) to follow. The second integer is the number of analyte (chemistry) values per sample.
Optionally, you can include the units of each data analyte column (e.g. ppm or mg/l).
For fence diagrams generated using Krig_Fence (old style), the samples must be sorted such that all samples for a given boring are together and proceed from shallow to deep for each boring. The order of the boring sample groups determines the connectivity of a fence diagram.
Line 4: The first line of sample data. X, Y, Z, (one or more) Analyte Value(s) (chemistry or property), Boring name, and elevation of the top of the boring (optional). The boring name cannot contain spaces (recommend underscore "_" instead), unless surrounded by quotation marks (example: "B 1").
Boring name and top are are optional parameters, but are used by many modules and it is highly recommended that you include this information in your file if possible. They are used by post_samples for posting tubes along borehole traces and for generating tubes which start from the ground surface of the borehole. Both Krig_3D and Krig_3D_Geology will use this information to determing the Z spatial extent of your grids (Krig_3D_Geology will create a layer that begins at ground surface if this information is provided). Numbers and names can be separated by one comma and/or any number of spaces or tabs. BLANK ENTRIES (CELLS) ARE NOT ALLOWED.
Please see the section on Handling Non-Detects for information on how to deal with samples whose concentration is below the detection limit. For any sample that is not detected you may enter any of the following. Please note that the first three flag words are not case sensitive, but must be spelled exactly as shown below.
A fraction of the actual detection limit for that sample (best approach). Normally the fraction should be 0.1 to 0.5 (10 to 50%).
nondetect
non-detect
nd
0.0 (zero)
For files with multiple analytes such as the example below, if an analyte was not measured at a sample location, use any of the flags below to denote that this sample should be skipped for this analyte. Please note that these flag words are not case sensitive, but must be spelled exactly as shown below.
missing
unmeasured
not-measured
nm
unknown
unk
na
-1.0e9 (this is the numeric flag that was required and used prior to Version 8.0)
Line 3+n: is the last line of the file. The line following this line must be blank, i.e. there needs to be a carriage return at the end of this line.
An actual .csv file could look like the following:
|
X |
Y |
ELEV |
@@1-DCA |
1-DCE |
Tetrachloroethylene |
Trichloroethylene |
Vinyl_chloride |
SITE_ID |
Top |
|
Elevation |
feet |
|
|
|
|
|
|
|
|
|
50 |
5 |
|
mg/kg |
ug/kg |
mg/kg |
ug/kg |
mg/kg |
|
|
|
12008 |
12431 |
22.9 |
22 |
missing |
21 |
500 |
nd |
CSB-39 |
30.4 |
|
12008 |
12431 |
18.9 |
nd |
nd |
nd |
2800 |
nd |
CSB-39 |
30.4 |
|
12008 |
12431 |
13.4 |
nd |
nd |
nd |
290 |
nd |
CSB-39 |
30.4 |
|
12008 |
12431 |
8.4 |
nd |
nd |
nd |
9.7 |
nd |
CSB-39 |
30.4 |
|
12008 |
12431 |
7.9 |
nd |
nd |
nd |
23 |
nd |
CSB-39 |
30.4 |
|
12008 |
12431 |
1.9 |
nd |
nd |
nd |
24 |
nd |
CSB-39 |
30.4 |
|
11651 |
13184 |
28.5 |
nd |
nd |
nd |
nd |
nd |
CSB-40 |
30 |
|
11651 |
13184 |
26 |
nd |
nd |
nd |
nd |
nd |
CSB-40 |
30 |
|
11427 |
12781 |
28.8 |
0.28 |
0.02 |
2 |
0.78 |
nd |
CSB-42 |
30.8 |
|
11427 |
12781 |
24.8 |
nd |
0.02 |
72 |
0.76 |
nd |
CSB-42 |
30.8 |
|
11427 |
12781 |
17.3 |
nd |
nd |
nd |
0.01 |
nd |
CSB-42 |
30.8 |
|
11427 |
12781 |
14.6 |
nd |
nd |
nd |
0.01 |
nd |
CSB-42 |
30.8 |
|
11427 |
12781 |
9.8 |
nd |
nd |
nd |
nd |
nd |
CSB-42 |
30.8 |
|
11427 |
12781 |
3.3 |
0.64 |
0.14 |
1.1 |
1.5 |
0.19 |
CSB-42 |
30.8 |
|
11410 |
12725 |
29.6 |
0.01 |
nd |
0.07 |
0.01 |
nd |
CSB-43 |
30.6 |
|
11410 |
12725 |
23.6 |
0.08 |
nd |
0.01 |
0.02 |
nd |
CSB-43 |
30.6 |
|
11410 |
12725 |
21.6 |
0.04 |
nd |
nd |
0.01 |
nd |
CSB-43 |
30.6 |
|
11410 |
12725 |
12.1 |
0.1 |
nd |
nd |
nd |
0.13 |
CSB-43 |
30.6 |
|
11410 |
12725 |
6.1 |
0.06 |
nd |
nd |
nd |
0.05 |
CSB-43 |
30.6 |
|
11417 |
12819 |
28.2 |
0.01 |
nd |
0.34 |
0.03 |
nd |
CSB-44 |
30.2 |
|
11417 |
12819 |
24.2 |
0.04 |
nd |
0.34 |
0.04 |
nd |
CSB-44 |
30.2 |
|
11417 |
12819 |
16.2 |
0.43 |
0.04 |
0.82 |
0.04 |
nd |
CSB-44 |
30.2 |
|
11417 |
12819 |
11.2 |
1.1 |
nd |
nd |
nd |
nd |
CSB-44 |
30.2 |
|
11417 |
12819 |
9.2 |
nd |
nd |
nd |
nd |
nd |
CSB-44 |
30.2 |
|
11417 |
12819 |
6.2 |
nd |
nd |
nd |
nd |
nd |
CSB-44 |
30.2 |
|
11417 |
12819 |
2.2 |
0.06 |
nd |
nd |
nd |
nd |
CSB-44 |
30.2 |
|
11402 |
12898 |
28.5 |
nd |
nd |
0.09 |
nd |
nd |
CSB-45 |
30.5 |
|
11402 |
12898 |
24.5 |
nd |
nd |
0.02 |
nd |
nd |
CSB-45 |
30.5 |
|
11402 |
12898 |
14.5 |
0.79 |
nd |
79 |
1.7 |
nd |
CSB-45 |
30.5 |
|
11402 |
12898 |
9 |
nd |
nd |
18 |
11 |
nd |
CSB-45 |
30.5 |
|
11402 |
12898 |
2 |
0.18 |
nd |
0.03 |
0.01 |
0.11 |
CSB-45 |
30.5 |
|
11260 |
12819 |
28.4 |
nd |
nd |
0.01 |
nd |
nd |
CSB-46 |
30.4 |
|
11260 |
12819 |
22.4 |
nd |
nd |
0.05 |
nd |
nd |
CSB-46 |
30.4 |
|
11260 |
12819 |
16.9 |
nd |
nd |
nd |
nd |
nd |
CSB-46 |
30.4 |
|
11260 |
12819 |
11.9 |
nd |
nd |
nd |
nd |
nd |
CSB-46 |
30.4 |
|
11260 |
12819 |
2.9 |
nd |
nd |
nd |
nd |
nd |
CSB-46 |
30.4 |
|
11340 |
12893 |
24.6 |
nd |
nd |
0.13 |
nd |
nd |
CSB-47 |
30.6 |
|
11340 |
12893 |
20.1 |
nd |
nd |
0.06 |
nd |
nd |
CSB-47 |
30.6 |
|
11340 |
12893 |
14.6 |
0.15 |
nd |
0.33 |
nd |
nd |
CSB-47 |
30.6 |
|
11340 |
12893 |
9.1 |
nd |
nd |
nd |
nd |
1.1 |
CSB-47 |
30.6 |
|
11340 |
12893 |
5.1 |
nd |
nd |
nd |
nd |
nd |
CSB-47 |
30.6 |
|
11249 |
12871 |
27.8 |
90 |
0.07 |
500 |
0.32 |
nd |
CSB-48 |
29.8 |
|
11249 |
12871 |
23.3 |
0.16 |
nd |
0.94 |
nd |
nd |
CSB-48 |
29.8 |
|
11249 |
12871 |
21.3 |
2.1 |
nd |
1.1 |
nd |
nd |
CSB-48 |
29.8 |
|
11249 |
12871 |
13.3 |
nd |
nd |
nd |
nd |
nd |
CSB-48 |
29.8 |
|
11249 |
12871 |
8.3 |
nd |
nd |
nd |
nd |
nd |
CSB-48 |
29.8 |
|
11087 |
12831 |
28.3 |
nd |
nd |
0.03 |
0.01 |
nd |
CSB-49 |
30.8 |
|
11087 |
12831 |
24.8 |
nd |
nd |
nd |
nd |
nd |
CSB-49 |
30.8 |
|
11087 |
12831 |
14.8 |
nd |
nd |
nd |
nd |
nd |
CSB-49 |
30.8 |
|
11087 |
12831 |
4.8 |
nd |
nd |
nd |
nd |
nd |
CSB-49 |
30.8 |
This file uses z coordinates (versus depth) for all samples, therefore line 2 has the word Elevation. There are 50 samples and 5 analytes (chemicals) per sample.
Another example using depths from the top surface is:
|
X Coord |
Y Coord |
Depth |
@@TOTHC |
Boring |
Top |
|
Depth |
feet |
|
|
|
|
|
37 |
1 |
|
ppm |
|
|
|
11856.72 |
12764.01 |
1 |
.057 |
CSB_67 |
1.7 |
|
11856.72 |
12764.01 |
8 |
.134 |
CSB_67 |
1.7 |
|
11856.72 |
12764.01 |
16 |
.081 |
CSB_67 |
1.7 |
|
11856.72 |
12764.01 |
20 |
.292 |
CSB_67 |
1.7 |
|
11856.72 |
12764.01 |
26 |
.066 |
CSB_67 |
1.7 |
|
11889.60 |
12772.20 |
2 |
1.762 |
CSB_23 |
1.3 |
|
11889.60 |
12772.20 |
4 |
.853 |
CSB_23 |
1.3 |
|
11889.60 |
12772.20 |
7 |
.941 |
CSB_23 |
1.3 |
|
11889.60 |
12772.20 |
15 |
10.467 |
CSB_23 |
1.3 |
|
11889.60 |
12772.20 |
16 |
488.460 |
CSB_23 |
1.3 |
|
11889.60 |
12772.20 |
22 |
410.900 |
CSB_23 |
1.3 |
|
11889.60 |
12772.20 |
26 |
.140 |
CSB_23 |
1.3 |
|
11939.19 |
12758.45 |
6 |
.175 |
CSB_70 |
3.7 |
|
11939.19 |
12758.45 |
15 |
.100 |
CSB_70 |
3.7 |
|
11939.19 |
12758.45 |
18 |
.430 |
CSB_70 |
3.7 |
|
11939.19 |
12758.45 |
26 |
.100 |
CSB_70 |
3.7 |
|
12002.80 |
12759.80 |
2 |
.321 |
CSB_24 |
1.2 |
|
12002.80 |
12759.80 |
4 |
.296 |
CSB_24 |
1.2 |
|
12002.80 |
12759.80 |
8 |
.179 |
CSB_24 |
1.2 |
|
12002.80 |
12759.80 |
13 |
0.000 |
CSB_24 |
1.2 |
|
12002.80 |
12759.80 |
17 |
.711 |
CSB_24 |
1.2 |
|
12002.80 |
12759.80 |
23 |
.864 |
CSB_24 |
1.2 |
|
12002.80 |
12759.80 |
28 |
.311 |
CSB_24 |
1.2 |
|
12085.15 |
12749.01 |