Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non standard LAS with extra line after ~A giving the column names #90

Open
VelizarVESSELINOV opened this issue Aug 12, 2015 · 1 comment

Comments

@VelizarVESSELINOV
Copy link
Contributor

<class 'lasio.las.LASDataError'> error: Failed to read data:\nValueError: could not convert string to float: b'DEPT'"

Suggestion check if the lines in ~A section start with character and not a number consider this line as line starting with comment like "#"

~CURVE INFORMATION 
DEPT.FT     .1 :DEPTH                
GR.            API : Gamma Ray
CALX.          IN : X-Axis Cal
CALY.          IN : Y-Axis Cal
NPLS.          V/V : Neutron P
ILD.           OHMM : Deep Ind
ILM.           OHMM : Medium I
RHOB.          G/CC : Bulk Den
DRHO.          G/CC : Bulk Den
DPLS.          V/V : Density P
PE.            BARNS/E : Photo
X-Por.          V/V: CROSS-PLOT
~A   
DEPT             GR        CALX        CALY        NPLS         ILD         ILM        RHOB        DRHO        DPLS          PE        X-Por
-0.1000             61.109        2.632        3.488       -0.002       10.070    10000.000        2.699       -0.036        0.007        4.132        0.277
-0.0000             61.022        2.632        3.491       -0.002       10.081    10000.000        2.700       -0.033        0.006        4.041        0.247

@kinverarity1
Copy link
Owner

kinverarity1 commented Jul 14, 2016

Note to self: I will have to be careful if I implement this in how it might interact with LAS 3.

Could just make it a feature that only happens when VERS is 1.2 or 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants