-
Notifications
You must be signed in to change notification settings - Fork 169
Rules from the Log ASCII Standards
Kent Inverarity edited this page Dec 10, 2019
·
9 revisions
- Filename ends with ".las" (if loaded from a file)
- Last section in file is the data
~Asection (also on line 424) -
~must be the first non-space and non-quotation character in a file - Uppercase characters immediately following a
~are "reserved for use by the committee" AKA no custom sections -
#can appear as the first non-space and non-quotation character on any line above the data section, and will then be treated as a comment line - The
~Vsection must exist - The
~Vsection should be the first in a file <- RECOMMENDATION ONLY - The
~Vsection must have aVERSitem containing fixed content - The
~Vsection must have aWRAPitem containing fixed content - If unwrapped, the maximum line length in the entire file is 256 characters including
\rand\n(also lines 430 to 432) - If wrapped, the depth value in the data section will be on its own line (also line 434)
- If wrapped, all lines will be <= 80 chars including
\rand\n(also line 436) - The
~Wsection must exist - A
STRTitem must exist in the~Wsection - A
STOPitem must exist in the~Wsection - A
STEPitem must exist in the~Wsection - If
START's value is greater thanSTOP's value, thenSTEPmust have a minus sign - If the increment between depth values in the data section is variable then
STEPshould be zero - A
NULLitem must exist in the~Wsection - A
COMPitem must exist in the~Wsection - A
WELLitem must exist in the~Wsection - A
FLDitem must exist in the~Wsection - A
LOCitem must exist in the~Wsection - Either
PROVor all ofCNTY,STAT, andCTRYitems should be in the~Wsection (or both? ambiguous) - A
SRVCitem must exist in the~Wsection - A
DATEitem must exist in the~Wsection - Either a
UWIorAPIitem must exist in the~Wsection - The
~Csection must exist - All curves in the
~Csection should exist in the data section - Each column in the data section should be separated by at least one space (rules out CSV and TSV formats)
- In wrapped mode, decimal points must be vertically aligned in the data section
- Exponents are not permitted in the data section
- Only the ASCII characters 10, 13 and 32-126 inclusive are permitted (others should be converted to spaces)
- Line termination should be ASCII 13 ASCII 10
- The data section should contain a continuous interval i.e. no repeat sections in the same file
- Filename ends with ".las" (if loaded from a file)
- Sections begin with a tilde as the first non-space character and are defined by the following character. Only one permitted per file. (and lines 159-168)
- Any customer defined sections - i.e. not
V,W,C,P,O, orA- must be after the~Vsection but before the~Asection - Comment lines with
#as the first non-space character can occur anywhere above the~Asection - Every non-comment line in the
~V,~W,~Cand~Psections must contain at least a period, space, and colon in that order - Every non-comment line in the
~V,~W,~Cand~Psections must not contain a colon before the first period - Every non-comment line in the
~V,~W,~Cand~Psections must only contain spaces at the start and end of the mnemonic, not in the middle - Every non-comment line in the
~V,~W,~Cand~Psections: any characters immediately following the first period in the line are the unit, and these cannot contain a colon - Every non-comment line in the
~V,~W,~Cand~Psections: any characters after the first space following the first period are the data, and must be to the left of the last colon in the line - ambiguous what "to the left" means - one space? - The
~Vsection must exist - The
~Vsection must be the first section - Note this is a requirement whereas in LAS 1.2 it was a recommendation. - The
~Vsection must have aVERSitem containing fixed content - The
~Vsection must have aWRAPitem containing fixed content - If wrapped, all lines will be <= 80 chars including
\rand\n