Code to read LAS File Version 2 without using LASREAD() command
2 views (last 30 days)
Show older comments
I have a version 2 .LAS file. I trying to make a MATLAB code to read all the data in the .LAS file (apart from Lasread() command). I am trying to plot the graphs between the values under the 'Depth' heading with the data under the other headings. The heading are not at fixed row and column in each of .LAS files.
I am posting a sample data of my file, I have many such .LAS files.
I would really appreciate any help in the same regard.
~Version Information
VERS. 2.0: CWLS Log ASCII Standard - VERSION 2.0
WRAP. NO: One line per depth step
#Non standard LAS - data should be wrapped
NULL. -999.2500:
UWI. : UNIQUE WELL ID
STAT. Kansas: STATE
SECT. 5: SECTION
TOWN. 2S: TOWNSHIP
RANG. 14E: RANGE
API. 15-131-20,218-00-00: API#
PDAT.FT. Ground Level: PERMANENT DATUM
LMF.FT. Kelly Bushing: LOG MEASURED FROM
DMF.FT. Kelly Bushing: DRILLING MEASURED FROM
EKB.FT. 1344: KB
EDF.FT. : DF
EGL.FT. 1334: GL
DATE1. 1/22/2011: DATE1
~Curve Information Block
DEPT.FT 0 000 00 00: Depth
RxoRt. Rxo / Rt:
CILD. DIL Deep Conductivity:
RLL3. DIL Shallow Resistivity:
SP. DIL Spontaneous Potential:
RILD. DIL Deep Resistivity:
RILM. DIL Medium Resistivity:
DCAL. CDL Caliper:
RHOB. CDL Bulk Density:
RHOC. CDL Density Correction:
DPOR. CDL Density Porosity:
CNLS. CN Limestone Porosity:
CNSS. CN Sandstone Porosity:
CNDL. CN Dolomite Porosity:
GR. Gamma Ray:
DGA. Apparent Grain Density:
MCAL.GAPI Micro Caliper:
MI. Micro Inverse:
MN. Micro Normal:
DT. Delta Time:
ITT. Integrated Travel Time Blips:
SPOR. Sonic Porosity:
~Parameter Information Block
~A Depth RxoRt CILD RLL3 SP RILD RILM DCAL RHOB RHOC DPOR CNLS CNSS CNDL GR DGA MCAL MI MN DT ITT SPOR
245.0000 149.6494 23.3938 0.9314 -479.8863 42.7464 100000.0000 8.3409 1.6904 -0.5746 59.6257 24.6100 27.5287 15.4626 61.7467 -999.2500 8.1019 -0.1708 0.8780 104.2581 0.0000 40.0694
245.5000 149.2579 23.5932 0.9334 -478.6129 42.3852 100000.0000 8.3400 1.7027 -0.5714 58.9040 23.9053 26.9181 14.7010 53.2752 -999.2500 8.1015 -0.1797 0.8688 100.2467 1.0000 37.2324
246.0000 148.9730 23.7609 0.9319 -477.5480 42.0860 100000.0000 8.3401 1.6988 -0.5732 59.1345 23.5469 26.6080 14.3357 49.1414 -999.2500 8.1021 -0.1863 0.8641 97.0740 1.0000 34.9887
246.5000 149.1004 23.7163 0.9333 -476.8583 42.1650 100000.0000 8.3379 1.6757 -0.5803 60.4875 23.6259 26.6763 14.4150 48.4157 -999.2500 8.1019 -0.1816 0.8688 94.2924 0.0000 33.0215
247.0000 149.6318 23.4545 0.9260 -476.4560 42.6358 100000.0000 8.3354 1.6397 -0.5899 62.5882 24.1721 27.1490 14.9830 45.3950 -999.2500 8.1013 -0.1704 0.8794 92.7443 0.0000 31.9267
247.5000 150.3481 23.0920 0.9230 -476.1362 43.3051 100000.0000 8.3377 1.6066 -0.5969 64.5270 25.1622 28.0095 16.0829 42.9160 -999.2500 8.1029 -0.1608 0.8876 93.5621 0.0000 32.5050
248.0000 150.9518 22.7920 0.9233 -475.7631 43.8751 100000.0000 8.3391 1.5906 -0.5989 65.4601 26.5473 29.2330 17.5490 47.4210 -999.2500 8.1042 -0.1403 0.9038 96.6660 0.0000 34.7001
248.5000 151.2688 22.6480 0.9186 -475.3798 44.1541 100000.0000 8.3436 1.5945 -0.5978 65.2332 28.2323 30.7775 19.3786 57.6638 -999.2500 8.1038 -0.1381 0.9052 100.4827 0.0000 37.3994
249.0000 151.3297 22.6363 0.9210 -475.1871 44.1767 100000.0000 8.3436 1.6104 -0.5973 64.3055 30.0137 32.5139 21.5197 66.9786 -999.2500 8.1027 -0.1571 0.8895 103.0675 0.0000 39.2274
0 Comments
Answers (0)
See Also
Categories
Find more on MATLAB Support Package for USB Webcams in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!