What Trench Validation checks for

  1. The TRENCH trace file and the Trench ASSAY input files are checked for the following:

Compulsory fields:

TrenchID, East, North and Z fields exist in the TRENCH file.

Compulsory fields:

From and To fields exist in the ASSAY file.

Consistency:   

TrenchID is present in TRENCH, but not in ASSAY.

Consistency:   

TrenchID is present in ASSAY, but not in TRENCH.

Consistency:   

Total trace length < total sample length.

2. The TRENCH file is checked for the following:

Duplicate values:

The same TrenchID occurs more than once (While the same ID could be used for consecutive records, if the same ID occurs for non-consecutive records, then there is a chance that trenches repeat in the input file).

Duplicate values:

East, North and Z are repeated for the same TrenchID.

Missing values:

TrenchID is absent.

Missing values:

East, North or Z is missing.

Missing data:

Trench trace consists of 1 point only.

3. The trench ASSAY file is checked for the following:

Duplicate values:

The same TrenchID occurs more than once (While the same ID could be used for consecutive records. If the same ID occurs for non-consecutive records,  then there is a chance trenches repeat in the input file.

Missing values:

The TrenchID is absent.

Missing values:

FROM or TO is missing

Invalid values:

FROM >= TO

Invalid data:

Gaps between sample intervals.

Invalid data:

Overlapping sample intervals.

Invalid data:

From does not start from 0 m.

Invalid data:

From/To interval centre beyond end of trace.

A validation error is triggered when the centre point of the last assay interval is located beyond the trace end.

Duplicate intervals:

From and To are repeated for the same TrenchID.