You are on page 1of 12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

Lab 1: Data & Drillholes


The data which will be utilized in all the labs is found on the course Webpage. Copy the data to your directory on the local hard drive C: Objective: Create a new project Import drillhole information Display the information Start Gemcom (GEMS6.2) Desktop Edition (GDE) by double clicking the desktop icon or from the start menu. Once the program is running the first step is to setup a new project. In order to setup a project a name must be assigned, units to be used entered and the appropriate databases need to be created. 1. To create a project File New Projects

In the dialogue box enter a unique name for your project (use something you will remember!)
1/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

For Example: Labs Enter a description of your project; Select the coordinate system Feet

In the dialog box create a project, choose No Template

Accept all other defaults, and then Test your settings before finishing setup.

2/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

In order to setup the databases for the project, a good understanding of the data to be used is essential. The data files may be looked at from within GDE using the built in text editor. Data files may come from text files, spreadsheets, database files or be imported from another GMP. Tools Other Utilities Edit Any ASCII file using text editor An Editor will open up, called the GSIEdit: File Open: select header.csv

Similarly open the following files and notice the format of the files, and the order of information in them. Survey.csv, Lithology.csv, Assay.csv Example of an assay data file note that all the files contain the hole-id, this is the primary key.

First line contains a description of the data. You must know the type of data (real, integer, alphanumeric) and the order of the data.
3/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

Close the editor once you are done looking at the data files.

Creating Workspace for Drillholes In GEMS GDE: Go to the Workspace menu and choose Create or Modify Workspace 1. The Structure Editor window will open, go to Workspace New (a) Select Set up workspace(s) (b) Select Create a standard or custom workspace This creates a new empty workspace, and the Wizard will open to help in setting up the workspace: 2. Enter the information as shown on the next page: (a) Choose the workspace type as Drillhole. (b) Subtype: Normal (c) Name the workspace: Drillholes (d) It is a good idea to add a description, especially as the models can tend to get very large; you should use a meaningful name. Example: 325 demo drillholes 3. Look at the information in the next window, but the defaults are fine. (a) Enter the primary key: this is the field that is common in all the data files so that the software can reconcile different types of information for the same drillholes, even if this information comes from different sources. (b) Types of surveys: o Interval table From-To format, uses dip and azimuth o Distance table relative to the collar of the hole, uses dip and azimuth o Point table information is specified by X, Y, Z points (c) We will create other tables in this workspace, so select yes at the bottom.

Add two new tables to the database by clicking on the icon on the top left (both will use
4/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

interval data): o Assay (for assay information) o Lithology (for rock type information)

4. Once you have finished, the Structure Editor should still be open, and the following screen
5/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

should be visible: (a) In the assay table add a %CU and %NI fields (data type is real). You can do this by positioning the cursor in the Description field of the last row (for you, this will be the TO field) and use the TAB key. A new entry row will be created. Some of the default field names are provided by pull-down menus. The field types are chosen from the pull-down menus. Adding a description can be useful when you come back to a project after not working with it for a while, or if tables have been added for testing. It is generally best to try and anticipate any additional tables at the start of a project.

(b) In the lithology table add the following fields: Rock_type: o Field Type: String o Description: block model rock type names o Note the length of the field width for this variable. Rock_Code: o Field Type: Integer o Description: block model rock type codes

5. Save and Exit the workspace editor. Workspaces are important you will need a different one for different types of information: drillholes, surfaces, block models, etc. In order to work the information within a workspace, you must first select the workspace. In some cases, if there is only one workspace it will be the default, but in most cases you must manually choose the active one.

Importing Data
6/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

In GEMS GDE: 1. File Import: File name: header.csv file Files of type: Other data (*.*)

2. Select drillholes 3. The Import Wizard will open and you will be asked for a Workspace: Select Drillholes (you should have no other options). (a) Import Profile: You will have none to choose from, but select the button on the right (). You should see the window below:

Before we can bring in data, we will have to create an import profile. The import profile tells the program how to read a data file into the workspace tables. An import profile will ADD new records to a table a merge profile will REPLACE existing information in a table (if the key &/or secondary fields can not be matched the merge profile does nothing). (b) Choose the New profile icon (top left button) and call the profile Header, since this is the profile for importing to the header table (Look at the header.csv file for the column information). This will be used for Delimited ASCII files. Select the Modify button at the bottom. This will open up the Delimited Import Profile Wizard. o How do you want GEMS to import data? Select both, so that new and
7/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

updated information can be imported. o o o o o Where to import the data? Select only the header table. Identify how data are separated: select comma. You can quickly browse through how this will separate the fields from your data file. Header row as field names? Select yes. The header row is row number 1. Make sure that the workspace key (or primary key) is the HOLE-ID. To import every column, you must:

Select the column/field in the data preview window. Select import this column, then select the table, and then the name of the field you want to bring in. Make sure the field names are right check the text file if you must. This has to be done for each field; otherwise that field of information will not be imported.

Once you are done for all desired fields, select FINISH and you should be back in the Import profile window and your new profile should be shown on the left window. You should now see the window below. Make sure to save the profile:

Selecting OK in the above window will send you back to the Import Wizard, select Next Finish. A small window should open with your Import Results it should tell you the number of records that were imported. You should be brought back to the normal GEMS GDE window; in the left window, you
8/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

will see that under Drillholes, there is another Drillholes that is now red with an asterisk at the end. This indicates that the Drillholes workspace has changed you can save these changes by right clicking on that word, and select save. You can now create a profile for the survey table. Follow the instructions similar to above (starting at Step 1 all the way to Step 3 and all the sub-steps), but now , CHOOSE Only the secondary table selected below and import the data to the secondary table called SURVEY. Comma delimited Workspace / Primary field Hole-Id Secondary field - Distance Azimuth Dip Save the profile Comma delimited Primary field Hole-Id From (secondary field) To Rock Type Rock Code Save the profile Comma Delimited Primary field Hole-Id From To %Cu %Ni Save the profile and exit

Now do it again for the lithology file using the lithology.csv file.

And one last time for the assays using the assays.csv file.

Note in all projects: The header table must be the first table to have data entered, followed by the survey table. All additional tables may be entered in any order. Verify imported data: In GEMS GDE: Go to the Workspace Start Data Editor Drillholes. You should see a window similar to the one below. Selecting a different HOLE-ID will show you information from that drillhole. At the bottom, you will note that there are three tabs: SURVEY, ASSAY, LITHOLOGY. Selecting the different tabs will show that particular type of information for the drillhole chosen in the top window (via the HOLE-ID selected). Spot check the data in the various tables. CAUTION: Use the File Close Data Editor command to close the workspace; using the X button on the top right of the screen will close GEMS GDE!

9/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

Display Drillholes Drillhole Display Profile: In order to display the data it is necessary to define a profile to describe how the data will be displayed. Initially we will define a profile to quickly plot the drillholes on screen. 1. Format Drillhole 2. Select workspace 3. Create new DH Display Profile (click on the icon), and call it TRACE Under the Trace tab of the window, make sure that the box to Show Traces is selected. The rest you can leave as defaults later we will add some new display profiles, but this is enough to plot the drillholes on screen.

10/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

Loading Drillhole Data to View: Now you are ready to load the Drillholes for viewing. There are a number of ways to do this 1. Drillhole Menu Data Open. Select the workspace. 2. You can go to the left most window and under the Drillholes branch, right click on Drillhole, and select Open. Regardless of whether you used method 1 or 2 above, you should see this:

Select OK and then for select all records to process. Note that there may be times you may want to limit what is shown on screen.

11/12

MINE 631 Mine Planning & Design Lab01 Data & Drillholes

If you do not see the drillhole traces, then try: 1. View Refresh Project view Or Use zoom to extend button Or Window set display area option work area in calculate work area size, select based on open data. 2. Click the 2D icon and you should see a cross section, and then click the 3D icon and you should see the traces above. If you do see drillholes, but they are straight vertical, then check that you have imported the survey data by editing the drillholes workspace data. With the drillholes on-screen, experiment with the various ways of manipulating the view. If you right-mouse click on the screen, the last 10 commands that you have used will be quickly available. This is very useful when editing polylines or repetitive tasks. The arrow keys will rotate the views of the drillhole traces.

12/12

You might also like