Questions tagged [log-ascii-standard]

Log ASCII Standard (LAS) is a standard file-format common in the oil-and-gas and water well industries to store well log information.

LAS file specification versions are written and maintained by the Canadian Well Logging Society at
https://www.cwls.org/products/#products-las

As of 2020 there are currently 3 versions of the specification:


Tagging Recommendation:

Use the tag.

Note: the is used for a different file format related to Lidar data. So don't use it for log-ascii-standard questions.

14 questions
8
votes
4 answers

Is there an R package to parse geophysical "Log Ascii Standard" Files (.las files)?

Is there an R package that can read .las files, i.e. Schlumberger Log Ascii standard files? It should be capable of reading las 2.0 files. Please note: I am not talking about LIDAR .las files here. I am talking about geophysical well-hole logging…
knb
  • 9,138
  • 4
  • 58
  • 85
2
votes
2 answers

LAS files - Python

I'm pretty sure this is a very menial question about LAS files, but I wasn't entirely sure how to google this. For context, I'm trying to create a plot given the information in a LAS file. import lasio as ls import pandas as pd import numpy as…
2
votes
1 answer

Show in LAS file the curve Mnemonics on ~ASCII section with lasio

When writing a LAS file using: las_data.write(new_File,version=2.0) I loose the curve Mnemonics placed on the ~A or ~ASCII line My petrophysicist loves seeing them listed on that line just above the data columns. When writing a LAS file using…
2
votes
0 answers

How to perform the same edit on a folder of csv files

I have a folder of Log ASCII Standard (LAS) files that are comma delimited. Using the lasio package, I can read and edit them normally; however, I want to edit them so they become tab delimited and save as such in the folder. I've already tried…
PJ Johnson
  • 21
  • 3
1
vote
2 answers

How to import and perform calculation in a las files on python?

I hope you are all well. I want to handle .las files in python. These are specific ascii files for geophysical profiling. They have a header and then a series of columns containing various information. What is the best way to start? The main…
1
vote
2 answers

how to add curve header to output of las.write() with lasio.py

I'm using the python lasio.py library and I must be missing in something in the docs. Is there a native way to add headers columns in the ~ASCII (~A) section of the output file. I need to output something like ~A DEPTH DT RHOB NPHI …
ris15
  • 19
  • 2
1
vote
1 answer

How to create a python code to convert all las files in user defined folder into respective excel file using las2excelbulk function

I have to convert .las files in one directory to .xlsx files using las2excelbulk function. Currently I can do that in command prompt but I want to do it using Python: is it possible? Here's the link which i referred…
1
vote
1 answer

How to read negative number of a file with python lasio

I have file .las and I read it with python lasio. But when I print the file, lasio read some negative numbers as Nan The content of .las that I have is > 1190.09200 0.00000 0.00000 0.00000 0.00000 0.00000 0.00000 …
1
vote
2 answers

Regex for LAS entries

I am very bad with RegEx. Can anyone help me getting RegEx for this pattern. Here is the pattern (Words).(Single Character, can be empty)(white spaces)(words, can be empty):(Words, can be empty) Here are the examples VERS. 2.00: Ver 2.00 WRAP.…
fhnaseer
  • 7,159
  • 16
  • 60
  • 112
1
vote
2 answers

Undefined function 'readlas' for input arguments of type 'char'

I just bought the student version of Matlab 2013. I have three well log files (.las) and I have downloaded them onto my computer. When I open matlab I think it has to deal with either retrieving the .las file, or setting the path to get the…
Ally T
  • 11
  • 2
1
vote
1 answer

Write to middle of text file

I am using Delphi 7.0 and need to be able to write to the middle of a text file. Here is an example of the text file my program creates. ~V VERS. 2.0: CWLS LOG ASCII STANDARD - VERSION 2.0 WRAP. NO : One line per depth step ~W STRT.Ft 10000 :…
user1429254
  • 327
  • 1
  • 3
  • 10
0
votes
1 answer

What would be the dependency for no.petroware.logio.las.LasFileReader;

I am trying to read LAS file using java LasFileReader but I am not getting what would be the maven dependency for this import "import no.petroware.logio.las.LasFileReader;"
user8918515
0
votes
1 answer

Best way to parse a file (LAS) with differents parts?

I'm looking forward to parsing a LAS file (Log ASCII Standard), this type of file has different parts with different syntax's, example here: "file.las" ~V VERS . 3.00 : Comments DLM . COMMA ~Curve RHOB.M ~Data 1000.5, 35.2 1001.0, …
Gaëtan Rouziès
  • 490
  • 1
  • 3
  • 16
-2
votes
1 answer

Java API for reading LAS(Log ASCII Standard) files?

Is anyone having experience in reading LAS(Log ASCII Standard) Files using Java? I found one Python library, but in our environment we are restricted to use Java. https://lasio.readthedocs.io/en/latest/ Any help is appreciated.
Shankar
  • 8,529
  • 26
  • 90
  • 159