las2witsml – Convert Log ASCII Stanfard (LAS) files to WITSML <log> objects.
Use this script to convert LAS files to WITSML logs. The script attempts to be forgiving of some commonly encountered variations. It can process most LAS v2 and v3 files.
Usage: las2witsml [-n name] [-u uid] [-b uid] [-l uid] [-x version] [-h] [-v] lasfile
-n, --namelog name Name to give the WITSML log; default 'Untitled'
-u, --uidwell uid WITSML uid of the containing well
-b, --uidwellbore uid WITSML uid of the containing wellbore
-l, --uidlog uid WITSML uid to assign the log
-x, --version version WITSML version to emit, either 1.3.1 or 1.4.1; default 1.4.1
-v, --verbose Emit diagnostic output on stderr
-h, --help Show this message
Example: las2witsml -x 1.3.1 -u W1 -b B1 -l L1 -n Unnamed lasfile.las
License: Apache 2.0
History:
12 Jun 2012 – gemified existing code and initial commit. (0.1.1) 14 Jun 2012 – proper return values to shell: 0 success, 1 failure. (0.1.2)