Metafile Record Hierarchy

The record types recognised are presented in an alphabetical order here and their tokens (fields) are detailed in the Records and Tokens section.

EOF:

HAS_CUMFLG:

HAS_FRC_RD:

HAS_SAM_RD:

HAS_SAMYLD:

HOLE_REC:

INTERCEPT:

PLY_MATCH:

SEAM:

SEAM_MATCH:

SIZE_FRAC:

SIZE_RANGE:

VARIABLE:

VARIABLES:

VERSION:

WASH_END:

WASH_LINE:

WASH_START:

The first record types seen on the file occur just once at the beginning and have a linear relationship. They are used for system setup and describe what is to be expected in the following data section:

Relationship

Record Type

Description

First MUST be

VERSION:

Washability version number (metafile version)

Next may be

SEAM_MATCH:

Horizon name match—only present when using a string match for names

Next may be

PLY_MATCH:

Ply name match—only present when using a string match for names and if the data set contains ply information (for which it also acts as a flag)

Next may be

SIZE_RANGE:

Contains passing and holding sieve sizes if using size match information (for which it also acts as a flag)

Next MUST be

VARIABLES:

The number of variables (N) for which there is measured data in the wash data tables contained in this file

Next N MUST be

VARIABLE:

One record for each of the N variables for which there is measured data

Next MUST be

HAS_SAM_RD:

Flag to indicate whether or not using data contains sample raw RD

Next MUST be

HAS_SAMYLD:

Flag to indicate whether or not using data contains sample yield (likely only if using sizes)

Next MUST be

HAS_CUMFLG:

Flag to indicate whether wash table will have a flag character to indicate if it is cumulative or fractional

Next MUST be

HAS_FRC_RD:

Flag to indicate whether or not using a density fraction RD column in wash table

Next MUST be

TABLE_ENDS:

Flag to indicate whether or not WASH_START: sink and WASH_END: float densities will be shown as 0.0 (TRUE) or <blank> (FALSE)

The final setup fields contain format information, which must all be present even if not used.

Relationship

Record Type

Description

Next MUST be

SIZE_FMT:

Format of size field in resultant standard database

Next MUST be

COORD_FMT:

Format of coordinate fields in resultant standard database

Next MUST be

COLLAR_FMT:

Format of collar level fields in resultant standard database

Next MUST be

DEPTH_FMT:

Format of depth fields in resultant standard database

Next MUST be

SEAM_FMT:

Format of seam field in resultant standard database

Next MUST be

PLY_FMT:

Format of ply field in resultant standard database

Next MUST be

HOLEID_FMT:

Format of hole ID field in resultant standard database

Next MUST be

SAMPID_FMT:

Format of sample ID field in resultant standard database

Next MUST be

SAMYLD_FMT:

Format of sample yield field in resultant standard database

Next MUST be

RAWRD_FMT:

Format of raw RD field in resultant standard database

Next MUST be

FLSKRD_FMT:

Format of float/sink RD fields in resultant standard database

Next MUST be

YIELD_FMT:

Format of yield field in resultant standard database

The records following this first section have a repeated relationship. There will be a group of records for each drill-hole represented in the data. For each hole record ( HOLE_REC: ), there will be one or more seam records ( SEAM: ). For each seam record, there will be one or more intercept records ( INTERCEPT: ). Each intercept may be divided into one or more size-fractions ( SIZE_FRAC: ). For each intercept (or size fraction if used), there is one or more wash tables (there can be more than one repeat wash analysis for any intercept/size-fraction). The wash tables will be defined by three records types—one WASH_START: record, 0–n WASH_LINE: records, and one WASH_END: record. The file will end with an EOF: record.

Relationship

Record Type

Description

Next MUST be

HOLE_REC: New hole start

Next MUST be

SEAM: New seam in current hole

Next MUST be

INTERCEPT: New intercept in current seam
Next MUST be SIZE_FRAC: New size fraction of current intercept
Next MUST be WASH_START: Start of wash table for current intercept or size fraction
Next MUST be one of WASH_LINE: Next line of current wash table—repeat until WASH_END:
WASH_END: Last line of current wash table
Next may be any of these but MUST be one of them
(repeat the logic to relevant line above)
WASH_START: Start of another wash table for current intercept/size-fraction
SIZE_FRAC: Next size fraction for current intercept
INTERCEPT: Next intercept for current seam
SEAM: Next seam for current hole
HOLE_REC: Next hole

EOF:

End of data file (finished)