Sunteți pe pagina 1din 176

MineSight Proprietary Software: Mintec, inc.

COMPOSITE DATA OPERATONS

COMPOSITE DATA OPERATIONS


MineSight 500-Series Programs
The MineSight 500-series programs are used to create, update, manipulate and display the drillhole composite File 8 (sorted composites) and File 9 (unsorted composites). A composite is the weighted average of a set of samples that fall within a defined boundary. This boundary may be a bench or a seam. The weighting factor is usually the sample length, but in some cases it may also include the sample specific gravity. Composites are used in the interpolation of the deposit model instead of samples because they Provide a mining basis for modeling Reduce the amount of data used Provide uniform support for geostatistics There are two primary MineSight programs used to calculate drillhole composites: M501V1 - composites within regular elevations M501SM - composites within variable elevations (seams) for each drillhole M501V1 uses the table of elevations stored in the PCF to determine which portions of each drillhole fall within each vertical bench. The averages are computed using the actual length between the elevations of a bench as the usual weighting factor. This table of elevations is entered with and maintained by M101V1. An option within M501V1 allows you to select a separate item stored in File 11 (e.g., specific gravity) to be used as an additional weighting factor. M501V1 requires that the composite type BENCH is specified when initializing File 9. M501SM uses a seam code (integer values) to control the compositing process rather than a table of elevations. All drillhole data with the same code is averaged into a single composite using sample lengths as the weighting factor. An optional geologic item may be used to select specified types of material for the composite averages. M501SM requires that the composite type SEAM is specified when initializing File 9. You also have the option to enter composites which have been calculated either manually or with another program. This data is loaded into the composite Data Files with M500V1. When composites are calculated with M501V1 or M501SM, an explicit linkage is created between File 12 and File 9. The drillhole identifier and survey data are stored in File 12 but not in File 9. Some 500-series programs refer to this data so you should be careful that the relationship between Files 9 and 12 is not altered once M501V1 (or M501SM) has been run. When composites are loaded with M500V1, a reference to File 12 is not normally maintained. Therefore, you will not be able to run some 500-series programs on the loaded File 9.

The mining basis for an open pit operation is the bench height which is defined by a set of elevations at the toe of each bench. The mining basis for an underground operation is the stoping height or height to be drawn in relatively short term mining operations. These heights are also defined by a set of elevations. The mining basis for a stratiform deposit is usually the height of the seam which is defined by elevations at the top and bottom of the mining unit at each point in the deposit. The general functions of the 500-series programs are: Calculate composites from intervals Load existing composites Edit and list composite values Interactive update of selected composite data Standard and user specified reports for file data Preparation of composite maps in plan or section using a plotter or a printer Sort composites to optimize interpolation Point interpolation and kriging to select the best value extension technique Summarize bench composites

Revised: 1-September-06

Page 500-i

COMPOSITE DATA OPERATIONS

MineSight Proprietary Software: Mintec, inc. M508V1 - User Interface for Composite Files This program accesses a user-coded subroutine for special calculations and reports from the composite Data File. Calculated values may be stored into the composite data file. M516V1 - Cross-Section of Composite Data (M122) This program creates an M122 plot file for 2-D composite crosssections defined by two end points. M516V2 - Cross-Section of Composite Data (M122, without dh traces) This program creates an M122 plot file for a 2-D cross-section displaying composite intervals without drillhole traces and labels. M517V1 - Load VBM Codes to Assay or Composite Files This program loads VBM feature codes to files 8, 9, or 11. M522V1 - Analyze Drillhole Spacing This prgram accesses the composite data and computes average drillhole spacing by bench based on a given search radius. M523V1 - Decluster Composite Data This program accesses the composite Data File and computes the declustered composite values using the cell declustering technique. M524V1 - Point Validation for Interpolation Techniques This program interpolates each composite from its neighbors by kriging and distance weighting, and then summarizes the differences from the known values. M525TS - Interactive Evaluation of Point Validation This program is used to evaluate point validation results from M524V1. The Program outputs a statistical analysis of the data and histograms for specified items.

Program Summaries
M500V1 - Load Composites into MineSight Data Files This program is used to load composite or blasthole data into a MineSight Data File. The composites may be computed outside MineSight or created by program M507V1. M501SM - Compute Seam Composites from Drillhole Data This program is used to compute weighted averages for grades and quality parameters within predefined seams. M501V1 - Compute Bench Composites from Drillhole Data This program is used to compute weighted average grades for fixed vertical intervals (benches). M502V1 - Update Composites (Batch Run) This program updates composites in a batch run by matching the elevation of the input with the composite file to find which interval to update within a drillhole. M503V1 - List Composite Files This program lists the composite data files. The data selection and the order of data output from M503V1 may be specified. M504V1 - Bench Plan (M122) of Composite Data This program is used to prepare an M122 plot file from the composite data. Multiple items of data may be selected for output and placed at any desired position around the location of each composite. M505V1 - Addition of Codes to Composite Files This program allows the addition of geologic or mining codes to the composite Data File from ASCII input or an existing assay file. M506V1 - Sort Composite Data File This program sorts the composite data from M501V1 and M501SM by increasing northings (or eastings) and creates the sorted composite data file, File 8. M507V1 - Extract Composite Data This program creates a sequential ASCII file from the composite data file. M508RP - Special Project Calculations This program accesses a MineSight routine to perform arithmetic calculations using RPN (Reverse Polish Notation) logic specified in the run file. Calculated values may be stored into File 9.

Page 500-ii

Revised: 1-September-06

MineSight Proprietary Software: Mintec, inc.

COMPOSITE DATA OPERATONS 9. Is the 3-D distribution of composite values sufficient for interpolation as visually determined from the plan and cross-section maps?

Procedure Summary To Create File 9 Composites


1. List the PCF with M101V1 and check the toe elevations if calculating bench composites or check the seam names and codes if calculating seam composites. Initialize File 9 using M102TS. Select the correct type of compositeBENCH if M501V1 is to be used or SEAM if M501SM is to be used. Set up the appropriate run file for M501V1 or M501SM. Test the composite calculations by running the program for just a few drillholes. Make a full production run with the program. Add additional data to the composites (i.e. geology codes) with M505V1, M508V1 or M508RP. List the composite file with M503V1. Plot bench maps or cross-sections with M504V1 and M516V1. Sort the composite data and create File 8 with M506V1.

10. Have the plan and cross-section maps from the M504 and M516 programs been compared with any manually prepared maps? 11. Have engineers/geologists closely associated with the project checked the composite data? 12. Have engineers/geologists closely associated with the project been consulted for their views and opinions concerning: any unreliable data or drillhole data not to be used? any portions of the data that are different from the majority? any differences in sample size, type or recovery? any special characteristics not indicated by grades?

2.

3. 4.

5. 6.

7. 8.

9.

Checks To Be Performed On M501V1 Composites


1. 2. 3. Are drillhole collar elevations okay? Is the survey data being retrieved correctly? Are coordinates of composites okay? Have check calculations been made? Are the drillhole depth and length for each composite okay? Are there lengths within benches that are not equal to the bench height other than at the top and bottom of the hole? Are there assay intervals above the maximum elevation or below the minimum elevation? Missing data? Abnormal composite grades? Did the compositing process obscure grades in areas with sharp distinctions which may not be realistic for mining purposes?

4.

5.

6.

7. 8.

Revised: 1-September-06

Page 500-iii

COMPOSITE DATA OPERATIONS

MineSight Proprietary Software: Mintec, inc. MNRL - the code describing mineralization MIN% - the % volume of mineralization STRC - the code describing structure ZONE - the code describing zones (ore bodies) Other items of use to certain projects: SPGR - the specific gravity of rock REC% - the percent recovery of core TRUE - the true interval length corrected for dip

Suggestions For Bench Composite Items


Each M501V1 drillhole composite to be stored in File 9 must have the following items of information with the stated labels after a regular M102TS run: REF# - the drillhole reference number assigned by M201V1 EAST - the easting of the composite (default = midpoint) NORTH - the northing of the composite (default = midpoint) ELEV. - the elevation of the composite (default = toe) Labels REF#, EAST, NORTH and ELEV. must not be changed. The following items should be useful for most projects: LNGTH - the actual vertical or horizontal length of the drillhole that was composited FROM - the drillhole distance at the crest of the bench DEPTH - the drillhole distance at the toe of the bench All projects should have at least one assay value, e.g. TCU% - the total copper grade ACU% - the acid soluble grade SCU% - the sulfide copper grade MOLY - the molybdenum (MoS2) grade AU:OZ - the gold grade (oz/ton, g/tonne) AG:OZ - the silver grade EQUIV - the equivalent grade value Many projects will need geologic items, e.g. ROCK - the code describing rock type ALTN - the code describing alteration type ATYP - the alteration intensity FALT - the code describing fault location

Page 500-iv

Revised: 1-September-06

MineSight Proprietary Software: Mintec, inc.

COMPOSITE DATA OPERATONS

Suggestions For Seam Composite Items


Each M501SM drillhole composite to be stored in File 9 must have the following items of information with the stated labels: REF# - the drillhole reference number assigned by M201V1 EAST - the easting at the midpoint of the composite NORTH - the northing at the midpoint of the composite ZTOP - the elevation at the top of the seam ZBOT - the elevation at the bottom of the seam THICK - thickness of the seam SEAM - integer seam codes Labels REF#, EAST, and NORTH must not be changed. The following items should be useful for most projects: FROM - the drillhole distance at the beginning of the seam -TO- - the drillhole distance at the end of the seam Coal projects normally have proximate and/or ultimate analyses, such as: BTU - heating value ASH - percent ash MOIST - percent moisture VOLAT - percent volatiles FIXED - percent fixed carbon SULF - percent total sulfur Many seam projects will need either physical or mechanical parameters, such as: WASTE - within seam thickness of waste PRTNG - between seam thickness of waste SPGR - specific gravity HARDG - Hardgrove grindability index FSI - free swelling index ROOF - geologic code for roof lithology FLOOR - geologic code for floor lithology

Revised: 1-September-06

Page 500-v

COMPOSITE DATA OPERATIONS

MineSight Proprietary Software: Mintec, inc.

Page 500-vi

Revised: 1-September-06

MineSight Proprietary Software: Mintec, inc.

M500V1-LOAD COMPOSITES INTO MINESIGHT FILES

M500V1 LOAD COMPOSITES INTO MINESIGHT DATA FILES


PROGRAM SUMMARY
This program is used to load composite or blasthole data into a MineSight Data File. The composites may be computed outside MineSight or created by program M507V1.

REQUIREMENTS AND CONSIDERATIONS


Program M500V1 will read composite data from the run file or a separate file and then load MineSight Data Files 9 and 12, 9 only or 8 only. This allows you to use composites that have been generated outside of MineSight. You may also create an ASCII file of composites from MineSight (with M507V1), modify them and load them back into the composite files with M500V1. The composite data that is loaded should have the following variables present: DH-IDENT - drillhole identifier. Must be no more than 10 characters. System defined format is 10A1. EAST - easting of composite. Format is user defined.

PROGRAM FLOW DIAGRAM


RUN FILE: - Composite labels - Area selection - Composites (optional)

INPUT:

CALCS: - Load composites into File 9 and 12 OR File 8 or 9 only

NORTH - northing of composite. Format is user defined. ELEV. - elevation of composite. Format is user defined. The coordinate variables may be the coordinates of the composite toe, composite midpoint or composite crest. Composites that are generated by MineSight (with M501V1) are stored using toe coordinates and the default for plotting and interpolation routines is the toe coordinates. Therefore, there may be some advantage in storing toes rather than midpoints. Other data such as grades, geology or seam codes may be loaded for each composite. Data fields that will not be stored must be skipped over with an nX format specification on the FMT1 line in the run file. If File 12 is loaded at the same time as File 9 (IOP4=0), the coordinates of the first composite for each hole are stored as the collar location in File 12. If File 12 has already been loaded, it will be overwritten if IOP2=1. If IOP2=0, the collar information will be appended to any existing data in File 12. The data stored to file 12 are: DHID, collar location, and pointers to composites in file 9. This file 12 should not be used to retrieve drillhole geometry. Input data fields that are blank will be read by the program as 0.0. Input data that is less than the minimum value for the item will be stored by the program as missing values. Input data that is greater than the maximum value for the item will be truncated to the maximum value. Input elevations equal to -99999 will be set equal to the default elevation (PAR1). Use a -1 to indicate a blank when entering alphanumeric item data in free format.

- PCF - ASCII file of composites (optional)

OUTPUT: - Survey File 12 - Composite File 9 - Printer Output file

Revised: 13-Sept-05

Page 500-1

M500V1-LOAD COMPOSITES INTO MINESIGHT FILES

MineSight Proprietary Software: Mintec, inc.

Page 500-2

Revised: 13-Sept-05

MineSight Proprietary Software: Mintec, inc.

M500V1 - LOAD COMPOSITES INTO MINESIGHT FILES

M500V1- LOAD COMPOSITES INTO MINESIGHT FILES


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-500V1 MEDS-500V1 where 10=filename 19=filename 12=filename 3=filename 9 (or 8)=filename;

MEDS-500V1 (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 12= the name of the SURVEY FILE 9= the name of the COMPOSITE FILE OR 8= the name of the SORTED COMPOSITE FILE 19= the name of the Sequential Input File (if IOP5=1) 3= the name of the PRINTER OUTPUT FILE 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 IOP3 = = = = = = USER INITIALS (e.g., ABC) N09 N12 -1 0 1 FIRST COMPOSITE DATA UNIT TO BE STORED FIRST SURVEY DATA UNIT TO BE STORED USE ALL DHS REGARDLESS OF X,Y LOCATION USE DHS WITHIN PROJECT LIMITS USE DHS WITHIN SPECIFIED BOUNDARY

NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command lines: CMD = INCL LOCPT FILE filename (to include points within the boundary) OR CMD = EXCL LOCPT FILE filename (to exclude points within the boundary) IOP4 = = = -1 0 1 LOAD FILE 9 COMPOSITES ONLY LOAD FILE 9 COMPOSITES AND FILE 12 COLLARS LOAD FILE 8 COMPOSITES ONLY

NOTE: If IOP4=-1 or 1, omit the 12 = filename in the names line. IOP5 = = = = 0 1 0 1 IF COMPOSITES ARE IN THIS RUN FILE IF COMPOSITES ARE IN A SEPARATE FILE IF DH-IDENT IS A 10-COLUMN ALPHANUMERIC IF DH-IDENT IS A NUMERIC REF# VALUE

IOP6

NOTE: 1) If IOP6 = 1, the first PUT09 item must be REF#. 2) IOP6 = 1 cannot be used when storing data into file 12 (IOP4 = 0)

Revised: 11-May-01

Page 500 -3

M500V1 - LOAD COMPOSITES INTO MINESIGHT FILES

MineSight Proprietary Software: Mintec, inc.

IOP13 =

STORE DHID INTO FILE 9/8

NOTE: 1) Used only if IOP6 = 0 2) By default, DHID items assumed to be DHID1 and DHID2. To override default, use commands: ITMn ITMn PAR1 = = = DHID1 label -ANDDHID2 label

DEFAULT ELEVATION (DEFAULT = PCF MINIMUM) LABELS OF DATA TO BE INPUT WITH M500V1 (if IOP4 = 0 or -1) LABELS OF DATA TO BE INPUT WITH M500V1 (if IOP4 = 1) FORMAT FOR INPUT DATA (FOR FREE FORMAT, SET FMT1= (*)) NOTE: The first field for the input data must be DH-IDENT and must be specified as 10A1 in FMT1. If IOP6 = 1, then the first field must be 10X.

PUT09 = -ORPUT08 = FMT1 =

ITM1

label LOCZ NOTE: An item to be used for composite elevation. Optional for 3DBM projects (default elevation item is ELEV.) Required for GSM projects. (e.g. ZTOP).

ITMn ITMn

= =

label LOCX label LOCY NOTE: Optional items to override EAST and NORTH items for composites eastings and northings.

ITMn ITMn

= =

DHID1 label DHID2 label NOTE: Optional items to override default DHID1 and DHID2 labels. Used only if IOP13 = 1.

END 4. BOUNDARY POINT LINES (if IOP3 = 1) If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format: Easting Northing (in free-field format) where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points allowed is 2000. 5. COMPOSITE DATA TO BE LOADED TO FILE (if IOP5 = 0) DH-IDENT EAST NORTH ELEV. values corresponding to the format specified by the FMT1 line. Data with a completely blank DH-IDENT will be ignored. The M500V1 run ends on end-of-file.

Page 500-4

Revised: 11-May-01

MineSight Proprietary Software: Mintec, inc.

M500V1 - LOAD COMPOSITES INTO MINESIGHT FILES

M500V1 SAMPLE RUN FILE


MEDS-500V1 10=SAMP10.DAT 9=SAMP09.DAT MEDS-500V1 3=RPT500.LA 19=DAT500.IA ** STORE COMPOSITE DATA FOR SAMPLE PROJECT ** USR IOP1 IOP3 IOP4 IOP5 = = = = = ABC 1 1 / 1ST LOC TO STORE IN FILE 9; FILE 12 -1 / -1=NO BOUNDARY,0=PCF BOUNDARY, 1=SPECIFIED BOUNDARY 0 / -1=LOAD FILE 9, 0=LOAD FILES 9 & 12, 1=LOAD FILE 8 1 / 0=COMPS IN THIS RUN FILE, 1=COMPS IN EXTERNAL FILE EAST NORTH ELEV. LNGTH T-CU MOLY EQCU / ITEMS TO STORE (5X,10A1,4F10.1,3F8.3) / FORMAT FOR INPUT 12=SAMP12.DAT;

PUT09 = FMT1 END =

M500V1 SAMPLE INPUT


10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 SM-010 | DH-IDENT 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 12750.0 | EAST 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 13250.0 | NORTH 4350.0 4300.0 4250.0 4200.0 4150.0 4100.0 4050.0 4000.0 3950.0 3900.0 3850.0 3800.0 3750.0 3700.0 3650.0 3600.0 3550.0 3500.0 3450.0 3400.0 3350.0 3300.0 3250.0 3200.0 3150.0 3100.0 3050.0 3000.0 2950.0 | ELEV. 16.5 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 50.0 | LNGTH 0.000 0.000 0.255 0.368 0.368 0.373 0.383 0.379 0.394 0.405 0.409 0.414 0.431 0.433 0.417 0.424 0.434 0.446 0.451 0.445 0.448 0.457 0.472 0.457 0.478 0.493 0.473 0.506 0.492 | T-CU 0.000 0.000 0.012 0.018 0.018 0.018 0.019 0.019 0.019 0.020 0.021 0.021 0.022 0.022 0.021 0.021 0.022 0.023 0.023 0.022 0.022 0.022 0.024 0.022 0.024 0.025 0.023 0.026 0.024 | MOLY 0.000 0.000 0.315 0.458 0.458 0.463 0.478 0.474 0.489 0.505 0.514 0.519 0.541 0.543 0.522 0.529 0.544 0.561 0.566 0.555 0.558 0.567 0.592 0.567 0.598 0.618 0.588 0.636 0.612 | EQCU

Revised: 11-May-01

Page 500 -5

M500V1 - LOAD COMPOSITES INTO MINESIGHT FILES

MineSight Proprietary Software: Mintec, inc.

HOW TO DEBUG AN M500V1 RUN


1. A common error is a mismatch between the FMT1 line and the PUT09 line in the run file. Make sure you have specified enough format fields to account for all items on the PUT09 line. Dont forget to specify the first format field as 10A1 for the DH-IDENT. Check that your format matches the data that is being read in. M500 ERROR IN COORDINATES will appear if you have not specified the standard coordinate items EAST, NORTH and ELEV. on the PUT09 or PUT08 line. 3. You should take care when loading File 9 and File 12 simultaneously. If you have already loaded File 12 (with M201V1), you may either overwrite File 12 (if IOP2=1 and IOP4=0) or append to it (if IOP2=0 and IOP4=0). If you are loading File 8, you should sort the input file on one of the coordinates (northing, easting or elevation) prior to running M500V1. The file can be sorted with your computer systems sort routine. Also check the MineSight error messages in the Appendix.

2.

4.

5.

Page 500-6

Revised: 11-May-01

MineSight Proprietary Software: Mintec, inc.

M501SM-COMPUTE SEAM COMPOSITES

M501SM COMPUTE SEAM COMPOSITES FROM DRILLHOLE DATA


PROGRAM SUMMARY
This program is used to compute weighted averages for grades and quality parameters within predefined seams. The items to be composited are specified using ITMn commands in the run file. The correspondence between the File 11 items (assays) and the File 9 items (composites) is also specified on the ITMn lines. Specific drillholes can be selected by using File 12 data unit numbers. By default, all drillholes in File 12 will be composited. A maximum of 14,999 drillholes can be composited in a single run. Multiple runs must be used when the drillhole database exceeds this limit. Any drillhole interval that has been deleted from File 11 (with M202TS) will be ignored by M501SM. NOTE: M501SM has a limitation on the total number of values that can be handled for any one drillhole, which is:
INPUT: - PCF - Files 11 & 12 CALCS: - Composite quality parameters over seams - Limit by litho code

PROGRAM FLOW DIAGRAM


RUN FILE: - Quality & composite labels - Compositing parameters - Seam table

(#Quality Parameters to composite)*(# seams) < 1000 M501SM establishes a linkage between File 9 and File 12. The number of composite data units for a drillhole is stored with the collar data in File 12 (in items #CMPS and LOC09). There is also a linkage between File 11 and File 12. The number of assay data units for a drillhole are stored in File 12 (in items #INTS and LOC11). You should be careful when recompositing data. You should set IOP1=0, IOP2=0, and IOP3=1 when rerunning M501SM to make sure that the composite items for all drillholes in File 12 are updated. Seam Splitting (Secondary Composite Code) In some cases, a single seam may contain internal parting of sufficient size to justify splitting the main seam into subseams. To split a seam, a split code must be stored in File 11 along with the main seam code. Splitting is specified in the M501SM run file with the line: ITMn = SPLIT label-09 label-11 or ITMn = SPLIT DUMMY label-11 If you specify label-09, the SPLIT code from File 11 will be stored in File 9. Internally, M501SM seam codes are renumbered using the following scheme: seam code = (seam code x 10) + split code However, this new seam code is not stored in File 9.

OUTPUT: - Composite File 9 - Printer Output file

Manually check the M501SM seam composites for completeness and any abnormal values. See the Introduction Section for other checks to be performed. Additional data may be added with M505V1, M508RP or M508V1.

REQUIREMENTS AND CONSIDERATIONS


M501SM uses a seam code to control compositing rather than a table of elevations. All drillhole data with the same code is averaged into a single composite, using sample lengths as the weighting factor. An optional geologic item may be used to select specified types of material for the composite averages.

Revised: 6-June-01

Page 501SM-1

M501SM-COMPUTE SEAM COMPOSITES Handling Different Partings There are two types of parting as shown below.

MineSight Proprietary Software: Mintec, inc. Handling Different Sampling

The diagram above shows different types of sampling within a seam: 1. Seam is fully sampled with one or more assays. In this case, FROM and -TO- represent the top and bottom of the seam so the sample define the seam. Examples 1, 1a, and 1b in the diagram illustrate this type of sampling. Example 1 is a single sample across the full seam and examples 1a and 1b are multiple samples across the full seam. Seam is partially sampled with one or more samples. In this case, FROM and -TO- do not represent the top and bottom of the seam. Examples 2, 2a, and 2b in the diagram illustrate this type of sampling. Example 2 is a single sample representing part or most of the seam. Examples 2a and 2b are multiple samples which represent part or most of the seam. Seam physically splits with one or more samples Examples 3a and 3b illustrate this type of sampling.

With Type 1 (internal length), a separate item is used (e.g., PART) in both File 11 and File 9. The input drillhole data must contain the measured PART. Use the following commands: IOP7 = 0 ITMn = WASTE PART PART Note: Second PART is a File 11 item. With Type 2 (separate, measured intervals), a separate parting item is set up in File 9 only, but File 11 must have a litho code. Use the following commands: IOP7 = 1 / single litho IOP8 = n / n=litho code for coal ITMn = WASTE PARTI TMn = LIMIT LITHO Note: The seam code on the waste interval must match that of the coal. LITHO is a File 11 item. Both Type 1 and Type 2 can exist in the same deposit. Use the following commands: IOP7 = 1 IOP8 = n ITMn = WASTE PART PART ITMn = LIMIT LITHO Note: Second PART is a File 11 item. LITHO is a File 11 item. 3. 2.

See the Sample File Section for further information on handling different sample types.

Page 501SM-2

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M501SM-COMPUTE SEAM COMPOSITES

M501SM - COMPUTE SEAM COMPOSITES


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS501SM MEDS501SM where 10=filename 9=filename 11=filename 19=filename 12=filename; 3=filename

MEDS501SM (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 11= the name of the ASSAY FILE 12= the name of the SURVEY FILE 9= the name of the output COMPOSITE FILE 19= the name of the optional Seam Definitions File 3= the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns) A single line of text information that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & freefield format) USR IOP1 IOP2 IOP3 = = = = = = USER INITIALS (e.g. ABC) M12 N12 M09 0 1 FIRST SURVEY DATA UNIT TO RETRIEVE (default = 1) LAST SURVEY DATA UNIT TO RETRIEVE (default = last survey stored) FIRST DATA UNIT LOCATION TO STORE COMPOSITES IN FILE 9 STORE COMPOSITES AT END OF FILE FOR THE FIRST RUN OR TO REWRITE THE FILE

NOTE: When rewriting File 9 (IOP3=1), recalculate all composites (IOP1;IOP2=0). IOP4 = = = = = IOP5 = = = = = = 0 1 2 3 4 FOR SPLITS (Optional secondary compositing code) FORCE OUTPUT OF NONEXISTENT SEAMS (Generate a 0.0 length composite for a missing seam) SET ZTOP/ZBOT TO SEAM ABOVE FOR NONEXISTENT SEAMS SAME AS 2 BUT ALSO ADD MISSING SEAMS AT END OF DH ADD NONEXISTENT SEAMS TO DHS WITHOUT ANY SEAMS

OPTION TO INPUT TABLE OF SEAM CODES FOR RUN 0 IF SEAMS 1 THROUGH IOP6 ARE TO BE COMPOSITED 1 READ TABLE OF SEAM CODES NUMBER OF SEAMS TO BE COMPOSITED (default = NZ from PCF) 2 SET 2TOP/8BOT TO SEAM ABOVE FOR NONEXISTENT SEAMS 3 SAME AS 2, BUT ALSO ADD MISSING SEAMS AT END OF DH

IOP6

Revised: 7-June-01

Page 501SM-3

M501SM-COMPUTE SEAM COMPOSITES

MineSight Proprietary Software: Mintec, inc.

IOP7

= = =

SPECIFY LITHOLOGY CODES TO DEFINE TYPES OF MATERIAL TO BE INCLUDED IN COMPOSITE AVERAGES 0 IF ALL LITHO TYPES ARE TO BE USED n THE NUMBER OF LITHO CODES SPECIFIED AS IOP8, ETC. NOTE: Use only with ITMn = LIMIT label-11 or ITMn = LITHO label-11.

IOP8 - n=

LITHO CODES TO LIMIT FILE 11 DATA USED TO COMPUTE AVERAGES (FOR QUALITY PARAMETERS). NOTE: Enter one IOP per litho code.

The ITM commands below allow you to control the compositing calculations in several different ways. The items for SEAM, LNGTH and ZTOP are required for all M501SM runs. ITMn ITMn ITMn ITMn ITMn . . ITMn ITMn = = = = = SEAM label-09 label-11 SPLIT label-09 label-11 SPLIT DUMMY label-11 Q.P. label-09 label-11 Q.P. label-09 label-11 Seam code to control run; required Optional split code; store split code in File 9 Optional split code; do not store split code in File 9 1st quality parameter to composite 2nd quality parameter to composite

= =

Q.P. label-09 label-11 LNGTH label-09 label-11

Last quality parameter to composite; max=40 Store dh length (LNGTH) or THICK vertical thickness (THICK); required, label-11 is optional. If specified, it is usually - AI -. If omitted, uses FROM and -TO- from File 11. Store top elevation of seam; required. Store bottom elevation of seam; optional.

ITMn ITMn

= =

ZTOP label-09 ZBOT label-09

Optional coordinates ITMn ITMn ITMn = = = XBOT label-09 YBOT label-09 Store easting & northing of bottom of seam. Must specify both together.

WASTE label-09 label-11 Store waste thickness; optional. Label-09 may be or PART used alone. LIMIT label-11 or LITHO WASTE label-09 label-11 EXCL Item from File 11 to limit intervals used to compute quality parameter averages; optional. Also use IOP7.

ITMn

ITMn OR ITMn ITMn ITMn

= = = =

Store waste thickness and non-assayed seam intervals, optional WASTE label-09 DUMMY EXCL Store non-assayed seam intervals as waste, optional READ SEAM FROM TO WT501 label-11 Read seam definitions from File 19, optional. Additional weighting factor for composite calculations, e.g., specific gravity; optional. Store DEPTH to seam in File 9; optional. Revised: 7-June-01

ITMn

DEPTH label-09

Page 501SM-4

MineSight Proprietary Software: Mintec, inc.

M501SM-COMPUTE SEAM COMPOSITES

ITMn

#INTS label-09 Q.P. VALUE

Store the number of Q.P./ore intervals within each seam; optional.

To store DHID in file 9 enter two item lines: ITMn ITMn = = DHID1 label9 DHID2 label9

NOTE: 1) You MUST enter both items to store DHID. 2) Those items must be initialized with min = max = 0 and precision 1. END 4. SEAM CODES TO BE COMPOSITED (if IOP5=1) Seam codes will be input at 10 per line in freefield format. Enter multiple lines, as necessary, to match the number of seams specified by IOP6.

Revised: 7-June-01

Page 501SM-5

M501SM-COMPUTE SEAM COMPOSITES

MineSight Proprietary Software: Mintec, inc.

M501SM SAMPLE RUN FILE #1


COAL-501SM 10=COAL10.DAT 11=COAL11.DAT 12=COAL12.DAT; COAL-501SM 9=COAL09.DAT 3=RPT501.LA ** COMPOSITE DRILLHOLE DATA INTO COAL SEAMS USR = ABC COM COM COM COM* IOP1 IOP3 IOP5 IOP6 IOP7 IOP8 = = = = = = DH COMPOSITE FUNCTION COMPS SEAM THICKNESS & QUALITY 1 1 1 3 0 0 00 / SURVEY FILE LIMITS / N=STORE AT NTH DATA UNIT IN FILE 9 / 1=READ TABLE OF SEAM CODES; 0=PCF SEAMS / N=NUMBER OF SEAMS; 0=DEFAULT TO PCF / 0=NO LITHO; N=# OF LITHO CODES, IOP8> 0 0 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS

COM SIMPLE SEAM DEFINITION WITHOUT SPLIT LINE ITM1 = SEAM SEAM SEAM COM QUALITY DATA TO BE AVERAGED ITM2 = Q.P. MOIST MOIST ITM3 = Q.P. ASH ASH ITM4 = Q.P. SULF SULF ITM5 = Q.P. BTU BTU ITM6 = LNGTH LNGTH -AIITM7 = ZTOP ZTOP ITM8 = ZBOT ZBOT ITM9 = DEPTH DEPTH ITM10 = DZBOT -TOI-O = 0 END 10 20 30

Page 501SM-6

Revised: 7-June-01

MineSight Proprietary Software: Mintec, inc.

M501SM-COMPUTE SEAM COMPOSITES

M501SM SAMPLE RUN FILE #2


COAL-501SM 10=COAL10.DAT 11=COAL11.DAT 9=COAL09.DAT 3=RPT501.LA ** COMPOSITE DRILLHOLE DATA INTO COAL SEAMS COM USR COM* IOP1 IOP3 IOP5 IOP6 IOP7 IOP8 COM ITM1 COM ITM2 ITM3 ITM4 ITM5 ITM6 ITM7 TM8 ITM9 ITM10 I-O END 10 20 30 USE LITHOLOGY CODES TO LIMIT COMPOSITING = ABC 12=COAL12.DAT; 3COAL-501SM

COMPS SEAM THICKNESS & QUALITY = 1 00 / SURVEY FILE LIMITS = 1 / N=STORE AT NTH DATA UNIT IN FILE 9 = 1 / 1=READ TABLE OF SEAM CODES; 0=PCF SEAMS = 3 / N=NUMBER OF SEAMS; 0=DEFAULT TO PCF = 6 / 0=NO LITHO; N=# OF LITHO CODES, IOP8> = 1 2 3 4 5 6 / LITHO CODES TO BE USED IN AVG Q.P. CALCS SIMPLE SEAM DEFINITION WITHOUT SPLIT LINE = SEAM SEAM SEAM QUALITY DATA TO BE AVERAGED = Q.P. MOIST MOIST = Q.P. ASH ASH = Q.P. SULF SULF = Q.P. BTU BTU = = = = = = LNGTH LNGTH -AIZTOP ZTOP I ZBOT ZBOT DEPTH DEPTH LITHO CODE 0

Revised: 7-June-01

Page 501SM-7

M501SM-COMPUTE SEAM COMPOSITES

MineSight Proprietary Software: Mintec, inc.

HOW TO HANDLE DIFFERENT TYPES OF SAMPLING


Sample Drillhole Data #1: All Drillhole Intervals Defined

X-col 77-012 77-012 77-012 77-012 77-012 77-012 77-012 77-012 77-012 77-012 77-012 77-012 77-012 17026. 0.00 2.40 126.00 134.00 154.10 177.80 184.60 203.00 204.20 204.60 208.40 | FROM

Y-col Z-col 14999. 1059.6 2.40 126.00 134.00 154.10 177.80 184.60 203.00 204.20 204.60 208.40 219.10 | -TO2.40 123.6 8.00 20.10 23.70 6.80 18.40 1.20 0.40 3.80 10.70 | -AI-

Azi Dip Length 0.0 -90.0 219.1 1 0 0 0.00 0.00 0.00 0.00 2 0 0 0.00 0.00 0.00 0.00 3 0 0 0.00 0.00 0.00 0.00 4 10 12399 11.34 6.12 0.74 0.00 5 0 0 0.00 0.00 0.00 0.00 4 20 10499 9.57 7.64 0.73 0.12 6 0 0 0.00 0.00 0.00 0.00 4 30 9836 10.02 8.59 0.37 0.00 7 30 3115 15.05 20.02 2.11 0.00 4 30 9901 10.51 8.21 0.42 0.00 8 0 0 0.00 0.00 0.00 0.00 | | | | | | | RK SM BTU MOIST ASH SULF PART <Quality Parameters >

If your sample data resembles the example above, the following options are available to you. To average the quality paramters for each seam IOP7 IOP8 ITMn = = = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS WASTE PART / OPTIONAL ITEM TO DEFINE PARTINGS NORTH 14999.0 14999.0 14999.0 ZTOP 925.6 881.8 856.6 ZBOT 905.5 875.0 851.2 BTU 12399 10499 9384 SEAM 10. 20. 30. PART 0.00 0.00 0.00 LNGTH FROM 20.1 134.0 6.8 177.8 5.4 203.0 -TO154.1 184.6 208.4

HOLE# EAST 77-012 17026.0 77-012 17026.0 77-012 17026.0

To average the quality parameters for each seam and store the parting thickness IOP7 IOP8 ITMn = = = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS WASTE PART PART / OPTIONAL ITEM TO DEFINE PARTINGS NORTH 14999.0 14999.0 14999.0 ZTOP 925.6 881.8 856.6 ZBOT 905.5 875.0 851.2 BTU 12399 10499 9384 SEAM 10. 20. 30. PART 0.00 0.12 0.00 LNGTH FROM 20.1 134.0 6.8 177.8 5.4 203.0 -TO154.1 184.6 208.4

HOLE# EAST 77-012 17026.0 77-012 17026.0 77-012 17026.0

Page 501SM-8

Revised: 7-June-01

MineSight Proprietary Software: Mintec, inc.

M501SM-COMPUTE SEAM COMPOSITES

To average the quality parameters only for certain lithologies in each seamand treat the remainder of each seam as parting IOP7 IOP8 ITMn ITMn = = = = 1 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn 4 / LITHO CODES TO BE USED IN AVG Q.P. CALCS LIMIT LITHO / OPTIONAL CODE TO DEFINE COAL INTERVALS WASTE PART / OPTIONAL ITEM TO DEFINE PARTINGS NORTH 14999.0 14999.0 14999.0 ZTOP 925.6 881.8 856.6 ZBOT 905.5 875.0 851.2 BTU 12399 10499 9885 SEAM 10. 20. 30. PART 0.00 0.00 0.40 LNGTH FROM 20.1 134.0 6.8 177.8 5.4 203.0 -TO154.1 184.6 208.4

HOLE# EAST 77-012 17026.0 77-012 17026.0 77-012 17026.0

To read the top and bottom of each seam from another file COAL-501SM IOP7 IOP8 ITMn ITMn = = = = 19=CTSEAM.MOD

0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS WASTE PART PART / OPTIONAL ITEM TO DEFINE PARTINGS READ SEAM FROM TO / OPTION FILE OF SEAM DEFINITIONS

FILE CTSEAM.MOD 77-012 134.10 154.50 77-012 177.70 184.50 77-012 203.00 208.40 HOLE# EAST 77-012 17026.0 77-012 17026.0 77-012 17026.0 NORTH 14999.0 14999.0 14999.0

10 20 30 ZTOP 925.5 881.9 856.6 ZBOT 905.1 875.1 851.2 BTU 12399 10499 9384 SEAM 10. 20. 30. PART 0.00 0.12 0.40 LNGTH FROM 20.4 134.1 6.8 177.7 5.4 203.0 -TO154.5 184.5 208.4

Revised: 7-June-01

Page 501SM-9

M501SM-COMPUTE SEAM COMPOSITES

MineSight Proprietary Software: Mintec, inc.

Sample Drillhole Data #2: Coal Intervals Only


77-012 77-012 77-012 77-012 77-012 77-012 X-col 17026. 134.00 177.80 203.00 204.60 FROM Y-col 14999. 154.10 184.60 204.20 208.40 -TOZ-col Azi 1059.6 0.0 20.10 6.80 1.20 3.80 -AI10 20 30 30 SM Dip -90.0 Length 219.1

12399 11.34 6.12 0.74 0.00 10499 9.57 7.64 0.73 0.12 9836 10.02 8.59 0.37 0.00 9901 10.51 8.21 0.42 0.00 BTU MOIST ASH SULF PART < Quality Parameters >

If your sample data resembles the example above, the following options are available to you. To store partings inside each assay interval and store any portion of a seamnot assayed as parting IOP7 IOP8 ITMn HOLE# 77-012 77-012 77-012 = = = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS WASTE PART PART EXCL / OPTIONAL ITEM TO DEFINE PARTINGS NORTH 14999.0 14999.0 14999.0 ZTOP 925.6 881.8 856.6 ZBOT 905.5 875.0 851.2 BTU 12399 10499 9885 SEAM 10. 20. 30. PART 0.00 0.12 0.40 LNGTH FROM 20.1 134.0 6.8 177.8 5.4 203.0 -TO154.1 184.6 208.4

EAST 17026.0 17026.0 17026.0

To only store any portion of a seam not assayed as partings IOP7 IOP8 ITMn HOLE# 77-012 77-012 77-012 = = = 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8>IOPn 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS WASTE PART DUMMY EXCL / OPTIONAL ITEM TO DEFINE PARTINGS NORTH 14999.0 14999.0 14999.0 ZTOP 925.6 881.8 856.6 ZBOT 905.5 875.0 851.2 BTU 12399 10499 9885 SEAM 10. 20. 30. PART 0.00 0.00 0.40 LNGTH FROM 20.1 134.0 6.8 177.8 5.4 203.0 -TO154.1 184.6 208.4

EAST 17026.0 17026.0 17026.0

Page 501SM-10

Revised: 7-June-01

MineSight Proprietary Software: Mintec, inc.

M501SM-COMPUTE SEAM COMPOSITES

M501SM SAMPLE RUN FILE #3


COAL-501SM 10=COAL10.DAT 11=COAL11.DAT COAL-501SM 9=COAL09.DAT 19=CTSEAM.MOD * COMPOSITE SEAMS USING CTSEAM.MOD DEFINITION FILE USR COM COM COM IOP1 IOP3 IOP4 IOP5 IOP6 IOP7 IOP8 COM ITM1 ITM2 ITM3 ITM4 ITM5 ITM6 COM ITM7 ITM8 ITM9 ITM10 I-O END = ABC 12=COAL12.DAT; 3=RPT501.LA

SEAM COMPOSITE FUNCTION

= = = = = = =

1 00 / SURVEY FILE LIMITS 1 / N=STORE AT NTH DATA UNIT IN FILE 9 1 / 1=OUTPUT NON-EXISTENT SEAMS 0 / 1=READ TABLE OF SEAM CODES; 0=PCF SEAMS 3 / N=NUMBER OF SEAMS; 0=DEFAULT TO PCF 0 / 0=NO LITHO; N=# OF LITHO CODES, IOP8> 0 0 0 / LITHO CODES TO BE USED IN AVG Q.P. CALCS

BASIC SEAM DEF (NO SPLIT CODE) = SEAM SEAM SEAM = LNGTH LNGTH -AI= ZTOP ZTOP = ZBOT ZBOT = DEPTH FROM = DZBOT -TOQUALITY DATA TO BE AVERAGED = Q.P. BTU BTU / 1ST VALUE TO COMPOSITE = Q.P. SULFR SULFR / 4TH VALUE TO COMPOSITE = WASTE PART PART / OPTION ITEM TO DEFINE PARTINGS = READ SEAM FROM TO / OPTIONAL FILE OF SEAM DEFINITIONS = 1

Revised: 7-June-01

Page 501SM-11

M501SM-COMPUTE SEAM COMPOSITES

MineSight Proprietary Software: Mintec, inc.

M501SM SAMPLE FILE OF SEAM DEFINITIONSCTSEAM.MOD


77-006 77-006 77-006 77-012 77-012 77-012 77-013 77-013 77-013 77-015 77-015 77-015 78-004 78-004 78-004 78-005 78-005 78-005 79-004 79-004 79-004 79-008 79-008 79-008 79-009 79-009 79-009 182.90 227.40 250.70 134.10 177.70 203.00 10.50 43.00 69.40 32.50 70.90 95.80 118.50 159.20 189.30 85.90 127.30 156.30 194.90 236.50 262.20 7.60 32.10 57.70 81.90 114.70 146.50 204.20 233.10 256.20 154.50 184.50 208.40 31.40 50.40 74.80 50.30 78.50 101.10 136.40 166.30 194.80 104.00 134.70 161.80 213.50 242.70 267.80 32.10 39.90 63.60 94.90 121.90 150.50 10 20 30 10 20 30 10 20 30 10 20 30 10 20 30 10 20 30 10 20 30 10 20 30 10 20 30

Page 501SM-12

Revised: 7-June-01

MineSight Proprietary Software: Mintec, inc.

M501SM-COMPUTE SEAM COMPOSITES

HOW TO DEBUG AN M501SM RUN


1. ** READ ERROR ON COLLAR DATA ** This error message will appear if there is some problem with File 12. 2. ** READ ERROR ON ASSAY DATA ** This error message will appear if there is some problem with File 11. 3. ** M501AS ERROR: TOO MANY SEAMS will appear if more than 1000 composites are assigned for one hole. 4. ** M501AS ERROR: INVALID TYPE = xxx will appear if an incorrect File 11 item is selected for compositing. 5. ** Q.P.S WILL NOT BE COMPOSITED will appear if no items were selected for compositing. 6. **M501AS: NO COMPOSITING CODE ** will appear if a composite control code was not specified (ITMn = SEAM label-09 label-11). 7. **M501AS: NO ZTOP ITEM ENTERED will appear if the line ITMn = ZTOP label-09 is missing from your run file. 8. Manually check composite calculations: 9. 10. Spot check coordinate calculations Check for abnormally high average values Check for missing composite values

If IOP7 and IOP8 are specified (lithology limit), then also use ITMn = LITHO label-11. The MAXIMUM number of drillholes (14999) has been exceeded.All subsequent drillholes will be ignored. Remaining drillholes may be composited in subsequent runs by setting IOP1 to 15000 (or 30000, 45000, etc.) and setting IOP3=0.

11.

Also check the MineSight error messages in the Appendix.

Revised: 7-June-01

Page 501SM-13

M501SM-COMPUTE SEAM COMPOSITES

MineSight Proprietary Software: Mintec, inc.

Page 501SM-14

Revised: 7-June-01

MineSight Proprietary Software: Mintec, inc.

M501V1-COMPUTE BENCH COMPOSITES FROM DRILLHOLE DATA

M501V1 COMPUTE BENCH COMPOSITES FROM DRILLHOLE DATA


PROGRAM SUMMARY
M501V1 is used to compute weighted average grades (composites) for fixed vertical intervals (benches).

REQUIREMENTS AND CONSIDERATIONS


To calculate composites, M501V1 uses the table of bench elevations stored in the PCF to determine which portions of each drillhole fall within each vertical bench. This table of elevations is created by M101V1. The composites are calculated as the length weighted average of all samples that will fall within the bench. An additional weighting factor such as specific gravity may also be specified. The items to be composited are specified using ITMn commands in the run file. The correspondence between the File 11 items (assay) and File 9 items (composites) is also specified on the ITMn lines. Specific drillholes can be selected by the File 12 data unit numbers. By default, all drillholes in File 12 will be composited.

PROGRAM FLOW DIAGRAM


RUN FILE: - DH selection - Assay & composite labels - Compositing parameters - Toe elevations table

INPUT: - PCF - Files 11 & 12

CALCS: - Divide assay intervals for elevation table - Calculate weighted average - Calculate midpoint coords - Record DH distances

Drillholes can also be selected by rectangular area or by an irregular boundary. Any drillhole interval that has been deleted from File 11 (with M202FS) will be ignored by M501V1. The composite northing and easting coordinates are calculated at the bench midpoint. The composite elevation is taken at the bench toe.

OUTPUT: - Composite File 9 - Printer Output File

M501V1 is limited to a total of 500 items for both assay and composite files, including limiting items, geology matching items, etc in a single run. M501V1 establishes a linkage between File 9 and File 12. The number of composite data units for a drillhole are stored with this collar information in File 12 (in items #CMPS and LOC09). There is also a linkage between File 11 and File 12. The number of assay data units for a drillhole are stored in File 12 (in items #INTS and LOC11). You should be careful when recompositing data. Set IOP1;IOP2=0 and IOP3=1 when rerunning M501V1 to make sure that the composite items for all the drillholes in File 12 are updated.

Manually check the M501V1 bench composites for completeness and any abnormal values. See the Introduction Section on other checks to be performed. Additional data may be added with M505V1, M508RP, or M508V1.

Revised: 28-May-09

Page 501-1

M501V1-COMPUTE BENCH COMPOSITES FROM DRILLHOLE DATA

MineSight Proprietary Software: Mintec, inc.

FIXED LENGTH COMPOSITES


MineSight can calculate composites in several different ways. You can composite to equal-height bench intervals, variableheight bench intervals, between top and bottom of a coal seam, between hangingwall and footwall of a vein, or by fixed length from the collar of the drillhole. Program M501SM calculates seam composites. Vein composites are calculated usually by a special routine or by M501SM. M501V1 calculates bench composites and fixed-length composites. If you are calculating bench composites, horizontal drillholes present a problem because they do not cross the bench toe or crest. In this case, the drillhole is composited in fixed lengths from the collar. The length is set with PAR10. To determine whether a drillhole is horizontal or vertical (for compositing purposes), use the dip angle as the limiting angle (actually PAR4 is the sine of the dip angle). Any drillhole with a dip less than the limiting angle is treated as a horizontal drillhole. If you use fixed-length composites, make sure you use the proper options in M505V1 and M516V1. For M501V1 and M620V1, the programs will work without the ZMID options but may give slightly different results. The options for M505V1 and M516V1 are needed for the programs to work. Please note that all the options for fixed length composites are in the menu system. NOTE: To compute just fixed length composites with M501V1. Use these four lines in the run-file. IOP11 = 1 /1=Composite fixed length composites from collar / Downhole composite length (** = user supplied value)

NOTE: To add geologic codes to the intervals, include these two lines in M505V1 run-file. PAR2 = ** / Downhole composite length (must match PAR10 in M501V1)

ITMn

DZBOT DEPTH / The keyword is DZBOT and the label can be -to-, depth, from, etc., BUT IT MUST MATCH the label used in M501V1. (for this example it is -TO-)

To store the coordinates of the composite endpoints, add the following line to the run file: CMD = COORD xtop ytop ztop xbot ybot zbot Where: xtop, etc are the appropriate File 9 item labels (in this specified order.) In this case the midpoint elevation is stored in the File 9 item elev..

You can optionally merge small composite intervals to the previous composite. The options include merging all small composites to the previous composite, or merging only small composites at the end of the drillhole to the previous composite. These options are specified using IOP14=1 or 2, together with a PAR12 threshold value.

PAR10 =

**

ITMn

DEPTH label 9 /The keyword is DEPTH and the label can be -to- depth, from, etc. ZMID label 9 / Store the composite midpoint elevation. The keyword is ZMID. Typically the label is elev.

ITMn

NOTE: To do bench compositing and fixed length compositing in one pass, use IOP11=2. In this case, the data will be composited by bench, if the sine of the drillhole angle is greater than PAR4, and the data will be composited by fixed length, if the sine of the drillhole angle is less than or equal to PAR4. IOP11 = 2 /2=Composite both by bench & fixed length. Revised: 28-May-09

Page 501-2

MineSight Proprietary Software: Mintec, inc.

M501V1-COMPUTE BENCH COMPOSITES

M501V1COMPUTE BENCH COMPOSITES


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-501V1 MEDS-501V1 where 10=filename 9=filename 11=filename 3=filename 12=filename;

MEDS-501V1 (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 11= the name of the ASSAY FILE 12= the name of the SURVEY FILE 9= the name of the output COMPOSITE FILE 3= the name of the PRINTER OUTPUT FILE 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 IOP3 = = = = = = USER INITIALS (e.g., ABC) M12 N12 M09 0 1 FIRST SURVEY DATA UNIT TO RETRIEVE (default = 1) LAST SURVEY DATA UNIT TO RETRIEVE (default = last survey stored) FIRST DATA UNIT TO STORE COMPOSITES IN FILE 9 STORE COMPOSITES AT THE END OF FILE FOR THE FIRST RUN OR TO REWRITE FILE

NOTE: When rewriting File 9 (IOP3=1), recalculate all composites (IOP1; IOP2=0). IOP4 = = = = AREA SELECTION FOR X,Y RUN -1 COMPOSITE ALL DHS REGARDLESS OF X,Y LOCATION 0 COMPOSITE DHS WITHIN COORDINATE LIMITS, PAR5-PAR8 1 COMPOSITE DHS WITHIN A SPECIFIED BOUNDARY NOTE: If IOP4 = 1, the specified boundaries can be in a separate file. Use one of the following command lines: CMD = INCL LOCPT FILE filename (to include points within the boundary) -ORCMD = EXCL LOCPT FILE filename (to exclude points within the boundary) IOP5 = = = = BENCH TOE ELEVATIONS TO BE USED -1 CALCULATE A TABLE OF TOE ELEVATIONS FOR RUN FROM PAR1, 2 & 3 BELOW 0 USE PCF TABLE OF TOE ELEVATIONS n NUMBER OF TOE ELEVATIONS TO READ FROM TABLE AT END OF RUN FILE

Revised: 11-May-01

Page 501-3

M501V1-COMPUTE BENCH COMPOSITES

MineSight Proprietary Software: Mintec, inc.

IOP6

= = = = = = =

1 0 0 1 2 0 1

PRINT DETAILS OF COMPOSITE CALCULATIONS STANDARD OUTPUT OUTPUT ALL COMPOSITES, EVEN IF LENGTH IS 0.0 (default) OMIT ANY COMPOSITE IF ALL GRADES ARE MISSING LIST COMPOSITES ONLY IF THEY ARE WITHIN SELECTED RANGE USE VERTICAL OR HORIZONTAL LENGTH AS WEIGHT (default) USE SLOPE LENGTH AS WEIGHT

IOP8

IOP9

NOTE: Slope length will be stored as well. Alternative command is: ITMn = SLOPE label-09 IOP10 = IOP11 = = = 1 0 1 2 OUTPUT ADDITIONAL DEBUG INFORMATION COMPOSITE BY BENCH (Default) CALCULATE FIXED LENGTH COMPOSITES FROM COLLAR COMPOSITE BOTH BY BENCH (if sine of drillhole angle >PAR4) AND FIXED LENGTH (if sine of drillhole angle =<PAR4).

NOTE: Specify length with PAR10. IOP12 = = 0 1 CALCULATE FIXED LENGTH COMPOSITES WITHOUT REGARD TO GEOL ITEM HONOR GEOL CODES FOR FIXED LENGTH COMPOSITES (See ITMn=GEOL) i.e., composites cannot span different geology zones STORE DHID IN THE COMPOSITE FILE

IOP13 =

NOTE: By default, DHID items are assumed to be: DHID1 and DHID2. To override the default DHID labels, use ITMnn lines. IOP14 = = = 0 1 2 NO MERGING OF COMPOSITES MERGE ALL SMALL COPMOSITES BELOW PAR12 THRESHOLD TO PREVIOUS COMPOSITE MERGE ONLY SMALL COMPOSITE AT END FO DRILLHOLE TO PREVIOUS COMPOSITE IF BELOW PAR12 THRESHOLD

PAR1 PAR2

= =

MAXIMUM ELEVATION OF RUN (default = PCF 30) MINIMUM ELEVATION OF RUN (default = PCF 29) NOTE: PAR1 and PAR2 are used only if IOP5 is not equal to 0.

PAR3 PAR4

= =

BENCH HEIGHT FOR RUN (default = PCF 31) SINE OF THE LIMITING ANGLE (default = (DZ/SQRT (DX**2 + DZ**2))) NOTE: If you chose a non-default limiting angle, then you must remember to include this value in your M505V1 (PAR1) and M516V1 (PAR13) run files. See the Technical Section for more information.

PAR5 PAR6 PAR7 PAR8

= = = =

MINIMUM EASTING MAXIMUM EASTING MINIMUM NORTHING MAXIMUM NORTHING NOTE: Use PAR5-8 only if IOP4 = 0. If PAR5-8 are not specified (i.e., PAR5 = PAR6 = 0.0 and/or PAR7 = PAR8 = 0.0), then values are retrieved from the PCF by default.

Page 501-4

Revised: 24-Oct-04

MineSight Proprietary Software: Mintec, inc.

M501V1-COMPUTE BENCH COMPOSITES

PAR10 =

OPTIONAL BLOCK SIZE FOR HORIZONTAL COMPOSITES OR DOWNHOLE COMPOSITE LENGTH (If IOP11=1) DEFAULT VALUE OF WEIGHTING FACTOR (used if weighting item is used, default=0). COMPOSITE MERGE THRESHOLD LENGTH (default=0). NOTE: If PAR12 > 0, then the value of PAR12 will the the threshold used to determine whether to merge a composite to a previous composite.

PAR11 = PAR12 =

Item commands to control compositing: ITMn ITMn ITMn ITMn = = = = GRADE label-09 label-11 GRADE label-09 label-11 GRADE label-09 label-11 THICK label-09 (of first grade) First assay to composite Second assay to composite Last assay to composite Store vertical composite length (or weight if WT501 command is used)

NOTE: For 3-D rotated models, vertical length is counted in the model Z direction. ITMn ITMn = = SLOPE label-09 (of first grade) SLOPE DUMMY (of first grade) Store slope composite length (or weight if WT501 command is used) Print but do not store composite length

NOTE: Only one (THICK label-09 , SLOPE label-09 OR SLOPE DUMMY) may be selected per run. ITMn = DIST label-09 Store vertical (if THICK) or slope (if SLOPE) composite length of the first grade item regardless of whether the WT501 command is specified.

NOTE: Normally the SLOPE or THICK command stores the length of the first grade item. However, a WT501 command overrides this and instead stores the weight. The DIST command acts independently of WT501 and always stores the length of the first grade item. ITMn = DEPTH label-09 Store depth to end of composite interval

NOTE: Reference will be to the toe of the bench in which the drillhole terminates. ITMn ITMn = = DEPTH DUMMY WT501 label-11 Print depth to end of composite interval To use an additional weighting factor in comp. calculations, i.e. specific gravity. Total weight (Length x additional weight) will be stored in File 9 if WT501 item is not composited. Store opt. midpoint elevation Geology code item to control compositing of fixed length composites; a new composite is started each time the geology item changes value.

ITMn ITMn

= =

ZMID label-09 GEOL label11

Revised: 24-Oct-04

Page 501-5

M501V1-COMPUTE BENCH COMPOSITES

MineSight Proprietary Software: Mintec, inc.

Optional line to store composite endpoints: CMD = COORD xtop ytop ztop xbot ybot zbot

Optional line to override controlling Z-item (item to be used as composite elevation) CMD = ZCRD label-09

Optional Data Selection by RANGE, OMIT, or TABLE: ITMn ITMn ITMn = label-11 RANGE min-value max-value = label-11 OMIT min-value max-value = label-11 TABLE list of values

Optional labels for DHID items (if different from DHID1 and DHID2): ITMn ITMn FMT1 END 4. BOUNDARY POINT LINES (if IOP4=1) If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format: Easting Northing (in free-field format) where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points allowed is 2000. 5. TOE ELEVATIONS TABLE (If IOP5>0) The number of values per line and their format are specified by the FMT1 line. = = = DHID1 label-09 DHID2 label-09 FORMAT TO READ ARRAY OF TOE ELEVATIONS (If IOP5 > 0)

Page 501-6

Revised: 24-Oct-04

MineSight Proprietary Software: Mintec, inc.

M501V1-COMPUTE BENCH COMPOSITES

M501V1 SAMPLE RUN FILE #1


MEDS-501V1 10=SAMP10.DAT 11=SAMP11.DAT MEDS-501V1 9=SAMP09.DAT 3=RPT501.LA ** COMPOSITE DRILLHOLE DATA ** FIXED LENGTH USR IOP1 IOP3 IOP4 IOP5 IOP6 IOP8 IOP11 PAR1 PAR2 PAR3 PAR10 ITM1 ITM2 ITM3 ITM4 END = = = = = = = = = = = = = = = = ABC 10 1 -1 0 0 1 1 300 -200 8 5 12=SAMP12.DAT;

/ M12 & N12 LIMITS / START LOCATION FOR COMPOSITES IN FILE 9 / 0=COMPOSITE DH IN PCF LIMIT; -1=ALL DHS; 1=SPECIAL BOUND / 0=PCF TOES;N=READ TABLE;-1=CALC. A TABLE / 0=STD. OUTPUT; 1=PRINT DETAILS OF COMPOSITE CALCULATION / 1=DO NOT OUTPUT 0 LENGTH COMPS / 1=CALCULATE FIXED LENGTH / ZMAX /ZMIN / DZ / LENGTH

THICK LNGTH DEPTH -TOGRADE GOLD GOLD ZMID ELEV.

M501V1 SAMPLE RUN FILE #2


MEDS-501V1 10=SAMP10.DAT 11=SAMP11.DAT MEDS-501V1 9=SAMP09.DAT 3=RPT501.LB ** COMPUTE COMPOSITE DATA FOR SAMPLE PROJECT ** USR IOP1 IOP3 IOP4 IOP5 IOP6 IOP8 COM ITM1 ITM2 ITM3 ITM4 ITM5 ITM6 COM END = = = = = = = ABC 10 1 -1 0 0 2 /FIRST AND LAST SURVEY DATA UNITS FROM FILE 12 / START LOCATION FOR COMPOSITES IN FILE 9 / -1= NO BOUNDARY, 0= PCF BOUNDARY, 1= SPECIAL BOUND / 0=PCF TOES;N=READ TABLE;-1=CALC. A TABLE / 0= STD. OUTPUT, 1= PRINT DETAILS / 0= PRINT ALL COMPOSITES, 1= PRINT ONLY NON-ZERO LENGTH COMPOSITES / 2= LIST ONLY WITHIN SELECTED RANGE 12=SAMP12.DAT;

= = = = = =

GRADE T-CU T-CU / COMPOSITE TOTAL COPPER GRADE MOLY MOLY / COMPOSITE MOLY GRADE ROCK ROCK /COMPOSITE ROCK THICK LNGTH / STORE VERT THICKNESS IN LNGTH ITEM DEPTH DHTOE / STORE DEPTH TO TOE OF COMPOSITE ROCK RANGE 3 4 TO USE THIS OPTION ITM3= GRADE ROCK ROCK MUST BE PRESENT

Revised: 11-May-01

Page 501-7

M501V1-COMPUTE BENCH COMPOSITES

MineSight Proprietary Software: Mintec, inc.

M501V1 SAMPLE RUN FILE #3


MEDS-501V1 10=SAMP10.DAT 11=SAMP11.DAT 12=SAMP12.DAT; MEDS-501V1 9=SAMP09.DAT 3=RPT501.LC ** COMPOSITE WITHIN BOUNDARY AND OVER CALCULATED TOE TABLE ** USR IOP1 IOP3 IOP4 COM IOP5 IOP6 IOP8 COM PAR1 PAR2 PAR3 ITM1 ITM2 ITM3 ITM4 ITM5 I-O CMD END = = = = ABC

00 / STARTING AND ENDING COLLAR IN FILE 12 1 / START LOCATION FOR COMPOSITES IN FILE 9 1 / 0=COMPOSITE DH IN PCF LIMIT -1=ALL DHS; 1=SPECIAL BOUND = -1 / 0=PCF TOES;N=READ TABLE;-1=CALC. A TABLE = 1 / PRINT DETAILS OF COMPOSITE CALCULATION = 0 / 0 = OUTPUT ALL COMPS. 1 = OMIT COMP IF ALL ASSAYS MISSING = 4000 = 2000 = 100 = = = = = = = / MAXIMUM ELEVATION TO COMP / MINIMUM ELEVATION TO COMP / BENCH HEIGHT TO COMP

GRADE T-CU T-CU / COMPOSITE TOTAL COPPER GRADE ROCK ROCK / COMPOSITE ROCK CODES GRADE MOLY MOLY / COMPOSITE MOLY THICK LNGTH / STORE VERT THICKNESS IN LNGTH ITEM DEPTH DHTOE / STORE DEPTH TO TOE OF COMPOSITE 1 / TYPE A LINE FOR EACH DH

INCL LOCPT FILE BOUND.PTS / FILE OF BOUNDARY POINTS

Page 501-8

Revised: 11-May-01

MineSight Proprietary Software: Mintec, inc.

M501V1-COMPUTE BENCH COMPOSITES

HOW TO DEBUG AN M501V1 RUN


1. ?M501V1: ERROR. You need a GEOL code to use IOP12. You need to specify a file 11 GEOLOGY item in order to use IOP12. 2. ?M501V1: ERROR. Nothing stored for file 12. Run M104TS with LIST to check the number of data inits. The PCF thinks your file 12 is empty. If this is not true, use M104TS to see how many data units are stored in file 12. You may have to rebuild your file 12. 3. ?M501V1: ERROR reading collar data for K12= 13. Theres some problem with your file 12 at survey 13. Use M202FS to view the offending drillhole. 4. ?M501V1: WARNING. DH SM-020 extends below PCF minimum. Ignoring rest of hole. To composite entire hole, use IOP5 = -1 and PARs 1-3 Drillhole SM-202 will only be composited to the bottom of the PCF. If you want to composite the entire hole, you should redefine the elevation limits of your program run by using PAR1 and PAR2. 5. ?M501V1: WARNING. DH SM-020 extends outside the PCF . To composite entire hole, use IOP5 = -1 and PARs 1-3 Drillhole SM-202 will only be composited to the bottom of the PCF>. If you want to composite the entire hole, you should redefine the elevatiopn limits of your program fun by using PAR1 and PAR2. 6. M501V1: WARNING. DH SM-020 extends outside the limits defined by PAR1 and PAR2. Part of this hole will not be composited. You have redefined the z limits of your program run using PAR1 and PAR2 but drillhole SM-020 still exceeds these limits. The above message only occurs when I-O is greater than zero. 7. ?M501V1: FMT1 has not been specified. If IOP5 is greater than zero you need to specify a FORMAT for reading the array of toe elevations. 8. ?M501V1: WARNING. No LENGTH item in run file. You have not specified a THICK or SLOPE length item in which to store the composite length. 9. ?M501V1: ERROR. Only 1 length item is allowed: SLOPE THICK . Remove one of these items from your run file.

Revised: 11-May-01

Page 501-9

M501V1-COMPUTE BENCH COMPOSITES

MineSight Proprietary Software: Mintec, inc.

10.

You may check the internal calculations in M501V1 to verify results or to determine what assay intervals are being used (IOP6=1). The following is a listing for vertical composites:

DRILLHOLE SM-022 K12# 27 VERT. DIST= 0.9781 * SLOPE FROM 0.0 20.0 20.0 40.0 60.0 80.0 80.0 100.0 120.0 120.0 -TO20.0 40.0 40.0 60.0 80.0 100.0 100.0 120.0 140.0 140.0 ZTOP 4331.30 4311.74 4300.00 4292.17 4272.61 4253.05 4250.00 4233.49 4213.92 4200.00 ZBOT 4311.74 4300.00 4292.17 4272.61 4253.05 4250.00 4233.49 4213.92 4200.00 4194.36 ASSAY 0.000 0.000 0.000 0.000 0.000 0.850 0.850 0.860 0.860 0.860 # 6 6 7 7 7 7 8 8 8 9 S-DIST 19.56 31.30 7.83 27.39 46.95 50.00 16.51 36.08 50.00 5.64 S-PROD 0.000 0.000 0.000 0.000 0.000 42.500 14.038 30.862 42.835 4.851

where FROM & -TO- are the File 11 drillhole distances ZTOP = elevation at FROM distance ZBOT = elevation at -TO- distance

ASSAY = first value of interval from File 11, T-CU # = bench reference number S-DIST = sum of the vertical distances within bench # S-PROD = sum of ASSAY * Vertical distance The average value for bench #8 at ELEV. = 4200 is: Avg. T-CU = S-PROD / S-DIST = 42.835 / 50.0 = 0.8567 Whenever there are two lines printed for the same drillhole interval (i.e., 80.0 - 100.0), it means that this interval has been split between two benches as shown under the bench # column. The actual vertical interval which is used as the weighting factor is the difference ZTOP - ZBOT. Slope distance = TO - FROM. The composites for the data above are: HOLE# SM-022 SM-022 SM-022 SM-022 UNIT# 1 2 3 4 EAST 12753.3 12762.0 12772.6 12783.2 NORTH 12449.8 12449.4 12448.8 12448.3 ELEV. 4300. 4250. 4200. 4150. T-CU 0.000 0.052 0.857 0.845 MO .000 .002 .042 .042 LNGTH 31.3 50.0 50.0 50.0 DEPTH 32. 83. 134. 185.

Page 501-10

Revised: 11-May-01

MineSight Proprietary Software: Mintec, inc.

M501V1-COMPUTE BENCH COMPOSITES

11.

The following is a listing for horizontal composites:

DRILLHOLE SM-050 K12# 44 HORZ. DIST=0.9976 * SLOPE FROM 0.0 20.0 40.0 60.0 80.0 100.0 100.0 120.0 140.0 160.0 180.0 200.0 200.0 220.0 240.0 260.0 280.0 300.0 -TO20.0 40.0 60.0 80.0 100.0 120.0 120.0 140.0 160.0 180.0 200.0 220.0 220.0 240.0 260.0 280.0 300.0 320.0 DIST1 0.00 19.95 39.90 59.85 79.81 99.76 100.00 119.71 139.66 159.61 179.56 199.51 200.00 219.46 239.42 259.37 279.32 299.27 DIST2 19.95 39.90 59.85 79.81 99.76 100.00 119.71 139.66 159.61 179.56 199.51 200.00 219.46 239.42 259.37 279.32 299.27 300.00 ASSAY 0.000 0.000 0.000 0.000 0.400 0.410 0.410 0.380 0.400 0.430 0.420 0.400 0.400 0.430 0.420 0.450 0.460 0.450 # 1 1 1 1 1 1 2 2 2 2 2 2 3 3 3 3 3 3 S-DIST 19.95 39.90 59.85 79.81 99.76 100.00 19.71 39.66 59.61 79.56 99.51 100.00 19.46 39.42 59.37 79.32 99.27 100.00 S-PROD 0.000 0.000 0.000 0.000 7.981 8.080 8.080 15.662 23.642 32.221 40.601 40.796 7.786 16.365 24.744 33.722 42.900 43.229

where FROM & -TO- are the File 11 drillhole distances DIST1 = horizontal distance at FROM DIST2 = horizontal distance at -TOASSAY = first value of interval from File 11, T-CU # = composite interval # S-DIST = sum of the horizontal distances in interval # S-PROD = sum of ASSAY * horizontal distance

The composites for the data above are: HOLE# SM-050 SM-050 SM-050 SM-050 SM-050 12. UNIT# 1 2 3 4 5 EAST 11751.7 11755.2 11758.7 11762.2 11765.6 NORTH 22299.7 22399.2 22498.6 22598.1 22697.5 ELEV. 4250. 4200. 4200. 4200. 4200. T-CU 0.081 0.408 0.432 0.460 0.486 MO .004 .021 .022 .023 .024 LNGTH 100.0 100.0 100.0 100.0 100.7

Also check the MineSight error messages in the Appendix.

Revised: 11-May-01

Page 501-11

M501V1-COMPUTE BENCH COMPOSITES

MineSight Proprietary Software: Mintec, inc.

Page 501-12

Revised: 11-May-01

MineSight Proprietary Software: Mintec, inc.

M502V1-ADD GRADES TO EXISTING FILE 9 COMPOSITES

M502V1 ADD GRADES TO EXISTING FILE 9 COMPOSITES


PROGRAM SUMMARY
M502V1 adds grades to an existing composite file (File9). The data must be in real numbers.

REQUIREMENTS AND CONSIDERATIONS


M502V1 provides a way to update composites in a batch run. Values in the input replace existing values for specified items in File 9. The program limits are:
RUN FILE: - Composite selection - Item selection - Area selection

PROGRAM FLOW DIAGRAM


Maximum of 50 grades Maximum of 525,000 drillholes Maximum of 400 composites/drillhole The drillhole name and an elevation item are matched to find the composite that should be updated. Either an elevation or distance to the end of the composite may be used to match the input to the stored composite.
INPUT: - PCF - File 9 - File 12 CALCS: - Select data and generate composite report

For OCS projects, there probably is only one record per blasthole so a very large tolerance can be used to allow the ELEV to get updated. For example, the bh data gets loaded without the coordinates as they are not yet available or the coordinates were initially wrong. Later on, when the proper coordinates are available the east, north, and elev can all be updated.

OUTPUT: - Printer Output file

Revised: 20- April-00

Page 502-5

M502V1-ADD GRADES TO EXISTING FILE 9 COMPOSITES

MineSight Proprietary Software: Mintec, inc.

Page 502-6

Revised: 20- April-00

MineSight Proprietary Software: Mintec, inc.

M502V1-ADD GRADES TO EXISTING FILE 9

M502V1-ADD GRADES TO EXISTING FILE 9


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-502V1 MEDS-502V1 where 10=filename 19=filename 9=filename 3=filename 12=filename; 29 =filename

MEDS-502V1 (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 9= the name of the COMPOSITE FILE 12= the name of the SURVEY FILE 19= the name of the OPTIONAL INPUT FILE (if IOP4=1) 3= the name of the PRINTER OUTPUT FILE 29= the name of the MISSING DRILLHOLES FILE (optional) NOTE: File 29 will contain the names of any selected drillholes that are not found in File 9. The missing drillhole names are always listed on the screen and in the report file. 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 IOP4 = = = = = = = USER INITIALS (e.g. ABC) M12 N12 0 1 0 1 FIRST SURVEY DATA UNIT TO ACCESS LAST SURVEY DATA UNIT TO ACCESS INPUT DATA IS IN RUN FILE INPUT DATA IS IN SEPARATE FILE MATCHING TOE ITEM WILL NOT BE UPDATED UPDATE MATCHING TOE ITEM NOTE: Use IOP5=1 to update the value of the toe item. For example, in OCS projects, it is common to have only one record per blasthole, and a very large tolerance can be used to allow the ELEV (toe item) to be updated. If IOP5=1 is used, the toe item has to be first on the ITM1=VALUE label-09 list. PAR1 = OPTIONAL TOLERANCE FOR MATCHING TOE ELEVATIONS BETWEEN FILE 9 AND INPUT (default = 0.01) FORMAT FOR INPUT DATA NOTE: All grade items must have real format. If FMT1 is not specified, free-field format is assumed. ITMn = VALUE label-09 NOTE: A maximum of nine grade items are allowed.

IOP5

FMT1

Revised: 24-October-03

Page 502-7

M502V1-ADD GRADES TO EXISTING FILE 9

MineSight Proprietary Software: Mintec, inc.

ITMn

ELEV label-09 NOTE: ELEV is used to specify the item to match the File 9 composite intervals against the input.

Optional data selection by RANGE or OMIT ITMn = label-09 RANGE min-value ITMn = label-09 OMIT min-value

max-value max-value

END 4. INPUT DATA FILE (if IOP4=0) DH-IDENT elev. value1 value2, etc. where DH-IDENT elev. value1 value2 . . value9 = = = = the drillhole identification (10 column alphanumeric) the elevation item to match the File 9 composite intervals the first grade item the second grade item

the ninth grade item

A maximum of nine grade items is allowed. The grade items must be in real numbers.

Page 502-8

Revised: 3-November-03

MineSight Proprietary Software: Mintec, inc.

M502V1-ADD GRADES TO EXISTING FILE 9

M502V1 SAMPLE RUN FILE #1


MEDS-502V1 10=SAMP10.DAT 9=SAMP09.DAT MEDS-502V1 3=RPT502.LA 29= DH502.DAT ** UPDATE BENCH COMPOSITES IN FILE 9 ** USR IOP1 IOP4 PAR1 COM ITM1 ITM2 ITM3 FMT1 I-O END SM-001 SM-001 SM-001 SM-001 SM-001 SM-001 SM-001 SM-001 SM-001 SM-001 SM-002 SM-002 SM-002 SM-002 SM-002 SM-002 SM-002 SM-002 SM-002 SM-003 4300.0 4250.0 4200.0 4150.0 4100.0 4050.0 4000.0 3950.0 3900.0 3850.0 4300.0 4250.0 4200.0 4150.0 4100.0 4050.0 4000.0 3950.0 3900.0 4300.0 0.002 0.003 0.004 0.005 0.006 0.007 0.008 0.009 0.010 0.011 0.002 0.003 0.004 0.005 0.006 0.007 0.008 0.009 0.010 0.002 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 2. 2. 2. 2. 2. 2. 2. 2. 2. 2. = = = = ABC 100 0 0.00 12=SAMP12.DAT;

/ REF. #S FOR FILE 12 DHS TO BE LISTED / 0=DATA FOLLOWS END LINE; 1=DATA IN FILE 19 / TOLERANCE FOR MATCHING ITEM

COMPOSITE ITEMS ORDER FOR OUTPUT REPORT = VALUEGOLD = VALUEROCK = ELEVELEV./ ITEM TO BE MATCHED = = (10A1, 2F8.3, F5.0) 2

HOW TO DEBUG AN M502V1 RUN


1. 2. 3. When specifying the format (FMT1), make sure you have assigned a format field for DH-IDENT. Remember all grade items must be real numbers. Check the MineSight error messages in the Appendix.

Revised: 20-April-00

Page 502-9

M502V1-ADD GRADES TO EXISTING FILE 9

MineSight Proprietary Software: Mintec, inc.

Page 502-10

Revised: 20-April-00

MineSight Proprietary Software: Mintec, inc.

M503V1 LIST COMPOSITE FILES

M503V1 LIST COMPOSITE FILES


PROGRAM SUMMARY
M503V1 lists the composite data files. The data selection and the order of data output from the program may be specified.

REQUIREMENTS AND CONSIDERATIONS


Composite Files 8 or 9 can be listed with program M503V1. Listings should always be made after program runs of M502TS and M508V1, so that changes to the data cam be checked closely to other programs. File 9 data can be dumped to an ASCII file for editing or loading to another File 9. M503V1 is used to list specified portions of composites in File 8 or 9. It can be run three ways: List File 9 with DH-IDENTS retrieved from File 12. File 12 must have been updated (M501V1, M501SM) or created (M500V1) at the same time as File 9. List File 9 with data unit numbers on the report. No reference is made to File 12.

PROGRAM FLOW DIAGRAM


RUN FILE: - Composite selection - Item selection - Area selection

INPUT: - PCF - File 8 or 9 - File 12 (optional)

CALCS: - Select data and generate composite report

List File 8 with data unit numbers on the report. No reference is made to File 12. The data retrieval function is controlled by the GET09 command line as shown in the sample run file. Data selection can be made through the use of Range, Omit or Table command lines and by specifying a point boundary (see IOP3).

OUTPUT: - Printer Output File - Optional ASCII Output File - Optional output in csv format

Revised: 24-August-09

Page 503-1

M503V1 LIST COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

Page 503-2

Revised: 24-August-09

MineSight Proprietary Software: Mintec, inc.

M503V1-LIST COMPOSITE FILES

M503V1-LIST COMPOSITE FILES


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-503V1 MEDS-503V1 where 10=filename 3=filename 9(or 8)=filename 19=filename 12=filename;

MEDS-503V1 (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 9= the name of the COMPOSITE FILE OR 8= the name of the SORTED COMPOSITE FILE 12= the name of the SURVEY FILE(If IOP4=0; do not use with File 8) 3= the name of the PRINTER OUTPUT FILE 19= the name of the ASCII output file (optional - use with IOP7=1) 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 = USER INITIALS(e.g. ABC) FIRST SURVEY DATA UNIT TO ACCESS (if IOP4=0) or FIRST COMPOSITE DATA UNIT TO ACCESS (if IOP4=1) LAST SURVEY DATA UNIT TO ACCESS (if IOP4=0) or LAST COMPOSITE DATA UNIT TO ACCESS (if IOP4=1) LIST ALL DHS REGARDLESS OF X,Y LOCATION LIST DHS WITHIN PROJECT LIMITS LIST DHS WITHIN SPECIFIED BOUNDARY

=M12 =M08 or 9 =N12 =N08 or 9 = = = -1 0 1

IOP2

IOP3

NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command lines: CMD = INCL LOCPT FILE filename (to include points within the boundary) or CMD = EXCL LOCPT FILE filename (to exclude points within the boundary) IOP4 = = = 0 1 2 ACCESS FILES 12 AND 9 TO PRINT DH-IDENTS ACCESS FILE 9 OR FILE 8 WITHOUT FILE 12 (DH-IDENT will not appear on report) ACCESS FILES 12 AND 8 TO PRINT DH-IDENTS

NOTE: Do not use IOP4 = 0 or 2 if composites were loaded with M500V1 and File 12 was not created. IOP5 = = = -1 0 1 OMIT DELETED COMPOSITES FROM LIST DENOTE DELETED COMPOSITES ON LIST LIST COMPOSITES THAT HAVE BEEN DELETED

Revised: 24-August-09

Page 503-3

M503V1-LIST COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

IOP7

= = = = = =

0 1 2 0 1 0, 1, 2, 3

DO NOT DUMP COMPOSITES DUMP COMPOSITES TO FILE 19 (ASCII) DUMP COMPOSITES TO FILE 19 (ASCII) WITH HEADER USE IOPs 1 & 2 FOR DH SELECTION USE DH LIST AFTER END LINE NUMBER OF COORDINATE TRIPLETS TO OUTPUT IN MODEL COORDINATES.

IOP8

IOP9

NOTE: (1) By default, the first coordinate triplet is in items EAST, NORTH and ELEV. (not the dot), the second in XTOP, YTOP, and ZTOP, and the third in XBOT, YBOT and ZBOT. To override the items use CMD statements (below). (2) For non-rotated models IOP9 is ignored. For horizontally rotated models only X and Y coordinates are used to convert to model coordinates (the elevation in model and project coordinates is the same in this case). IOP13 = 1 DHIDs ARE STORED IN THE FILE 9/8

NOTE: Use if IOP4 = 1 to print DHIDs . By default, DHID items assumed to be: DHID1 and DHID2. To override default, use ITMn lines. IOP15 = = = 0 1 OUTPUT IN SPACE DELIMITED FORMAT (see FMT1) OUTPUT FILE 19 IN CSV FORMAT

GETn

LABELS OF ITEMS TO BE PRINTED (e.g., GET08 = EAST NORTH ELEV. T-CU MOLY) NOTE: DO NOT SPECIFY the label for REF#. 99 items can be reported.

FMT1

FORMAT FOR OUTPUT OF ASSAY DATA (optional) NOTE: If you are using a FMT1 statement and IOP4=0 or 2, you must specify a field for DH-IDENT and unit number. If IOP4=1, you must specify a field for REF# and unit number. For example, if IOP4=0, FMT1 = (10A1,1X,I7,3F10.3,F8.3) 10A1,1X,I7 is mandatory for DH-IDENT and UNIT#; the rest corresponds to the GET line. If IOP4=1, FMT1= (I7,1X,I7,3F10.3,F8.3)

Optional data selection by RANGE, OMIT or TABLE: ITMn ITMn ITMn = = = label-09(-08) label-09(-08) label-09(-08) RANGE min-value OMIT min-value TABLE IOPm max-value max-value IOPn

Optional labels for DHID items (if different from DHID1 and DHID2) (if IOP13 = 1): ITMn ITMn = = DHID1 label-09 DHID2 label-09

Page 503-4

Revised: 24-August-09

MineSight Proprietary Software: Mintec, inc.

M503V1-LIST COMPOSITE FILES

Optional commands to override coordinate items: For the first coordinate triplet: CMD = XCRD label-09 1 CMD = YCRD label-09 1 CMD = ZCRD label-09 1 For the second coordinate triplet: CMD = XCRD label-09 2 CMD = YCRD label-09 2 CMD = ZCRD label-09 2 For the third coordinate triplet: CMD = XCRD label-09 3 CMD = YCRD label-09 3 CMD = ZCRD label-09 3 END 4. BOUNDARY POINT LINES (if IOP3=1) If the specified boundaries are to be added at the end of the run file rather than a separate file, use the following format: Easting Northing (in free-field format) where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points allowed is 2000. 5. DRILLHOLE ID REQUEST LINES (if IOP8=1) DH-IDENT where DH-IDENT is the drillhole label, one per line.

M503V1 SAMPLE RUN FILE #1


MEDS-503V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT; MEDS-503V1 3=RPT503.LA ** UNSORTED COMPOSITE LISTING WITH DH-IDENT FROM FILE 12 ** USR IOP1 IOP2 IOP3 IOP4 = = = = = ABC 1 43 -1 0 / START DH ON FILE 12 / END DH ON FILE 12 / -1=ALL DHS; 0=PCF DHS; 1=SPEC. DHS / LIST UNSORTED COMPOSITE FILE (9) WITH DH-IDENTS ELEV. LNGTH T-CU MOLY EQCU DHTOE

GET09 = END

EAST NORTH

Revised: 24-August-09

Page 503-5

M503V1-LIST COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

M503V1 SAMPLE RUN FILE #2


MEDS-503V1 10=SAMP10.DAT 8=SAMP08.DAT ** SORTED COMPOSITE LISTING WITH NO FILE 12 ACCESS ** USR IOP1 IOP2 IOP3 IOP4 = = = = = ABC 1 833 -1 1 EAST / START DH ON F08 / END DH ON FILE 08 / -1=ALL DHS; 0=PCF DHS; 1=SPEC. DHS / LIST SORTED COMPOSITE FILE (FILE 8). NO DH-IDENTS NORTH ELEV. LNGTH T-CU MOLY EQCU DHTOE RPT503.LB

GET08 = END

M503V1 SAMPLE RUN FILE #3


MEDS-503V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT; MEDS-503V1 3=RPT503.LC ** UNSORTED COMPOSITE LISTING LIMITED BY BOUNDARY POINTS ** USR IOP3 = = ABC 1 / -1=ALL DHS; 0=PCF DHS; 1=SPEC. DHS ELEV. LNGTH T-CU 0.01 5.00 MOLY EQCU DHTOE ROCK

GET09 = ITM1 END 10000 10000 15000 15000 10000 =

EAST NORTH EQCU RANGE

/ LIMIT ON EQUIV COPPER

10000 13000 13000 10000 10000

Boundary Lines

HOW TO DEBUG AN M503V1 RUN


1. When specifying a format (FMT1), make sure you have assigned format fields for DH-IDENT and data unit number if IOP4=0, and REF# and data unit number if IOP4=1. You must also specify a format field for all items on the GET line. If you limit the composite data by ITMn = label-09 RANGE, OMIT or TABLE, the label-09 (or 08) must be specified on the GET line. Check the MineSight error messages in the Appendix.

2.

3.

Page 503-6

Revised: 24-August-09

MineSight Proprietary Software: Mintec, inc.

M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

M504V1 BENCH PLAN (M122) OF COMPOSITE DATA


PROGRAM SUMMARY
M504V1 is used to prepare an M122 plot file from the composite data. Multiple items of data may be selected for output and placed at any desired position around the location of each composite. M504V1 can also do bench plots of blasthole data. More information can be found in the blasthole documentation.

REQUIREMENTS AND CONSIDERATIONS


M504V1 is used to produce bench plans of composites that are stored in File 8 or 9. These plans are used to check the composite data visually. An M122 plot file is created for each bench plotted. Grid and map annotation must be set up independently from the M504V1 run (in the M122 run file). Multiple data items (up to 20) are selected with ITMn commands in the run file. The location of labels relative to the composite location can be specified in terms of inches. The composite values can also be plotted with different pens. The selection of pens is based on a set of grade cutoffs on the first ITMn plotted. Data can be selected on File 8, 9 or 12 data unit numbers or on a specific boundary. If you want to plot the DH-IDENT, then you must access File 12. Data selection can also be made through the use of Range, Omit or Table command lines. M504V1 does not check for the possibility of overplotting. If a graphics monitor is available, you may preview the plot to reveal any conflicts before the final plot is made. The angle of annotation can be changed using PAR4 in the run file, or you can manually edit the output file to resolve any conflicts.

PROGRAM FLOW DIAGRAM


RUN FILE: - DH Selection - Items to plot - Display options

INPUT: - PCF - File 8 or 9

CALCS: - Generate M122 plot commands for composite bench plans

OUTPUT: - M122 plot file - Printer Output file

NOTE: The output file from M504V1 must be processed by M122V1 to create a map.

Revised: 6-June-01

Page 504-1

M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

Page 504-2

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

M504V1 BENCH PLAN (M122) OF COMPOSITE DATA


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-504V1 MEDS-504V1 where 10=filename 19=filename 9(or 8)=filename 3=filename 12=filename;

MEDS-504V1 (must be the first 10 columns) 10 = the name of the PROJECT CONTROL FILE 9 = the name of the COMPOSITE FILE 8 = the name of the SORTED COMPOSITE FILE 12 = the name of the OPTIONAL SURVEY FILE (If IOP6=1) 19 = the name of the OUTPUT FILE FOR M122 GRAPHICS 3 = the name of the PRINTER OUTPUT FILE 2. RUN INFORMATION LINE (max. of 80 characters) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 = = = = USER INITIALS (e.g. ABC) M08 M09 M12 FIRST SORTED COMPOSITE DATA UNIT TO ACCESS (if IOP6=1) OR FIRST COMPOSITE DATA UNIT TO ACCESS (if IOP6=0) OR FIRST SURVEY DATA UNIT TO ACCESS (if IOP6=1) (default = 1) FIRST SORTED COMPOSITE DATA UNIT TO ACCESS (if IOP6=1) OR LAST COMPOSITE DATA UNIT TO ACCESS (if IOP6=0) OR LAST SURVEY DATA UNIT TO ACCESS (if IOP6=1) (default = last data unit stored) USE COMPOSITES REGARDLESS OF X,Y LOCATION USE COMPOSITES WITHIN PROJECT LIMITS USE COMPOSITES WITHIN SPECIFIED BOUNDARY

IOP2

= = =

N08 N09 N12

IOP3

= = =

-1 0 1

NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command lines: CMD = INCL LOCPT FILE filename (to include points within the boundary) -ORCMD = EXCL LOCPT FILE filename (to exclude points within the boundary) IOP4 = = = = = 0 -1 -1 0 1 BENCH PLAN OF COMPOSITES BENCH PLAN OF BLASTHOLES ACCESS FILE 8 COMPOSITES ONLY ACCESS FILE 9 COMPOSITES ONLY ACCESS FILE 12 COLLARS, THEN FILE 9

IOP6

NOTE: Do not use IOP6=1 if composites were stored with M500V1 and File 12 was not created. Revised:24-July-01 Page 504-3

M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

IOP7

= =

0 1

PLOT IN PROJECT COORDINATES PLOT IN MODEL COORDINATES

NOTE: To use IOP7 = 1 for an inclined GSM project, you must specify a composite item for elevation (e.g., ZTOP). Use CMD = ZCRD label-nn. IOP8 = 1 DHID IS STORED IN FILE 8/9

NOTE: If IOP6 = 1, drill-hole IDs will be used from file 12 and IOP8 will be ignored. IOP11 = IOP16 = = = PAR1 PAR2 PAR3 = = = NUMBER OF CALCOMP PLOT SYMBOL TO DENOTE COMPOSITE LOCATION (default=3) -1 0 1 SELECT PEN# BASED ON FIRST VALUE, BUT DO NOT PLOT FIRST VALUE PLOT GRADES DO NOT PLOT GRADES. USE GRADES TO SELECT PEN# FOR SYMBOL.

TOE ELEVATION OF BENCH OR SEAM NUMBER TO BE DISPLAYED SYMBOL HEIGHT (in inches) (default = 0.10) SCALE OF M122 MAP (IN USER COORDINATES) (default = 2.0 * DX from PCF) ANGLE OF VALUE ANNOTATIONS (default = 0.0) n PLOT ALL COMPOSITES FROM ELEVATION (PAR1) TO n UNITS ABOVE PAR1

PAR4 PAR5 PLT

= = =

CUTOFF VALUES TO CONTROL COLORING: vmax1 vmax2 vmax3 vmax4 p1 p2 p3 p4 where Value 0.0 x vmax1 vmax1 x vmax2 vmax2 x vmax3 vamx3 x vmax4 x max4 Color p1 p2 p3 p4 p1 - Set vmax4 to 999 (or higher than any grade) to avoid reverting to pen 1.

NOTE: P1, p2, p3 and p4 are optional pen numbers. Default is 1, 2, 3, 4. Cutoffs are applied to ITMn item and should be stated in the same precision as the data. For increased pen numbers, control of symbol #s and symbol size. CMD CMD CMD = = = PLOT CUT V1 V2 V3 ... V15 (for cutoffs) PLOT PEN V1 V2 V3 ... V16 (for pen numbers) PLOT SYMBOL V1 V2 V3 ... V16 (for symbol numbers) NOTE: The symbol numbers depend on your plotter, refer to the M122V1 documentation for symbol n umbers and valid symbol sizes. CMD = PLOT SYMSZ V1 V2 V3 ... V16 (for symbol size) NOTE: Always list one more pen number, symbol number and symbol size than you have cutoffs. The additional pen is for any material greater than the last cutoff.

Page 504-4

Revised: 24-July-01

MineSight Proprietary Software: Mintec, inc.

M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

To specify an item for composite elevation in a GSM project CMD = ZCRD label-09

Items to plot ITMn ITMn ITMn where = = = label-09 Fw.d xoffset yoffset height label-09 Fw.d xoffset yoffset height (optional) D.H.# A10xoffset yoffset height (optional)

Fw.d = the display format on the plot (i.e. F6.2) xoffset = horizontal offset of the label from the plot symbol (in inches; may be negative) yoffset = vertical offset of the label from the plot symbol (in inches; may be negative) height = the height of the label (in inches) D.H.# = specifies DH-IDENT to be plotted. Use a format of A10. Either IOP6 or IOP8 must be 1. Optional items to post points at different EAST, NORTH items ITMn = EAST label-09 ITMn = NORTH label-09 For example, use XBOT and YBOT for the location of the bottom of a geologic unit. Optional data selection by RANGE, OMIT or TABLE ITMn ITMn ITMn = = = label-09 RANGE label-09 OMIT label-09 TABLE min-value min-value IOPm max-value max-value IOPn

NOTE: Use label-08 for the above ITM commands when IOP6 = 1. To override default item labels for DHID items (if IOP8 = 1), use commands: ITMn ITMn END 4. BOUNDARY POINT LINES (if IOP3=1) If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format: Easting Northing (in free-field format) where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points allowed is 2000. 5. ADDITIONAL BENCH/SEAM REQUEST LINES (optional) filenametoe_elev. where filename= name of output M122 file toe_elev.= elevation of composite to be selected or seam number = = DHID1 label-09 DHID2 label-09

Revised:24-July-01

Page 504-5

M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

M504V1 SAMPLE RUN FILE #1


MEDS-504V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT; MEDS-504V1 19=PLT504.PAA 3=RPT504.LA ** SET UP M122 PLOT COMMANDS FOR BENCH 3500 COMPS ** USR = ABC IOP3 = 0 / USE COMPS WITHIN PCF BOUNDARY IOP4 = 0 / OUTPUT M122 PLOT COMMANDS PAR1 PAR2 PAR3 PAR4 = = = = 3500 / TOE ELEV .05 / SYMBOL HEIGHT, INCHES 1000 / DEFAULT = 2.0 X DX FROM PCF 45.0 / ANGLE OF ANNOTATION

PLT = 0.04 0.50 1.00 / CUTOFFS FOR PEN CHANGE ITM1 = T-CU F5.3 0.08 0.00 0.06 / PLOT TOTAL COPPER END

M122V1 SAMPLE RUN FILE #1


MEDS-122V1 10=SAMP10.DAT 3=RPT122.LA ** PLOT OF BENCH 22 (ELEVATION 3500) T-CU VALUES ** USR = ABC MAP = 9000 16000 1000 9000 16000 1000 END BORDR 1 BORDR 1 GRID 1 TICKS 1 TICKS 1 COORD 1 COORD 1 BORDR 1 LINE 1 LINE 1 LINE 1 LABEL 1 LABEL 1 LABEL 1 USERF ENDOC

10000 15000 10000 15000 0 10015 14985 10000 14985 0 10000 15000 10000 15000 1000 10000 10000 10000 15000 1000 .08 10000 15000 15000 15000 1000 .08 9700 10025 9700 15025 1000 .05 0 0 10000 1000 9975 15025 14975 15025 1000 .05 90 0 10000 1000 10000 15000 9500 10000 0BORDR 1 10015 14985 9515 9985 0 13500 9500 13500 10000 0 13500 9800 15000 9800 0 15000 9600 13500 9600 0 13910 9880 0 .04 17/WIDGET MINING CO. 13850 9680 0 .04 20/BENCH 22 T-CU VALUES 13910 9540 0 .04 17/SCALE: 1" = 1000 PLT504.PAA

Page 504-6

Revised: 24-July-01

MineSight Proprietary Software: Mintec, inc.

M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

M504V1 SAMPLE RUN FILE #2


MEDS-504V1 10=SAMP10.DAT 9=SAMP09.DAT MEDS-504V1 19=PLT504.PAB 3=RPT504.LB ** SET UP M122 PLOT COMMANDS FOR BENCH COMPOSITES ** USR = ABC 1 / -1=USE ALL COMPS; 0=USE PCF LIMITS; 1=USE SPECIFIED BOUNDARY FILE 0 / 0=FILE #9 ONLY; 1=FILES #9 & #12 1 / SYMBOL NUMBER FOR COMPOSITE LOCATION (default = 3) -700 200-400 20025.4 / X1-X2, Y1-Y2, SCALE 174 / TOE ELEV .08 / SYMBOL HEIGHT, INCHES (DEFAULT = 0.10 INCHES) 25.4 / MAP SCALE (DEFAULT = 2.0 X DX FROM PCF) 0.0 / ANGLE OF VALUE ANNOTATION 7.99 0.02 0.05 .1 99999 1 2 3 4 / CUTOFFS FOR PEN CHANGE GOLD F5.3.08 -0.12 .08 GOLD RANGE 0 999END-700 -400-700 200200 200200 -400-700 -4000.0 0.0 12=SAMP12.DAT;

IOP3 = IOP6 = IOP11 = COM PAR1 PAR2 PAR3 PAR4 PAR5 PLT

= = = = = =

ITM01 = ITM02 =

M504V1 SAMPLE RUN FILE #3


COAL-504V1 10=COAL10.DAT COAL-504V1 19=PLT504.PAC * COMPOSITE PLAN MAP * USR IOP3 PAR1 PAR2 ITM1 ITM2 END = = = = = = 9=COAL09.DAT 12=COAL12.DAT 3=RPT504.LC;

ABC -1 / USE ALL COMPOSITES 10 / SEAM 1 ONLY .1 1000 / SIZE OF SYMBOL, SCALE SULF F5.2 -.2 -.07 .1 / PLOT SULFUR D.H.# A10 -.3 .07 .1 / PLOT DH-IDENT

Revised:24-July-01

Page 504-7

M504V1-BENCH PLAN (M122) OF COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

M122V1 SAMPLE RUN FILE #3


COAL-122V1 10=COAL10.DAT 3=RPT122.LC ** PLOT SULFUR COMPOSITES FROM SEAM 1 ** USR MAP = = ABC 3000 21000 1000 5000 29000 1000

END BORDR 1 LINE 1 LINE 1 LINE 1 LINE 1 LINE 1 LINE 1 LINE 1 BORDR 1 COORD 1 COORD 1 USERF ENDOC

4000 20000 6000 28000 4000 10000 20000 10000 20000 15000 4000 15000 4000 20000 20000 20000 20000 25000 4000 25000 5000 28000 5000 6000 10000 6000 10000 28000 15000 28000 15000 6000 3000 21000 5000 29000 0 3400 9950 3400 26000 5000 .1 0 -1 10000 5000 5050 28100 20050 28100 5000 .1 90 -1 5000 5000 PLT504.PAC

HOW TO DEBUG AN M504V1 RUN


1. If you wish to plot DH-IDENT, you must specify ITMn = D.H.# and set IOP6=1. 2. A common error is to incorrectly specify the output format for label plotting. If you do not specify a large enough format field, asterisks will be plotted where a number greater than the format is plotted, i.e. plotting a number 1000.0 with a format of F3.1. Another error is to incorrectly specify the location of the plot label with the xoffset and yoffset. Run a test plot on a small portion of the data to check the offset values. Check the MineSight error messages in the Appendix. A10 xoffset yoffset height

3.

4.

Page 504-8

Revised: 24-July-01

MineSight Proprietary Software: Mintec, inc.

M505V1 - ADDITION OF CODES TO COMPOSITE FILES

M505V1-- ADDITION OFCODES TO COMPOSITE FILES

PROGRAM SUMMARY
M505V1 allows the addition of geologic or mining codes to the composite data file from ASCII input or an existing assay file.

REQUIREMENTS AND CONSIDERATIONS


M505V1 can be used to add or update geologic/mine codes in File 9 in one of two ways:

PROGRAM FLOW DIAGRAM

access Files 11 and 12, pick up the existing codes and determine a code for the composite using a majority rule, or input a set of data containing drillhole lengths with appropriate codes and determine the majority code for each composite of a drillhole.

RUN FILE:
- Item to update - Dh selection

The drillhole lengths and codes can be in the run file or in an external ASCII file. M505V1 is normally used for projects with a PCF table of numeric toe elevations (i.e. 3-D model projects). It can also be used for seam composites if the From and -To- depths are stored. Drillholes can be selected using the File 12 data unit numbers. The item to be updated is specified on an ITMn line. If File 11 is used as the source of the geology codes, then a corresponding item from File 11 should be specified. M505V1 cannot be run for composites that do not have a tie to File 12 (i.e. composites loaded with M500V1 with the File 12 option off). OUTPUT:
- Update File 9 - Printer Output File

INPUT:
- PCF - File 9 (11, 12 opt.) - Optional ASCII input file

CALCS:
- Add geology or mining codes to the Composite File

After you run M505V1, list the composite file with M503V1 to document and check the codes inserted with this program.

Revised: 30- September-93

Page 505-1

M505V1 - ADDITION OF CODES TO COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

Page 505-2

Revised: 30-September-93

MineSight Proprietary Software: Mintec, inc.

M505V1-ADDITION OF CODES TO COMPOSITE FILES

M505V1 - ADDITION OF CODES TO COMPOSITE FILES


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-505V1 MEDS-505V1 where 10=filename 12=filename 9=filename 19=filename 11=filename; 3=filename

MEDS-505V1 (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 9= the name of the COMPOSITE FILE 11= the name of the ASSAY FILE (If IOP4 = -1) 12= the name of the SURVEY FILE (If IOP4 = 1) 19= the name of the Optional Input File 3= the name of the PRINTER OUTPUT FILE 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 IOP4 = = = = = = = = = = USER INITIALS (e.g. ABC) M12 N12 -1 0 1 FIRST SURVEY DATA UNIT TO ACCESS (default = 1) LAST SURVEY DATA UNIT TO ACCESS (default = last survey stored) ACCESS FILE 11 GEOLOGY IF GEOLOGIC DATA IS IN RUN FILE IF GEOLOGIC DATA IS IN SEPARATE FILE

IOP5

TYPE OF GEOLOGY ITEM 0 INTEGER; PREC = 1 (DEFAULT) 1 ALPHA; PREC = -1 2 REAL; PREC > 0 NOTE: Used with fixed format only.

PAR1

SINE OF LIMITING VALUE (default=DZ / SQRT (DX**2 + DZ**2)) NOTE: 1) 2) Must match value used in M501V1 for PAR4. See the 500 Technical Section. Enter 1.0 in a case of length compositing

PAR2

OPTIONAL BLOCK SIZE FOR HORIZONTAL COMPOSITES (default=DX) NOTE: Must match value used in M501V1 for PAR10.

Revised: 20-May-02

Page 505-3

M505V1-ADDITION OF CODES TO COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

ITMn where

GEOL label-9 label-11 Keyword that must be present File 9 item to receive the major geologic code File 11 item of source geologic codes. Label-11 will default to label-09 if it is not specified. Only required if IOP4 = -1.

GEOL = label-09 = label-11 =

NOTE: Only one GEOL item per run. ITMn = GEOL2 label-09 Optional item to store minor geologic code within each composite interval (i.e., store two codes for each interval). ITMn = GEOL% label-09 Optional item to store the percentage of the composite interval covered by the major geologic code. FMT1 = FIXED FORMAT FOR INPUT DATA (if IOP4=0 or 1) Example: (10A1,F4.0,I3) NOTE: 1) Omit FMT1 or use (*) for free-format read. 2) If using fixed format make sure that format for geology item corresponds to IOP5 selection. Use Iw if IOP5 = 0, Aw if IOP5 = 1, and Fw.d. if IOP5 = 2.

Drillhole depth item for 3-D composites Used to calculate composite intervals below the PCF minimum. ITMn = DZBOT label-09 NOTE: DZBOT must be used for 3-D (non-vertical) composites. The label-09 is the same item used as DEPTH in M501V1. For fixed length composites (horizontal or near-vertical holes) the depth item is usually -TO-. Drillhole depth items for seam composites ITMn ITMn = = DZTOP label-09 DZBOT label-09 NOTE: DZBOT can be used alone with sequential 3-D composites. There is no adequate way to back calculate drillhole depths from seam composites, hence the drillhole depths must be available from M501SM in order to run M505V1. END

Page 505-4

Revised: 20-May-02

MineSight Proprietary Software: Mintec, inc.

M505V1-ADDITION OF CODES TO COMPOSITE FILES

4. GEOLOGIC DATA LINES FOR EACH DRILLHOLE (if IOP4=0) DH-IDENT FROM CODE where DH-IDENT = FROM = CODE = a 10 character alphanumeric label the distance at the start of the interval (must be left-justified and column width must be equal to the maximum column width (i.e., 10A1) a value for the geologic code. NOTE: Alphanumeric codes are limited to 4 characters.

End input with a blank line. The Geologic Data Lines must match FMT1.

Revised: 20-May-02

Page 505-5

M505V1-ADDITION OF CODES TO COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

M505V1 SAMPLE RUN FILE #1


MEDS-505V1 10=SAMP10.DAT 12=SAMP12.DAT MEDS-505V1 3=RPT505.LA ** SAMPLE RUN TO ADD GEOLOGY TO COMPOSITES USR IOP1 IOP4 ITM1 FMT1 I-O END SM-008 SM-008 SM-008 SM-008 SM-009 SM-009 SM-009 SM-009 0.0 80.0 620.0 1460. 0.0 81.0 1260. 1600. 1 2 3 = = = = = = ABC 1 10 / FILE 12 LIMITS 0 / GEOLOGY IS IN THIS FILE GEOL ROCK (10A1, F5.0, I3) 1 9=SAMP09.DAT;

1 3 4

Page 505-6

Revised: 20-May-02

MineSight Proprietary Software: Mintec, inc.

M505V1-ADDITION OF CODES TO COMPOSITE FILES

M505V1 SAMPLE RUN FILE #2


COAL-505V1 10=COAL10.DAT 9=COAL09.DAT COAL-505V1 3=RPT505.LA ** LOAD QCODE TO SEAM COMPOSITES ** USR COM COM COM COM COM IOP1 IOP4 COM COM COM ITM1 ITM2 ITM3 END 77-001 77-001 77-001 = ABC 12=COAL12.DAT;

THIS EXAMPLE RUN USES GEOLOGIC CODES FROM COLDDH.INA LOADED INTO ITEM QCODE. DH GEOLOGY FUNCTION = = 1 00 / FILE 12 LIMITS 0 / 0=GEOL IN RUN FILE; 1=GEOL IN AUX FILE

= (DH GEOL INPUT DATA) FMT1 = (10A1, F7.2, 14X, I3) = = = GEOL QCODE DZTOP FROM DZBOT -TO-

0.00 4.10 92.10

4.10 92.10 99.30

4.10 88.00 7.20

1 2 3

0 0 0

Revised: 20-May-02

Page 505-7

M505V1-ADDITION OF CODES TO COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

M505V1 SAMPLE RUN FILE #3


MEDS-505V1 10=SAMP10.DAT 9=SAMP09.DAT MEDS-505V1 3=RPT505.LC ** ADD GEOLOGY CODES TO COMPOSITES IN FILE 9 ** USR COM COM COM COM IOP1 IOP4 COM ITM1 ITM2 ITM3 ITM4 COM FMT1 I-O END SM-001 SM-001 SM-001 SM-002 SM-002 SM-002 SM-003 SM-003 SM-003 SM-020 SM-020 SM-020 0.0 62.5 512.5 0.0 60.0 468.8 0.0 75.1 625.1 0.0 50.0 1660.6 1 2 2 1 2 2 1 2 2 1 3 3 = ABC 12=SAMP12.DAT;

DH GEOL LOAD FUNCTION

= =

1 0 / STARTING & ENDING RECORD #S FOR FILE 12 ACCESS 0 / 0=DATA IS IN RUNFILE; 1=DATA IS IN FILE 19

= = = =

GEOL ROCK / MAJOR GEOLOGY CODE STORED IN ROCK GEOL2 ROCK2 / MINOR GEOLOGY CODE SOTRED IN ROCK2 GEOL% ROCK% / % OF COMPOSITE COVERED BY ROCK DZBOT -TO- / USE COMPOSITE DEPTHS TO ZTOE

DATA IS DH-IDENT, FROM, CODE (INTEGER) READ IN FMT1 = (10A1, F10.1, I4) = 2

Page 505-8

Revised: 20-May-02

MineSight Proprietary Software: Mintec, inc.

M505V1-ADDITION OF CODES TO COMPOSITE FILES

HOW TO DEBUG AN M505V1 RUN


1. ** D.H. xxx NOT FOUND ** This error message will appear if a DH-IDENT specified in the input ASCII file does not exist in File 12. 2. ** P.C.F. TABLE DOES NOT CONTAIN TOE ELEVATIONS M505V1 CANNOT BE USED FOR SEAMS WITHOUT DH DEPTHS You can only run M505V1 for 3-D block model composites unless the FROM and -TO- depths are stored for each composite. 3. Also check the MineSight error messages in the Appendix.

Revised: 20-May-02

Page 505-9

M505V1-ADDITION OF CODES TO COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

Page 505-10

Revised: 20-May-02

MineSight Proprietary Software: Mintec, inc.

M506V1-SORT COMPOSITE DATA FILE

M506V1 SORT COMPOSITE DATA FILE

PROGRAM SUMMARY
M506V1 sorts the composite data in File 9 by increasing northings (or eastings) and creates a sorted composite Data File (File 8). It can also be used to sort any other item of data in File 9. M102TS must be run prior to M506V1 to set up the descriptors for File 8. To insure correct results, File 8 descriptors must be exactly the same as File 9.

REQUIREMENTS AND CONSIDERATIONS


M506V1 is used to sort composites in File 9 prior to interpolation with the M620-series programs. The efficiency of the interpolation routines will be improved if the composites are sorted on northings. This program should be run after File 9 has been loaded with all required grades and codes. The sorted composites will be loaded into File 8. Normally, the entire File 9 should be sorted (IOP1 & IOP2=0). Set PAR1 and PAR2 to be outside the intended northing search limits for interpolation. For example: PAR1 = YMIN intended max. search distance PAR2 = YMAX + intended max. search distance Initially M506V1 makes a coarse sort of the composites into the increments determined by PAR1, PAR2, and PAR3. The total number of increments cannot exceed the maximum number of sort subintervals (1000 on the RM Fortran platform and 10,000 on all other platforms). If this number is exceeded, M506V1 increases PAR3 to reduce the increments. Each increment can encompass at most 2000 composites on the RM Fortran platform and 75,000 on all other platforms. If PAR3 cannot be adjusted to meet the above limits, then File 8 must be sorted in multiple runs. This can be accomplished using IOP4, PAR1, and PAR2. If multiple runs must be made, the order in which they are made and the choices for PAR1 and PAR2 are important. The minimum value (PAR1) must be greater than the maximum value (PAR2) in the previous run file in order to:1)obtain a single data set sorted by increasing value2)avoid duplicating composites in File 8The difference between PAR1 in the current run and PAR2 from the previous run file is dictated by the precision of the sort item. NOTE: This program should NOT be used for projects with a rotated model.

PROGRAM FLOW DIAGRAM


RUN FILE: - Common selection - Sort item - Sort options

INPUT: - PCF - File 9

CALCS: - Sort File 9 on selected item (coordinate) - Generate File 8

OUTPUT: - File 8 - Printer Output file

Revised: 16-May-01

Page 506-1

M506V1-SORT COMPOSITE DATA FILE

MineSight Proprietary Software: Mintec, inc.

Page 506-2

Revised: 16-May-01

MineSight Proprietary Software: Mintec, inc.

M506V1SORT COMPOSITE DATA FILE

M506V1SORT COMPOSITE DATA FILE


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-506V1 MEDS-506V1 where 10=filename 3=filename 9=filename 8=filename;

MEDS-506V1 (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 9= the name of the COMPOSITE FILE 8= the name of the SORTED COMPOSITE FILE 3= the name of the PRINTER OUTPUT FILE 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 IOP4 = = = = = = = USER INITIALS (e.g. ABC) M09 N09 M08 0 1 FIRST FILE 9 COMPOSITE DATA UNIT TO SORT (default = 1) LAST FILE 9 COMPOSITE DATA UNIT TO SORT (default = last composite stored) FIRST DATA UNIT IN FILE 8 TO STORE OUTPUT APPEND TO EXISTING FILE FOR INITIAL RUN OR TO REWRITE FILE

ITMn

label-09 type where label-09 = item to be sorted type = INCR for increasing sort (default = INCR) = DECR for decreasing sort

PAR1 PAR2 PAR3

= = =

MINIMUM VALUE OF SORT ITEM (default = minimum value for item) MAXIMUM VALUE OF SORT ITEM (default = YMAX) INCREMENTS BETWEEN PAR1 & PAR2 (default = DY * 2)

NOTE: This default is only useful when sorting on Northing.Set PAR3 so that (PAR2 PAR1) / PAR3 (maximum number of sort subintervals)

Optional data selection by RANGE, OMIT or TABLE: ITMn ITMn ITMn END Revised: 16-May-01 Page 506-3 = = = label label label RANGE OMIT TABLE min-value min-value IOPm IOPn max-value max-value

M506V1-SORT COMPOSITE DATA FILE

MineSight Proprietary Software: Mintec, inc.

M506V1 SAMPLE RUN FILE #1


MEDS-506V1 10=SAMP10.DAT MEDS-506V1 3=RPT506.LA ** SORT SAMPLE COMPOSITE FILE ** USR IOP1 IOP4 ITM1 PAR1 END = = = = = ABC 10 / SORT ALL COMPOSITES 1 / M08 (BEGINNING LOCATION TO STORE COMPS) NORTH INCR / SORT BY INCREASING NORTHINGS 10000.15000.20. / MIN MAX & INCR 9=SAMP09.DAT 8=SAMP08.DAT;

M506V1 SAMPLE RUN FILE #2


COAL-506V1 10=SAMP10.DAT 9=SAMP09.DAT COAL-506V1 3=RPT506.LB * SORT BENCH COMPOSITES - LIMIT DATA BY ROCK CODES USR IOP1 IOP4 ITM1 PAR1 PAR3 COM = = = = = = = ABC 10 / M09N09; FIRST, LAST COMPS TO SORT 1 / M08BEGINNING LOCATION TO STORE COMPS NORTH INCR / SORT BY INCREASING NORTH 10000.15000. / MIN MAX 20 / INCR 1000015000 / PCF MIN-MAX NORTHINGS ROCKTABLE2122 24 / TABLE OF ROCK CODES 8=SAMP08.DAT;

ITM2 = IOP21 = END

Page 506-4

Revised: 16-May-01

MineSight Proprietary Software: Mintec, inc.

M506V1SORT COMPOSITE DATA FILE

HOW TO DEBUG AN M506V1 RUN


1. ?M506V1of the xxx items in the RUNFILE none was the item on which to sort You have NOT entered a SORT item (e.g., ITM1=NORTH INCR) 2. %M506V1: WARNINGIOP4 exceeds the last data unit in FILE 8 Switching to APPEND mode.IOP4=xxx The value you specified in IOP4 is larger than the number of composites currently stored in FILE8. The new composites will be appended to FILE 8 (equivalent to specifying IOP4=0). 3. ?M506V1 . . . ERROR. Sort interval xxx has xxx points. The maximum allowed is 2000 on the RM Fortran platform and 75,000 on all other platforms. Try reducing PAR3. Initially the composites are coarsely sorted into increments of length PAR3 (see requiremetns and considerations). If PAR3 is not sufficiently small, the number of composites per increment is exceeded. Attempt to lessen the number of composites per increment by reducing PAR3. Note that PAR3 must be greater than or equal to (PAR2PAR1)/ mamimum number of sort subintervals. 4. ?M506V1 . . . ERROR. The number of words required to store data for 1 composite is xxx. This value is stressing the limits of the program. Reduce the value of PAR3 and try again. You will sometimes get this message if your File 8 requires more than 10 words to store data for one composite even though the number of composites per sort increment is less than the maximum. Determine the number of words needed to store one data unit (M105TS). If, for example, you need 20 words, then divide your PAR3 in half. If you need 30 words, divide by three. 5. Check the MineSight error messages in the Appendix.

Revised: 16-May-01

Page 506-5

M506V1-SORT COMPOSITE DATA FILE

MineSight Proprietary Software: Mintec, inc.

Page 506-6

Revised: 16-May-01

MineSight Proprietary Software: Mintec, inc.

M507V1-EXTRACT COMPOSITE DATA

M507V1 EXTRACT COMPOSITE DATA

PROGRAM SUMMARY
M507V1 creates a sequential ASCII file from the composite data file.

REQUIREMENTS AND CONSIDERATIONS


Data that has already been composited into File 9 may be dumped into an ASCII file for several special purposes such as specialized sorting, for use in other programs, or for transfer to other computers. Once data is in an ASCII file, special editing or changes can be made with the editor on your computer system. You can specify the output format to the ASCII file with the FMT1 line. The first two data fields output from M507V1 include the drillhole reference number (REF#) and the drillhole identifier (DH-IDENT). The reference number should be given an integer format specification (i.e., I5 or I7). The drillhole identifier should be given a 10 character alphanumeric format specification (i.e., 10A1). The next two data fields output normally contain the EAST and NORTH coordinates of the composite in whichever order you specify on the GET line. However, if this data will be used in the interpolation with M620V1, EAST must precede NORTH. Output fields must be in EAST, NORTH, ELEV. order for use in M236V2. NOTE: Composites must have been loaded with the M501 series of programs. Composites loaded with M500V1 cannot be extracted.
OUTPUT: - ASCII Output file - Printer Output file - Optional output in csv format

PROGRAM FLOW DIAGRAM


RUN FILE: - DH selection - Output format

INPUT: - PCF - File 9 - File 12

CALCS: - Select data - Create ASCII file

Revised: 12-June-09

Page 507-1

M507V1-EXTRACT COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

Page 507-2

Revised: 12-June-09

MineSight Proprietary Software: Mintec, inc.

M507V1-EXTRACT COMPOSITE DATA

M507V1-EXTRACT COMPOSITE DATA


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-507V1 MEDS-507V1 where 10=filename 19=filename 9=filename 3=filename 12=filename;

MEDS-507V1 (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 9= the name of the COMPOSITE FILE 12= the name of the SURVEY FILE 19= the name of the ASCII Output File 3= the name of the PRINTER OUTPUT FILE 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 IOP3 = = = = = = USER INITIALS (e.g. ABC) M12 N12 -1 0 1 FIRST SURVEY DATA UNIT TO BE ACCESSED (default = 1) LAST SURVEY DATA UNIT TO BE ACCESSED (default = last survey stored) USE ALL DHS REGARDLESS OF X,Y LOCATION USE DHS WITHIN PROJECT LIMITS USE DHS WITHIN SPECIFIED BOUNDARY

NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command lines: CMD = INCL LOCPT FILE filename (to include points within the boundary) OR CMD = EXCL LOCPT FILE filename (to exclude points within the boundary) IOP5 = = = = = = 0 1 2 3 4 5 OUTPUT COMPOSITES AS STORED OUTPUT COMPOSITES WITH COLLAR COORDINATES(XCOL & YCOL) OUTPUT COMPOSITE COORDINATES IN M236V2 FORMAT OUTPUT COMPOSITE UNIT # IN ADDITION TO REF# AND DH-IDENT OUTPUT IN DH-IDENT EAST NORTH ELEV FORMAT (for m500v1 input) OUTPUT IN REF# EAST NORTH ELEV FORMAT (for m500v1 input)

NOTES: See also FMT1 1) Using IOP5=2, for rotated models ROW# is meaningless. An artificial grid is used to determine ROW#. It is not used by M236V1. 2) If IOP5=3, the first three fields are REF#, DH-IDENT, and UNIT#. 3) Using IOP5=4 or IOP5=5, and generating a file for M500V1, then specify the first items as EAST NORTH ELEV. (3DBM) or EAST NORTH ZTOP ZBOT (GSM) or if generating a file for M502V1, then specify the first item as ELEV. (3DBM) or SEAM/ZONE/etc (GSM)

Revised: 2-September-09

Page 507-3

M507V1-EXTRACT COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

IOP6

= = = = =

0 1 0 1 0, 1, 2, 3 NOTES:

USE IOPs 1 & 2 FOR DH SELECTION USE DH LIST AFTER END LINE DO NOT LIST COMPOSITES FOR DELETED SURVEYS LIST COMPOSITES EVEN FOR DELETED SURVEYS NUMBER OF COORDINATE TRIPLETS TO OUTPUT IN MODEL COORDINATES.

IOP7

IOP8

1) By default, the first coordinate triplet is in items EAST, NORTH and ELEV. (note the dot), the second in XTOP, YTOP and ZTOP, and the third in XBOT, YBOT and ZBOT. To override the items use the CMD statements below. 2) For non-rotated models IOP8 is ignored. For horizontally rotated models only X and Y coordinates are used to convert to model coordinates (the elevation in model and project coordinates is the same in this case). IOP9 = = = = 0 1 0 1 NO OUTPUT HEADER LINE IN FILE 19 OUTPUT HEADER LINE IN FILE 19 OUTPUT IN SPACE DELIMITED FORMAT (see FMT1) OUTPUT FILE 19 IN CSV FORMAT

IOP10

GET09 =

LABELS OF DATA TO BE DUMPED Example: GET09 = EAST NORTH ELEV. label1 label2 ... labeln If IOP5=2, only EAST, NORTH, ELEV., in that order, are allowed.

FMT1

FORMAT FOR OUTPUT DATA NOTE: See IOP5 output options. For: IOP5=0, the order of the items in the output is: REF#, the DH-IDENT and every item on the GET line Example: FMT1 = (I5, 1X, 10A1, nFw.d) IOP5=1, the order of the items in the output is: REF# DH-IDENT XCOL YCOL and every item on the GET line Example: FMT1 = (I5, 1X, 10A1, 2F12.3, nFw.d) IOP5=2, the order of the items in the output is: REF# , every item on the GET line, ROW# DH-IDENT Example: FMT1 = (I5, 1X, nFw.d, F7.0, 10A1) IOP5=3, the order of the items in the output is: REF# DH-IDENT UNIT# and every item on the GET line Example: FMT1 = (I5,1X,10A1,I7, nFw.d) IOP5=4, the order of the items in the output is DH-IDENT and every item on the GET line Example: (10A1,1X, 3F12.3, nFw.d) IOP5=5, the order of the items in the output is REF# and every item on the GET line Example: (I5,1X,3F12.3,nFw.d)

Page 507-4

Revised: 2-September-09

MineSight Proprietary Software: Mintec, inc.

M507V1-EXTRACT COMPOSITE DATA

Optional data selection by RANGE, OMIT or TABLE ITMn ITMn ITMn = = = label-09 label-09 label-09 RANGE min-value OMIT min-value TABLE IOPm IOPn max-value max-value

NOTE: If IOP5=2, use RANGE to name the bench elevation on which polygons are to be generated, e.g., ITM01 = ELEV. RANGE 4300 4300. Optional commands to override coordinate items: For the first coordinate triplet: CMD = XCRD label-09 1 CMD = YCRD label-09 1 CMD = ZCRD label-09 1 For the second coordinate triplet: CMD = XTOP label-09 2 CMD = YTOP label-09 2 CMD = ZTOP label-09 2 For the third coordinate triplet: CMD = XBOT label-09 3 CMD = YBOT label-09 3 CMD = ZBOT label-09 3

END

4. BOUNDARY POINT LINES (if IOP3=1) If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format: Easting Northing (in free-field format) where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points allowed is 2000. Boundary point lines must preceed any drillhole request lines.

5. DRILLHOLE REQUEST LINES (if IOP6=1) DH-IDENT where DH-IDENT is the drillhole label, one per line. Drillhole request lines must follow any boundary point lines.

Revised: 2-September-09

Page 507-5

M507V1-EXTRACT COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

M507V1 SAMPLE RUN FILE #1


MEDS-507V1 10=SAMP10.DAT 9=SAMP09.DAT MEDS-507V1 3=RPT507.LA 19=DAT507.OA ** EXTRACT COMPOSITE DATA FROM FILE # 9 ** USR IOP1 IOP3 IOP4 = = = = ABC 10 0 19 EAST 12=SAMP12.DAT;

/ FILE 12 LIMITS / DEFAULT TO PCF GEOMETRIC LIMITS / OUTPUT DATA TO FILE 19 NORTH ELEV . LNGTH T-CU MOLY EQCU

GET09 = FMT1 END =

(I5, 1X, 10A1, 4F10.1, 3F8.3)

HOW TO DEBUG AN M507V1 RUN


1. You must specify the correct number of format fields on the FMT1 line to match what will be output. If IOP5=0 or 1, the REF# and DH-IDENT will be written out and must be included at the beginning of the format statement. If IOP5=2, REF# is output at the beginning of the line; ROW# and DH-IDENT are output at the end of the line. Include the appropriate formats. Check the MineSight error messages in the Appendix.

2.

Page 507-6

Revised: 2-September-09

MineSight Proprietary Software: Mintec, inc.

M508RP-SPECIAL PROJECT CALCULATIONS

M508RP SPECIAL PROJECT CALCULATIONS

PROGRAM SUMMARY
M508RP accesses a MineSight routine to perform arithmetic calculations using RPN (Reverse Polish Notation) logic specified in the run file. Calculated values may be stored into File 9/8 or 12, but not both.

REQUIREMENTS AND CONSIDERATIONS


To run M508RP, specify each calculation as an arithmetic expression in the run file. The calculations can access existing items in File 9/8 or 12 and can also modify items stored in File 9/8 or 12. An example use for M508RP would be to compute an equivalent grade. M508RP is an executable module that is provided by Mintec. It is not linkable like M508V1. Arithmetic expressions are written as standard algebraic statements. For example, in the statement A=B + C, item A will be calculated as the sum of items B & C , where B & C must be retrieved from File 9/8 (or 12) or calculated in a previous expression. Each expression must be contained within 80 columns, and each may contain a combined maximum of 25 item names, real numeric constants, arithmetic operators (+, -, *, **, /) and the following functions: ABS ( ... ) : the absolute value AINT( ... ) : the integer value SQRT( ... ) : the square root ALOG( ... ) : the natural logarithm (base e) EXP ( ... ) : the exponential (the power of e) SIN ( ... ) : the sine function, radian argument COS ( ... ) : the cosine function, radian argument TAN ( ... ) : the tangent function, radian argument SIND( ... ) : the sine function, degree argument COSD( ... ) : the cosine function, degree argument TAND( ... ) : the tangent function, degree argument ATAN( ... ) : the arctangent function DEG ( ... ) : convert radians to degrees MIN ( ... , ... ) : the minimum of the given arguments MAX ( ... , ... ) : the maximum of the given arguments

PROGRAM FLOW DIAGRAM


If any values are to be stored in the composite file, you should make a backup copy of File 9 before running M508RP.
RUN FILE: - Options and parameters - Selection citeria Arithmetic expressions

INPUT: - PCF - File 9/8 - File 12 (optional)

CALCS: - Decode user equations - Select a drillhole - Select a composite - Perform calculations - Optionally store data

OUTPUT: - Updated File 9/ OE 12 - Printer Output file

Manually check the values reported by M508RP or run M503V1 to list the values. CHECK THE RESULTS CAREFULLY.

where ( ... ) indicates an argument as a constant, a variable or an expression. To evaluate log to base 10, use the ratio: ALOG(x) / ALOG(10). Data may be selected on the basis of coordinate location (see IOP3) and through the use of standard Range, Omit or Table command lines. REF# is a reserved item and cannot be used in RANGE commands.

Revised: 14-Nov-07

Page 508RP-1

M508RP-SPECIAL PROJECT CALCULATIONS PROCEDURE SUMMARY FOR USE OF M508RP 1. Define the arithmetic expression(s) with reference to the item labels of File 9/8 or 12. Prepare the input run file, including I-O=2 for a listing of all items to be used in the run. You should make a copy of the composite file before testing M508RP if data will be stored from the run. Make a test run with program M508RP, using options IOP1 and IOP2 (M12 and N12) to specify a small portion of File 9/8 or 12. Check the results. When M508RP provides satisfactory results, make a full production run setting IOP1 and IOP2 as appropriate and I-O=0. Check output for all drillholes closely, with lists and maps.

MineSight Proprietary Software: Mintec, inc.

2.

3.

4.

5.

6.

IMPORTANT NOTE: If the M508RP run replaces existing values in the composite file, there is no way to restore the original file. Save a copy of the file (on disk or tape) before you begin your M508RP run.

Page 508RP-2

Revised: 14-Nov-07

MineSight Proprietary Software: Mintec, inc.

M508RP-SPECIAL PROJECT CALCULATIONS

M508RP - SPECIAL PROJECT CALCULATIONS


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-508RP where 10=filename 9(or 8 or 12)=filename 3=filename

MEDS-508RP (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 9= the name of the COMPOSITE FILE OR 8= the name of the SORTED COMPOSITE FILE OR 12= the name of the SURVEY FILE 3= the name of the PRINTER OUTPUT FILE 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 = = = USER INITIALS (e.g. ABC) M12 N12 FIRST SURVEY DATA UNIT TO ACCESS (default=1) LAST SURVEY DATA UNIT TO ACCESS (default=last survey stored)

NOTE: If File 12 is specified on the NAMES LINE, then IOP1 & IOP2 refer to File 12. If IOP5 0 or File 8/9 is specified on the NAMES LINE, then IOP1 and IOP2 refer to that file. IOP3 = = = -1 0 1 USE ALL DHS REGARDLESS OF X,Y LOCATION USE DHS WITHIN PROJECT LIMITS USE DHS WITHIN SPECIFIED BOUNDARY NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command lines: CMD = INCL LOCPT FILE filename (to include points within the boundary) OR CMD = EXCL LOCPT FILE filename (to exclude points within the boundary) IOP5 = -1 = 0 = 1 = = 0 1 BYPASS ALL FILE 12 OPERATIONS OMIT STORING ANY DATA FROM THE RPN ROUTINE INTO FILE 12 STORE DATA FROM THE RPN ROUTINE INTO FILE 12 OMIT STORING DATA FROM THE USER ROUTINE INTO FILE 9/8 STORE DATA FROM THE USER ROUTINE INTO FILE 9/8 NOTE: You cannot write to both File 12 and 9/8. If both IOP5 and IOP6 are 0 and there are UPD/PUT items, the items will be calculated but not stored. If File 8 is selected, IOP5 is automatically set to -1. IOP8 = = 0 1 ACCESS FILE 12 DO NOT ACCESS FILE 12

IOP6

Revised: 6-June-01

Page 508RP-3

M508RP-SPECIAL PROJECT CALCULATIONS

MineSight Proprietary Software: Mintec, inc.

GET09 (or 8 or 12)= LABELS OF ITEMS TO BE RETRIEVED FOR M508RP PUT09 (or 8 or 12)= LABELS OF ITEMS TO BE STORED AFTER M508RP CALCULATIONS (if IOP6=1) OUT09 (or 8 or 12)= LABELS OF ITEMS TO BE LISTED AFTER CALCULATIONS Optional data selection by RANGE, OMIT or TABLE ITMn ITMn ITMn = = = label-nn RANGE label-nn OMIT label-nn TABLE min-value min-value IOPm IOPn max-value max-value

Optional lines for label substitution (see note in Section 5) ITMn = label-nn UNDEF value

NOTE: GET/UPD items that are undefined values will be substituted by the UNDEF value before the RPN expressions are evaluated. UPD/PUT/OUT items that are undefined will be substituted after the RPN expressions have been evaluated. Undefined values that occur during RPN evaluation cause the result to be undefined. CMD = label-09 ALIAS IS run-label

Ex: CMD = T-CU ALIAS IS TOTCU END 4. BOUNDARY POINT LINES (If IOP3=1) If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format: Easting Northing (in free-field format) where 0 0 ends the input or input ends on end-of-file. Boundary points MUST close. The maximum number of boundary points allowed is 2000.

Page 508RP-4

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M508RP-SPECIAL PROJECT CALCULATIONS

5. ARITHMETIC EXPRESSION LINES (maximum=40 expressions) EQUIV = TOTCU + MOLY * 5.0 . . NOTE: Item labels may not contain minus signs (-) since - is a valid operator. Item labels containing embedded minus signs, such as T-CU, can be substituted using the ALIAS command line. Item labels cannot appear on both sides of the = in the same equation. This can be avoided by using a temporary variable as follows. TEMP = TOTCU TOTCU = TEMP * 1.10

M508RP SAMPLE RUN FILE


MEDS-508RP 10=SAMP10.DAT 9=SAMP09.DAT 3=RPT508.LA * COMPUTE EQUIVALENT COPPER GRADE * USR IOP1 IOP3 IOP6 COM COM = = = = ABC 0 0 / FIRST AND LAST DATA UNITS FROM FILE 12 -1/ -1=NO BOUNDARY,0=PCF BOUNDARY,1=READ BOUNDARY 1 / -1 = BYPASS ALL FILE 9 OPERATIONS; OR 12=SAMP12.DAT;MEDS-508RP

0 = ACCESS FILE 9 BUT DO NOT STORE BACK TO IT; OR 1 = ACCESS FILE 9 & STORE BACK TO IT = PUT09 REQD T-CU MOLY / RETRIEVE GRADES EQCU / STORE EQUIVALENT GRADE T-CU ALIAS IS TOTCU

GET09 = PUT09 = CMD =

END EQCU = TOTCU + MOLY*5.0

Revised: 6-June-01

Page 508RP-5

M508RP-SPECIAL PROJECT CALCULATIONS

MineSight Proprietary Software: Mintec, inc.

HOW TO DEBUG AN M508RP RUN


1. If I-O=2 is specified in the run file, MineSight routines will print a list of all the items in File 9 (or 8 or 12) followed by the items to be used, in the form **MEDITM: FILE SAMPnn.DAT PCF DESCRIPTORS ### ### **MEDITM: ### REF #**MEDITM: ### FROM items in File n **MEDITM: GET ITEM= 1 TOTCU (for the first example above) **MEDITM: GET ITEM= 2 MOLY **MEDITM: GET ITEM= 3 EQCU The MEDITM information (I-O=2) should allow you to check the items of information that will be retrieved (GET items) from File 9/8 or 12. CHECK IF ALL DESIRED ITEMS ARE LISTED. 2. If you make a mistake in entering the variable names in the equations specified in the run file, the calculations will be in error: IF RESULTS ARE NOT CORRECT, PLEASE CHECK THE EQUATIONS SPECIFIED AND LABELS IN THE RUN FILE. If there is no PUT item, nothing will be stored in File 9/8 or 12. Set IOP6=1 and make sure you include a PUTnn statement. If IOP6=1 and no PUTnn was included, the error message %WARNING - NO PUTnn LABELS WERE ENCOUNTERED will appear. 4. If M508RP values are stored in File 9 that are either above the PCF maximum or below the minimum, the error message * FOR FILE filename NUMBER OF USR508 VALUES ABOVE MAX = n NUMBER OF USR508 VALUES BELOW MAX = n will appear. 5. Also check the MineSight error messages in the Appendix.

3.

Page 508RP-6

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M508V1-USER INTERFACE FOR COMPOSITE FILES

M508V1 USER INTERFACE FOR COMPOSITE FILES

PROGRAM SUMMARY
M508V1 accesses a user-coded subroutine for special calculations and reports from the composite Data File. Calculated values may be stored into the composite Data File.

REQUIREMENTS AND CONSIDERATIONS


M508V1 calls a user-coded FORTRAN subroutine (USR508) to define a geologic code, perform a specified data calculation, or modify the composite interval data previously stored in File 9. Examples of this would be to define a code indicating property ownership or to compute an equivalent grade. The user subroutine is called by the main routine (M508V1) a number of times. A call is always made for initialization. The value of the argument NTRY, determines what action should be taken in the subroutine: NTRY=1 - Initialization NTRY=2 - Process all DH intervals within specified surveys NTRY=3 - Call at end of survey interval

PROGRAM FLOW DIAGRAM


RUN FILE: - DH selection - Item selection

INPUT: - PCF - File 9 - File 12 (optional)

CALCS: - USR508 initialization - Select a DH and composite - Perform user logic - Optionally store data

NTRY=4 - Call at end of each hole NTRY=5 - Call at end of run NTRY=6 - Same as NTRY=2 (second pass) NTRY=7 - Same as NTRY=3 (second pass) NTRY=8 - Same as NTRY=4 (second pass)

OUTPUT: - Updated File 9 - Printer Output file

The drillhole reference number (IDHN) is also passed as an argument from the main routine to the subroutine. The composite file does not contain an item for the DH-IDENT. If you require the DH-IDENT or the collar and survey data, you must also access data in File 12. To avoid any access to File 12, you must set IOP8=1. Data can be selected on the basis of coordinate location and through the use of Range, Omit or Table command lines. Data can be read from or written to an ASCII file.

Manually check the values reported from M508V1 or run M503V1 to list the values. CHECK THE RESULTS CAREFULLY.

Revised: 6-June-01

Page 508-1

M508V1-USER INTERFACE FOR COMPOSITE FILES Procedure Summary for Use of USR508 1. 2. Define the desired calculation and draw a flowchart. Code the subroutine; see the Technical Section explaining the linkage between M508V1 and USR508. Also see the sample subroutine in this section. Compile and test USR508 on a small portion of the composite file (use IOP1 and IOP2). Make a copy of File 9 before testing the routine. When the program runs and produces satisfactory results, make a full production run. Check output for all drillholes closely with list and maps.

MineSight Proprietary Software: Mintec, inc. IMPORTANT NOTE: If the M508V1 run replaces existing values in the composite file, there is no way to restore the original file. Save a copy of the file (on disk or tape) before you begin your M508V1 run. Please refer to the Technical 600 section for more information about how to write MINESIGHT user subroutines.

3.

4.

5.

Page 508-2

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M508V1-USER INTERFACE FOR COMPOSITE FILES

M508V1 USER INTERFACE FOR COMPOSITE FILES


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-508V1 10=filename MEDS-508V119=filename 3=filename where 9=filename 12=filename;

MEDS-508V1 (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 9= the name of the COMPOSITE FILE 12= the name of the SURVEY FILE (if IOP8=0) 19= the name of the Output File from USR508 (if IOP6=1) 3= the name of the PRINTER OUTPUT FILE 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text information that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 IOP3 = = = = = = USER INITIALS (e.g. ABC) M12 N12 -1 0 1 FIRST SURVEY DATA UNIT TO ACCESS (default = 1) LAST SURVEY DATA UNIT TO ACCESS (default = last survey stored) LIST ALL DHS REGARDLESS OF X,Y LOCATION LIST DHS WITHIN PROJECT LIMITS LIST DHS WITHIN SPECIFIED BOUNDARY NOTE: If IOP3=1, the specified boundaries can be in a separate file. Use one of the following command lines: CMD = INCL LOCPT FILE filename (to include points within the boundary) OR CMD = EXCL LOCPT FILE filename (to exclude points within the boundary)

Revised: 6-June-01

Page 508-3

M508V1-USER INTERFACE FOR COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

IOP4

CALL THE USER ROUTINE FOR EACH DRILLHOLE IN THE FOLLOWING ORDER: FOR ALL COMPOSITE INTERVALS WITHIN A SPECIFIED SURVEY INTERVAL FOR ALL SURVEY INTERVALS WITHIN A SPECIFIED DRILLHOLE AT THE END OF EACH DRILLHOLE END OF RUN

NTRY=2 NTRY=3 NTRY=4 NTRY=5 = 1

REPEAT THE PROCESS OF IOP4=0 AT THE END OF EACH DRILLHOLE NTRY=6FOR COMPOSITES (same as NTRY=2) NTRY=7FOR SURVEYS (same as NTRY=3) NTRY=8FOR THE END OF HOLE (same as NTRY=4) NOTE: NTRY refers to an argument that is passed to the USR508 subroutine from the M508V1 program (see example subroutine listing that follows). The USR508 routine must test the NTRY argument and branch to the appropriate section.

IOP5

= = =

-1 0 1

BYPASS ALL OPERATIONS FOR FILE 12 OMIT STORING ANY DATA FROM THE USER ROUTINE INTO FILE 12 STORE DATA FROM THE USER ROUTINE INTO FILE 12 NOTE: If IOP5 = -1, File 12 is still required for the run to determine the location of the composite intervals. Array B12 will contain valid data, but no calls for NTRY=3 or NTRY=7 are made. If IOP5=1, use the following: PUT12 = LABELS OF ITEMS TO BE STORED AFTER USR508 CALLS

IOP6

= = =

-1 0 1

BYPASS ALL FILE 9 OPERATIONS OMIT STORING ANY DATA FROM THE USER ROUTINE INTO FILE 9 STORE DATA FROM THE USER ROUTINE INTO FILE 9 NOTE: If IOP6 = -1, no call for NTRY=2 or NTRY=6 are made. If IOP6=1, specify PUT09 line.

IOP7

= = = = =

-1 0 1 0 1

OPEN A SEQUENTIAL FILE FOR INPUT OMIT OPENING A SEQUENTIAL ACCESS FILE OPEN A SEQUENTIAL FILE FOR OUTPUT NORMAL ACCESS OF FILE 12 OMIT ANY ACCESS TO FILE 12

IOP8

Page 508-4

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M508V1-USER INTERFACE FOR COMPOSITE FILES

GET09 (or 12) = PUT09 (or 12) =

LABELS OF ITEMS TO BE RETRIEVED FOR USR508 LABELS OF ITEMS TO BE STORED IN FILE 9 (If IOP6=1 or IOP5=1)

PAR1-40 are available for use by the user in routine USR508. IOP11-40 are available for use by the user in routine USR508. Optional Data Selection by RANGE, OMIT or TABLE ITMn ITMn ITMn = = = label-09 (or 12) RANGE label-09 (or 12) OMIT label-09 (or 12) TABLE min-value max-value min-value max-value IOPm IOPn

NOTE: You must specify label-09 on the GET09 line, or label-12 on the GET12 line. If you use File 12 Range Checking you MUST specify the File 12 item with a GET12 command. You cannot range on File 11 and File 12 items in the same run. END 4. BOUNDARY POINT LINES (if IOP3=1) If the specified boundaries are to be added at the end of the run file rather than a separate file, then use the following format: Easting Northing (in free-field format) where 0 0 ends the input or input ends on end-of-file. Boundary points must close. The maximum number of boundary points allowed is 2000.

Revised: 7-November-04

Page 508-5

M508V1-USER INTERFACE FOR COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

M508V1 SAMPLE RUN FILE


MEDS-508V1 10=SAMP10.DAT 9=SAMP09.DAT MEDS-508V1 3=SAM508.LA ** COMPUTE EQUIVALENT COPPER GRADE ** USR IOP1 IOP3 IOP4 IOP5 COM COM IOP6 COM COM IOP7 COM COM = = = = ABC 1 43 / DO SURVEYS 1 THROUGH END OF DATA -1 / USE ALL DATA (NO GEOMETRIC LIMITS) 0 / 0 = 1 PASS THROUGH DH DATA; 1 = MAKE 2 PASSES 12=SAMP12.DAT;

= -1 / -1 = BYPASS ALL FILE 12 OPERATIONS; OR 0 = ACCESS FILE 12 BUT DO NOT STORE TO BACK TO IT OR 1 = ACCESS FILE 12 & STORE BACK TO IT = PUT12 REQD = 1 / -1 = BYPASS ALL FILE 9 OPERATIONS; OR 0 = ACCESS FILE 9 BUT DO NOT STORE TO BACK TO IT OR 1 = ACCESS FILE 9 & STORE BACK TO IT = PUT09 REQD = 0 / -1 = OPEN A SEQUENTIAL ACCESS FILE FOR INPUT; OR 0 = OMIT OPENING A SEQUENTIAL ACCESS FILE; OR 1 = OPEN A SEQUENTIAL ACCESS FILE FOR OUTPUT T-CU MOLY / RETRIEVE GRADES EQCU / STORE GRADE 5. / FACTOR MO:T-CU VALUE RATIO

GET09 = PUT09 = PAR1 END =

Page 508-6

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M508V1-USER INTERFACE FOR COMPOSITE FILES

EXAMPLE USR508 SUBROUTINE


NOTE: The user code in this subroutine is in bold print. C C SAMPLE SUBROUTINE TO CALCULATE EQUIVALENT COPPER GRADE C SUBROUTINE USR508 ( NTRY, IDHN ) C C C C NTRY = 1 TO INITIALIZE ANY NEEDED PARAMETERS C = 2 ENTRY TO USER SUBR FOR COMP. INTS WITHIN SPEC. SURVEYS C = 3 ENTRY TO USER SUBR AT END OF EACH SURVEY C = 4 ENTRY TO USER SUBR AT END OF EACH DH C = 5 ENTRY TO USER SUBR AT END OF ENTIRE RUN C = 6 SAME AS NTRY = 2 , 2ND PASS C = 7 SAME AS NTRY = 3 , 2ND PASS C = 8 SAME AS NTRY = 4 , 2ND PASS C C IDHN = DRILLHOLE REFERENCE NUMBER FROM FILE 12. C C COMMON & /SYS/ NAMES(80), RNID(20), IOP(40), PAR(40), IFMT(80), & DAY(4), LALF(20), ICR, IPR, LCR, LPR, LINE,LLIM, & IHS, NCMD, IRTYPE, IOLEV, RUNUMB, USER, LBTS, & IPDP, IHEAD(8), NPAGE, NDOCL, LDOC(15,5) & /BUF/ B12(1024), B09(1024) & /F10/ PCF( 512), IAB10(20), I10,NW10, FLB(2,40), IPWD(40) & /ITM/ ITM(3,99), NIC(5,40), ITEMS, NICNO, LWRD( 99), & NBIT( 99), LBIT( 99), VMIN( 99), CODE( 99), & ROND(99), VFCT( 99), MAXV( 99), RDAT( 99), IDAT( 99) & /USR/ K09GET, L09GET, K09PAK, L09PAK, LOC09, J09, K09, & L09, K12GET, L12GET, K12PAK, L12PAK, LOC12, J12, & K12, L12 & /AUX/ MSK12, NBT12, KIO12, MAX12, MIN12, KIO09, MAX09, & MIN09 C C GOTO (100, 500, 1000, 1500, 5000, 2500, 3000, 3500), &NTRY C C C NTRY = 1 : INITIALIZE USR508, AS NEEDED C 100 CONTINUE FACTR = PAR(1) IBUG = IOP(11) NDHS = 0 WRITE (LPR,110) FACTR 110 FORMAT (/ SAMPLE 508 FOR EQUIVALENT GRADE: FACTOR =, F8.3) C IF (IOLEV .LT. 2) RETURN WRITE (LPR,120) K09GET, K09PAK 120 FORMAT (/ ** EQU508: 1ST GET =,I3, 1ST PUT =,I3/) RETURN Revised: 6-June-01 Page 508-7

M508V1-USER INTERFACE FOR COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

C C C C

NTRY = 2 : PROCESS COMPOSITE INTERVAL DATA 500 CONTINUE CU = RDAT(K09GET) IF (CU .LE. 0) CU = 0.0 AM = RDAT(K09GET+1) IF (AM .LE. 0) AM = 0.0 ECU = CU + FACTR * AM RDAT(K09PAK) = ECU

C IF (IBUG .GT. 0) WRITE(LPR,620)IDHN, CU, AM, ECU 620 FORMAT( DH REF# ,I6, CU =,F8.2, MO =,F8.3, EQCU =, F8.3) RETURN C C C C NTRY = 3 : PROCESS END OF SURVEY 1000 CONTINUE RETURN C C C C NTRY = 4 : PROCESS OR SUMMARIZE AT END OF DRILLHOLE 1500 CONTINUE NDHS = NDHS + 1 RETURN C C C C NTRY = 6 : 2ND PASS FOR DH INTERVAL DATA 2500 CONTINUE RETURN C C C C NTRY = 7 : 2ND PASS FOR END OF SURVEY 3000 CONTINUE RETURN C C C C NTRY = 8 : 2ND PASS FOR END OF DH 3500 CONTINUE RETURN C C C C NTRY = 5 : PROCESS OR SUMMARIZE AT END OF ENTIRE RUN 5000 CONTINUE WRITE(LPR,5010) NDHS 5010 FORMAT(// END RUN # DHS = ,I3/) RETURN END Page 508-8 Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M508V1-USER INTERFACE FOR COMPOSITE FILES

HOW TO DEBUG AN M508V1 RUN


1. %M508V1: WARNING. There are no PUT12 items. You have selected IOP5=1 but not specified any PUT12 items. 2. %M508V1: WARNING. There are no PUT09 items. You have selected IOP6=1 but not specified any PUT09 items. 3. If IO=2 is specified in the run file, MineSight routines will print a list of all the items in File 9 followed by the items to be used, in the form **MEDITM: FILE SAMP09.DAT PCF DESCRIPTORS ### ### **MEDITM: ### REF # **MEDITM: ### FROM items in File 9 . . **MEDITM: GET ITEM = 1 TOTCU (for the first example above) **MEDITM: GET ITEM = 2 MOLY **MEDITM: PUT ITEM = 3 EQCU The MEDITM information (IO = 2) should allow you to check the items of information that will be retrieved (GET items) from File 9. Check if all desired items are listed. 4. If M508V1 values are stored in File 9 that are either above the PCF maximum or below the minimum, the error message * FOR FILE filename NUMBER OF USR508 VALUES ABOVE MAX = n NUMBER OF USR508 VALUES BELOW MAX = n will appear. 5. A test run should always be performed on a small portion of the drillhole data before actually storing any calculations. Include an option in your USR508 logic to list enough values to be able to check the calculations. If you want an input or output sequential file, you must specify a 19=filename on the NAMES LINE. IOP7 must be set appropriately. Also check the MineSight error messages.

6.

7.

Revised: 6-June-01

Page 508-9

M508V1-USER INTERFACE FOR COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

Page 508-10

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M516V1-CROSS-SECTION OFCOMPOSITE DATA (M122)

M516V1 CROSS-SECTION OFCOMPOSITE DATA (M122)

PROGRAM SUMMARY
This program creates an M122 plot file for 2-D composite crosssections defined by two end points.

REQUIREMENTS AND CONSIDERATIONS


To generate a cross-section, two steps are required: Run M516V1 to create the M122 plot commands

PROGRAM FLOW DIAGRAM


Run M122V1 to plot the section
RUN FILE: - DH selection - Selection options - Item selection

Additional steps may be required to add special features such as title blocks, surface topography, etc. These extra features are brought together with the section plot commands when M122 is run. M516V1 does not detect overplotting on a drillhole by other holes or closely space intervals. If overplotting does occur, the M122 plot file can be edited to remove conflicts. The program selects data within an area defined by two end points and a perpendicular distance. The sections can be at any orientation. Cutting planes on each side of the cross-section are used to limit what drillhole data is selected. You may also select data on the basis of File 12 unit numbers (IOP1 & IOP2). You may also specify individual drillhole reference numbers and depth ranges for each hole. Composite intervals can be shaded and/or colored on grade cutoffs, or as ticks or boxes on either side of the drillhole trace.

INPUT: - PCF - File 9 & 12

CALCS: - Generate a file of M122 plot commands for processing by M122

OUTPUT: - M122 Plot file - Printer Output file

Composite values can be labeled on either the right or left-hand side of the drillhole trace. There is an option for moving entire holes to avoid overplotting (IOP19 & PAR9). File 9 values can be limited by the standard Range, Omit or Table. NOTE: Since the section can be at any azimuth through the deposit, there is no convenient way to prepare any regular coordinates specifying the location of each plot feature.

The output file from M516V1 must be processed with M122V1 to plot the map.

Therefore, plot commands have an X coordinate that is measured from the left-hand side of the plot in units of PAR7. The Y coordinate is the actual elevation. The M122V1 run file must specify an area that has X limits from 0.0 to the section length in user units.

Revised: 6-June-01

Page 516-1

M516V1-CROSS-SECTION OFCOMPOSITE DATA (M122)

MineSight Proprietary Software: Mintec, inc.

Page 516-2

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-516V1 MEDS-516V1 where 10=filename 3=filename 9=filename 12=filename;

MEDS-516V1 (must be the first 10 columns) 10 = the name of the PROJECT CONTROL FILE 9 = the name of the COMPOSITE FILE 12 = the name of the SURVEY FILE 3 = the name of the PRINTER OUTPUT FILE

2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 IOP4 = = = = = = = = = = = = = USER INITIALS (e.g. ABC) M12 N12 0 1 FIRST SURVEY DATA UNIT TO ACCESS (default = 1) LAST SURVEY DATA UNIT TO ACCESS (default = last survey stored) IF CROSS-SECTION IS ESSENTIALLY E-W IF CROSS-SECTION IS ESSENTIALLY N-S

IOP6 IOP7

STANDARD CALCOMP SYMBOL NUMBER (0-13) USED FOR DH COLLARS (default=6) 0 1 0 1 0 1 2 PLOT REFERENCE LINES OMIT REFERENCE LINES PLOT TICKS ON BORDER OF PLOT OMIT TICKS ON BORDER OF PLOT DO NOT PLOT ADDITIONAL DHS READ AND PLOT ADDITIONAL DHS BY REFERENCE NUMBERS READ AND PLOT ADDITIONAL DHS BY LABEL (DH-IDENT)

IOP8

IOP9

NOTE: If IOP9 0, then only 1 section definition line is allowed. NOTE: To exclude selected drillholes from the section, set IOP9-1 and put negative drillhole REF#s on the DH selection lines. IOP10 = = IOP11 = = = 0 1 0 1 2 PLOT ALL SELECTED HOLES PLOT ONLY THOSE HOLES SPECIFIED BY IOP9 (maximum of 50 holes) OUTPUT PLOT COMMANDS FOR THE FULL SECTION OUTPUT PLOT COMMANDS FOR DH TRACE ONLY OMIT DHCOL LABEL FROM PLOT

Revised: 16-May-01

Page 516-3

M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

MineSight Proprietary Software: Mintec, inc.

IOP12 = IOP13 = = =

DISPLAY WHETHER DH ENTERS OR EXITS SECTION VOLUME

SHADING FOR COMPOSITE INTERVAL 0 NO SHADING (default) 1 SPECIFY SHADE TYPES IN IOP31-34 NOTE: Used if PLT is specified or following CMD option.Shade types (0-7) are as follows: 0 1 2 3 4 5 6 7 = = = = = = = = no shading within box shade box completely solid shade box @ 0 degrees to X-axis shade box @ 45 degrees to X-axis shade box @ 90 degrees to X-axis shade box @ 135 degrees to X-axis shade box @ 0 & 90 degrees to X-axis shade box @ 45 & 135 degrees to X-axis

IOP14 = = =

BOX TYPE FOR COMPOSITE INTERVAL 0 STANDARD BOX(default; IOP18 indicates whether the box is on the right or left.) 1 SPECIFY BOX TYPES IN IOP35-38 NOTE: Used if PLT is specified or following CMD option.Box types (-1 through 5) are as follows: -1 =no box 0 = box on right/left side of DH line (See IOP18) 1 = ticks on right side of DH line 2 = ticks on left & right side of DH line 3 = ticks on left side of DH line 4 = box on left & right side of DH line 5 = box on left side of DH line

IOP15 = = = IOP16 = = = IOP17 = IOP18 = = IOP19 = = = IOP20 = = = = =

-1 0 1 0 1 -1

OMIT PLOTTING OF FIRST GRADE ITEM PLOT VALUES DO NOT PLOT VALUES (Use values & cutoffs to determine interval attributes.) PLOT DH LABEL (ON COLLAR PLOT) AT 90o PLOT DH LABEL (ON COLLAR PLOT) AT 0o OMIT DH LABEL FROM THE COLLAR PLOT

PEN# FOR DH LINES (default = 1) 0 1 VALUES PLOTTED ON RIGHT SIDE OF DH LINE (default) VALUES PLOTTED ON LEFT SIDE OF DH LINE

USED ONLY IF PAR9 IS SPECIFIED 0 PLOT THE HOLE CLOSEST TO THE SECTION LINE 1 PLOT THE LEFTMOST HOLE, THEN APPLY PAR9 -1 0 1 2 3 PLOT DH LABEL (ON COLLAR PLOT) AT THE END OF HOLE PLOT DH LABEL (ON COLLAR PLOT) BY THE DH SYMBOL (default) PLOT DH LABEL BETWEEN SECTION AND COLLAR PLOT TO AVOID OVERWRITING PLOT DH LABEL ABOVE AND DRAW DASH LINE FROM DH LABEL TO SYMBOL PLOT DH LABEL ABOVE AND PLOT DIP AND DEPTH OF HOLE WITH LABEL

NOTE: Not used if IOP16=-1

Page 516-4

Revised: 16-May-01

MineSight Proprietary Software: Mintec, inc.

M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

IOP21 = = IOP22 = = IOP24 = = = = =

0 1 1 N 0 1 (-1) 2 (-2) 3 (-3) 4 (-4)

USE SPECIFIED ITEM FORMATS ONE AFTER ANOTHER INSERT ONE SPACE BETWEEN ITEMS APPLY PLT CUTOFFS TO ITM1 (default) APPLY PLT CUTOFFS TO ITMn NO DOWNHOLE TICKS PLOT THE DEPTH FROM COLLAR PLOT THE DISTANCE FROM THE PLAN OF THE SECTION PLOT THE ELEVATION PLOT TICKS ONLY

NOTE: A positive number places the ticks on the right. A negative number places the ticks on the left. PAR20 and PAR21 define the size and location of the ticks. IOP25 = = IOP29 = IOP30 = 0 1 USE DHCOL TO SHOW INTERSECTIONS WITH SECTION VOLUME USE SYMBOL #1

PEN# FOR THE GRID LINES EASTING =CONST ON THE COLLAR PLOT (default =1) PEN# FOR THE GRID LINES NORTHING = CONST ON THE COLLAR PLOT (default =1)

IOP31-34=SHADE TYPES FOR COMPOSITE INTERVAL (or use following CMD option) NOTE: Cutoffs for shading correspond to PLT commands. You must set IOP13=1. IOP35-38=BOX TYPES FOR COMPOSITE INTERVAL (or use following CMD option) NOTE: Cutoffs for box type correspond to PLT command. You must set IOP14=1. PAR1 = LENGTH OF LINE ON EACH SIDE OF DH PLOT INDICATING INTERSECTION OF DH WITH THE SECTION (default=1.0") OFFSET FROM ORIGIN (default=0.0) NOTE: The resultant plot will have the beginning of the section shifted and the end of the section truncated by the distance specified in PAR2. PAR3 PAR4 PAR5 PAR6 PAR7 PAR8 PAR9 = = = = = = = MINIMUM Z (ELEVATION) OF CROSS-SECTION (default=Project ZMIN) MAXIMUM Z (ELEVATION) OF CROSS-SECTION (default=Project ZMAX) REFERENCE AXIS Z (default= (PAR3 + PAR4) / 2.0) REFERENCE AXIS X (EASTING)(default=0.0) X-SCALE PER INCH (required) Z-SCALE PER INCH FOR COLLAR ELEVATION (required) MINIMUM SEPARATION BETWEEN DH ON PLOT IN USER UNITS (default=0.0) NOTE: If PAR9 is used, there will be no collar plot. PAR10 = PAR11 = PAR12 = WIDTH OF DH ANNOTATION BOXES (in inches;default=0.1) SIZE OF COLLAR PLOT SYMBOL (in inches) AND DH ANNOTATION (default=0.1) HEIGHT (in inches) OF REFERENCE LINE PLOT FOR COLLAR PLOT (default = 5.0") Page 516-5

PAR2

Revised: 16-May-01

M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

MineSight Proprietary Software: Mintec, inc.

NOTE: If the reference line plot is not large enough to properly plot a drillhole location, the location will be plotted on the border. To omit plot, set PAR12=-1. PAR13 = SINE OF THE LIMITING ANGLE(default = (DZ/SQRT (DX**2 + DZ**2))) NOTE: In case of length compositing use command line ITMn = DHTOE. (see below) PAR14 = PAR15 = PAR16 = PAR17 = PAR18 = SIZE OF DH LABELS ON COLLAR PLOT (if IOP20>0;default = PAR11) OFFSET OF COLLAR PLAN FROM SECTION (in plotter units;default = 0.5) GRID SIZE (if PAR16 = 0.0 - No Grid) STARTING GRID EASTING FOR COLLAR GRID LABELING (default = PCF21) STARTING GRID NORTHING FOR COLLAR GRID LABELING (default = PCF22) NOTE: PAR17 and PAR18 are for reference. The grid will go both directions from PAR17/PAR18. PAR20 = PAR21 = PLT = LENGTH OF DOWNHOLE TICKS (default=0.1) DISTANCE BETWEEN TICKS (default=50.0) CUTOFF VALUES TO CONTROL COMPOSITE INTERVAL COLORING, SHADING OR BOXES: vmax1 vmax2 vmax3 vmax4 p1 p2 p3 p4 where Value 0.0 # x < vmax1p1 vmax1 # x < vmax2 p2 vmax2 # x < vmax3 p3 vamx3 # x < vmax4 p4 x $ vmax4 p1 Color Shading Box Type

IOP31 IOP32 IOP33 IOP34 IOP34

I I I I IOP38

O O O O

P P P P

3 3 3 3

5 6 7 8

NOTE: P1, p2, p3 and p4 are optional pen numbers. default is 1, 2, 3, 4. If shading with PEN# 1, use 1 1 1 1. Cutoffs are applied to ITMn item and should be stated in the same precision as the data. ITM1 . . ITMn = label-09 VALUE Fw.d (First value to plot)

label-09 VALUE Fw.d (Sixth value to plot) NOTE: Fw.d is the format of the plotted grade label. There must be at least one ITM input.

For increased pen numbers: CMD = PLOT CUT V1 V2 V3 ... V15 (for cutoffs) CMD = PLOT PEN V1 V2 V3 ... V16 (for pen numbers) CMD = PLOT BOX V1 V2 V3 ... V16 (for box types) CMD = PLOT SHADE V1 V2 V3 ... V16 (for shade patterns)

Page 516-6

Revised: 16-May-01

MineSight Proprietary Software: Mintec, inc.

M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

NOTE: Always list one more pen number than you have cutoffs. The additional pen, box and shade are for any material greater than the last cutoff. NOTE: IOP13 and IOP14 no longer need to be set to get the box and shade patterns from the above commands. The existing PLT command and IOPs 13, 14, and 31-38 work exactly as before. However, if both the PLT and/or IOP31-38 and the CMD commands are present in a run file, the CMD commands will override the PLT and IOP31-38 commands. Optional data selection by RANGE, OMIT or TABLE ITMn ITMn ITMn = = = label-09 RANGE label-09 OMIT label-09 TABLE min-value min-value IOPm max-value max-value IOPn

NOTE: Item labels used in data selection must be specified in the plot ITMn lines above. Plotting equal length downhole composites ITMn = label-09 DHTOE NOTE: Label-09 is the depth down the drillhole to the toe of the composite as computed in M501V1 using the command ITMn = DEPTH label-09 M501V1 run to * This option must also be used if you set IOP5= -1 in the create a table of bench toes.

To use this option, composites must be continuous. (In M501V1, IOP8 must be set to zero.) This item must be specified if, for M501V1, the fixed length composites option was used (IOP11=1 in M501V1 run file). Bench composites can also be plotted using this command. I-O END 4. SECTION DEFINITION LINE (free-field format) X1 Y1 X2 Y2 search-dist. filename where X1 Y1 = X2 Y2 = search-dist. = filename = left end of the cross-section right end of the cross-section perpendicular distance on each side of the line (X1,Y1) - (X2,Y2) within which drillhole data will be accepted filename to be used by M516V1 to output M122 plot commands = 1 OUTPUT CROSS-SECTION DEFINITION TO USER TERMINAL

5. OPTIONAL D.H. SELECTION LINE(S) (if IOP9=1 or 2) REF# min-Z max-Z OR DH-IDENT min-Z max-Z where REF# = min-Z = max-Z = drillhole reference number OR DH-IDENT = drillhole label minimum elevation within drillhole to plot (default = PAR3) maximum elevation within drillhole to plot (default = PAR4) NOTE: If IOP9 = 0, multiple section definition lines are allowed. Revised: 16-May-01 Page 516-7

M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

MineSight Proprietary Software: Mintec, inc.

M516V1 SAMPLE RUN FILE #1


MEDS-516V1 10=SAMP10.DAT 9=SAMP09.DAT 12=SAMP12.DAT; MEDS-516V1 3=RPT516.LA EXTRACT T-CU DH VALUES FOR SECTION 12750N / PLOT ADDITIONAL DHS USR = ABC IOP1 = 00 / FILE 12 LIMITS IOP4 = 0 / 0=E-W SECTION, 1=N-S SECTION IOP7 = 0 / 0=PLOT REF LINES,1=NO REF LINES IOP8 = 0 / 0=PLOT TICKS ON PLOT BORDER,1=NO TICKS IOP9 = 2 / 2 READ DH LABELS; PLOT ADDITIONAL DHS IOP11 = 0 / 0=PLOT FULL SECTION,1=PLOT DH COURSE ONLY PAR3 = 2600 4600 3000 12000 / ZMIN ZMAX ZREF XREF PAR7 = 500 500 / SCALES X AND Z PAR10 = .05 / THICKNESS OF DH LINES PAR11 = .05 / HEIGHT OF COLLAR PLOT SYMBOL PAR12 = 2.0 / HEIGHT OF REF LINE PLOT ITM1 = T-CU VALUE F4.2 / RETRIEVE TOTAL COPPER END 10500 12750 14500 12750 100 SM-009 26004600 SM-010 26004600 PLT516.PAA Section Definition Line Drillhole Selection Lines

M122V1 SAMPLE RUN FILE #1


MEDS-122V1 10=SAMP10.DAT 3=RPT122.LA E-W CROSS SECTION AT 12750N - T-CU COMPOSITES - SCALE 1"=500 USR = ABC MAP = 0 5000 500 1000 6000 500 PLT = .04 END USERF PLT516.PAA ENDOC

Page 516-8

Revised: 16-May-01

MineSight Proprietary Software: Mintec, inc.

M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

M516V1 SAMPLE RUN FILE #2


MEDS-516V1 10=SAMP10.DAT 9=SAMP09.DAT MEDS-516V1 3=RPT516.LA EXTRACT CU DH VALUES FOR CROSS SECTION USR IOP1 IOP4 IOP7 IOP8 IOP13 IOP20 IOP31 PAR1 PAR3 PAR7 PAR10 PAR11 PAR12 = = = = = = = = = = = = = = ABC 10 0 1 1 1 2 0000 / FIRST AND LAST DH SURVEY RECORDS TO USE / 0=E-W SECTION, 1=N-S SECTION / 0=PLOT REFERENCE AXIS, 1=NO AXIS / 0=PLOT TICKS ON PLOT BORDER, 1=NO TICKS / 0=NO SHADING, 1=SHADING / 2=PLOT DH LABELS BELOW COLLAR PLOT / SHADING TYPES 12=SAMP12.DAT;

0.1 / LENGTH OF LINE SHOWING WHERE DH INTERSECTS SECTION -50300 / MINIMUM ELEVATION, MAXIMUM ELEVATION 25.425.4 / SCALES X AND Z .04 / THICKNESS OF DH LINES .08 / HEIGHT OF COLLAR PLOT SYMBOL 1.0 / HEIGHT OF REF LINE PLOT / COLOR CUTOFFS AND PEN #S

PLT = 0.019 0.03 999 999999 1 2 3 4 ITM1 = GOLD VALUE F5.3 ITM2 = ROCK VALUE F3.0 ITM3 = TO DHTOE END -50 -300 -50 200 12.5 PLT516.PAB

Revised: 16-May-01

Page 516-9

M516V1 - CROSS-SECTION OF COMPOSITE DATA (M122)

MineSight Proprietary Software: Mintec, inc.

HOW TO DEBUG AN M516V1 RUN


1. To get a basic section, specify at least a horizontal and vertical scale in the run file along with ITMn = label-09 VALUE line. You must also have a Section Definition Line. ?M516V1: ERROR. You MUST enter both X and Z codes in the run file. You must enter non-zero values for PAR7 and PAR8. 3. ?M516V1: ERROR. Exceeded the maximum number of DHs for inclusion: 5000 You can add at most 5000 drillholes using the Optional Drillhole Selection Lines. 4. %M516V1: WARNING. DH XXXXX not found. Drillhole XXXXX, which was specified using an Optional Drillhole Selection Line, was not found. Check the typing of the drillhole. 5. ?M516V1: ERROR. There are no DHs on this section. No drillholes were found within the search limits. 6. ?M516V1: ERROR. # of DH collars per section exceeds the maximum: 999 There is a maximum of 999 drillholes allowed per section. 7. ?M516V1: ERROR. No VALUE was entered. You must enter at least one VALUE item with the command ITM1=label-09 VALUE Fw.d 8. Also check the MineSight error messages in the Appendix.

2.

Page 516-10

Revised: 16-May-01

MineSight Proprietary Software: Mintec, inc.

M516V2-CROSS-SECTION OFCOMPOSITE DATA (M122)

M516V2 CROSS-SECTION OFCOMPOSITE DATA (M122)

PROGRAM SUMMARY
This program creates an M122 plot file for a 2-D cross-section displaying composite intervals without drillhole traces and labels. A section is a volume defined by its endpoint coordinates and a perpendicular distance from the section line.

REQUIREMENTS AND CONSIDERATIONS


To generate a cross-section, two steps are required: Run M516V2 to create the M122 plot commands Run M122V1 to plot the section

PROGRAM FLOW DIAGRAM


RUN FILE: - DH selection - Section options - Item selection

File 9 composites must have been loaded with labels for the X,Y,Z coordinates at the top of an interval and at the bottom of an interval, since File 12 is not accessed. Horizontal composites will plot as a tick with a thickness of PAR10 and a label at 90o with the composite value. Additional steps may be required to add special features such as title blocks, surface topography, drillhole traces, etc. These extra features are brought together with the section plot commands when M122 is run.

INPUT: - PCF - File 9

CALCS: - Generate a file of M122 plot commands for processing by M122

M516V2 does not detect overplotting on a composite by other composites or closely spaced intervals. If overplotting does occur, the M122 plot file can be edited to remove conflicts. The program selects data within a volume defined by two end points and a perpendicular distance. The sections can be at any orientation. Only composite data within the section volume is selected. Composite intervals can be shaded and/or colored on grade cutoffs. Optionally, the composite intervals may be displayed as ticks or boxes on either side of the drillhole trace. Composite values can be labeled on either the right or left hand side of the drillhole trace. File 9 values can be limited by the standard Range, Omit or Table.

OUTPUT: - M122 Plot file - Printer Output file

The output file from M516V2 must be processed with M122V1 to plot the map.

Revised: 6-June-01

Page 516-11

M516V2-CROSS-SECTION OFCOMPOSITE DATA (M122) NOTE: Since the section can be at any azimuth through the deposit, there is no convenient way to prepare any regular coordinates specifying the location of each plot feature. Therefore, plot commands have an X coordinate that corresponds to the distance from the beginning of the section. For example, a section from 10000 E, 10000 N to 12598 E, 11500 N would have plot commands with X coordinates in the range of 0.0 to 3000.0. The Y coordinates correspond to the actual elevations. Therefore, the M122V1 run file must specify an area that has X limits from 0.0 to the section length in user units. If additional data with actual section coordinates is to be included on the same plot, the M122 SHIFT command must be used. File 9 should have been initialized with the following types of coordinate items: X1 Y1 Z1 X2 Y2 Z2 East min max " " " " " " " " " " " " " " precision /Start of composite Easting " " " " " " " " /Start of composite Northing /Start of composite Elevation /End of composite Easting /End of composite Northing /End of composite Northing /Midpoint of composite Easting /Midpoint of composite Northing /Toe elevation of composite

MineSight Proprietary Software: Mintec, inc.

North " Elev. "

Page 516-12

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M516V2-CROSS-SECTION OF COMPOSITE DATA (M122)

M516V2 - CROSS-SECTION OF COMPOSITE DATA (M122)


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-516V2 where 10=filename 9=filename 3=filename 12= filename

MEDS-516V2 (must be the first 10 columns) 12= the name of the SURVEY FILE (optional, used if IOP21 = 1) 10= the name of the PROJECT CONTROL FILE 9= the name of the COMPOSITE FILE 3= the name of the PRINTER OUTPUT FILE 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP4 = = = = = = = = USER INITIALS FIRST COMPOSITE LOCATION TO ACCESS 0 1 0 1 0 1 IF CROSS-SECTION IS ESSENTIALLY E-W IF CROSS-SECTION IS ESSENTIALLY N-S PLOT REFERENCE LINES OMIT REFERENCE LINES PLOT TICKS ON BORDER OF PLOT OMIT TICKS ON BORDER OF PLOT

IOP7

IOP8

IOP13 = = =

SHADING FOR COMPOSITE INTERVAL 0 NO SHADING (default) 1 SPECIFY SHADE TYPES IN IOP31-34 NOTE: Used if PLT is specified or following CMD option. Shade types (0-7) are as follows: 0= 1= 2= 3= 4= 5= 6= 7= no shading within box shade box completely solid shade box @ 0 degrees to X-axis shade box @ 45 degrees to X-axis shade box @ 90 degrees to X-axis shade box @ 135 degrees to X-axis shade box @ 0 & 90 degrees to X-axis shade box @ 45 & 135 degrees to X-axis

IOP14 = = =

BOX TYPE FOR COMPOSITE INTERVAL 0 BOX IS ON THE RIGHT (default) 1 SPECIFY BOX TYPES IN IOP35-38 NOTE: Used if PLT is specified or following CMD option. Box types (-1 through 5) are as follows:

Revised: 19-September-01

Page 516-13

M516V2 - CROSS-SECTION OF COMPOSITE DATA (M122)

MineSight Proprietary Software: Mintec, inc.

-1 = no box 0 = box on right side of DH line 1 = ticks on right side of DH line 2 = ticks on left & right side of DH line 3 = ticks on left side of DH line 4 = box on left & right side of DH line 5 = box on left side of DH line IOP15 = = IOP18 = = IOP21 = = = 0 1 0 1 0 1 2 PLOT GRADES DO NOT PLOT GRADES. USE GRADES TO SELECT DHINT PARAMETERS VALUES PLOTTED ON RIGHT SIDE OF LINE (default) VALUES PLOTTED ON LEFT SIDE OF LINE DO NOT PLOT DHID (default) PLOT DHID (This option plots DHID beside each selected interval), RETRIEVE DHID FROM FILE 12 PLOT DHID, RETRIEVE DHID FROM FILE 9 DIRECTLY If you use IOP21 = 1 you must include: File12 name on the first line of the run file ITMn = REF# RANGE 1 999999 2) If you use IOP21 = 2: The default labels for DHID items are lines DHID1 and DHID2. To override default, use ITMn lines. IOP22 = = 0 1 PLOT DHID AT THE BEGINNING OF EACH HOLE PLOT DHID AT EACH COMPOSITE INTERVAL

NOTE: 1)

NOTE: Used only if IOP21 > 0. IOP31-34 = SHADE TYPES FOR COMPOSITE INTERVAL (or use the following CMD option) Cutoffs for shading correspond to PLT commands. Must set IOP13=1. IOP35-38 = BOX TYPES FOR COMPOSITE INTERVAL (or use the following CMD option) Cutoffs for box type correspond to PLT command. Must set IOP14=1. PAR2 PAR3 PAR4 PAR5 PAR6 PAR7 PAR8 = = = = = OFFSET FROM ORIGIN (default=0.0) MINIMUM Z (ELEVATION) OF CROSS-SECTION (default=PCF 29) MAXIMUM Z (ELEVATION) OF CROSS-SECTION (default=PCF 30) REFERENCE AXIS Z (default= (PAR3 + PAR4) / 2.0) REFERENCE AXIS X (EASTING) (default=0.0)

= X-SCALE PER INCH (required) = Z-SCALE PER INCH FOR COLLAR ELEVATION (required) THICKNESS OF DH LINES (IN INCHES) (default=0.1) SIZE OF COLLAR PLOT SYMBOL AND ANNOTATION (in inches) (default=0.1) Revised: 19-September-01

PAR10 = PAR11 =

Page 516-14

MineSight Proprietary Software: Mintec, inc.

M516V2-CROSS-SECTION OF COMPOSITE DATA (M122)

PLT

CUTOFF VALUES TO CONTROL COMPOSITE INTERVAL COLORING, SHADING OR BOXES: vmax1 where Value 0.0 # x < vmax1 vmax1# x < vmax2 vmax2# x < vmax3 vamx3# x < vmax4 x $ vmax4 vmax2 vmax3 vmax4 p1 p2 p3 p4

Color p1 p2 p3 p4 p4

Shading IOP31 IOP32 IOP33 IOP34 IOP34

Box Type I I I I IOP38 O O O O P P P P 3 3 3 3 5 6 7 8

NOTE: P1, p2, p3 and p4 are optional pen numbers. Default is 1, 2, 3, 4. If shading with PEN# 1, use 1 1 1 1. Cutoffs are applied to ITMn item. ITMn ITMn ITMn ITM1 . . ITMn = = = = FROM label-09 label-09 label-09 (required) TO label-09 label-09 label-09 (required) REF# RANGE 1 999999 (required of IOP1 = 1) label-09 VALUE Fw.d (First value to plot)

label-09 VALUE Fw.d (Sixth value to plot) NOTE: There must be a FROM ITM with XYZ coordinate labels for top of interval, a TO ITM with XYZ coordinate labels for bottom of interval, and at least one VALUE ITM input, any others are optional. Fw.d is the format of the plotted grade label. If the XYZ labels for FROM and TO items are the same composites will be plotted as points with grade values plotted at 90.

For increased pen numbers: CMD CMD CMD CMD = = = = PLOT CUT V1 V2 V3 ... V16 (for cutoffs) PLOT PEN V1 V2 V3 ... V16 (for pen numbers) PLOT BOX V1 V2 V3 ... V16 (for box types) PLOT SHADE V1 V2 V3 ... V16 (for shade patterns) NOTE: IOP13 and IOP14 no longer need to be set to get the box and shade patterns from the above commands. The existing PLT command and IOPs 13, 14, and 31-38 work exactly as before. However, if both the PLT and/or IOP31-38 and the CMD commands are present in a run file, the CMD commands will override the PLT and IOP31-38 commands. Optional data selection by RANGE, OMIT or TABLE ITMn ITMn ITMn = label-09 RANGE min-value max-value = label-09 OMIT min-value max-value = label-09 TABLE IOPm IOPn NOTE: Item labels used in data selection must be specified in the plot ITMn lines above. I-O = 1 OUTPUT CROSS-SECTION DEFINITION TO USER TERMINAL

Optional labels for DHID items (if different from DHID1 and DHID2): ITMn ITMn END Revised: 19-September-01 Page 516-15 = = DHID1 label-09 DHID2 label-09

M516V2 - CROSS-SECTION OF COMPOSITE DATA (M122)

MineSight Proprietary Software: Mintec, inc.

4. SECTION DEFINITION LINE (free-field format) X1 Y1 X2 Y2 search-distance filename where X1, Y1 = X2, Y2 = search-dist. = filename = left end of the cross-section right end of the cross-section perpendicular distance on each side of the line (X1,Y1) > (X2,Y2) within which drillhole data will be accepted filename to be used by M516V2 to output M122 plot commands

Page 516-16

Revised: 19-September-01

MineSight Proprietary Software: Mintec, inc.

M516V2-CROSS-SECTION OF COMPOSITE DATA (M122)

M516V2 SAMPLE RUN FILE #1


MEDS-516V2 10=SAMP10.DAT 9=SAMP09.DAT * EXTRACT T-CU COMPS FOR SECTION 12750N (WITH SHADING) * USR IOP4 IOP7 IOP8 IOP13 IOP31 PLT PAR3 PAR7 PAR10 PAR11 ITM1 ITM2 ITM3 = = = = = = = = = = = = = = ABC 0 / 0=E-W SECTION, 1=N-S SECTION 0 / 0=PLOT REF LINES, 1=NO REF LINES 0 / 0=PLOT TICKS ON PLOT BORDER, 1=NO TICKS 1 / 0=NO SHADING, 1=SHADING 1 2 3 4 / SHADING TYPES 0.3 0.6 0.9 1.2 1 1 1 1 / CUTOFFS AND PENS 2600 4600 3000 12000 / ZMIN, ZMAX, ZREF, XREF 500 500 / SCALES X AND Z .05 / THICKNESS OF DH LINES .05 / HEIGHT OF COLLAR PLOT SYMBOL FROM EAST NORTH ELEV / TOP OF INTERVAL TO EAST NORTH ELEV / BOTTOM OF INTERVAL T-CU VALUE F4.2 / RETRIEVE TOTAL COPPER 3=RPT516.LA2

END 10500 12750 14500 12750 100 PLT.PAA

M516V2 SAMPLE RUN FILE #2


MEDS-516V2 10=SAMP10.DAT 9=PLTP09.DAT * EXTRACT GEOLOGY CODES FOR E-W SECTION * USR IOP4 IOP7 IOP8 IOP18 = = = = = 3=RPT516.LB

ABC 0 / 0=E-W SECTION, 1=N-S SECTION 0 / 0=PLOT REF LINE, 1=NO REF LINE 0 / 0=PLOT TICKS ON BORDER, 1=NO TICKS 1 / 0=PLOT ON RIGHT SIDE OF LINE, 1=PLOT ON LEFT SIDE OF LINE 2600 4600 3000 12000 / ZMIN ZMAX ZREF XREF 500 500 / SCALES X AND Z .05 .05 / THICKNESS OF DH LINE, SYMBOL HEIGHT FROM EAST NORTH ELEV / TOP OF INTERVAL TO EAST NORTH ELEV / BOTTOM OF INTERVAL ROCK VALUE F3.0 / ITEM TO PLOT AND FORMAT

PAR3 = PAR7 = PAR10 = ITM1 ITM2 ITM3 = = =

END 10500 13200 14500 13200 100 PLT516.PAB

Revised: 19-September-01

Page 516-17

M516V2 - CROSS-SECTION OF COMPOSITE DATA (M122)

MineSight Proprietary Software: Mintec, inc.

M516V2 SAMPLE RUN FILE #3


MEDS-516V2 10=SAMP10.DAT 09=SAMP09.DAT MEDS-516V2 3=SAM516.LA * EXTRACT T-CU VALUES FOR SECTION 1375N (PLOT DH LABELS) * USR IOP1 IOP4 IOP7 IOP8 IOP9 IOP21 = = = = = = = ABC 1 44 / FIRST AND LAST DATA UNITS FROM FILE 12 0 / 0=E-W SECTION, 1=N-S SECTION 0 / 0=PLOT REF LINE, 1=NO REF LINE 0 / 0=PLOT TICKS ON BORDER, 1=NO TICKS 0 / 0=DONT READ ADDITIONAL DHS, 1=READ ADDITIONAL DHS 1 / 1=PLOT DH LABELS 3900 4100 4000 12000 500 20 .05 .05 / ZMIN ZMAX ZREF XREF / SCALES X AND Z / THICKNESS OF DH LINE, SYMBOL HEIGHT 12=SAMP12.DAT;

PAR3 = PAR7 = PAR10 = ITM1 ITM2 ITM3 ITM4 = = = =

T-CU VALUE F4.2 / ITEM TO PLOT AND FORMAT FROM EAST NORTH ELEV. / REQUIRED XYZ COORD LABELS TO EAST NORTH ELEV. / REQUIRED XYZ COORD LABELS REF# RANGE 1 999999 / REQUIRED IF IOP21 = 1

END 10500 13750 14500 13750 100 PLT516.DAT

HOW TO DEBUG AN M516V2 RUN


1. To get a basic section you should specify at least a horizontal and vertical scale in the run file along with the ITMn = label-09 VALUE line. You must also have a Section Definition Line. *** # OF DH COLLARS FOR SECTION EXCEEDS MAXS will occur if you have more than 250 drillholes on a section. 3. *** NO DRILLHOLES ON SECTION will occur if no holes are found in the search limits. 4. *** ERROR: NO VALUE ENTERED ** will occur if the keyword VALUE does not appear on an ITM line. 5. Also check the MineSight error messages in the Appendix.

2.

Page 516-18

Revised: 19-September-01

MineSight Proprietary Software: Mintec, inc.

M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

M517V1 LOAD VBM CODES TO ASSAY OR COMPOSITE FILES


PROGRAM SUMMARY
The program M517V1 loads VBM feature codes to Files 8,9 or 11.

REQUIREMENTS AND CONSIDERATIONS


M517V1 assigns codes to assay/composite intervals that are projected inside VBM features. The program can use VBMs with any orientation (including non-orthogonal). The program can automatically read VBM orientation from the VBM file (if you have a new VBM file). You can also specify VBM orientation with IOP5. You may use a constant range of influence for each VBM plane (given by PAR11) setting IOP30 = -1. However, if you are working with a set of parallel planes the program will automatically take a volume of influence for each plane halfway between planes. You also have an option (IOP30=1) to use the space between two planes (i.e from one bench toe to the next). PAR11 in these cases may be used as the maximum allowed range of influence. Feature codes and equivalent (geologic) codes are generally entered after the END line in a run-file. However, you may choose to consider all 3-digit left and right codes (IOP11=1). By default (IOP11=0 and IOP12=0) codes are equivalenced to 3-digit right codes. If you choose IOP11=1 equivalent codes should be entered in a run file. You may equivalence several feature codes to the same geologic code. You also have an option (IOP12=1) to consider 6-digit codes as codes on the right of the feature. In this case you must enter equivalent codes in a run file. Some assay/composite intervals will not have corresponding codes. You may set the value for them using IOP22=1 and IOP23 as a default value. Some codes may be unresolved. You may use IOP24=1 to assign a specific values to such intervals.If several features coincide, the program may not be able to determine the proper codes from the left or from the right of the features. In this case, the code will be equivalenced to the value IOP25 (default=-1) and will be called unresolved code of type 1.If there are inconsistencies in coding, i.e., features intersect and codes do not match, and the proper code can not be determined, then such codes will be assigned equivalent code IOP26 (default=-2) and called unresolved of type 2. You have an option to equivalence feature codes before sorting intersections (IOP19=1) or after (IOP19=0). After running M517V1, plot the assay or composite and VBM files using M216V1/M516V1 and M654V1 to verify that desired codes were loaded correctly.

PROGRAM FLOW DIAGRAM


RUN FILE: - VBM planes selection - Feature codes/equivalent codes selection

INPUT: - PCF - VBM File 25 - File 8 or - File 9 and optional File 12 or - Files 11 and 12

CALCS: - Calculate intersections of drillhole projections with VBM features - Load codes to File 8/9/11

OUTPUT: - Updated File 8 or 9 or 11 - Printer Output file

Revised: 6-June-01

Page 517-1

M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

Page 517-2

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

M517V1 - LOAD VBM CODES TO ASSAY OR COMPOSITE FILES


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-517V1 MEDS-517V1 where 10=filename 25=filename 8,9 or 11=filename 3=filename 12=filename; 30=filename

10 = the name of the PROJECT CONTROL FILE 8 or 9 = the name of the COMPOSITE FILE 11 = the name of the ASSAY FILE NOTE: Use only one of the files 8,9 or 11 12 = the name of the SURVEY FILE (Required if file 11 is chosen) 25 = the name of the VBM FILE 3= the name of the PRINTER OUTPUT FILE 30 = the name of an (optional) ASCII file with DH labels 2. RUN INFORMATION LINE A single line of text that will be printed at the top of the printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 = = = USER INITIALS (e.g., ABC) FIRST SURVEY OR FIRST COMPOSITE TO USE (default = 1) LAST SURVEY OR LAST COMPOSITE TO USE (default=LAST SURVEY/COMPOSITE IN A FILE) NOTE: If file 12 is used then IOP1 and IOP2 are the first and last surveys to use. If file 8 is used, or file 9 is used directly, then IOP1 and IOP2 are the first and the last composites to access. IOP3 = = = -1 0 1 NO BOUNDARY LIMIT DHS TO PCF LIMITS READ BOUNDARY FROM THE BOUNDARY FILE NOTE: Used only if file 12 is used. Checks collars only or checks at beginnings of all surveys, depending on IOP7. If IOP3=1 boundary file should be entered with one of the following commands: CMD or CMD IOP4 = = 0 1 = INCL LOCPT FILE Filename (to include points within the boundary) = EXCL LOCPT FILE Filename (to exclude points within the boundary). USE FILE 9 WITH FILE 12 USE FILE 9 DIRECTLY NOTE: Used only if file 9 is chosen

Revised: 6-June-01

Page 517-3

M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

IOP5

= = = = =

0 1 2 3 4

USE THE DEFAULT ORIENTATION FROM THE VBM W-E S-N PLANAR NON-ORTHOGONAL NOTE: IOP5 must be > 0 if the VBM has no default orientation. The entered value of IOP5>0 will override the default orientation.

IOP6

= = = = =

0 1 2 -1 -2

USE DRILLHOLES IN IOP1-IOP2 LIMITS READ THE LIST OF DHS AFTER THE END LINE READ THE LIST OF DHS FROM THE FILE 30 OMIT DHS SPECIFIED AFTER THE END LINE OMIT DHS SPECIFIED IN THE FILE 30 NOTE: IOP6 must be 0 if IOP4=1 (no file 12)

IOP7

= =

0 1

CHECK BEGINNINGS OF ALL SURVEYS AGAINST BOUNDARY CHECK COLLARS ONLY NOTE: Used if IOP3 is greater than or equal to 0.

IOP8

= = = =

0 1 0 1 -1 0 1 0 1 2

DO NOT CHECK EACH ASSAY/COMPOSITE AGAINST PAR4-PAR9 LIMITS CHECK EACH ASSAY/COMPOSITE AGAINST PAR4-PAR9 LIMITS DO NOT USE DELETED DRILLHOLES AND SURVEYS USE DELETED DRILLHOLES AND SURVEYS USE ALL FEATURES (do not enter any codes in the run file) DO NOT READ EQUIVALENT CODES (use right code if 6-digit codes are entered) READ EQUIVALENT CODES FROM THE RUN FILE EQUIVALENCE 3-DIGIT CODE (right code if 6-digit codes are entered) EQUIVALENCE THE WHOLE 6-DIGIT CODE TREAT LEFT CODES AS 0 NOTE: Equivalent codes must be an integer from 1 to 999. If IOP12=1 you must enter equivalent codes in the run file (set IOP11=1).

IOP9

IOP11 = = = IOP12 = = =

IOP13 = = IOP15 = =

0 1 0 1

CHECK BOTH LEFT AND RIGHT CODES WHEN SELECTING FEATURES CHECK FULL CODE ONLY VBM PLANES ARE SELECTED USING PAR1-PAR3 VBM PLANES ARE SPECIFIED AFTER THE END LINE (PAR1-PAR3 are ignored in this case) NOTE: If you use IOP15=1 you MUST use IOP30=-1 (constant distance of plane influence).

IOP19 = = IOP22 = = IOP23 =

0 1 0 1

EQUIVALENCE CODES AFTER SORTING INTERSECTIONS EQUIVALENCE CODES BEFORE SORTING INTERSECTIONS DO NOT ASSIGN ANY CODE TO UNDEFINED ASSAYS/COMPOSITES ASSIGN IOP23 CODE TO UNDEFINED ASSAYS/COMPOSITES

CODE TO ASSIGN TO UNDEFINED BLOCKS (DEFAULT = 0)

Page 517-4

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

IOP24 = = IOP25 = IOP26 = IOP30 = = = IOP31 = =

0 1

DO NOT ASSIGN ANY CODES TO UNRESOLVED BLOCKS ASSIGN IOP25 AND IOP26 TO UNRESOLVED BLOCKS OF TYPES 1 AND 2

CODE TO ASSIGN TO UNRESOLVED BLOCKS OF THE FIRST TYPE (default = -1) CODE TO ASSIGN TO UNRESOLVED BLOCKS OF THE SECOND TYPE (default = -2) -1 0 1 0 1 USE CONSTANT SEARCH DISTANCE GIVEN BY PAR11 TO DETERMINE RANGE OF INFLUENCE OF A VBM PLANE GO HALF-WAY BETWEEN VBM PLANES, USE PAR11 AS MAX ALLOWED DISTANCE GO FROM A PLANE TO THE NEXT ONE, USE PAR11 AS MAX ALLOWED DISTANCE COORDINATES OF THE COMPOSITE INTERVAL ARE TAKEN AT THE CENTER OF THE INTERVAL COORDINATES OF THE COMPOSITE INTERVAL ARE TAKEN THE TOE NOTE: Used for files 8 and 9 either if file 12 is used, or if both top and bottom coordinates are entered.

IOP39 = = PAR1 PAR2 = =

0 1

SPEEDY VERSION TAKE EXTRA EFFORT TO FILL GAPS IN CODES

STARTING VBM PLANE ENDING VBM PLANE NOTE: If both PAR1 and PAR2 are 0 then all VBM planes will be taken.

PAR3

INCREMENT FOR ENTERING VBM PLANES (DEFAULT = PLANE NUMBER PRECISION) NOTE: If PAR3=0 and IOP15=0 all planes in PAR1-PAR2 limits will be taken)

PAR4 PAR5 PAR6 PAR7 PAR8 PAR9

= = = = = =

MINIMUM EASTING (default = PCF VALUE) MAXIMUM EASTING (default = PCF VALUE) MINIMUM NORTHING (default = PCF VALUE) MAXIMUM NORTHING (default = PCF VALUE) MINIMUM ELEVATION (default = PCF VALUE) MAXIMUM ELEVATION (default = PCF VALUE) TOLERANCE FOR NORMALIZING FEATURES MAX ALLOWED DISTANCE OF INFLUENCE (default = USE ALL SPACE BETWEEN PLANES) IF IOP30=-1 THEN PAR11 IS USED AS DISTANCE OF INFLUENCE

PAR10 = PAR11 =

PAR12 = PADDING BEFORE THE FIRST PLANE PAR13 = PADDING AFTER THE LAST PLANE PUTxx = ITEM (xx = 08, 09 or 11)

If file 8 is used or file 9 is used directly enter exactly one of the following two commands CMD or CMD = = COORD EAST NORTH ELEV COORD XTOP YTOP ZTOP XBOT YBOT ZBOT

Revised: 6-June-01

Page 517-5

M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

If file 9 is used with file 12 enter the command CMD END 4. FEATURE CODES LINES (enter if IOP11 is greater than or equal to 0) ncode fcode1 ... fcodeN where ncode = number of feature codes entered fcodes - feature codes (up to 20 codes per line) 5. EQUIVALENT CODES LINES (enter if IOP11 >0) neqcode eqcode1 ... eqcodeN where neqcode = number of equivalent codes enter edeqcodes -equivalent codes (up to 20 codes per line); maximum of 50 distinct values of equivalent codes is allowed. 6. DRILLHOLE LABELS (enter if IOP6=1or IOP6=-1) Free format, not more than 10 per line, lines should have at most 132 characters.Maximum allowed number of DHs is 5000.DH labels entry ENDS with a BLANK LINE.(You may have blank lines before the start of DH label lines but not between DH label lines.) 7. VBM PLANES LINES (enter if IOP15 is not 0) Enter VBM plane numbers, one per line.If you have a non-orthogonal VBM and want to override orientation parameters, enter themon the same line as a plane number.Order of orientation parameters: X-ref, Y-ref, Z-ref, azimuth, dip. NOTE: If you are entering plane numbers there should not be anything in the run file except maybe some blank lines after the plane numbers lines. = LENGT LNGTH -TO-

Page 517-6

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

M517V1 SAMPLE RUN FILE #1


MEDS-517V1 10=SAMP10.DAT 11=SAMP11.DAT MEDS-517V1 3=RPT517.LA *LOAD CODES TO FILE SAMP11.DAT FROM VBM OUTLINES* USR IOP1 IOP2 IOP3 IOP4 IOP5 COM IOP6 IOP7 COM IOP8 IOP11 IOP12 COM IOP13 IOP30 COM IOP31 PAR1 PAR2 PAR3 PAR4 PAR5 PAR6 PAR7 PAR8 PAR9 PAR10 PAR11 PAR12 PAR13 = abc = = = = = = = = = = = = = = = = = = = = = = = = = = 0 0 0 0 3 0 0 1 -1 2 0 0 0 2600. 4600. 50. 0. 0. 0. 0. 0. 0. 1. 0. 25. 25. /Wed Aug 28, 1996 3:50:48 PM MST /FIRST SURVEY /LAST SURVEY /BOUNDARY OPTION /0=USE FILE 9 WITH FILE 12; 1=USE FILE 9 DIRECTLY /VBM ORIENTATION: 0=USE VBM FILE, 1=W-E, 2=S-N, 3=PLANAR, 4=NON-ORTHOGONAL /0 = USE SURVEYS IN IOP1-IOP2 LIMITS /0 = CHECK ALL SERVEYS AGAINST BOUNDARY 1 = CHECK COLLARS ONLY /1 - CHECK EACH ASSAY AGAINST PAR4-PAR9 LIMITS /TYPE OF FEATURE CODES ENTRY (-1 - use all) /1=EQUIVALENCE THE WHOLE 6-DIGIT CODE 2=TREAT ALL LEFT CODES AS 0 /1=CHECK AGAINST FULL CODE ONLY / 0=USE VOLUME HALF-WAY BETWEEN PLANES 1= USE VOLUME FROM A PLANE TO THE NEXT ONE /0=COORDINATES AT MIDPOINT; 1=COORDINATES AT TOE /FIRST PLANE /LAST PLANE /INCREMENT IN PLANE NUMBERS /XMIN (DEFAULT = PCF VALUE) /XMAX (DEFAULT = PCF VALUE) /YMIN (DEFAULT = PCF VALUE) /YMAX (DEFAULT = PCF VALUE) /ZMIN (DEFAULT = PCF VALUE) /ZMAX (DEFAULT = PCF VALUE) /TOLERANCE FOR NORMALIZING FEATURES /MAX ALLOWED THICKNESS /PADDING BEFORE THE FIRST PLANE /PADDING AFTER THE LAST PLANE 12=SAMP12.DAT 25=SAMP25.TOP;

PUT11 = ROCK END

Revised: 6-June-01

Page 517-7

M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

M517V1 SAMPLE RUN FILE #2


MEDS-517V1 10=SAMP10.DAT 9=SAMP09.DAT 25=SAMP25.SN; MEDS-517V1 3=RPT517.LB *LOAD CODES TO FILE SAMP09.DAT FROM VBM OUTLINES* USR IOP1 IOP2 IOP3 IOP4 IOP5 COM IOP6 IOP7 COM IOP8 IOP11 IOP12 COM IOP13 IOP19 IOP30 COM IOP31 PAR1 PAR2 PAR3 PAR10 PAR11 COM PAR12 PAR13 = = = = = = = = = = = ABC 0 0 -1 1 2 0 0 0 1 0

= 0 = 0 = 0 = = = = = = = = 1 12250. 13750. 100. 1. 0. 50. 50.

/FIRST SURVEY /LAST SURVEY /BOUNDARY OPTION /0=USE FILE 9 WITH FILE 12; 1=USE FILE 9 DIRECTLY /VBM ORIENTATION: 0=USE VBM FILE, 1=W-E, 2=S-N, 3=PLANAR, 4=NON-ORTHOGONAL /USE SURVEYS IN IOP1-IOP2 LIMITS /0 = CHECK ALL SERVEYS AGAINST BOUNDARY 1 = CHECK COLLARS ONLY /1 - CHECK EACH ASSAY AGAINST PAR4-PAR9 LIMITS /TYPE OF FEATURE CODES ENTRY (-1 - USE ALL) /1=EQUIVALENCE THE WHOLE 6-DIGIT CODE 2=TREAT ALL LEFT CODES AS 0 /1=CHECK AGAINST FULL CODE ONLY /1=EQUIVALENCE CODES BEFORE SORTING INTERSECTIONS /0=USE VOLUNE HALF-WAY BETWEEN PLANES 1= USE VOLUME FROM A PLANE TO THE NEXT ONE /0=COORDINATES AT MIDPOINT; 1=COORDINATES AT TOE /FIRST PLANE /LAST PLANE /INCREMENT IN PLANE NUMBERS /TOLERANCE FOR NORMALIZING FEATURES /MAX ALLOWED THICKNESS (DEFAULT: USE ALL SPACE BETWEEN PLANES /PADDING BEFORE THE FIRST PLANE /PADDING AFTER THE LAST PLANE

PUT09 = CMD = END 3 501 502 503 3 123

ROCK COORD EAST NORTH ELEV

Page 517-8

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

M517V1 SAMPLE RUN FILE #3


MEDS-517V1 10=SAMP10.DAT 9=SAMP09.DAT MEDS-517V1 3=RPT517.LC *LOAD CODES TO FILE SAMP09.DAT FROM VBM OUTLINES* USR IOP1 IOP2 IOP3 IOP4 IOP5 COM IOP6 IOP7 COM IOP8 IOP11 IOP12 COM IOP13 IOP19 IOP30 COM IOP31 PAR1 PAR2 PAR3 PAR10 PAR11 PAR12 PAR13 = = = = = = = = = = = ABC /WED AUG 28, 1996 4:04:42 PM MST 0 0 1 0 2/ 0 0 0 1 0 /FIRST SURVEY /LAST SURVEY /BOUNDARY OPTION /0=USE FILE 9 WITH FILE 12; 1=USE FILE 9 DIRECTLY VBM ORIENTATION: 0=USE VBM FILE, 1=W-E, 2=S-N, 3=PLANAR, 4=NON-ORTHOGONAL /USE SURVEYS IN IOP1-IOP2 LIMITS /0 = CHECK ALL SERVEYS AGAINST BOUNDARY 1 = CHECK COLLARS ONLY /1 - CHECK EACH ASSAY AGAINST PAR4-PAR9 LIMITS /TYPE OF FEATURE CODES ENTRY (-1 - USE ALL) /1=EQUIVALENCE THE WHOLE 6-DIGIT CODE 2=TREAT ALL LEFT CODES AS 0 /1=CHECK AGAINST FULL CODE ONLY /1=EQUIVALENCE CODES BEFORE SORTING INTERSECTIONS /0=USE VOLUNE HALF-WAY BETWEEN PLANES 1= USE VOLUME FROM A PLANE TO THE NEXT ONE /0=COORDINATES AT MIDPOINT; 1=COORDINATES AT TOE /FIRST PLANE /LAST PLANE /INCREMENT IN PLANE NUMBERS /TOLERANCE FOR NORMALIZING FEATURES /MAX ALLOWED THICKNESS /PADDING BEFORE THE FIRST PLANE /PADDING AFTER THE LAST PLANE 12=SAMP12.DAT 25=SAMP25.SN;

= 0 = 0 = 0 = = = = = = = = 1 0. 0. 0. 1. 0. 50. 50. ROCK

PUT09 = CMD CMD = =

LENGT LNGTH DHTOE INCL LOCPT FILE BNDRY.DAT

END 3 501 502 503 3 123

Revised: 6-June-01

Page 517-9

M517V1-LOAD VBM CODES TO ASSAY OR COMPOSITE FILES

MineSight Proprietary Software: Mintec, inc.

Page 517-10

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M522V1 - DRILLHOLE SPACING ANALYSIS

M522V1 DRILLHOLE SPACING ANALYSIS

PROGRAM SUMMARY
M522V1 will compute average drillhole spacing by bench based on a given search radius.

REQUIREMENTS AND CONSIDERATIONS


M522V1 uses point composite data to calculate average spacing of the drillholes. Best results are achieved if bench composites are used instead of the fixed length composites. The analysis is based on the composite data found within the search radius on each bench. The output in the report file consists of the number of composites used on each bench, the average value of the item used, the mean weighted by the nearest distance, the mean weighted by the average distance, the average distance to the nearest hole, and the average distance of all the holes on that bench. Once all the benches are tabulated, the totals for all benches are summarized. Detailed information for each composite data is written to an ASCII output file specified in 30=<filename> in run file. The information in this file is in the following order:

PROGRAM FLOW DIAGRAM


RUN FILE:

- Interpolation parameters - Search distances or ranges - Controlling & limiting item labels

INPUT:

CALCS:

- PCF - File 8 or File 9

- FInd composites within search window - Match geology codes - Apply limiting factor - Calculate average spacing

OUTPUT:

- Optional Output file for M525TS - Printer Output file - Optional output in csv format for MSDA

Field 1. Field 2. Field 3. Field 4. Field 5. Field 6. Field 7. Field 8. Field 9. Field 10. Field 11. Field 12.

Ref# of the composite East coordinate North coordinate Elevation No. of composites within the search window The actual value of the point The nearest distance The average distance The mid distance (nearest+farthest)/2 Ratio1: nearest/avg distance Ratio2: nearest/max distance Ratio3: average/max distance

The ASCII output file can be evaluated by using the program M525TS or by any spreadsheet program. The program allows storage of any of the last six field values of this output (See IOP17).

Revised: 1-June-09

Page 522-1

M522V1 - DRILLHOLE SPACING ANALYSIS

MineSight Proprietary Software: Mintec, inc.

Page 522-2

Revised: 1-June-09

MineSight Proprietary Software: Mintec, inc

M522V1-DRILLHOLE SPACING ANALYSIS

M522V1DRILLHOLE SPACING ANALYSIS


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-522V1 MEDS-522V1 where 10=filename 30=filename 8/9=filename 31=filename 19=filename; 3=filename

MEDS-522V1 (must be the first 10 columns) 10 = the name of the PROJECT CONTROL FILE 8= sorted composite file (or 8 = CARD) -OR9= unsorted composite file 19 = the name of the Input File (if CARD is used) 30 = the name of the Output File (for M525TS) 31 = the name of the SUMMARY FILE (output is in csv format) 3= the name of the PRINTER OUTPUT FILE NOTE: If 9 = filename is specified on the names line, then composite data will be retrieved from this file 9. To request an ASCII input DO NOT enter 9 = on the names line and specify 8 = CARD. 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP3 = = = = = = = = = = = USER INITIALS (e.g., ABC) BASIC SEARCH OPTION FOR COMPOSITES 0 FOR 2-D CIRCULAR SEARCH 1 FOR 3-D SPHERICAL SEARCH OPTION TO MATCH BLOCK VS. COMPOSITE GEOLOGY 0 FOR NO GEOLOGIC MATCHING 1 MATCH 1 ITEM 2 MATCH 2 ITEMS DISTANCES FOR ELLIPSOIDAL SEARCH 0 DISTANCES ARE KEPT IN ORIGINAL 3-D 1 DISTANCES ARE ADJUSTED DISTANCES BASED ON ANISOTROPY NOTE: Use IOP6 with the CMD=SEARCH command. IOP7 = MINIMUM NUMBER OF COMPOSITES FOR CALCULATION NOTE: A block will not get interpolated if the number of nearby composites is <IOP7. IOP11 = IOP12 = IOP16 = ROW NUMBER FOR EXTENDED OUTPUT FROM CALCULATIONS (debug) 1 DO NOT USE COMPOSITES FROM THE SAME HOLE

IOP4

IOP6

MAXIMUM NUMBER OF POINTS TO BE USED FOR KRIGING (default=15; max=50) Page 522-3

Revised: 8-May-09

M522V1-DRILLHOLE SPACING ANALYSIS

MineSight Proprietary Software: Mintec, inc.

IOP17 = = = = = = = = PAR1 PAR2 PAR3 = = =

CALCULATION TYPE TO STORE: 0 DO NOT STORE BACK TO FILE 8 OR 9 1 THE NEAREST DISTANCE 2 THE AVERAGE DISTANCE 3 THE MID DISTANCE (NEAREST+FARTHEST)/2 4 RATIO1: NEAREST/AVG DISTANCE 5 RATIO2: NEAREST/MAX DISTANCE 6 RATIO3: AVERAGE/MAX DISTANCE (DEFAULT) X-SEARCH DISTANCE Y-SEARCH DISTANCE Z-SEARCH DISTANCE (Default=0.1) NOTE: PAR3 not used for SCAN1-D or SCAN2-D. However, still enter a small non-zero value (e.g. 0.1).

PAR4

MAXIMUM 3-D DISTANCE FROM BOX CENTROID TO ACCEPT DATA (DEFAULT=SQRT((PAR1)2 + (PAR2)2 + (PAR3)2 ) MINIMUM DISTANCE TO ACCEPT COMPOSITES NOTE: Anything less than PAR5 will not be included.

PAR5

TO DEFINE WHICH ITEM TO USE, ADD THE FOLLOWING LINE: ITMn = M522 label-09 CALC AVGD TO STORE BACK TO THE MODEL, ADD THE FOLLOWING LINE: ITMn = M522 label-09 STORE MODEL OPTIONAL ITMn = ITMn = ITMn = DATA SELECTION BY RANGE, OMIT OR TABLE: label-09 RANGE min-value max-value label-09 OMIT min-value max-value label-09 TABLE IOPm IOPn

OPTIONAL GEOLOGIC MATCHING: ITMn = M522 label-09 MATCH MODEL END Area Selection Lines: IX1 IX2 IY1 IY2 Columns Rows

IZ1 IZ2 Levels

Page 522-4

Revised: 31-October-03

MineSight Proprietary Software: Mintec, inc

M522V1-DRILLHOLE SPACING ANALYSIS

M522V1 SAMPLE RUN FILE #1


MEDS-522V1 10=samp10.dat 9=samp09.d99 3=rpt522.la ** DH Spacing analysis of LNGTH composites ** USR = abc / IOP2 = 0 / Number of composites to display detail kriging weights IOP3 = 1 / 1=3-D spherical search, 0=2-D search IOP4 = 0 / 0=No geologic matching, 1=Match 1 item, 2=Match 2 items IOP6 = 0 / 0=Use true dist.; 1=Use anisotropic dist. IOP7 = 1 / Min # of composites for calculation IOP11= 0 / Row # for extended output IOP12= 1 / 1=Do not use another point from same hole IOP16= 6 / Maximum # of composites for calculating a block IOP17= 6 / 6 = Store average/max distance ratio PAR1 = PAR2 = PAR3 = PAR4 = 300. / Primary X-search distance 300. / Primary Y-search distance 1. / Primary Z-search distance 300. / Limiting search distance 30=dat522.oa

ITM1 = M522 LNGTH CALC AVGD ITM2 = M522 RATIO STORE MODEL END 1 100 1 100 1 40

Revised: 31-October-03

Page 522-5

M522V1-DRILLHOLE SPACING ANALYSIS

MineSight Proprietary Software: Mintec, inc.

HOW TO DEBUG AN M522V1 RUN


1. The program will list all the composites within the search window of each calculated row if I-O=2 is specified in the run file. The program will also list all the items in the composite file, the total number of points calculated for each row, and other debug information. If the ellipsoidal search is used, then the 3-D distance calculated between a composite and the block will be the adjusted distance based on the anisotropy ratios. This is the distance that is printed on the output file. Do not use composite item labels that conflict with keywords used by the program. If youre using more than one ITM command, number them sequentially, without repetition. Multiple Area Selection Lines are allowed. The program will calculate the points specified in the first line, then will calculate the points specified in the second line and so on. The only exception is when ASCII input option is used and the composite data follows the run file. The maximum number of composites that the program can handle for a single row is 64000. If this number is exceeded the program will print an error message and stop calculating at that row. If this happens, first check if you can decrease the X, Y or Z search distances used by the program. If you can, then try again starting from the row where the program stopped and see if this will solve the problem. If it does not, try to specify fewer columns to interpolate by using multiple Area Selection Lines. The maximum number of composites that the program can handle for a single point is 64000. If this number is exceeded, the program will give an error message and stop calculating at that point. If this happens, try a similar approach as explained in Step 6. A separate output file can be obtained for use with M525TS if 30=filename appears in the Names Line. See M525TS program documentation on how to further evaluate the point kriging results. ** ERROR ON INTERPOLATION AREA CARD ** will appear if a) the minimum column exceeds the maximum column b) the minimum row exceeds the maximum row, or c) the minimum bench exceeds the maximum bench

2.

3. 4. 5.

6.

7.

8.

9.

Page 522-6

Revised: 31-October-03

MineSight Proprietary Software: Mintec, inc.

M523V1-DECLUSTER COMPOSITE DATA

M523V1 DECLUSTER COMPOSITE DATA

PROGRAM SUMMARY
M523V1 accesses the composite data file and computes the declustered composite values using the cell declustering technique.

REQUIREMENTS AND CONSIDERATIONS


M523V1 is used to compute declustered composite data values when two or more data are considerably closer to one another than the average grid spacing. The program first overlays a grid of cells as specified by the user. It then estimates each cell by the arithmetic mean of the inside data. It can output the declustered values to an ASCII file if IOP7=1. The user specifies the name of the output file in the Names Line as 19=filename. Each composite receives a weight inversely proportional to the number of data falling within the same cell. This decluster weight is a value between 0 and 1. The program can optionally store the weight for each composite to the data file that is being accessed provided that an item is reserved in this file for storing these weights. The Printer Output File contains the statistics of the original and the declustered data values. The histograms for both data sets are also output. If the declustered data is output to an ASCII file, the program M500V1 can be used to load this data to another File 9 or 8 for storing. The cell size specified in PAR7, PAR8 and PAR9 for X, Y, and Z directions are very important for the de-clustering results. The cell size in the Z direction is normally equal to the bench height unless the user wants to see the effect of increasing the bench height. The cell sizes in the X and Y directions should be equal to the average spacing of the samples. Too small a cell can result in practically no declustering because each cell may contain no more than one composite. Similarly, too large a cell can result in artificial declustering of the composites which, in fact, should not be declustered. Therefore make a few test runs and study the resulting statistics of the declustered composites before storing the final results.

PROGRAM FLOW DIAGRAM


RUN FILE: - Cell size - Controlling & limiting item labels

INPUT: - PCF - File 9 or 8

CALCS: - Find composites within each cell - Compute average cell value - Compute decluster weight

OUTPUT: - Printer Output file with statistics and histograms of original and declustered composites

Revised: 6-June-01

Page 523-1

M523V1-DECLUSTER COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

Page 523-2

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M523V1-DECLUSTER COMPOSITE DATA

M523V1 - DECLUSTER COMPOSITE DATA


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-523V1 MEDS-523V1 where 10=filename 9 (or 8)=filename 19=filename; 3=filename

MEDS-523V1 (must be the first 10 columns) 10= the name of the PROJECT CONTROL FILE 9= the name of the COMPOSITE FILE (or 8 = the name of the SORTED COMPOSITE file) 19= the name of the ASCII Output File from USR508 (If IOP6=1) 3= the name of the PRINTER OUTPUT FILE 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text information that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 IOP6 = = = = = USER INITIALS (e.g. ABC) M09 N09 0 1 FIRST COMPOSITE DATA UNIT TO ACCESS (default=1) LAST COMPOSITE DATA UNIT TO ACCESS (default=last composite stored) DO NOT STORE DECLUSTERING WEIGHTS INTO FILE 9/8 STORE DECLUSTERING WEIGHTS INTO FILE 9/8

NOTE: If IOP6=1, specify PUT09 (or PUT08). IOP7 IOP8 = = 1 1 OPEN A SEQUENTIAL FILE FOR OUTPUT OF DECLUSTERED COMPOSITES MIN # OF DATA PER CELL FOR OUTPUT (IF IOP7=1)

NOTE: Cells with < IOP8 composites will not be output. IOP9 = 0 1 GRID IS ALIGNED ALONG THE MODEL COORDINATES (DEFAULT) GRID IS ALIGNED ALONG THE PROJECT COORDINATES

IOP11 =

# OF FREQUENCY INTERVALS FOR HISTOGRAM (0=NONE, MAX=50) MINIMUM EASTING MAXIMUM EASTING MINIMUM NORTHING MAXIMUM NORTHING MINIMUM ELEVATION MAXIMUM ELEVATION CELL WIDTH IN X Page 523-3

PAR1 PAR2 PAR3 PAR4 PAR5 PAR6 PAR7

= = = = = = =

Revised: 9-July-01

M523V1-DECLUSTER COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

PAR8 PAR9 PAR10 PAR11

= = = =

CELL WIDTH IN Y CELL WIDTH IN Z MINIMUM VALUE FOR FREQUENCY DISTRIBUTION INCREMENT FOR FREQUENCY DISTRIBUTION

GET09 (or 8)= LABELS OF ITEMS TO BE RETRIEVED NOTE: The order of these items is X, Y, Z and grade. PUT09 (or 8)= LABEL OF ITEM TO STORE DECLUSTERING WEIGHTS Optional Data Selection by RANGE, OMIT or TABLE ITMn ITMn ITMn = label-09 RANGE min-value max-value = label-09 OMIT min-value max-value = label-09 TABLE IOPm IOPn NOTE: Data selection labels must be specified on the GET09 line. END

Page 523-4

Revised: 9-July-01

MineSight Proprietary Software: Mintec, inc.

M523V1-DECLUSTER COMPOSITE DATA

M523V1 SAMPLE RUN FILE #1


MEDS-523V1 10=SAMP10.DAT * DECLUSTER COMPOSITE DATA * USR IOP1 IOP6 IOP7 IOP11 = = = = = ABC 10 0 0 50 0.00 0.010 / FIRST AND LAST DATA UNITS FROM FILE 09 / 1=STORE DECLUSTER WTS TO FILE 09 (PUT09 REQUIRED) / 1=OUTPUT DECLUSTERED COMPOSITES TO AN ASCII FILE / # OF FREQ. INTERVALS FOR HISTOGRAM (0=NO HIST., MAX=50) / MIN. VALUE FOR FREQ. DISTRIBUTION / INCREMENT FOR FREQ. DISTRIBUTION 9=SAMP09.DAT 3=RPT523.LA

PAR10 = PAR11 = GET09 = PAR1 PAR3 PAR5 PAR7 I-O END = = = = =

EAST NORTH ELEV. T-CU / RETRIEVE 10000 15000 10000 15000 3000 5000 100 100 50 0 / DEBUG / XMIN, XMAX / YMIN, YMAX / ZMIN, ZMAX / XYZ CELL WIDTH

M523V1 SAMPLE RUN FILE #2


MEDS-523V1 10=SAMP10.DAT 8=SAMP08.DAT MEDS-523V1 3=RPT523.LB * DECLUSTER COMPOSITE DATA - OUTPUT RESULTS INTO A FILE * USR IOP1 IOP6 IOP7 IOP11 = = = = = ABC 10 0 1 40 0.00 0.010 19=DAT523.OB;

/ FIRST AND LAST DATA UNITS FROM FILE 09 / 1=STORE DECLUSTER WTS TO FILE 9 (PUT09 REQUIRED) / 1=OUTPUT DECLUSTED COMPOSITES TO AN ASCII FILE / # OF FREQ. INTERVALS FOR HISTOGRAM (0=NO HIST., MAX=50) / MIN. VALUE FOR FREQ. DISTRIBUTION / INCREMENT FOR FREQ. DISTRIBUTION

PAR10 = PAR11 = GET08 = PAR1 PAR3 PAR5 PAR7 I-O = = = = =

EAST NORTH ELEV. T-CU / RETRIEVE 13000 14000 13000 14000 3000 4000 100 100 50 0 / DEBUG / XMIN, XMAX / YMIN, YMAX / ZMIN, ZMAX / XYZ CELL WIDTH

END

Revised: 9-July-01

Page 523-5

M523V1-DECLUSTER COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

SAMPLE RUN FILE #3


MEDS-523V1 10=SAMP10.DAT 9=SAMP09.DAT 3=RPT523.LC * DECLUSTER COMPOSITE DATA - STORE BACK DECLUSTERING WTS * USR IOP1 IOP6 IOP7 IOP11 = = = = = ABC 10 1 0 50 0.00 0.010 /FIRST AND LAST DATA UNITS FROM FILE 09 /1=STORE DECLUSTER WTS TO FILE 9 (PUT09 REQUIRED) /1=OUTPUT DECLUSTERED COMPOSITES TO AN ASCII FILE /# OF FREQ. INTERVALS FOR HISTOGRAM (0=NO HIST., MAX=50) /MIN. VALUE FOR FREQ. DISTRIBUTION /INCREMENT FOR FREQ. DISTRIBUTION

PAR10 = PAR11 = GET09 = PUT09 = PAR1 PAR3 PAR5 PAR7 I-O END = = = = =

EAST NORTH ELEV. T-CU /RETRIEVE MAVG /STORE DECLUSTERING WTS 10000 15000 10000 15000 3000 5000 100 100 50 0 /DEBUG /XMIN, XMAX /YMIN, YMAX /ZMIN, ZMAX /XYZ CELL WIDTH

SAMPLE OUTPUT WHEN IOP7 = 1


Seq # Ref # X Y Z Grade # of data/cell 1 1 1

1 2 3

10003021 9003021 8003021

3017.7 4740.9 2585.0 3017.7 4740.9 2570.0 3017.7 4740.9 2555.0 . . . . . . . . . 3244.6 3250.7 3243.6 3229.4 5159.0 5153.5 5153.5 5153.5 2570.0 2555.0 2540.0 2510.0

0.060 0.060 0.030

271 272 273 275

9007023 8007023 7007023 5007023

0.150 0.150 0.183 0.223

4 3 3 3

Page 523-6

Revised: 9-July-01

MineSight Proprietary Software: Mintec, inc.

M523V1-DECLUSTER COMPOSITE DATA

HOW TO DEBUG AN M523V1 RUN


1. The order of GET09 or GET08 items is X, Y, Z and grade. If the items are not in this order or any of these items are missing, the program may still attempt to decluster, however, the results will be incorrect if the execution does not stop with an error message. If there are less than two composites available, the following message will appear ?M523V1:ERROR. THERE IS NOT ENOUGH DATA No. of samples and/or cells = 0 (or 1) 3. 4. If any of the cell size information (i.e., PAR7, PAR8 and PAR9) is not specified, the program will not execute. If you did not specify the coordinate limits for declustering (i.e., PAR1-PAR6), the program will not default to the PCF limits and execution ends with the following error message ?M523V1: ERROR. THERE IS NOT ENOUGH DATA No of samples and/or cells = 0 (or 1) 5. If IOP6=1 to store the declustering weight to File 9 or 8, but you did not specify an item to store these weights, the following message will appear %MEDITM: FILE filename NEEDS * PUT * LABELS FOR RUN 6. If IOP7=1 to dump the declustered composites to an ASCII file, but you did not specify this file on the Names Line, the output will be written to a default File 19 named FOR019.DAT (on most machines). Also check the MineSight error messages in the Appendix.

2.

7.

Revised: 9-July-01

Page 523-7

M523V1-DECLUSTER COMPOSITE DATA

MineSight Proprietary Software: Mintec, inc.

Page 523-8

Revised: 9-July-01

MineSight Proprietary Software: Mintec, inc.

M524V1 POINT VALIDATION FOR INTERPOLATION

M524V1 POINT VALIDATION FOR INTERPOLATION TECHNIQUES


PROGRAM SUMMARY
M524V1 will interpolate each composite from its neighbors by both kriging and inverse distance weighting, and will then summarize the differences from the known composite values.

REQUIREMENTS AND CONSIDERATIONS


M524V1 will interpolate point composite data using inverse distance and kriging. The program will compute an estimated grade for a data point using the surrounding data points without including the point itself. This procedure is repeated for all the data points within the search volume. This back-estimation or jackknife estimation is an important step in verifying interpolation parameters. Besides kriging each point, the program will also compute five more estimated grades using different powers of inverse distance (e.g., 1.0, 1.5, 2.0, 2.5 and 3.0). The result for each data point is listed in the Printer Output File. A summary of the results and estimation errors are provided at the end of the output. A variogram model must be specified in the run file. Four types of variograms are allowed: spherical, linear, exponential and gaussian. These variograms may consist of a single model or a nested model which is a combination of several different variograms. As many as five variograms are allowed for a nested model. Multiple grades may be interpolated if the same search parameters and variogram model apply to each grade item. COORDINATE PARAMETERS PAR1-3 control the primary coordinate selection of data from File 9 composites or the ASCII composite file. These parameters may come from analyses in geostatistics, preliminary interpolation runs or from deposit experience. 1. The primary coordinate selection is usually based upon the range of ZTOE - PAR3 to ZTOE + PAR3, where ZTOE is the toe elevation of the bench to be used. If topographic or other 2-D data is to be interpolated, then this selection is not used. However, you should set PAR3 to be a small non-zero value (e.g. 0.1). 2. The secondary coordinate selection is always based upon the range of YMID - PAR2 to YMID + PAR2, where YMID is the midpoint northing of the row to be used. Eastings are in the range XMIN - PAR1 to XMAX + PAR1. The composites selected for the entire row are kept in program memory while interpolating the blocks in that row. Currently, the maximum number of composites that the program can handle for a single row is 64,000. If this limit is exceeded, the program will stop with an error message.

PROGRAM FLOW DIAGRAM


RUN FILE: - Interpolation and variogram parameters - Search distances or ranges - Controlling & limiting item

INPUT: - PCF - File 9

CALCS: - FInd composites within search window - Match geology codes - Apply limiting factor - Compute weights & grades

OUTPUT: - Optional Output file for M525TS - Printer Output file - Optional output in csv format for MSDA

Revised: 5-May-09

Page 524-1

M524V1 POINT VALIDATION FOR INTERPOLATION USE OF MULTIPLE VARIOGRAMS In general, there are two cases where multiple variograms are used: 1. 2. to specify a different variogram for each item to be kriged to specify a different variogram for each geologic unit if only one item is to be kriged.

MineSight Proprietary Software: Mintec, inc.

Multiple variograms cannot be used to specify different variograms by grade and rock type together in the same run, that is, you cannot combine the above two situations in a single run. If variograms are broken down by rock type, each grade must be kriged separately. Multiple variograms are always specified in an external file listed on the run file Names Line as File31=filename.

Page 524-2

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1POINT VALIDATION FOR INTERPOLATION


RUN FILE OPERATION
1. NAMES LINE (must be the first line entered) MEDS-524V1 MEDS-524V1 where 10=filename 30=filename 9=filename 31=filename 19=filename; 32=filename

3=filename

MEDS-524V1 (must be the first 10 columns) 10 = the name of the PROJECT CONTROL FILE 8= filename (obsoleted) - OR - CARD for ASCII input 9= filename 19 = the name of the Input File (if CARD is used) 30 = the name of the Output File (for M525TS) Note: see #18 in the section, How to Debug an M524V1 run. 31 = the name of the Variogram Input File 32 = the name of the output file (for MSDA). Note: .csv extension is recommended. 3= the name of the PRINTER OUTPUT FILE NOTE: If 9 = filename is specified on the names line, then composite data will be retrieved from this file 9. To request an ASCII input DO NOT enter 9 = on the names line and specify 8 = CARD. 2. RUN INFORMATION LINE (max. of 80 columns) A single line of text that will be printed at the top of each page of printer output from the run. 3. RUN OPTIONS (in any order & free-field format) USR IOP1 IOP2 IOP3 = = = = = = = = = = = = USER INITIALS (e.g., ABC) # OF COMPOSITES PER OCTANT/QUADRANT THE NUMBER OF COMPOSITES TO DISPLAY DETAILED KRIGING WEIGHTS BASIC SEARCH OPTION FOR COMPOSITES 0 FOR 2-D CIRCULAR SEARCH 1 FOR 3-D SPHERICAL SEARCH OPTION TO MATCH BLOCK VS. COMPOSITE GEOLOGY 0 FOR NO GEOLOGIC MATCHING 1 MATCH 1 ITEM AFTER A POINT IS SELECTED 2 MATCH 2 ITEMSAFTER A POINT IS SELECTED -1 MATCH 1 ITEM BEFORE A POINT IS SELECTED -2 MATCH 2 ITEMS BEFORE A POINT IS SELECTED NOTE: Only selection by PAR7 is affected by before/after choice. IOP6 = = = DISTANCES FOR ELLIPSOIDAL SEARCH 0 DISTANCES ARE KEPT IN ORIGINAL 3-D 1 DISTANCES ARE ADJUSTED DISTANCES BASED ON ANISOTROPY NOTE: Use IOP6 with the CMD=SEARCH command.

IOP4

Revised: 6-May-09

Page 524-3

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

IOP7

MINIMUM NUMBER OF COMPOSITES FOR INTERPOLATION NOTE: A block will not get interpolated if the number of nearby composites is <IOP7.

IOP9

= = = = = =

1 2

OCTANT QUADRANT

IOP11 IOP12 IOP13

ROW NUMBER FOR EXTENDED OUTPUT FROM CALCULATIONS (debug) 1 0 n DO NOT USE COMPOSITES FROM THE SAME HOLE FOR STANDARD GEOLOGIC CODES READ n CROSS REFERENCE CODES TO ALIAS BLOCK CODES AT 10 VALUES PER LINE (see Section 4)

NOTE: If IOP13=1-10, one cross reference line is read. If IOP13=11-20, two cross reference lines are read. IOP16 IOP17 = = = = = = = = MAXIMUM NUMBER OF POINTS TO BE USED FOR KRIGING (default=15; max=500) THE DESIRED POINT ESTIMATE TO BE STORED (if STORE option is used) 1 FOR INVERSE DISTANCE WEIGHTING (IDW) POWER 1 2 FOR IDW POWER 1.5 3 FOR IDW POWER 2.0 4 FOR IDW POWER 2.5 5 FOR IDW POWER 3.0 6 FOR KRIGE (default) NOTE: IOP17 can be used to specify the desired point estimate to use. If other than a kriged estimate is to be stored, then set IOP17 in your run file as above. IOP18 = = = = = SELECT LOG KRIGE TRANSFORMATION 1 USE JOURNELS FORMULA (default) 2 USE RENDUS FORMULA MAXIMUM NUMBER OF COMPOSITES TO USE FROM AN INDIVIDUAL DRILLHOLE 1 USE WITH BLOCK LIMITING

IOP19 IOP20

NOTE: This option will interpolate the specified block codes (points) without using these codes in the interpolation. IOP21 = = 0 1 OMIT ALL CHECKS CHECK SEQUENTIAL COMPOSITES FOR DUPLICATE X,Y,Z COORDINATES DUPLICATES WILL BE DELETED

NOTE: This option is applicable to blasthole projects only. IOP22 = = = = = 0 1 ORDINARY POINT KRIGING (default) INDICATOR POINT KRIGING

PAR1 PAR2 PAR3

X-SEARCH DISTANCE Y-SEARCH DISTANCE Z-SEARCH DISTANCE (default=0.1) NOTE: PAR3 not used for SCAN1-D or SCAN2-D. However, still enter a small non-zero value (e.g. 0.1).

Page 524-4

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

PAR4

MAXIMUM 3-D DISTANCE FROM BOX CENTROID TO ACCEPT DATA (DEFAULT=SQRT((PAR1)2 + (PAR2)2 + (PAR3)2) MINIMUM DISTANCE TO ACCEPT COMPOSITES NOTE: Anything less than PAR5 will not be included.

PAR5

PAR13-17= INVERSE DISTANCE POWERS (default = 1 through 3 with .5 increments) PAR7 PAR8 CMD CMD CMD CMD CMD CMD CMD CMD ITMn CMD CMD CMD CMD ITMn ITMn ITMn ITMn ITMn ITMn ITMn CMD = = = = = = = = = = = = = = = = = = = = = = = MAXIMUM DISTANCE TO CLOSEST POINT FOR INTERPOLATION MAXIMUM DISTANCE TO PROJECT SINGLE COMPOSITE VALUE SEARCH RY RX RZ ROTN DIPN DIPE SEARCH GSLIB RY RX RZ ROM ROT1 ROT2 ROT3 SEARCH COORD filename RY RX RZ SEARCH PROJECT NUGGET nug-value SPH sill-value R1 R2 R3 [ROTN DIPN DIPE] ELEV IS label-09 BLOCK LIMIT CODES v1 v2 ... vn M524 label-09 LIMIT CALCMINnvalue UNIV KRIGE ITEM label-09 VGM PROJECT ELEV IS label-09 M524 label-09 CALC KRIGE (Ordinary kriging) M524 label-09 ALOG KRIGE (Ordinary lognormal kriging) M524 labl1-09 STORE KRIGE M524 labl2-09 STORE ERROR M524 label-09 MATCHMODEL M524 label-09 MATCH POLYG label-15BLOCKLIMITand BLOCKLIMITCODESV1 V2 . . . Vn (default = PAR4) (default = PAR7)

Revised: 21-Feb-08

Page 524-5

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

There are several customizing options for this program. The following table may be used to reference explanations of the uses for various IOPs and PARs

Page number I II III IV V VI VII Primary 3-D search parameters defining a box around a block Optional full 3-d (ellipsoidal) search parameters defining a trend search within the primary search Optional interpolation parameters Optional inverse distance power Specification of variogram model parameters Multiple variogram specification Relative elevation specification 524-7 524-7 524-8 524-9 524-9 524-10 524-12 524-12 524-13 524-14 524-14 524-14 524-15 524-15

See Sample Run File # 1 2 6

7 7

VIII Item definition lines for values to be computed and stored IX X XI XII Matching geology codes Interpolate selected geology types Using alias geology codes Input from an ASCII file

9 3 6 6 5 8 10

XIII Universal kriging XIV Selection of the composites used in interpolation

Page 524-6

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

I. Primary 3-D search parameters defining a box around a block. PAR1 = X-SEARCH DISTANCE PAR2 = Y-SEARCH DISTANCE PAR3 = Z-SEARCH DISTANCE (default=0.1) These parameters define a rectangular box around the block to be interpolated. This is illustrated in the 600 - series Technical Section and Figure 1 below.

North PAR1 West Block V PAR2 East

Up PAR3

Block V

South a) Plan View

Down b) Section View

Figure 1. Definition of Primary Coordinate Search Parameters (PAR1, PAR2, and PAR3) All of the composites within this rectangular box are checked against the maximum 3-D search distance (PAR4). The composites that are less than or equal to this distance from the center of the box are retained for further screening, such as geologic matching. If there are more than n number of composites for a given block after all the tests, then the composites are sorted by increasing distance. Only the closest n are retained for calculation of the weights. Based on these weights, the grade of the block is computed and stored. IMPORTANT NOTE: To interpolate GSM or 2-D surface data, the coordinate selection must be based on X and Y coordinates only. If this is the case, use one of the following command in your run file: ITMn ITMn = = CARD DATA INPUT SCAN2-D (ASCII Input Data) OR FILE DATA INPUT SCAN2-D (Composite File 9)

depending on which source is appropriate. II. Optional full 3-D (ellipsoidal) search parameters defining a trend search within the primary search To add a full 3-D search within the primary search explained above include the following command: CMD = SEARCH RY RX RZ ROTN DIPN DIPE or CMD = SEARCH GSLIB RY RX RZ ROT1 ROT2 ROT3 or CMD = SEARCH COORD filename RY RX RZ where SEARCH = RY = RX = RZ = Revised: 21-Feb-08 Keyword for the program indicating a 3-D search Search distance (range) in the new north (major-axis) direction Search distance (range) in the new east direction Search distance (range) in the new up direction Page 524-7

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

ROTN = DIPN = DIPE =

Rotation from the old north axis to the new north axis (clockwise is a positive rotation) Dip of the new north axis measured horizontally (negative dip is plunging down) Dip easterly from the new north axis (the horizontal component of this vector is 90 degrees clockwise from the horizontal component of the new axis. The dip is measures as in DIPN) Keyword to specify GSLIB rotation entry Horizontal rotation of north axis Rotation of the north axis hrom horizontal Final rotation around the new north axis Keyword to specify rotation with three points Name of the ASCII file with coordinates of these point

GSLIB = ROT1 = ROT2 = ROT3 = COORD = filename =

For a detailed description of rotation parameters see the 600-series Technical Section. You must use IOP6 with this command. Figures 2, 3, and 4 below and Sample Run File #2 show the relationships of the various parameters for ellipsoidal search.

Figure 2. Definition of ROTN, RY and RX used in 3- Figure 3. Definition of DIPN, RY and RZ used in D Ellipsoidal Coordinate Search 3-D Ellipsoidal Coordinate Search

Figure 4. Definition of DIPE, RX and RZ in 3-D Ellipsoidal Coordinate Search

This search forms an ellipsoid around the center of the block based on the search ranges and angles used. The composites within this ellipsoid are retained for calculations. The 3-D distances (RX, RY, RZ) between the block center and the composites are adjusted distances based on anisotropy ratios between the ranges. Therefore, if the full 3-D search is used, the value of the maximum 3-D search distance (PAR4) must reflect the distance in the new coordinates.

III. Optional interpolation parameters PAR7 PAR8 = = MAXIMUM DISTANCE TO CLOSEST POINT FOR INTERPOLATION (default = PAR4) MAXIMUM DISTANCE TO PROJECT SINGLE COMPOSITE VALUE (default = PAR7) NOTE: If the number of composites retained for a block equals IOP7, then PAR8 is tested.

Page 524-8

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

IV. Optional inverse distance powers PAR13-17= INVERSE DISTANCE POWERS (default = 1 through 3 with .5 increments)

V .

Specification of variogram model parameters

The M524V1 run file must contain the specifications of one variogram model to be used for kriging interpolation. To specify the nugget and sill values for the variogram, enter the following command lines: CMD CMD or CMD or CMD where = = = = NUGGET nug-value SPH sill-value R1 R2 R3 [ROTN DIPN DIPE] SPH GSLIB sill-value R1 R2 R3 ROT1 ROT2 ROT3 SPH COORD filename R1 R2 R3

NUGGET = Keyword for the program (could be abbreviated NUG) nug-value = The nugget value for the variogram. If zero is entered, the program sets it to a very small number (0.000001). SPH = sill-value = R1 = R2 = R3 = ROTN = DIPN = DIPE = Keyword for the program for spherical model. Use LIN for a linear variogram or EXP for an exponential. Individual sill value for the specified variogram (C1 or C2, etc.). For a single model, this value is equal to total sill minus the nugget. Range in the new north (major-axis) direction Range in the new east direction Range in the new up direction Rotation from the old north axis to the new north axis (clockwise is a positive rotation) Dip of the new north axis measured horizontally (negative dip is plunging down) Dip easterly from the new north axis (the horizontal component of this vector is 90 degrees clockwise from the horizontal component of the new north axis. The dip is measured as in DIPN.) Keyword to specify GSLIB rotation entry Horizontal rotation of north axis Rotation of the north axix from horizontal Final rotation around the new north axis Keyword to specify rotation with three points Name of the ASCII file with coordinates of these points.

GSLIB = ROT1 = ROT2 = ROT3 = COORD = filename =

For a detailed description of rotation parameters, see the 600-series Technical Section. NOTES: 1. Nested variogram models can be entered by adding more Variogram Specification Lines in your run file (max=5). For example, a nested spherical model could be entered as: CMD = NUGGET CO CMD = SPH C1 R1 R2 R3 ... CMD = SPH C2 R4 R5 R6 ... where CO=NUGGET, CO+C1+C2=SILL, R1 R2 R3= 3-D ranges of the first structure, R4 R5 R6=3-D ranges of the second structure, etc.

Revised: 5-May-09

Page 524-9

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

2. 3.

The program allows the interpolation of multiple grades provided that these grades have the same variogram parameters. Horizontal and vertical anisotropy ratios are calculated based on the 3-D ranges entered. For example, if R1=100, R2=50 and R3=40, then horizontal anisotropy ratio = R1/R2 = 2.0 vertical anisotropy ratio = R1/R3 = 2.5 If rotation is specified, the 3-D ranges will be in the new coordinate system defined by these angles. For example, by default R1 is the range in the north-south direction. However, if ROTN=45, then R1 will be the range in the NE-SW direction. The direction of R2 and R3 will similarly be affected based on these angles. See figures 2, 3 and 4 on page 524-8.

4.

Sample run file #7 demonstrates the use of these commands. VI. Multiple Variogram Specification

Multiple variograms are used for two cases. CASE 1 There are multiple items to krige and each item has its own variogram, e.g., kriging gold and silver grades with the same run file but having different variograms for gold and silver. Warning: When kriging multiple items, the program assumes that the same number of composites are available for the secondary items as for the primary item. In other words, inconsistent missing intervals such as a missing value for one item but not the other ones, will produce erroneous results. CASE 2 Only one item is to be kriged but there are different variograms for each geologic unit, e.g., kriging gold grades with a different variogram for each rock type. For this case, the label of the geologic item must be specified with either of the following commands: ITMn ITMn = = label-15 label09 MATCH MODEL label-15 BLOCK LIMIT and CMD = BLOCK LIMIT CODES V1 V2 . . . Vn

In both cases, parameters for multiple variograms are entered through an external input file. The variogram parameter file name is entered in the run file on the names line as 31=filename. When there is a file name specified in the run file, the program will automatically look for this file and try to read it. Any variogram parameter specified in the run file through the CMD function is ignored. Examples of the variogram file for each case follow. NOTE: There has to be one set of variogram parameters specified for each item or geologic type to be kriged even when the variogram parameters are the same for more than one item. As many as nine items or geologic types can be kriged simultaneously. However, the total number of model items to be stored cannot exceed ten. CASE 1 The lines of a variogram parameter file are as follows: Line #1: Description or comment line Line #2: Nugget value for the first item Line #3: TYPE SILL R1 R2 R3 ROTN DIPN DIPE, where TYPE = Variogram type: 1=Spherical, 2=Linear, 3=Exponential, 4=Gaussian SILL = Sill of the variogram excluding the nugget value R1 R2 R3 The same as specified earlier in this documentation ROTN DIPN DIPE

Page 524-10

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

Line #3A, #3B

Optional (Nested variogram parameters if necessary)

Line #4: 0 or -1: End of the variogram parameters input Line #5, #6, #6A, #6B, #7 Repeat of Lines 2-4 for the variogram parameters to be used for krig item #2. NOTE: Specify a set of variograms for each item to be kriged. For example, if five items are to be kriged, there must be five sets of variogram parameters. If there are more variograms than the number of krige items, the program ignores the extra variograms. However, if there are more krig items than variograms, the program stops with an error message.

Revised: 21-Feb-08

Page 524-11

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

CASE 1 Sample variogram parameter file: Parameters for items LEAD, ZINC, SILV, TCU .0013 1 .0245 150 120 60 0 0 0 0 .008 1 .0160 120 80 40 45 -10 0 1 .0262 160 120 60 45 -10 0 0 .0031 1 .0088 120 120 80 0 0 0 0 .0072 2 .0519 240 240 240 0 0 0 0 Sample Run File #7 demonstrates the use of this option. CASE 2 The lines of a variogram parameter file are as follows: Line #1: Line #2: VARITM = label-15 Nugget value for the first geologic code Comment Line Nugget value Parameters End of input Nugget value Parameters for nested variogram Parameters for nested variogram End of input

Integer geologic code

Lines #3, #3A, #3B, #4 are the same as Case 1. Lines 24 Repeat for the remaining geologic codes.

CASE 2 Sample variogram parameter file: VARITM = ROCK .0013 2 1 .0245 150 120 60 0 0 0 0 .008 5 1 .0160 120 80 40 45 -10 0 1 .0262 160 120 60 45 -10 0 0 .0031 10 1 .0088 120 120 80 0 0 0 0 VII. Relative elevation specification: Comment Line Nugget value; geologic code Parameters End of input Nugget value; geologic code Parameters for nested variogram Parameters for nested variogram End of input

Enter the following command if relative elevation is to be used: CMD VIII. ITMn ITMn = ELEV IS label-09

Item definition lines for values to be computed & stored: = = M524 label-09 CALC KRIGE (Ordinary kriging) M524 label-09 ALOG KRIGE (Ordinary lognormal kriging)

Page 524-12

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 can store the estimated grade of a point from kriging and/or the estimation error computed for that point to File 9. Include the following lines in your run file to use this option: ITMn ITMn where = = M524 labl1-09 STORE KRIGE M524 labl2-09 STORE ERROR

M524 = Keyword for the program labl1-09 = Label of the composite item to store the kriged estimate of the point labl2-09 = Label of the composite item to store the estimation error for the point STORE KRIGE = Keywords for the program STORE ERROR = Keywords for the program Sample run file #9 demonstrates the use of this option. NOTES ON ITEM DEFINITION LINES: 1. CALC KRIGE can be used for ordinary kriging. Kriging provides an estimation variance for each block kriged. This value can be obtained using BLOCK ERROR. ALOG KRIGE can be used in place of CALC KRIGE if you need to use the natural logarithms of grades instead of actual grades. At least one ITM to CALC KRIGE or to ALOG KRIGE must be included in each run. STORE KRIGE and STORE ERROR are optional. STORE ERROR can be used only if CALC KRIGE or ALOG KRIGE is used. Normally, ordinary kriging variance is stored as the error of estimation, but if ALOG KRIGE is used, the stored value is the relative logarithmic kriging variance. Matching geology codes

2.

3.

4.

IX.

In order for the program to use the composites with the same geology code in the interpolation, include the following lines in your run file: IOP4 = 1 ITMn = M524 or ITMn = M524 where label-09 MATCH MODEL (simple match) label-09 MATCH POLYG (assign & match)

M524 = Keyword for the program label-09 = Label of composite item for geologic codes MATCH MODEL = Keywords for the program indicating geologic matching. A maximum of 3 geologic matchings is allowed. MATCH POLYG = Keywords for the program indicating polygonal assignment of codes as well as geologic matching Sample run file #3 demonstrates the use of this option.

Revised: 21-Feb-08

Page 524-13

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

X. Interpolate selected geology types Interpolation can be limited to certain geology types based on specified codes in the run file. Use the following lines in your run file: CMD = BLOCK LIMIT CODES v1 v2 ... vn ITMn = M524 label-09 LIMIT where BLOCK LIMIT CODES = Keywords for the program indicating the option for geology limiting v1, v2 ... vn = Numeric values between 1 and 99 of the items used for geology limiting. More than one code line may be entered if needed. label-09 = Label of composite item with geology codes LIMIT = Keyword for the program Sample run file #4 demonstrates the use of this option. XI. Using alias geology codes To assign alias (assumed) geology codes to the composites used in the interpolation of a point, specify the number of cross reference codes in IOP13 and include a line after the END line in your run file for the cross reference codes. For example, if you have five geology codes (1 through 5) and you want to interpolate the points with codes 1 or 2. You want to use composites with codes 1 or 3 to interpolate the points with code 1 and you also want to use composites with codes 2, 4 and 5 to interpolate the points with code 2. First include in your run file BLOCK LIMIT and MATCH options. Then set the following option in your run file: IOP13 = n. For the above example, you would have IOP13=5, then 1 2 1 2 2 after the END line in your run file. Sample run file #6 demonstrates the use of this option. XII. Input from an ASCII file The composite assay data input to the interpolation programs is normally from MineSight Data File 8. However, the programs are also designed to read data from an ASCII file. If an ASCII input is desired, then the following steps are required: 1. 2 3. 4. Include X, Y and Z coordinates (if 3-D interpolation) and a grade item on each line of input. Sort input data by increasing north coordinates. Include 8=CARD in the Names Line of your run file. Also include 19=filename if the data is in a separate file. Include the following line in your run file: ITMn = CARD DATA INPUT SCAN3-D (or SCAN2-D or SCAN1-D) where CARD DATA INPUT = Keywords for the program indicating that input data is in an ASCII file SCAN3-D = Optional keyword indicating a 3-D search (or 2-D or 1-D; default is 3-D) Also include the following lines in your run file: INP8 = REF# EAST NORTH ELEV. value1 ... geol1 ALF1 = REF# COORD COORD COORD CALC ... MATCH FMT1 = (format of input data) where REF#, EAST, NORTH, ELEV. = value1, value2, etc = geol1, etc. = Keywords for the program (not necessarily in this order) Grade items to interpolate Geology items to interpolate

5.

Page 524-14

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

The keywords in the ALF1 line match the INP8 line keywords in the following order: REF# > REF# COORD > EAST, NORTH, ELEV. CALC > item to be interpolated MATCH > geology items to be used for matching The correct format to read the data in the order specified should be included in FMT1 line and enclosed by parentheses. 6. The following line is optional and can be included to specify a CALC items minimum value. Otherwise the minimum is assumed to be zero. CMD=CALC where CALC MINn value MINn value

keyword indicates which CALC item from the INP line is being set the minimum value.

For example: INP8 ALF1 CMD = = = REF# REF# CALC EAST NORTH ELEV . TOPO COORD COORD COORD MIN2 7 ROCK CALC

CALC

will set the minimum value of ROCK (the second CALC item) to 7. If composite data lines are included within the run input file, then only one Area Specification Line can be used. Sample Run File #5 demonstrates the use of this option. XIII. Universal kriging Use the following line in your run file to use this option: CMD = UNIV KRIGE ITEM label-09 where UNIV KRIGE ITEM = Keywords for the program label-09 = The label of the universal kriging item in the composite file. This label must be NORTH, EAST or ELEV. Up to three lines can be entered. Sample run file #8 demonstrates the use of this option. XIV. Selection of the composites used in interpolation Composites used in interpolation can be selected using RANGE, OMIT or TABLE with the ITMn command. See ITMn commands in the Introduction for an explanation of these options. Sample run file #10 demonstrates the use of these options. END

Revised: 21-Feb-08

Page 524-15

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

1. CROSS REFERENCE LINES (for alias geology codes, IOP13>0) 10 integer values per line (free-field format) Example: If IOP13=5 (block codes are 1 to 5) & if 1 1 3 3 3 are input for cross reference, then data with geologic codes 1 & 2 will be used as the same type, with codes 3, 4 & 5 used together. 2. AREASELECTION LINES IX1 IX2 Columns IY1 IY2 Rows IZ1 IZ2 Levels M09 N09 First and last composite stored (default=use all)

3. COMPOSITE DATA LINES (if CARD DATA INPUT was specified) See the Technical Section for a complete description of these lines. If Composite Data Lines are included within the run file, then only one Area Specification Line can be used. If Composite Data Lines are in a separate file, include a 19=filename in the Names Line.

Page 524-16

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 SAMPLE RUN FILE #1


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OA MEDS-524V1 3=RPT524.LB * POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING * USR COM COM COM COM COM IOP2 IOP3 IOP11 IOP16 PAR1 PAR4 CMD CMD ITM1 = ABC POINT INTERPOLATION * * TEST RUN #1: M524V1 3-D SPHERICAL SEARCH WITHIN RECTANGULAR BOX = = = = = = = = = 3 / # OF COMPS TO DISPLAY KRIGING WTS 1 / 0=2D CIRCULAR; DATA INPUT SCAN3-D: 1=3D SPHERICAL SEARCH 23 / ROW# FOR DEBUG 5 / MAX # COMPS TO USE FOR INTERP 750 750 50 / X, Y, Z SEARCH DISTANCES 750 / LIMITING SEARCH DISTANCE NUG 0.01 SPH 0.14 600 600 600 0 0 0 M524 T-CU CALC KRIGE 9=SAMP09.DAT;

END 20 30 23 23 20 20

Revised: 21-Feb-08

Page 524-17

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

M524V1 SAMPLE RUN FILE #2


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OB 9=SAMP09.DAT; MEDS-524V1 3=RPT524.LB * POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING * USR = ABC COM COM POINT INTERPOLATION COM COM * * TEST RUN #2: M524V1 COM ELLIPSOIDAL SEARCH AT N45W DIRECTION IOP2 IOP3 IOP11 IOP16 PAR1 PAR4 CMD CMD CMD ITM1 = = = = = = = = = = 1 / # OF COMPS TO DISPLAY KRIGING WTS 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH 23 / ROW# FOR DEBUG 5 / MAX # COMPS TO USE FOR INTERP 750 750 50 / X, Y, Z SEARCH DISTANCES 750 / LIMITING SEARCH DISTANCE SEARCH 750 500 375 45 0 0 NUG 0.02 SPH 0.13 750 500 375 -45 0 0 M524 T-CU CALC KRIGE

END 20 30 23 23 20 20

Page 524-18

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 SAMPLE RUN FILE #3


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OC MEDS-524V1 3=RPT524.LC * POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING * USR COM COM COM COM COM IOP2 IOP3 IOP4 IOP11 IOP16 PAR1 PAR4 CMD CMD ITM1 ITM2 = ABC POINT INTERPOLATION * * TEST RUN #3: M524V1 MATCH GEOLOGY CODES = = = = = = = = = = = 1 / # OF COMPS TO DISPLAY KRIGING WTS 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH 1 / 1=ONE GEOLOGIC MATCHING, 0=NONE 23 / ROW# FOR DEBUG 5 / MAX # COMPS TO USE FOR INTERP 750 750 50 / X, Y, Z SEARCH DISTANCES 750 / LIMITING SEARCH DISTANCE NUG 0.02 LIN 0.13 750 500 375 0 0 0 M524 T-CU CALC KRIGE M524 ROCK MATCH MODEL 9=SAMP09.DAT;

END 20 30 23 23 20 20

Revised: 21-Feb-08

Page 524-19

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

M524V1 SAMPLE RUN FILE #4


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OD MEDS-524V1 3=RPT524.LD * POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING * USR COM COM COM COM COM COM IOP2 IOP3 IOP4 IOP11 IOP16 PAR1 PAR4 CMD CMD CMD = ABC 9=SAMP09.DAT;

POINT INTERPOLATION * * TEST RUN #4: M524V1 INTERPOLATE SELECTED GEOLOGY TYPES MATCH GEOLOGY CODES = = = = = = = = = = 1 / # OF COMPS TO DISPLAY KRIGING WTS 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH 1 / 1=ONE GEOLOGIC MATCHING, 0=NONE 23 / ROW# FOR DEBUG 5 / MAX # COMPS TO USE FOR INTERP 750 750 50 / X, Y, Z SEARCH DISTANCES 750 / LIMITING SEARCH DISTANCE BLOCK LIMIT CODES 2 4 NUG 0.01 SPH 0.14 600 600 600 0 0 0

ITM1 = M524 T-CU CALC KRIGE ITM2 = M524 ROCK LIMIT ITM3 END 20 30 23 23 20 20

M524 ROCK MATCH MODEL

Page 524-20

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 SAMPLE RUN FILE #5


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OE MEDS-524V1 3=RPT524.LE * POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING * USR COM COM COM COM COM COM IOP2 IOP3 IOP4 IOP11 IOP16 PAR1 PAR4 CMD CMD ITM1 ITM2 ITM3 INP8 ALF1 FMT1 I-O END 20 30 24 28 20 20 30DH-4312652.12851.3600.0.0580.0032 31DH-4712720.12752.3500.0.0660.0043 32DH-5612736.12430.3600.0.0520.0032 33DH-6012705.12509.3600.0.2510.0104 34DH-6212719.12603.3600.0.1260.0053 35DH-6312725.12550.3650.0.4020.0092 = ABC POINT INTERPOLATION * * TEST RUN #5: M524V1 ASCII DATA INPUT MATCH GEOLOGY CODES = = = = = = = = = = = = = = = = 2 / # OF COMPS TO DISPLAY KRIGING WTS 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH 1 / 1=ONE GEOLOGIC MATCHING, 0=NONE 25 / ROW# FOR DEBUG 12 / MAX # COMPS TO USE FOR INTERP 750 750 50 / X, Y, Z SEARCH DISTANCES 800 / LIMITING SEARCH DISTANCE NUG 0.01 SPH 0.14 800 800 400 0 0 0 M524 T-CU CALC KRIGE M524 ROCK MATCH MODEL CARD REF# EAST NORTH ELEV. T-CU ROCK REF# COORD COORD COORD CALC MATCH (F4.0,7X,3F8.0,F7.3,7X,F3.0) 2 / 2 = LIST COMPOSITES 8=CARD;

Revised: 21-Feb-08

Page 524-21

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

M524V1 SAMPLE RUN FILE #6


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OF MEDS-524V1 3=RPT524.LF * POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING * USR COM COM COM COM COM COM COM IOP2 IOP3 IOP4 IOP7 IOP11 IOP13 IOP16 PAR1 PAR4 PAR7 PAR8 CMD CMD CMD ITM1 ITM2 ITM3 = ABC 9=SAMP09.DAT;

POINT INTERPOLATION * * TEST RUN #6: M524V1 INTERPOLATE SELECTED GEOLOGY USE ASSIGNED (ALIAS) COMPOSITE CODES MATCH GEOLOGY CODES = = = = = = = = = = = = = = = = = 2 / # OF COMPS TO DISPLAY KRIGING WTS 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH 1 / 1=ONE GEOLOGIC MATCHING, 0=NONE 1 / MIN # COMPS TO INTERP A BLOCK 23 / ROW# FOR DEBUG 5 / # OF BLOCK GEOL CODES 8 / MAX # COMPS FOR INTERP A BLOCK 750 750 50 / X, Y, Z SEARCH DISTANCES 750 / LIMITING SEARCH DISTANCE 600 / MAX DIST TO CLOSEST PT 250 / MAX DIST TO PROJECT SINGLE COMP VALUE BLOCK LIMIT CODES 1 2 NUG 0.02 EXP 0.10 1200 1200 600 0 0 0 M524 T-CU CALC KRIGE M524 ROCK LIMIT M524 ROCK MATCH MODEL

END 12122 20 30 23 23 20 20

Page 524-22

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 SAMPLE RUN FILE #7


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OG MEDS-524V1 3=RPT524.LG * POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING * USR COM COM COM COM COM COM COM IOP2 IOP3 IOP11 IOP16 PAR1 PAR4 CMD CMD CMD = ABC POINT INTERPOLATION * * TEST RUN #7: M524V1 ** USE LOG TRANSFORMED GRADES ** LIMIT ROCK TYPES ** USE NESTED VARIOGRAM MODEL = = = = = = = = = 2 / # OF COMPS TO DISPLAY KRIGING WTS 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH 23 / ROW# FOR DEBUG 5 / MAX # COMPS TO USE FOR INTERP 750 750 50 / X, Y, Z SEARCH DISTANCES 750 / LIMITING SEARCH DISTANCE NUG 0.01 SPH 0.07 500 500 500 0 0 0 SPH 0.06 900 900 900 0 0 0 9=SAMP09.DAT;

ITM1 = M524 T-CU ALOG KRIGE ITM2 = ROCK OMIT 2 2 END 20 30 23 23 20 20

Revised: 21-Feb-08

Page 524-23

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

M524V1 SAMPLE RUN FILE #8


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OH MEDS-524V1 3=RPT524.LH * POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING * USR COM COM COM COM COM COM IOP2 OP3 IOP7 IOP11 IOP16 IOP21 PAR1 PAR4 PAR7 CMD CMD CMD = ABC POINT INTERPOLATION * * TEST RUN #8: M524V1 ** UNIVERSAL KRIGING ** SELECT ROCK TYPES = = = = = = = = = = = = 2 / # OF COMPS TO DISPLAY KRIGING WTS I 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH 1 / MIN # OF COMPS FOR INTERPOLATION 23 / ROW # FOR DEBUG 5 / MAX # COMPS TO USE FOR INTERP 1 2 3 4 7 9 / ROCK TYPES TO USE 800 800 5 / X, Y, Z SEARCH DIST 600 / LIMITING SEARCH DISTANCE 600 / MAX DIST TO CLOSEST POINT NUG 0.01 SPH 0.14 600 600 600 0 0 0 UNIV KRIG ITEM EAST 9=SAMP09.DAT;

ITM1 = M524 T-CU CALC KRIGE ITM2 = ROCK TABLE 21 26 END 20 30 23 23 20 20

Page 524-24

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

M524V1 SAMPLE RUN FILE #9


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OI MEDS-524V1 3=RPT524.LI * POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING * USR COM COM COM COM COM IOP2 IOP3 IOP11 IOP16 PAR1 PAR4 CMD CMD = ABC POINT INTERPOLATION * * TEST RUN #9: M524V1 STORE KRIGED GRADE AND ESTIMATION ERROR = = = = = = = = 3 / # OF COMPS TO DISPLAY KRIGING WTS 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH 23 / ROW# FOR DEBUG 5 / MAX # COMPS TO USE FOR INTERP 750 750 50 / X, Y, Z SEARCH DISTANCES 750 / LIMITING SEARCH DISTANCE NUG 0.01 SPH 0.14 700 700 500 0 0 0 9=SAMP09.DAT;

ITM1 = M524 T-CU CALC KRIGE ITM2 = M524 X-CU STORE KRIGE ITM3 = M524 MAVG STORE ERROR END 20 30 23 23 20 20

Revised: 21-Feb-08

Page 524-25

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

M524V1 SAMPLE RUN FILE #10


MEDS-524V1 10=SAMP10.DAT 30=SAM524.OJ MEDS-524V1 3=RPT524.LJ * POINT INTERPOLATION - INVERSE DISTANCE VS KRIGING * USR COM COM COM COM IOP2 IOP3 IOP4 IOP7 IOP11 IOP16 IOP21 IOP29 PAR1 PAR4 PAR7 CMD CMD CMD CMD ITM1 ITM2 ITM3 ITM4 ITM5 ITM6 ITM7 ITM8 ITM9 = ABC POINT INTERPOLATION * * TEST RUN #10: M524V1 COMPLEX RUN FILE = = = = = = = = = = = = = = = = = = = = = = = = 2 / # OF COMPS TO DISPLAY KRIGING WTS 1 / 0=2D CIRCULAR; 1=3D SPHERICAL SEARCH 1 / 1=ONE GEOLOGIC MATCHING, 0=NO MATCHING 1 / MIN # OF COMPS FOR INTERPOLATION 23 / ROW # FOR DEBUG 8 / MAX # COMPS TO USE FOR INTERP 3 5 6 8 10 12 15 16 / ACCEPTABLE DH REF#S 17 18 20 21 23 24 28 30 / ACCEPTABLE DH REF#S 750 750 50 / X, Y, Z SEARCH DIST 750 / LIMITING SEARCH DISTANCE 750 / MAX DIST TO CLOSEST POINT SEARCH 800 750 600 90 0 0 BLOCK LIMIT CODES 1 3 4 NUG 0.01 EXP 0.12 1600 1500 1200 0 0 0 M524 T-CU CALC KRIGE M524 ROCK MATCH MODEL M524 ROCK LIMIT ROCK RANGE 1 4 LNGTH RANGE 5.0 50.0 SP.GR OMIT 2.5 5.0 REF# TABLE 21 36 M524 X-CU STORE KRIGE M524 MAVG STORE ERROR 9=SAMP09.DAT;

I-O = 2 / 2=LIST COMPOSITES END 20 30 23 23 20 20

Page 524-26

Revised: 21-Feb-08

MineSight Proprietary Software: Mintec, inc

M524V1-POINT VALIDATION FOR INTERPOLATION

HOW TO DEBUG AN M524V1 RUN


1. The program will list all the composites within the search window of each interpolated row if I-O=2 is specified in the run file. The program will also list all the items in the composite file, the total number of points interpolated for each row, and other debug information. This option is not suggested when interpolating the entire composite data. If IOP2=n, the program will print the location of composites, the distance to the point, and the grades and weights for n interpolated points. If the ellipsoidal search is used, then the 3-D distance calculated between a composite and the block will be the adjusted distance based on the anisotropy ratios. This is the distance that is printed on the output file when the debug option is on. The difference between PAR7 and PAR8 is very subtle. PAR7 is tested at all times. PAR8 is tested only if the number of composites to interpolate the point is equal to IOP7. Five inverse powers are used by the program. By default these powers are: 1.0, 1.5, 2.0, 2.5 and 3.0. The higher the inverse power, the more weight is given to the nearest sample. Do not use composite item labels that conflict with keywords used by the program. If youre using more than one ITM command, number them sequentially, without repetition. Multiple Area Selection Lines are allowed. The program will interpolate the points specified in the first line, then will interpolate the points specified in the second line and so on. The only exception is when ASCII input option is used and the composite data follows the run file. The maximum number of composites that the program can handle for a single row is 2000. If this number is exceeded the program will print an error message and stop interpolating at that row. If this happens, first check if you can decrease the X, Y or Z search distances used by the program. If you can, then try again starting from the row where the program stopped and see if this will solve the problem. If it does not, try to specify fewer columns to interpolate by using multiple Area Selection Lines. The maximum number of composites that the program can handle for a single point is 1500. If this number is exceeded, the program will give an error message and stop interpolating at that point. If this happens, try a similar approach as explained in Step 9. A separate output file can be obtained for use with M525TS if 30=filename appears in the Names Line. See M525TS program documentation on how to further evaluate the point kriging results. ** ERROR ON INTERPOLATION AREA CARD ** will appear if a) the minimum column exceeds the maximum column b) the minimum row exceeds the maximum row, or c) the minimum bench exceeds the maximum bench 13. ** ITEM DEFINITION ERROR MSINL1 ** NO ITEMS HAVE BEEN SET UP TO BE STORED will appear if you do not specify any ITMn lines that will store data in the model file.

2.

3.

4.

5.

6. 7. 8.

9.

10.

11.

12.

Revised: 21-Feb-08

Page 524-27

M524V1-POINT VALIDATION FOR INTEROLATION

MineSight Proprietary Software: Mintec, inc.

14.

*** MSINL1 ERROR: PAR xx NOT ENTERED will appear if PAR1-4 are not entered.

15.

*** MSINLZ ERROR: MORE THAN 2 POLYG ITEMS will appear if you specify more than two ITMn = CALC POLYG lines.

16.

** MSINLZ ERROR: MORE THAN 2 GEOL ITEMS will appear if you specify more than two items for geology matching.

17.

** M524V1 WARNING. You can only check for duplicate points on blasthole projects. IOP21 is being reset to 0. IOP21 is applicable to blasthole projects only. There is no need to check for duplicate composites on non-blasthole projects. If you try to activate IOP21 for a non-blasthole project it will be reset to zero and the program will continue normally.

18.

There are 15 columns (fields) of information in the output file (30=) for M525TS. These columns are Ref. number, Northing, Easting, Elev. (or Seam), Number of Points, Actual value, IDW estimates (5 different powers), Kriging estimate, Kriging variance, the sum of the kriging weights X covariances, and the number from the previous column plus the Lagrange Multiplier. Also check the MineSight error messages in the Appendix.

19.

Page 524-28

Revised: 6-May-09

MineSight Proprietary Software: Mintec, inc.

M525TS-INTERACTIVE EVALUATION OF PT VALIDATION

M525TS INTERACTIVE EVALUATION OF POINT VALIDATION

PROGRAM SUMMARY
M525TS is used to evaluate point validation results from M524V1. The program outputs a statistical analysis of the data and histograms for specified items. It can also be used to analyze any other file of assay or composite data.

REQUIREMENTS AND CONSIDERATIONS


M525TS is used to evaluate point interpolation results from M524V1. It can also be used to evaluate other ASCII data. The output consists of statistical analysis of the input data and histograms of the requested items. Either the items alone or the difference between any of the two can be evaluated. If two items are selected, the program generates the statistics for these items and their differences. The program will try to fit a straight line through the data, using least square regression, to see how these two items are correlated. The correlation results are then output.. Currently, up to eight different items and a maximum of 16,000 samples are allowed for input in a single run. The program also has an option for a scatter graph on a printer or plotter. A scatter graph can be useful to visually display how two items, such as the actual and the estimated grade, compare with each other. If the printer option is used, then the number of samples at each interval is displayed by a number or letter symbol on the graph. Because of the size of the characters in printer output, the graph is rectangular instead of square. However, it reasonably demonstrates how the samples are distributed and it is good for a quick look at the results. A more accurate display can be obtained using the scatter plot option where each sample is plotted at its exact corresponding value. If this option is used, the scatter plot commands are output to a specified file for plotting later with M122V1.

PROGRAM FLOW DIAGRAM


RUN FILE: - Interactive keyboard entry

INPUT: - ASCII file of samples for statistical analysis

CALCS: - Simple statistical analysis - Histogram calculations - Correlation between items - Least square regression

OUTPUT: - M122 plot file - Printer Output file

Revised: 29-May-01

Page 525-1

M525TS-INTERACTIVE EVALUATION OF PT VALIDATION

MineSight Proprietary Software: Mintec, inc.

Page 525-2

Revised: 29-May-01

MineSight Proprietary Software: Mintec, inc.

M525TS-INTERACTIVE EVALUATION OF PT VALIDATION

M525TS INTERACTIVE EVALUATION OF POINT VALIDATION


INTERACTIVE OPERATION
1. 2. MEDS M525TS <ENTER> on the PC or m525ts <ENTER> on the Sun. * ENTER PROJECT CONTROL FILE NAME Enter the name of the Project Control File. 3. * ENTER PRINT FILE NAME OR <ENTER> Enter a filename for printer output or <ENTER> if you want the default print file (FOR003.DAT on most computers). 4. ** PLEASE ENTER YOUR USER CODE: Enter up to four characters for your initials: 5. ENTER INPUT FILE NAME: Enter the name of the input file (normally this file is output from M524V1). 6. ENTER THE FORMAT ENCLOSED WITH ( ) OR <ENTER> The default format is (37X, 7F8.0, F9.5). <ENTER> if your input file is from M524V1; otherwise, enter the necessary format to read the data. If you are using the default format, the program will go the Step 9; otherwise, it will go to Step 7. 7. ENTER # OF ITEMS FOR EVALUATION: Enter the number of columns of information you want to read (max=8). 8. ENTER LABEL FOR ITEM# 1: Enter the label of the first item to read(max = 10 characters). The label entered is for display only. It should describe the column of information being read. The program will repeat Step 8 as many times as the number of items entered at Step7, then it will go to Step 10.

Revised: 6-June-01

Page 525-3

M525TS-INTERACTIVE EVALUATION OF PT VALIDATION

MineSight Proprietary Software: Mintec, inc.

9.

ENTER THE VARIABLE LABEL OR <ENTER>: Enter the label of the composite data file item used in point kriging. This label is optional if one item is kriged; otherwise, it must be specified so that the program will read the correct item. This label is also used for display in output; therefore, it is recommended.

10.

ENTER MIN AND MAX VALUES ACCEPTABLE FOR ITEM# 1 OR <ENTER>: Enter the minimum and maximum values for the controlling item. Defaults are 0.0 and 99999.0. NOTE: At this point, the program will display a table of the items used and summary statistics. Use the information in this table as a guide to select histogram and scatter plot parameters.

11.

ENTER # TO EVALUATE A SINGLE ITEM # # TO EVALUATE DIFFERENCE BETWEEN 2 ITEMS <ENTER> TO END THE PROGRAM RUN: Enter the selected item number(s). Each item number is displayed in the summary table on the screen.

12.

ENTER # OF INTERVALS, STARTING VALUE AND INCREMENT FOR HISTOGRAM OR <ENTER>: Enter parameters for the histogram or <ENTER> for defaults. Default values are as follows: First histogram: # of intervals = 15 starting value = 0. the increment is computed

All other histograms, the previously assigned parameters are used. NOTE: Maximum number of intervals allowed is 50. If a single item was selected at Step 11, the program will output the histogram and go back to Step 11. Otherwise it will go the following step. 13. SCATTER GRAPH OPTIONS: 0 OR <ENTER> SKIP IT 1 ON PRINTER 2 ON PLOTTER 3 BOTH PRINT AND PLOT Enter your selection. The program will go to Step 11 if 0 or <ENTER> is entered.

Page 525-4

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

M525TS-INTERACTIVE EVALUATION OF PT VALIDATION

14.

ENTER MIN AND MAX VALUES FOR SCATTER GRAPH OR <ENTER>: NOTE: If <ENTER> is entered, default values are used or values from previous graph are assigned. Enter the minimum and maximum values for X and Y axes of the scatter graph. Suggestion: Try to enter (MAXMIN) divisible by 5 for a reasonable looking plot. This question will appear only if you selected option 1 or 3 at Step 13. If your option is 1, then the program will go to Step 11. Otherwise, it will go the next step.

15.

ENTER MAX VALUE FOR SCATTER PLOT (M122) OR <ENTER>: Enter the maximum value of the X and Y axes of the scatter plot. This question will appear only if your selection at Step 13 is 2 or 3. The program will go to Step 11 if an <ENTER> or a negative value is entered. Otherwise the program will go to the next step.

16.

ENTER PLOT FACTOR OR <ENTER>: The default plot size is 5.0" X 5.0 for a factor of 1. <ENTER> to use a plot factor of 1. You may increase or reduce the size of the plot by entering a factor other than 1.0

17.

ENTER OUTPUT PLOT FILE NAME OR <ENTER>: Enter the name of the file to which scatter plot commands will be written. This file is an ASCII file and may be plotted by M122V1 by using a USERF <filename> in the run file. NOTE: If you <ENTER> instead of specifying a file name, the output is written to unit 30. The default filenames differ depending on platform.

The program then returns to Step 11.

Revised: 6-June-01

Page 525-5

M525TS-INTERACTIVE EVALUATION OF PT VALIDATION

MineSight Proprietary Software: Mintec, inc.

M122V1 SAMPLE RUN FILE FOR SCATTER PLOT


MEDS122V1 10=SAMP10.DAT * SAMPLE PROJECTSCATTER PLOT * USR = ABC MAP = 0 10 1 0 10 1 END PEN #1 USERF PLT525.TST ENDOC 3=RPT122.LA

HOW TO DEBUG AN M525TS RUN


1. There is no debug option in M525TS. The program will give the appropriate error messages or stop if the input is in error. For example, if the input file entered during the program run does not exist, the program will give the appropriate message and ask for the input filename again. Similarly, if the input format is wrong, the program will ask for the format again. If the format is entered wrong several times, the program will stop with a format error message. Check the MineSight error messages in the Appendix.

2.

Page 525-6

Revised: 6-June-01

MineSight Proprietary Software: Mintec, inc.

TECHNICAL SECTION 500

CALCULATION OF COMPOSITES
Limiting Angle Two types of fixed length composites can be calculated with M501V1: vertical and horizontal. The limiting angle controls which method is used for a hole. By default, the limiting angle is: Limiting Angle = ARCTAN (DZ/DX) where DZ = PCF Bench Height DX =PCF E-W direction Block Size NOTE: If you choose a non-default limiting angle in M501V1 (PAR4), then you must remember to include this value in your M505V1 (PAR1) and M516V1 (PAR13) runfiles.

Vertical Composites If the dip angle of a drillhole is greater than the limiting angle, a vertical composite is calculated. The vertical bench height (DZ) is used as the control for compositing. The weight used in compositing is the calculated vertical length of each sample interval, not the slope length of the interval. Horizontal Composites When the dip angle of a drillhole is less than the limiting angle, a horizontal composite is calculated. This prevents long vertical composites being generated for near-horizontal drillholes. The E-W direction block size (DX) is used as the control for compositing. The weight used in compositing is the calculated horizontal length of each sample interval, not the slope length of the interval. Once the compositing calculation is begun with either the vertical or horizontal method, it will be used for the entire hole regardless of subsequent surveys. There may be times when you will want to specify a limiting angle to prevent horizontal compositing of a few holes that are close to, but less than the default angle. You should check for any holes that have surveys that are close to the limiting angle and decide if they should be composited horizontally or vertically.

Revised: 8-November-01

Page TEC500-1

TECHNICAL SECTION 500

MineSight Proprietary Software: Mintec, inc.

Note about using the DHID option in the composite file (File 9) without the survey file (File 12): Starting with the 2001 update you can store drillhole labels with composites in files 9 and 8. To use this option, you must reserve two full-word items in file9. By default, MineSight programs expect those items to be named DHID1 and DHID2, but you can name them differently. These items are similar to DLAB1 and DLAB2 in the survey file (File 12). To initialize a full-word item enter min = max = 0., and precision = 1. NOTE: A 10-character drillhole ID is coded and packed into two words. The actual DH ID can be retrieved only programmatically, and you must direct MineSight programs to retrieve DHID from file9. The option to use DHID from file9 directly was added to all the relevant procedures.

Page TEC500-2

Revised: 8-November-01

MineSight Proprietary Software: Mintec, inc.

TECHNICAL SECTION 500

NOTES FOR M508V1 DRIVER PROGRAM


M508V1 calls the user routine USR508 as follows:

CALL USR508 (NTRY,IDHN), where 1. NTRY is an integer argument specifying entry control as follows: NTRY=1 for subroutine initialization. The call is made after program initialization but before any drillhole data is accessed. NTRY=2 for each drillhole interval within the current survey data unit. Interval data is subject to ITM restrictions as are survey data units. Collar survey data units are also subject to boundary restrictions. NTRY=3 for user calculations at the end of a survey data unit. NTRY=4 for user calculations at the end of all survey data units for the current drillhole. NTRY=5 for user calculations at the end of all drillholes (or end of run). NTRY=6 same as NTRY=2 but in the optional second pass of the data. It follows an NTRY of 4 for each drillhole. NTRY=7 same as NTRY=3 for the optional second pass. NTRY=8 same as NTRY=4 for the optional second pass. 2. IDHN is an integer argument containing the current drillhole reference number. IDHN is zero for NTRY=l and NTRY=5.

Revised: 6-September-06

Page TEC500-3

TECHNICAL SECTION 500

MineSight Proprietary Software: Mintec, inc.

In addition to other system common blocks, the following common block data is available: /BUF/B12(1024), B09(1024) 1. B12 is an array containing the File 12 record in which the current survey data unit is located. See the /USR/ common block for information of addressing data units. B09 is an array containing the File 9 record in which the current interval data unit is located. Most words in B12 are accessible directly although you may have to equivalence a floating point array to avoid conversion problems. File 9 data is usually packed in array B09 so, unless you understand MineSight packing schemes, you are advised to keep your paws off this array. /USR/K09GET, L09GET, K09PAK, L09PAK, LOC09, J09, K09, L09, K12GET, L12GET, K12PAK, L12PAK, LOC12, J12, K12, L12 1. K09GET is the integer subscript for information in the ITM common block for the first File 9 GET item. Arrays of interest are ITM(3,99), RDAT(99) and IDAT(99). L09GET is the subscript for the last File 9 GET item. K09PAK is the subscript for the first File 9 PAK item. L09PAK is the subscript for the last File 9 PAK item. If you use UPD09 in your run file, then GET subscripts will fall within the range of the PUT subscripts. LOC09 is the base subscript of the current interval data unit and is addressed by B09 (LOC09 + 1). J09 is the current File 9 data unit number. K09 is the first data unit number of interval data for the current survey data unit. L09 is the last data unit number for the current survey data unit.

2.

2. 3. 4.

5. 6. 7. 8.

THE REMAINING INTEGERS ARE THE SAME AS ABOVE BUT APPLICABLE TO File 12.

Page TEC500-4

Revised: 8-November-01

S-ar putea să vă placă și