ISKRIT / engineering reference ← to reference

From an AGS4 file to a laboratory summary: what the groups carry

Updated: 2026-08-13 · ISKRIT

An AGS4 file from a laboratory is not a report. It is a set of linked tables, and turning it into a summary means walking those links correctly. Most of the work is in the links, not in the numbers.

The chain

Every laboratory result hangs off a chain: the location group holds the borehole, the sample group holds the sample taken from it at a depth, and each test group holds results referenced to that sample. Break any link and the result is orphaned: a plasticity index with no depth, or a grading curve belonging to a borehole that is not in the file.

LevelWhat it identifiesWhat breaks
Locationthe borehole or pittests reference a location not present in the file
Sampletype, top depth, referencetwo samples sharing a reference at different depths
Testthe result and its methodresults with no method, so no basis to compare them
Test detailthe individual readingsa curve with points but no test header

Where summaries go wrong

The first failure is unit assumptions. A field carrying moisture content as a percentage in one file and as a fraction in another produces a summary that is out by a factor of a hundred and looks entirely plausible on a chart with auto-scaled axes.

The second is duplicate sample references. Laboratories reissue files, and a merged set can hold the same sample reference twice with different results. Silently taking the last one is how a superseded result reaches a report.

The third is partial tests. A grading with no hydrometer stage stops at 0.063 mm, and a summary that computes d10 from it is extrapolating past the data without saying so.

What a summary should carry alongside the number

The test method, the sample type, and the count of results behind each statistic. A mean plasticity index over eleven samples and over two samples are both a number in a cell, and only one of them supports a design decision.

Grouping by unit, not by borehole

Results are collected per borehole because that is how they were sampled, but they are used per geotechnical unit. The regrouping step is where a mismatch surfaces: a unit whose samples come from a single borehole is not characterised, however many tests were run on them.

The AGS4 laboratory tool walks the location, sample and test chain, reports orphaned and duplicated references before it computes anything, and shows the count behind every statistic in the summary.

More in the reference:
Rotating shift patterns: covering the posts and balancing the hours
Calibration intervals: setting them, shortening them, defending them
Turning an estimate into a bill of quantities that foots
Progress billing: percent complete, carry-forward and retention
Checking claimed quantities: the design schedule and the survey
Pile capacity from CPT: how the LCPC method reads a cone trace
Driven and bored piles: why the same soil gives different capacity
What belongs on a borehole log, and what quietly gets left off
Drawing a cross section: correlating layers between boreholes
Characteristic values: turning a set of test results into one number
Void ratio, porosity and saturation from one density test
When one soil layer is really two: splitting geotechnical units
ASTM D4253 and D4254: maximum and minimum index density
Relative density Dr and density index Id are not the same number
USCS classification step by step: ASTM D2487
Cu and Cc: what the two gradation coefficients actually tell you
Dual symbols in USCS: the 5 to 12 percent fines band
EN ISO 14688-1 against USCS: two different size ladders
AGS4 file validation: what the rules actually check
AGS4 syntax: the five rules that break a delivery
ASTM D2435 oedometer test: from the curve to Cc, mv and Eoed
Converting oedometer modulus to Young’s modulus
EN ISO 17892-5 and ASTM D2435: where the two diverge
ASTM D1196 plate load test: modulus and subgrade reaction
DIN 18134: Ev1, Ev2 and the compaction ratio
Ménard pressuremeter modulus: ASTM D4719 and EN ISO 22476-4
Permeability from a pumping test: the Dupuit formulas
Shewhart control chart constants: A2, A3, B3, B4, D3, D4, d2, c4
The eight out of control tests on a Shewhart chart
Repeatability and reproducibility limits: where 2.77 comes from
How rebar cutting plans are optimised: the cutting stock problem
Cutting waste in rebar fabrication: what percentage is normal
Rebound hammer calibration: why the factory curve is not enough
Kerf and offcut: what a linear cutting plan has to account for
Earthwork volume from survey points: grid, TIN and cross sections
Fire load density: the formula, the calorific values and the traps
Explosive atmosphere zones 0, 1, 2 and 20, 21, 22 explained
Pollution charges per tonne: how the over-limit multiplier works
The Russian environmental fee: who pays, when, and how the advances work