kinverarity1 / lasio

Python library for reading and writing well data using Log ASCII Standard (LAS) files
https://lasio.readthedocs.io/en/latest/
MIT License
342 stars 152 forks source link

Need another recognised unit? #339

Closed DaveHealy-github closed 4 years ago

DaveHealy-github commented 4 years ago

Hello I'm working with wells from the UK North Sea, some of which have depths recorded in 0.1 inches! On trying to load them I get: File "/opt/anaconda3/lib/python3.7/site-packages/lasio/las.py", line 754, in depth_m raise exceptions.LASUnknownUnitError("Unit of depth index not known") LASUnknownUnitError: Unit of depth index not known

Is this an easy fix? Any pointers appreciated - happy to have a go myself, on a forked version. Cheers, Dave

ThomasMGeo commented 4 years ago

Dave, do you have an example .las file?

0.1 inches is 0.25 cm, really curious if it's real or 0.1ft!

-TM

On Thu, May 21, 2020 at 9:05 AM Dave Healy notifications@github.com wrote:

Hello I'm working with wells from the UK North Sea, some of which have depths recorded in 0.1 inches! On trying to load them I get: File "/opt/anaconda3/lib/python3.7/site-packages/lasio/las.py", line 754, in depth_m raise exceptions.LASUnknownUnitError("Unit of depth index not known") LASUnknownUnitError: Unit of depth index not known

Is this an easy fix? Any pointers appreciated - happy to have a go myself, on a forked version. Cheers, Dave

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kinverarity1/lasio/issues/339, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJDVBLAINZDI74MPKAI3FALRSU7NHANCNFSM4NG5EVEA .

-- Thomas Martin Chevron Center of Research Excellence Colorado School of Mines https://tmartin.carrd.co/ (805) 904-9991

DaveHealy-github commented 4 years ago

CDA_11907470_16_03a-_11_1 copy.txt

Hello

thanks for getting back to me so quickly.

Yes, got loads!

Here is one of N=14 for the Uranium SGR data

Cheers, Dave

David Healy School of Geosciences Meston Walk University of Aberdeen Aberdeen AB24 3UE +44 (0)1224 273850

My working day may not be your working day. Please do not feel obliged to reply to this e-mail outside of your normal working hours.

Publications: https://scholar.google.com/citations?hl=en&user=ug9DnVoAAAAJ Software: http://www.fracturedrockphysics.com/software.html Home page: http://www.fracturedrockphysics.com/index.html

On 21 May 2020, at 16:10, Thomas notifications@github.com<mailto:notifications@github.com> wrote:

CAUTION: External email. Ensure this message is from a trusted source before clicking links/attachments.

Dave, do you have an example .las file?

0.1 inches is 0.25 cm, really curious if it's real or 0.1ft!

-TM

On Thu, May 21, 2020 at 9:05 AM Dave Healy notifications@github.com<mailto:notifications@github.com> wrote:

Hello I'm working with wells from the UK North Sea, some of which have depths recorded in 0.1 inches! On trying to load them I get: File "/opt/anaconda3/lib/python3.7/site-packages/lasio/las.py", line 754, in depth_m raise exceptions.LASUnknownUnitError("Unit of depth index not known") LASUnknownUnitError: Unit of depth index not known

Is this an easy fix? Any pointers appreciated - happy to have a go myself, on a forked version. Cheers, Dave

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kinverarity1/lasio/issues/339, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJDVBLAINZDI74MPKAI3FALRSU7NHANCNFSM4NG5EVEA .

-- Thomas Martin Chevron Center of Research Excellence Colorado School of Mines https://tmartin.carrd.co/ (805) 904-9991

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/kinverarity1/lasio/issues/339#issuecomment-632140270, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AESJKRRDCKOROK7NZJWU4A3RSU77TANCNFSM4NG5EVEA.

The University of Aberdeen is a charity registered in Scotland, No SC013683. Tha Oilthigh Obar Dheathain na charthannas clàraichte ann an Alba, Àir. SC013683.

kinverarity1 commented 4 years ago

Thanks for raising this @DaveHealy-Aberdeen! Are you able to have a look at the PR #340 and see if that fixes your issue? Does this look right for your example file?

image

kinverarity1 commented 4 years ago

340 has been merged into master and will be part of the next release (I'll notify you when that happens)