Data section containing non-numeric chars is parsed entirely as str
#439
Labels
bug
data-section-parser
A bug or enhancement relating to the data section parser
las3
stuff relating to LAS 3.0
Describe the bug
If the data section contains any non-numeric characters, all of it is parsed as
str
, instead of data types being per-column. This is the fundamental blocker to supporting many LAS 3 files in a useful way and has been touched on before e.g. #5 (comment)To Reproduce
Steps to reproduce the behavior:
test_utah_well.las.txt
Expected behavior
Each curve in
las.curves
should have an appropriate data type. For the attached example, the curvesColour
andType
should be typestr
and all the others should have typefloat
, effectively.Software versions (please complete the following information):
import lasio; print(lasio.__version__)
)master
The text was updated successfully, but these errors were encountered: