las_reader 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 716fbe55463ef6f99da6a30d6ae508fc44da15ec
4
+ data.tar.gz: e43a769aa0792e593f8672edd0e48777f02d6b00
5
+ SHA512:
6
+ metadata.gz: cda5e2b1cfbbf3278e9b16c3c04107c3111057c47de680341673396356d5ed15d3e142f7baf25152c080216af7654d1959406938533c8d4beadb076765abbc32
7
+ data.tar.gz: 22dedef5d13180d494c4dc1f211ef3514610ab85d09afdf3121107c849e923fca53ea1ce6a1a9c1bbf76e20e042b56a8c79584ceeae80c167c917ad450e5b991
data/README.md CHANGED
@@ -1,6 +1,8 @@
1
- # LasReader
1
+ # LAS Reader
2
2
 
3
- Ruby gem for reading CWLS LAS files
3
+ Ruby gem for reading Log ASCII Standard files (CWLS LAS files)
4
+
5
+ [<img src="https://badge.fury.io/rb/las_reader.png" alt="Gem Version" />](http://badge.fury.io/rb/las_reader)
4
6
 
5
7
  The Log ASCII Standard was created by the Canadian Well Logging Society in the late 1980’s. LAS was intended to supply basic digital log data to users of personal computers in a format that was quick and easy to use. LAS is an ASCII file with minimal header information, intended for optically presented log curves. The world-wide acceptance of LAS proved the need for such a format. As users embraced the concept and the format, many new applications of the concept were attempted. Right now the latest version of the LAS format is 3.0.
6
8
 
@@ -63,6 +65,8 @@ Or, the values of the curve:
63
65
 
64
66
  => [105.6, 105.6, 105.6]
65
67
 
68
+ ## License
69
+ MIT License - Copyright (c) 2013 Gilberto P. Carmo Jr.
66
70
 
67
71
 
68
72
  ## Contributing
@@ -12,6 +12,7 @@ Gem::Specification.new do |gem|
12
12
 
13
13
  gem.summary = %q{Read CWLS LAS files}
14
14
  gem.homepage = "https://github.com/gpcarmo/cwls-las-reader"
15
+ gem.licenses = ['MIT']
15
16
 
16
17
  gem.files = `git ls-files`.split($/)
17
18
  gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
@@ -11,13 +11,14 @@ module LasReader
11
11
  attr_reader :curves
12
12
  attr_reader :parameters
13
13
  attr_reader :well_info
14
+ attr_reader :file_encode
14
15
 
15
16
  def set_version(info)
16
17
  version = info.match(/(VERS\s*\.).+([1-3]\.[0-9]).*:\s*(.*)/)
17
18
  if version.nil?
18
19
  wrap_mode = info.match(/(WRAP\s*\.).+(YES|NO).*:\s*(.*)/)
19
20
  if not wrap_mode.nil?
20
- @wrap = (wrap_mode[2] == "YES") ? true : false
21
+ @wrap = (wrap_mode[2] == "YES") ? true : false
21
22
  end
22
23
  else
23
24
  @version = version[2]
@@ -41,6 +42,7 @@ module LasReader
41
42
  end
42
43
 
43
44
  def set_well_info(info)
45
+
44
46
  strt = info.match(/(STRT)\s*\.(\w).+\s([0-9]+\.[0-9]+).*:\s*(.*)/)
45
47
  unless strt.nil?
46
48
  @well_info.start_depth = strt[3].to_f
@@ -66,72 +68,78 @@ module LasReader
66
68
  return
67
69
  end
68
70
 
69
- comp = info.match(/(COMP\s*\..+COMPANY:\s*(.*))|(COMP\s*\.\s*(.*)\s+:\s*COMPANY)/)
71
+ comp = info.match(/(COMP\s*\..+COMPANY:\s*(.*))|(COMP\s*\.\s*(.*)\s*:\s*COMPANY)/)
70
72
  unless comp.nil?
71
73
  @well_info.company_name = (comp[2] or comp[4]).strip
72
74
  return
73
75
  end
74
76
 
75
- well = info.match(/(WELL\s*\..+WELL:\s*(.*))|(WELL\s*\.\s*(.*)\s+:\s*WELL)/)
77
+ well = info.match(/(WELL\s*\..+WELL:\s*(.*))|(WELL\s*\.\s*(.*)\s*:\s*.*)/)
76
78
  unless well.nil?
77
79
  @well_info.well_name = (well[2] or well[4]).strip
78
80
  return
79
81
  end
80
82
 
81
- fld = info.match(/(FLD\s*\..+FIELD:\s*(.*))|(FLD\s*\.\s*(.*)\s+:\s*FIELD)/)
83
+ fld = info.match(/(FLD\s*\..+FIELD:\s*(.*))|(FLD\s*\.\s*(.*)\s*:\s*FIELD)/)
82
84
  unless fld.nil?
83
85
  @well_info.field_name = (fld[2] or fld[4]).strip
84
86
  return
85
87
  end
86
88
 
87
- loc = info.match(/(LOC\s*\..+LOCATION:\s*(.*))|(LOC\s*\.\s*(.*)\s+:\s*LOCATION)/)
89
+ loc = info.match(/(LOC\s*\..+LOCATION:\s*(.*))|(LOC\s*\.\s*(.*)\s*:\s*LOCATION)/)
88
90
  unless loc.nil?
89
91
  @well_info.location = (loc[2] or loc[4]).strip
90
92
  return
91
93
  end
92
94
 
93
- prov = info.match(/(PROV\s*\..+PROVINCE:\s*(.*))|(PROV\s*\.\s*(.*)\s+:\s*PROVINCE)/)
95
+ prov = info.match(/(PROV\s*\..+PROVINCE:\s*(.*))|(PROV\s*\.\s*(.*)\s*:\s*PROVINCE)/)
94
96
  unless prov.nil?
95
97
  @well_info.province = (prov[2] or prov[4]).strip
96
98
  return
97
99
  end
98
100
 
99
- cnty = info.match(/(CNTY\s*\..+COUNTY:\s*(.*))|(CNTY\s*\.\s*(.*)\s+:\s*COUNTY)/)
101
+ cnty = info.match(/(CNTY\s*\..+COUNTY:\s*(.*))|(CNTY\s*\.\s*(.*)\s*:\s*COUNTY)/)
100
102
  unless cnty.nil?
101
103
  @well_info.county = (cnty[2] or cnty[4]).strip
102
104
  return
103
105
  end
104
106
 
105
- stat = info.match(/(STAT\s*\..+STATE:\s*(.*))|(STAT\s*\.\s*(.*)\s+:\s*STATE)/)
107
+ stat = info.match(/(STAT\s*\..+STATE:\s*(.*))|(STAT\s*\.\s*(.*)\s*:\s*STATE)/)
106
108
  unless stat.nil?
107
109
  @well_info.state = (stat[2] or stat[4]).strip
108
110
  return
109
111
  end
110
112
 
111
- ctry = info.match(/(CTRY\s*\..+COUNTRY:\s*(.*))|(CTRY\s*\.\s*(.*)\s+:\s*COUNTRY)/)
113
+ ctry = info.match(/(CTRY\s*\..+COUNTRY:\s*(.*))|(CTRY\s*\.\s*(.*)\s*:\s*COUNTRY)/)
112
114
  unless ctry.nil?
113
115
  @well_info.country = (ctry[2] or ctry[4]).strip
114
116
  return
115
117
  end
116
118
 
117
- srvc = info.match(/(SRVC\s*\..+SERVICE COMPANY:\s*(.*))|(SRVC\s*\.\s*(.*)\s+:\s*SERVICE COMPANY)/)
119
+ srvc = info.match(/(SRVC\s*\..+SERVICE COMPANY:\s*(.*))|(SRVC\s*\.\s*(.*)\s*:\s*SERVICE COMPANY)/)
118
120
  unless srvc.nil?
119
121
  @well_info.service_company = (srvc[2] or srvc[4]).strip
120
122
  return
121
123
  end
122
124
 
123
- data = info.match(/(DATE\s*\..+LOG DATE:\s*(.*))|(DATE\s*\.\s*(.*)\s+:\s*LOG DATE)/)
125
+ data = info.match(/(DATE\s*\..+LOG DATE:\s*(.*))|(DATE\s*\.\s*(.*)\s*:\s*LOG DATE)/)
124
126
  unless data.nil?
125
127
  @well_info.date_logged = (data[2] or data[4]).strip
126
128
  return
127
129
  end
128
130
 
129
- uwi = info.match(/(UWI\s*\..+UNIQUE WELL ID:\s*(.*))|(UWI\s*\.\s*(.*)\s+:\s*UNIQUE WELL ID)/)
131
+ uwi = info.match(/(UWI\s*\..+UNIQUE WELL ID:\s*(.*))|(UWI\s*\.\s*(.*)\s*:\s*UNIQUE WELL ID)/)
130
132
  unless uwi.nil?
131
133
  @well_info.uwi = (uwi[2] or uwi[4]).strip
132
134
  return
133
135
  end
134
136
 
137
+ api = info.match(/(API\s*\..+UNIQUE WELL ID\s*:\s*(.*))|(API\s*\.\s*(.*)\s*:\s*UNIQUE WELL ID\s*)/)
138
+ unless api.nil?
139
+ @well_info.api = (api[2] or api[4]).strip
140
+ return
141
+ end
142
+
135
143
  end
136
144
 
137
145
  def set_other_info(info)
@@ -160,7 +168,16 @@ module LasReader
160
168
  end
161
169
  end
162
170
 
163
- def load_file(file_name)
171
+ def get_file_encoding(encoding)
172
+ return Encoding.default_external if encoding.nil?
173
+ if Encoding.name_list.include?(encoding)
174
+ return Encoding.find(encoding)
175
+ else
176
+ raise "Encoding not supported"
177
+ end
178
+ end
179
+
180
+ def load_file(file_name, file_options = {})
164
181
 
165
182
  temp_array = []
166
183
  @curves = {}
@@ -169,16 +186,22 @@ module LasReader
169
186
 
170
187
  read_state = 0
171
188
 
189
+ @file_encoding = get_file_encoding(file_options[:encoding])
190
+
172
191
  unless File.exist?(file_name)
173
192
  raise "No such file or directory"
174
193
  end
175
194
 
176
- File.open(file_name).each do |line|
195
+ File.open(file_name, encoding: @file_encoding).each do |uline|
196
+
197
+ # characters not supported in the default encoding are replaced by space - This is suggested by the CWLS LAS documentation.
198
+ line = uline.encode(Encoding.default_external, @file_encoding, invalid: :replace, undef: :replace, replace: ' ')
199
+
177
200
  # ignore comments
178
201
  next if line[0].chr == '#'
179
202
  # The '~' is used to inform the beginning of a section
180
203
  if line[0].chr == '~'
181
- case line[1].chr
204
+ case line[1].chr
182
205
  when 'V' # Version information section
183
206
  read_state = 1
184
207
  when 'W' # Well identification section
@@ -193,12 +216,12 @@ module LasReader
193
216
  read_state = 5
194
217
  when 'A' # ASCII Log data section
195
218
  read_state = 6
196
- else
197
- raise "unsupported file format for #{line}"
219
+ else
220
+ raise "unsupported file format for #{line}"
198
221
  read_state = 0 # Unknow file format
199
222
  end
200
- else
201
- case read_state
223
+ else
224
+ case read_state
202
225
  when 1
203
226
  set_version(line.lstrip)
204
227
  when 2
@@ -215,16 +238,16 @@ module LasReader
215
238
  else
216
239
  log_nowrap_data(line)
217
240
  end
241
+ end
218
242
  end
219
243
  end
220
244
  end
221
- end
222
245
 
223
- end
246
+ end
224
247
 
225
- class CWLSLas
248
+ class CWLSLas
226
249
 
227
- include LasReader
250
+ include LasReader
228
251
 
229
252
  # Initialize CWLSLas object passing las file as argument
230
253
  #
@@ -234,9 +257,11 @@ class CWLSLas
234
257
  #
235
258
  # Arguments:
236
259
  # las_file_name: (String)
260
+ # file_options: (Hash)
261
+ # options: encoding
237
262
 
238
- def initialize(filename=nil)
239
- load_file(filename) if not filename.nil?
263
+ def initialize(filename=nil, file_options={})
264
+ load_file(filename, file_options) if not filename.nil?
240
265
  end
241
266
 
242
267
  # Return a list of mnemonics representing the curve names
@@ -318,7 +343,7 @@ class CWLSLas
318
343
  def location
319
344
  self.well_info.location
320
345
  end
321
-
346
+
322
347
  # Returns the province described in the file
323
348
  #
324
349
  # Example:
@@ -358,8 +383,10 @@ class CWLSLas
358
383
  self.well_info.date_logged
359
384
  end
360
385
 
361
- # Returns the UWI (UNIQUE WELL ID) described in the file
386
+ # Returns the UWI (UNIQUE WELL ID) described in the file
362
387
  #
388
+ # Returns API if UWI not found (for locations outside Canada)
389
+ #
363
390
  # Example:
364
391
  # >> my_well = CWLSLas.new('my_well.las')
365
392
  # => #<CWLSLas>
@@ -368,7 +395,46 @@ class CWLSLas
368
395
  #
369
396
 
370
397
  def uwi
371
- self.well_info.uwi
398
+ self.well_info.uwi || self.well_info.api
399
+ end
400
+
401
+ # Returns the state described in the file
402
+ #
403
+ # Example:
404
+ # >> my_well = CWLSLas.new('my_well.las')
405
+ # => #<CWLSLas>
406
+ # >> my_well.state
407
+ # => "KANSAS"
408
+ #
409
+
410
+ def state
411
+ self.well_info.state
412
+ end
413
+
414
+ # Returns the county described in the file
415
+ #
416
+ # Example:
417
+ # >> my_well = CWLSLas.new('my_well.las')
418
+ # => #<CWLSLas>
419
+ # >> my_well.county
420
+ # => "KENAI"
421
+ #
422
+
423
+ def county
424
+ self.well_info.county
425
+ end
426
+
427
+ # Returns the country described in the file
428
+ #
429
+ # Example:
430
+ # >> my_well = CWLSLas.new('my_well.las')
431
+ # => #<CWLSLas>
432
+ # >> my_well.country
433
+ # => "US"
434
+ #
435
+
436
+ def country
437
+ self.well_info.country
372
438
  end
373
439
 
374
440
  end
@@ -1,3 +1,3 @@
1
1
  module LasReader
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -0,0 +1,476 @@
1
+ ~Version
2
+ #MNEM .UNIT VALUE : DESCRIPTION
3
+ VERS . 2.0 : CWLS LOG ASCII STANDARD - VERSION 2.0
4
+ WRAP . NO : ONE LINE PER DEPTH STEP
5
+ ~Well
6
+ #MNEM .UNIT VALUE : DESCRIPTION
7
+ STRT .F 3500 : Start Depth
8
+ STOP .F 3580 : Stop Depth
9
+ STEP .F 0.5 : Step
10
+ NULL . -999.25 : Null Value
11
+ COMP . Noble Petroleum, Inc. : Company
12
+ WELL . Sh�mar�a 1 : Well
13
+ FLD . WILDCAT : Field
14
+ SEC . 17 : Section
15
+ TOWN . 5S : Township (e.g. 42S)
16
+ RANG . 13E : Range (e.g. 25E)
17
+ LOC . 5S-13E-17 : Location (Sec Town Range)
18
+ LOC1 . 1515' FSL & 1195' FEL : Location 1 (quarter calls)
19
+ LOC2 . SWNESE : Location 2 (footages)
20
+ PROV . : Province
21
+ CTRY . US : Country
22
+ STAT . Kansas : State
23
+ CNTY . NEMAH� : County
24
+ API . 15-131-20205 : API-Number
25
+ UWI . : Unique Well ID
26
+ SRVC . Log Tech : Service Company
27
+ LIC . : Licence Number
28
+ DATE . 02/06/2012 : Date preferred format is MM/DD/YYYY
29
+ LATI .DEG 39.6137073 : Latitude
30
+ LONG .DEG -95.980802 : Longitude
31
+ GDAT . NAD27 : Geodetic Datum
32
+ X . 244102.82 : X or East-West coordinate
33
+ Y . 4388921.03 : Y or North South coordinate
34
+ HZCS . UTM : Horizontal Co-ordinate System
35
+ UTM . 15.0 : UTM Location
36
+ STUS . : Well Status
37
+ ~Parameter
38
+ #MNEM .UNIT VALUE : DESCRIPTION
39
+ EGL .F 1294.0 : Ground Level Elevation
40
+ EKB .F 1303.0 : Kelly Bushing Elevation
41
+ EDF .F : Derrick Floor Elevation
42
+ ERT .F : Rotary Table Elevation
43
+ TDL .F 3837.0 : Total Depth Logger
44
+ TDD .F 3832.0 : Total Depth Drill
45
+ CSGL .F : Casing Bottom Logger
46
+ CSGD .F : Casing Bottom Driller
47
+ CSGS .IN : Casing Size
48
+ CSGW .LB : Casing Weight
49
+ BS .IN : Bit Size
50
+ DFT . Chemical : Mud type
51
+ MSS . : Mud Sample Source
52
+ DFD .gm/cc 9.0 : Mud Density
53
+ DFV .s/qt : Mud Viscosity (Funnel)
54
+ DFL .cc : Fluid Loss
55
+ PH . : PH
56
+ RM .OHM-M : Resistivity of Mud
57
+ MST .DEG-F : Temperature of Mud
58
+ RMF .OHM-M : Resistivity of Mud Filtrate
59
+ MFT .DEG-F : Temperature of Mud Filtrate
60
+ RMC .OHM-M : Resistivity of Mud Cake
61
+ MCST .DEG-F : Temperature of Mud Cake
62
+ BHT .DEG-F 116.0 : Maximum Recorded Temperature
63
+ RMB .OHM-M : Resitivity @ BHT
64
+ TIMC .DATE : Date/Time Circulation Stopped
65
+ TIML .DATE : Date/Time Logger Tagged Bottom
66
+ UNIT . : Logging Unit Number
67
+ BASE . : Home Base of Logging Unit
68
+ ENG . : Recording Engineer
69
+ WIT . : Witnessed By
70
+ ~Curve
71
+ #MNEM .UNIT VALUE : DESCRIPTION
72
+ DEPT .F : Depth
73
+ GR .API : Gamma Ray
74
+ NPHI .PU : Neutron porosity
75
+ DPHI .PU : Density porosity
76
+ ~ASCII
77
+ # DEPT GR NPHI DPHI
78
+ 3500.0 30.0 12.855 3.165
79
+ 3500.5 29.488 12.821 3.397
80
+ 3501.0 28.976 12.787 3.629
81
+ 3501.5 28.464 12.677 3.861
82
+ 3502.0 27.952 12.373 3.699
83
+ 3502.5 27.409 12.068 3.394
84
+ 3503.0 26.64 11.766 3.09
85
+ 3503.5 25.871 11.596 2.775
86
+ 3504.0 26.042 11.427 2.451
87
+ 3504.5 26.261 11.258 2.126
88
+ 3505.0 26.481 11.013 1.892
89
+ 3505.5 26.667 10.742 1.689
90
+ 3506.0 26.667 10.471 1.486
91
+ 3506.5 26.667 10.307 1.284
92
+ 3507.0 26.667 10.256 1.34
93
+ 3507.5 26.667 10.205 1.514
94
+ 3508.0 26.667 10.154 1.688
95
+ 3508.5 27.226 10.098 1.862
96
+ 3509.0 27.995 10.008 2.053
97
+ 3509.5 28.763 9.918 2.029
98
+ 3510.0 30.867 9.828 1.775
99
+ 3510.5 34.455 9.738 1.245
100
+ 3511.0 37.605 9.622 0.129
101
+ 3511.5 40.678 9.419 -0.851
102
+ 3512.0 47.22 9.216 -1.003
103
+ 3512.5 55.692 9.427 -1.155
104
+ 3513.0 69.53 10.236 -0.415
105
+ 3513.5 86.935 11.319 0.356
106
+ 3514.0 116.218 12.882 1.335
107
+ 3514.5 139.114 14.8 2.96
108
+ 3515.0 141.493 17.852 3.839
109
+ 3515.5 140.469 19.579 4.245
110
+ 3516.0 138.056 21.306 4.651
111
+ 3516.5 134.468 21.564 5.178
112
+ 3517.0 136.629 21.646 5.933
113
+ 3517.5 139.317 21.816 6.687
114
+ 3518.0 139.618 22.425 7.441
115
+ 3518.5 138.441 23.034 8.117
116
+ 3519.0 132.291 23.051 8.38
117
+ 3519.5 129.293 22.341 8.218
118
+ 3520.0 129.549 21.87 8.055
119
+ 3520.5 129.805 22.044 7.37
120
+ 3521.0 131.371 22.218 6.528
121
+ 3521.5 137.131 22.392 6.041
122
+ 3522.0 142.361 22.31 5.554
123
+ 3522.5 140.312 21.93 5.35
124
+ 3523.0 138.264 21.549 5.621
125
+ 3523.5 136.216 21.168 5.892
126
+ 3524.0 134.167 20.854 6.162
127
+ 3524.5 132.571 21.086 6.433
128
+ 3525.0 132.955 21.318 6.511
129
+ 3525.5 133.361 21.551 6.375
130
+ 3526.0 135.09 21.626 5.908
131
+ 3526.5 136.818 21.336 5.381
132
+ 3527.0 138.547 21.046 4.917
133
+ 3527.5 140.276 20.756 4.917
134
+ 3528.0 143.263 20.807 4.917
135
+ 3528.5 146.59 21.213 5.445
136
+ 3529.0 145.053 21.619 6.003
137
+ 3529.5 143.516 22.025 6.328
138
+ 3530.0 141.98 21.547 6.581
139
+ 3530.5 140.54 20.653 6.475
140
+ 3531.0 139.388 19.76 6.12
141
+ 3531.5 138.042 18.945 5.464
142
+ 3532.0 134.583 18.133 4.38
143
+ 3532.5 131.124 17.176 3.509
144
+ 3533.0 111.797 15.54 2.696
145
+ 3533.5 103.187 13.682 2.458
146
+ 3534.0 94.577 12.464 2.593
147
+ 3534.5 82.523 11.246 2.918
148
+ 3535.0 76.888 11.177 3.248
149
+ 3535.5 77.272 11.258 3.578
150
+ 3536.0 82.078 11.537 3.908
151
+ 3536.5 93.353 12.821 4.436
152
+ 3537.0 103.503 15.578 5.085
153
+ 3537.5 113.336 17.337 5.735
154
+ 3538.0 122.761 19.064 5.756
155
+ 3538.5 126.601 19.611 5.705
156
+ 3539.0 130.441 19.78 5.817
157
+ 3539.5 131.227 19.476 5.991
158
+ 3540.0 131.666 19.171 6.165
159
+ 3540.5 132.106 18.44 6.339
160
+ 3541.0 132.004 17.71 6.192
161
+ 3541.5 127.138 17.069 6.014
162
+ 3542.0 122.272 16.663 5.836
163
+ 3542.5 117.407 16.286 5.659
164
+ 3543.0 117.97 16.17 5.504
165
+ 3543.5 119.507 16.054 5.369
166
+ 3544.0 121.043 15.938 5.234
167
+ 3544.5 121.211 16.153 5.147
168
+ 3545.0 120.443 16.828 5.178
169
+ 3545.5 119.675 16.179 5.21
170
+ 3546.0 121.506 15.529 5.241
171
+ 3546.5 128.424 15.536 5.272
172
+ 3547.0 133.682 16.247 5.303
173
+ 3547.5 130.83 16.926 5.335
174
+ 3548.0 127.977 17.536 5.337
175
+ 3548.5 125.124 17.954 5.235
176
+ 3549.0 123.496 17.092 5.141
177
+ 3549.5 123.936 16.229 5.229
178
+ 3550.0 124.375 17.01 5.316
179
+ 3550.5 124.814 17.873 5.403
180
+ 3551.0 122.048 18.171 5.508
181
+ 3551.5 116.923 18.133 5.67
182
+ 3552.0 117.543 17.05 5.832
183
+ 3552.5 118.465 16.027 5.912
184
+ 3553.0 119.01 15.062 5.912
185
+ 3553.5 118.352 14.657 5.81
186
+ 3554.0 117.694 15.368 5.506
187
+ 3554.5 117.036 15.967 5.201
188
+ 3555.0 117.682 15.967 4.922
189
+ 3555.5 119.988 15.967 4.99
190
+ 3556.0 120.834 16.498 5.218
191
+ 3556.5 123.358 17.715 5.653
192
+ 3557.0 127.97 17.603 6.087
193
+ 3557.5 132.578 17.163 6.522
194
+ 3558.0 137.187 16.722 6.452
195
+ 3558.5 133.205 16.972 6.08
196
+ 3559.0 128.597 17.813 5.708
197
+ 3559.5 123.204 18.654 5.433
198
+ 3560.0 118.646 19.495 5.332
199
+ 3560.5 120.82 19.613 5.23
200
+ 3561.0 120.564 19.46 5.129
201
+ 3561.5 120.308 19.467 5.027
202
+ 3562.0 120.052 19.602 4.925
203
+ 3562.5 126.119 19.203 5.01
204
+ 3563.0 133.8 18.756 5.112
205
+ 3563.5 141.048 17.849 4.626
206
+ 3564.0 143.611 15.076 3.936
207
+ 3564.5 137.971 12.378 3.232
208
+ 3565.0 121.088 9.738 1.81
209
+ 3565.5 101.614 8.091 1.571
210
+ 3566.0 68.847 6.517 1.418
211
+ 3566.5 55.022 5.213 1.841
212
+ 3567.0 41.51 4.819 2.451
213
+ 3567.5 36.902 4.838 3.023
214
+ 3568.0 32.294 4.856 2.567
215
+ 3568.5 31.667 4.874 2.11
216
+ 3569.0 31.667 4.893 1.653
217
+ 3569.5 31.667 4.911 1.196
218
+ 3570.0 31.583 4.796 0.791
219
+ 3570.5 30.354 4.619 0.41
220
+ 3571.0 29.125 4.441 0.029
221
+ 3571.5 27.896 4.264 -0.351
222
+ 3572.0 26.667 4.137 -0.515
223
+ 3572.5 25.438 4.117 -0.231
224
+ 3573.0 26.361 4.097 0.054
225
+ 3573.5 28.474 4.076 0.494
226
+ 3574.0 30.587 4.056 1.035
227
+ 3574.5 32.7 4.035 0.853
228
+ 3575.0 33.462 4.078 0.649
229
+ 3575.5 31.158 4.129 0.726
230
+ 3576.0 29.152 4.288 0.873
231
+ 3576.5 29.042 4.491 1.021
232
+ 3577.0 28.932 4.694 1.169
233
+ 3577.5 28.823 4.762 1.316
234
+ 3578.0 28.713 4.66 1.464
235
+ 3578.5 28.603 4.559 1.903
236
+ 3579.0 28.493 -999.25 2.41
237
+ 3579.5 28.383 -999.25 2.597
238
+ 3580.0 -999.25 -999.25 -999.25
239
+ ~Version
240
+ #MNEM .UNIT VALUE : DESCRIPTION
241
+ VERS . 2.0 : CWLS LOG ASCII STANDARD - VERSION 2.0
242
+ WRAP . NO : ONE LINE PER DEPTH STEP
243
+ ~Well
244
+ #MNEM .UNIT VALUE : DESCRIPTION
245
+ STRT .F 3500 : Start Depth
246
+ STOP .F 3580 : Stop Depth
247
+ STEP .F 0.5 : Step
248
+ NULL . -999.25 : Null Value
249
+ COMP . Noble Petroleum, Inc. : Company
250
+ WELL . Sh�mar�a 1 : Well
251
+ FLD . WILDCAT : Field
252
+ SEC . 17 : Section
253
+ TOWN . 5S : Township (e.g. 42S)
254
+ RANG . 13E : Range (e.g. 25E)
255
+ LOC . 5S-13E-17 : Location (Sec Town Range)
256
+ LOC1 . 1515' FSL & 1195' FEL : Location 1 (quarter calls)
257
+ LOC2 . SWNESE : Location 2 (footages)
258
+ PROV . : Province
259
+ CTRY . US : Country
260
+ STAT . Kansas : State
261
+ CNTY . NEMAH� : County
262
+ API . 15-131-20205 : API-Number
263
+ UWI . : Unique Well ID
264
+ SRVC . Log Tech : Service Company
265
+ LIC . : Licence Number
266
+ DATE . 02/06/2012 : Date preferred format is MM/DD/YYYY
267
+ LATI .DEG 39.6137073 : Latitude
268
+ LONG .DEG -95.980802 : Longitude
269
+ GDAT . NAD27 : Geodetic Datum
270
+ X . 244102.82 : X or East-West coordinate
271
+ Y . 4388921.03 : Y or North South coordinate
272
+ HZCS . UTM : Horizontal Co-ordinate System
273
+ UTM . 15.0 : UTM Location
274
+ STUS . : Well Status
275
+ ~Parameter
276
+ #MNEM .UNIT VALUE : DESCRIPTION
277
+ EGL .F 1294.0 : Ground Level Elevation
278
+ EKB .F 1303.0 : Kelly Bushing Elevation
279
+ EDF .F : Derrick Floor Elevation
280
+ ERT .F : Rotary Table Elevation
281
+ TDL .F 3837.0 : Total Depth Logger
282
+ TDD .F 3832.0 : Total Depth Drill
283
+ CSGL .F : Casing Bottom Logger
284
+ CSGD .F : Casing Bottom Driller
285
+ CSGS .IN : Casing Size
286
+ CSGW .LB : Casing Weight
287
+ BS .IN : Bit Size
288
+ DFT . Chemical : Mud type
289
+ MSS . : Mud Sample Source
290
+ DFD .gm/cc 9.0 : Mud Density
291
+ DFV .s/qt : Mud Viscosity (Funnel)
292
+ DFL .cc : Fluid Loss
293
+ PH . : PH
294
+ RM .OHM-M : Resistivity of Mud
295
+ MST .DEG-F : Temperature of Mud
296
+ RMF .OHM-M : Resistivity of Mud Filtrate
297
+ MFT .DEG-F : Temperature of Mud Filtrate
298
+ RMC .OHM-M : Resistivity of Mud Cake
299
+ MCST .DEG-F : Temperature of Mud Cake
300
+ BHT .DEG-F 116.0 : Maximum Recorded Temperature
301
+ RMB .OHM-M : Resitivity @ BHT
302
+ TIMC .DATE : Date/Time Circulation Stopped
303
+ TIML .DATE : Date/Time Logger Tagged Bottom
304
+ UNIT . : Logging Unit Number
305
+ BASE . : Home Base of Logging Unit
306
+ ENG . : Recording Engineer
307
+ WIT . : Witnessed By
308
+ ~Curve
309
+ #MNEM .UNIT VALUE : DESCRIPTION
310
+ DEPT .F : Depth
311
+ GR .API : Gamma Ray
312
+ NPHI .PU : Neutron porosity
313
+ DPHI .PU : Density porosity
314
+ ~ASCII
315
+ # DEPT GR NPHI DPHI
316
+ 3500.0 30.0 12.855 3.165
317
+ 3500.5 29.488 12.821 3.397
318
+ 3501.0 28.976 12.787 3.629
319
+ 3501.5 28.464 12.677 3.861
320
+ 3502.0 27.952 12.373 3.699
321
+ 3502.5 27.409 12.068 3.394
322
+ 3503.0 26.64 11.766 3.09
323
+ 3503.5 25.871 11.596 2.775
324
+ 3504.0 26.042 11.427 2.451
325
+ 3504.5 26.261 11.258 2.126
326
+ 3505.0 26.481 11.013 1.892
327
+ 3505.5 26.667 10.742 1.689
328
+ 3506.0 26.667 10.471 1.486
329
+ 3506.5 26.667 10.307 1.284
330
+ 3507.0 26.667 10.256 1.34
331
+ 3507.5 26.667 10.205 1.514
332
+ 3508.0 26.667 10.154 1.688
333
+ 3508.5 27.226 10.098 1.862
334
+ 3509.0 27.995 10.008 2.053
335
+ 3509.5 28.763 9.918 2.029
336
+ 3510.0 30.867 9.828 1.775
337
+ 3510.5 34.455 9.738 1.245
338
+ 3511.0 37.605 9.622 0.129
339
+ 3511.5 40.678 9.419 -0.851
340
+ 3512.0 47.22 9.216 -1.003
341
+ 3512.5 55.692 9.427 -1.155
342
+ 3513.0 69.53 10.236 -0.415
343
+ 3513.5 86.935 11.319 0.356
344
+ 3514.0 116.218 12.882 1.335
345
+ 3514.5 139.114 14.8 2.96
346
+ 3515.0 141.493 17.852 3.839
347
+ 3515.5 140.469 19.579 4.245
348
+ 3516.0 138.056 21.306 4.651
349
+ 3516.5 134.468 21.564 5.178
350
+ 3517.0 136.629 21.646 5.933
351
+ 3517.5 139.317 21.816 6.687
352
+ 3518.0 139.618 22.425 7.441
353
+ 3518.5 138.441 23.034 8.117
354
+ 3519.0 132.291 23.051 8.38
355
+ 3519.5 129.293 22.341 8.218
356
+ 3520.0 129.549 21.87 8.055
357
+ 3520.5 129.805 22.044 7.37
358
+ 3521.0 131.371 22.218 6.528
359
+ 3521.5 137.131 22.392 6.041
360
+ 3522.0 142.361 22.31 5.554
361
+ 3522.5 140.312 21.93 5.35
362
+ 3523.0 138.264 21.549 5.621
363
+ 3523.5 136.216 21.168 5.892
364
+ 3524.0 134.167 20.854 6.162
365
+ 3524.5 132.571 21.086 6.433
366
+ 3525.0 132.955 21.318 6.511
367
+ 3525.5 133.361 21.551 6.375
368
+ 3526.0 135.09 21.626 5.908
369
+ 3526.5 136.818 21.336 5.381
370
+ 3527.0 138.547 21.046 4.917
371
+ 3527.5 140.276 20.756 4.917
372
+ 3528.0 143.263 20.807 4.917
373
+ 3528.5 146.59 21.213 5.445
374
+ 3529.0 145.053 21.619 6.003
375
+ 3529.5 143.516 22.025 6.328
376
+ 3530.0 141.98 21.547 6.581
377
+ 3530.5 140.54 20.653 6.475
378
+ 3531.0 139.388 19.76 6.12
379
+ 3531.5 138.042 18.945 5.464
380
+ 3532.0 134.583 18.133 4.38
381
+ 3532.5 131.124 17.176 3.509
382
+ 3533.0 111.797 15.54 2.696
383
+ 3533.5 103.187 13.682 2.458
384
+ 3534.0 94.577 12.464 2.593
385
+ 3534.5 82.523 11.246 2.918
386
+ 3535.0 76.888 11.177 3.248
387
+ 3535.5 77.272 11.258 3.578
388
+ 3536.0 82.078 11.537 3.908
389
+ 3536.5 93.353 12.821 4.436
390
+ 3537.0 103.503 15.578 5.085
391
+ 3537.5 113.336 17.337 5.735
392
+ 3538.0 122.761 19.064 5.756
393
+ 3538.5 126.601 19.611 5.705
394
+ 3539.0 130.441 19.78 5.817
395
+ 3539.5 131.227 19.476 5.991
396
+ 3540.0 131.666 19.171 6.165
397
+ 3540.5 132.106 18.44 6.339
398
+ 3541.0 132.004 17.71 6.192
399
+ 3541.5 127.138 17.069 6.014
400
+ 3542.0 122.272 16.663 5.836
401
+ 3542.5 117.407 16.286 5.659
402
+ 3543.0 117.97 16.17 5.504
403
+ 3543.5 119.507 16.054 5.369
404
+ 3544.0 121.043 15.938 5.234
405
+ 3544.5 121.211 16.153 5.147
406
+ 3545.0 120.443 16.828 5.178
407
+ 3545.5 119.675 16.179 5.21
408
+ 3546.0 121.506 15.529 5.241
409
+ 3546.5 128.424 15.536 5.272
410
+ 3547.0 133.682 16.247 5.303
411
+ 3547.5 130.83 16.926 5.335
412
+ 3548.0 127.977 17.536 5.337
413
+ 3548.5 125.124 17.954 5.235
414
+ 3549.0 123.496 17.092 5.141
415
+ 3549.5 123.936 16.229 5.229
416
+ 3550.0 124.375 17.01 5.316
417
+ 3550.5 124.814 17.873 5.403
418
+ 3551.0 122.048 18.171 5.508
419
+ 3551.5 116.923 18.133 5.67
420
+ 3552.0 117.543 17.05 5.832
421
+ 3552.5 118.465 16.027 5.912
422
+ 3553.0 119.01 15.062 5.912
423
+ 3553.5 118.352 14.657 5.81
424
+ 3554.0 117.694 15.368 5.506
425
+ 3554.5 117.036 15.967 5.201
426
+ 3555.0 117.682 15.967 4.922
427
+ 3555.5 119.988 15.967 4.99
428
+ 3556.0 120.834 16.498 5.218
429
+ 3556.5 123.358 17.715 5.653
430
+ 3557.0 127.97 17.603 6.087
431
+ 3557.5 132.578 17.163 6.522
432
+ 3558.0 137.187 16.722 6.452
433
+ 3558.5 133.205 16.972 6.08
434
+ 3559.0 128.597 17.813 5.708
435
+ 3559.5 123.204 18.654 5.433
436
+ 3560.0 118.646 19.495 5.332
437
+ 3560.5 120.82 19.613 5.23
438
+ 3561.0 120.564 19.46 5.129
439
+ 3561.5 120.308 19.467 5.027
440
+ 3562.0 120.052 19.602 4.925
441
+ 3562.5 126.119 19.203 5.01
442
+ 3563.0 133.8 18.756 5.112
443
+ 3563.5 141.048 17.849 4.626
444
+ 3564.0 143.611 15.076 3.936
445
+ 3564.5 137.971 12.378 3.232
446
+ 3565.0 121.088 9.738 1.81
447
+ 3565.5 101.614 8.091 1.571
448
+ 3566.0 68.847 6.517 1.418
449
+ 3566.5 55.022 5.213 1.841
450
+ 3567.0 41.51 4.819 2.451
451
+ 3567.5 36.902 4.838 3.023
452
+ 3568.0 32.294 4.856 2.567
453
+ 3568.5 31.667 4.874 2.11
454
+ 3569.0 31.667 4.893 1.653
455
+ 3569.5 31.667 4.911 1.196
456
+ 3570.0 31.583 4.796 0.791
457
+ 3570.5 30.354 4.619 0.41
458
+ 3571.0 29.125 4.441 0.029
459
+ 3571.5 27.896 4.264 -0.351
460
+ 3572.0 26.667 4.137 -0.515
461
+ 3572.5 25.438 4.117 -0.231
462
+ 3573.0 26.361 4.097 0.054
463
+ 3573.5 28.474 4.076 0.494
464
+ 3574.0 30.587 4.056 1.035
465
+ 3574.5 32.7 4.035 0.853
466
+ 3575.0 33.462 4.078 0.649
467
+ 3575.5 31.158 4.129 0.726
468
+ 3576.0 29.152 4.288 0.873
469
+ 3576.5 29.042 4.491 1.021
470
+ 3577.0 28.932 4.694 1.169
471
+ 3577.5 28.823 4.762 1.316
472
+ 3578.0 28.713 4.66 1.464
473
+ 3578.5 28.603 4.559 1.903
474
+ 3579.0 28.493 -999.25 2.41
475
+ 3579.5 28.383 -999.25 2.597
476
+ 3580.0 -999.25 -999.25 -999.25