-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
179 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
~VERSION INFORMATION | ||
VERS . 1.2: CWLS LOG ASCII STANDARD -VERSION 1.2 | ||
WRAP . NO: ONE LINE PER DEPTH STEP | ||
~WELL INFORMATION BLOCK | ||
#MNEM.UNIT DATA TYPE INFORMATION | ||
#--------- ------------- ------------------------------ | ||
STRT.M 1670.000000: | ||
STOP.M 1660.000000: | ||
STEP.M -0.1250: | ||
NULL. -999.2500: | ||
COMP. COMPANY: # ANY OIL COMPANY LTD. | ||
WELL. WELL: ANY ET AL OIL WELL #12 | ||
FLD . FIELD: EDAM | ||
LOC . LOCATION: A9-16-49-20W3M | ||
PROV. PROVINCE: SASKATCHEWAN | ||
SRVC. SERVICE COMPANY: ANY LOGGING COMPANY AT ALL!!!! | ||
DATE. LOG DATE: 25-DEC-1988 | ||
UWI . UNIQUE WELL ID: 100091604920W300 | ||
~CURVE INFORMATION | ||
#MNEM.UNIT API CODE CURVE DESCRIPTION | ||
#--------- ------------- ------------------------------ | ||
DEPT.M : 1 DEPTH | ||
DT .US/M : 2 SONIC TRANSIT TIME | ||
RHOB.K/M3 : 3 BULK DENSITY | ||
NPHI.V/V : 4 NEUTRON POROSITY | ||
SFLU.OHMM : 5 RXO RESISTIVITY | ||
SFLA.OHMM : 6 SHALLOW RESISTIVITY | ||
ILM .OHMM : 7 MEDIUM RESISTIVITY | ||
ILD .OHMM : 8 DEEP RESISTIVITY | ||
~PARAMETER INFORMATION | ||
~Other | ||
~A DEPTH DT RHOB NPHI SFLU SFLA ILM ILD | ||
1670.000 123.450 2550.000 0.450 123.450 123.450 110.200 105.600 | ||
1669.875 123.450 2550.000 0.450 123.450 123.450 110.200 105.600 | ||
1669.750 123.450 2550.000 0.450 123.450 123.450 110.200 105.600 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 3, | ||
"metadata": { | ||
"collapsed": true | ||
}, | ||
"outputs": [], | ||
"source": [ | ||
"import lasio\n", | ||
"\n", | ||
"from cStringIO import StringIO" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 12, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"outputs": [], | ||
"source": [ | ||
"\n", | ||
"def test_write_sample_empty_params(s):\n", | ||
" l = lasio.read(\"/home/dewnrgeophysics/software/lasio/lasio/test_examples/sample_write_empty_params.las\")\n", | ||
" l.write(s, version=2)\n", | ||
" return s" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 13, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"outputs": [], | ||
"source": [ | ||
"s = test_write_sample_empty_params(StringIO())" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 16, | ||
"metadata": { | ||
"collapsed": false | ||
}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"~Version ---------------------------------------------------\n", | ||
"VERS. 2.0 : CWLS log ASCII Standard -VERSION 2.0\n", | ||
"WRAP. NO : ONE LINE PER DEPTH STEP\n", | ||
"~Well ------------------------------------------------------\n", | ||
"STRT.M 1670.0 : \n", | ||
"STOP.M 1669.75 : \n", | ||
"STEP.M -0.125 : \n", | ||
"NULL. -999.25 : \n", | ||
"COMP. # ANY OIL COMPANY LTD. : COMPANY\n", | ||
"WELL. ANY ET AL OIL WELL #12 : WELL\n", | ||
"FLD . EDAM : FIELD\n", | ||
"LOC . A9-16-49-20W3M : LOCATION\n", | ||
"PROV. SASKATCHEWAN : PROVINCE\n", | ||
"SRVC. ANY LOGGING COMPANY AT ALL!!!! : SERVICE COMPANY\n", | ||
"DATE. 25-DEC-1988 : LOG DATE\n", | ||
"UWI . 100091604920W300 : UNIQUE WELL ID\n", | ||
"~Curves ----------------------------------------------------\n", | ||
"DEPT.M : 1 DEPTH\n", | ||
"DT .US/M : 2 SONIC TRANSIT TIME\n", | ||
"RHOB.K/M3 : 3 BULK DENSITY\n", | ||
"NPHI.V/V : 4 NEUTRON POROSITY\n", | ||
"SFLU.OHMM : 5 RXO RESISTIVITY\n", | ||
"SFLA.OHMM : 6 SHALLOW RESISTIVITY\n", | ||
"ILM .OHMM : 7 MEDIUM RESISTIVITY\n", | ||
"ILD .OHMM : 8 DEEP RESISTIVITY\n", | ||
"~Params ----------------------------------------------------\n", | ||
"~Other -----------------------------------------------------\n", | ||
"~ASCII -----------------------------------------------------\n", | ||
" 1670 123.45 2550 0.45 123.45 123.45 110.2 105.6\n", | ||
" 1669.9 123.45 2550 0.45 123.45 123.45 110.2 105.6\n", | ||
" 1669.8 123.45 2550 0.45 123.45 123.45 110.2 105.6\n", | ||
"\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"s.seek(0)\n", | ||
"print s.read()" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"metadata": { | ||
"collapsed": true | ||
}, | ||
"outputs": [], | ||
"source": [] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 2", | ||
"language": "python", | ||
"name": "python2" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 2 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython2", | ||
"version": "2.7.6" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 0 | ||
} |