Home › How-to guides

How to use the Sample Tracking & Chain of Custody – Labels and Barcodes

Free · works offline · no sign-up

Give every sample an ID, barcode and position with an unbroken custody record, then print labels and a lab submission form. Free.

What it is (start here)

When you take a piece of rock, soil or water away to study, it is a sample. This page gives each sample a name tag and a label, remembers where and when you took it, and keeps the list of everyone who has held it: the chain of custody.

What you need

Your phone; a printer for labels if you want them (plain paper works).

How to use it

  1. Set the project code and your name. IDs come out as CODE-YY-0001 and are never given out twice.
  2. At the site, choose the type, then say whether it is a grab or composite sample, how many containers, the analyses requested and the preservation, and tap CREATE SAMPLE.
  3. Print labels: ID, barcode, QR, and grab/composite, preserved or not, and the analyses.
  4. When samples leave your hands, use Ship a batch: one sealed custody entry per sample and a manifest listing containers and analyses to go in the box.
  5. Export: lab sheet CSV, custody log, SESAR / IGSN (a batch registration template laid out as SESAR's Batch Registration Quick Guide v7 gives it: Object Type and your User Code in row 1, the guide's column names in row 2, one file per object type; or a worksheet in the current vocabulary, or classic columns), Darwin Core, the sample sites as GeoJSON or KML, or an AGS4 file (samples, locations and custody transfers) for geotechnical and environmental labs; its LOCA_LAT and LOCA_LON are in the AGS type DMS (degrees:minutes:seconds such as 34:03:04.444, minus for south and west, as in the AGS 4.1.1 dictionary and the AGS validator) with LOCA_LLZ WGS84. Import reads this page's CSV, a SESAR batch template or worksheet, a Darwin Core CSV, a GeoJSON of sample sites, a KML (this page's, or placemarks from Google Earth, QGIS or a GPS app with a time in a "collected" field or TimeStamp; placemarks without a point or a time are listed, not added) or an AGS4 file back (an AGS4 file from other software gives positions from LOCA_LAT/LOCA_LON when LOCA_LLZ is WGS84 or empty); samples already on the phone are skipped and each imported sample says which file it came from.

Reading the answer

The QC check lists samples with no position, custody not yet passed on, the QC rate, and any missing EPA custody element (grab or composite, containers, analyses, station; EPA Region 4 FSBPROC-005-R6). Each custody entry is sealed with SHA-256, so a later change shows as a broken chain. A typed name is not a legal signature.

How much sample is enough? (Gy's sampling error)

A bag of crushed rock never holds exactly the same share of ore grains as the pile it came from. The card How much sample is enough? works out that chance error, called the fundamental sampling error, with Pierre Gy's formula: relative variance = c f g l d³ (1/sample mass − 1/lot mass), where d is the largest piece in cm (95 % passing), c comes from the mineral's content and density, f is the shape factor (0.5 for most ores), g the size-range factor (0.25 for crushed, unsorted material) and l the liberation factor, (liberation size / d)b.

  1. Type the mineral content (as a fraction, %, ppm, or an element % converted with the molar masses), the mineral and gangue densities, f, g, the liberation size and b.
  2. List each stage the sample goes through, one per line: mass in grams and largest piece in cm, for example "20000 0.475" then "2000 0.475" (a split) then "2000 0.071" (crushed). Crushing adds no error; each split adds some.
  3. Press Work out the error: a table of every stage, the error each split adds, the total, and a nomogram. Splits above your limit (5 % by default) are shown in red. Two quick answers: How much sample? for a top size and target error, and How fine to crush? for a mass and target error.
  4. Save the protocol as CSV and open it again later. The card's self-test repeats the published molybdenite example of Neufeld's Guide to Sampling (University of Alberta CCG Guidebook 2, section 12): fundamental error 6.85 %, whole-sample error 9.69 %.

It covers only the fundamental error of correct sampling. Poor splitting, segregation and contamination add to it, which is why the guide doubles the variance for the whole sample. The liberation size and b must be calibrated on your own ore.

Not possible here

Open the Sample Tracking & Chain of Custody – Labels and Barcodes — free →

More how-to guides

How to use the Rock Mass Rating, Q-System & Kinematic AnalysisHow to use the Rock Strength – Point Load Index (ISRM)How to use the Safe Beach Walk Tide Window, Waves & Beach FindsHow to use the Seismic Refraction & Resistivity CalculatorHow to use the Slope Stability – Factor of Safety & Bishop MethodHow to use the step-by-step gem test

All how-to guides →