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

Create new LAS file with units of feet instead of metres #542

Open
kinverarity1 opened this issue Jan 18, 2023 Discussed in #538 · 1 comment
Open

Create new LAS file with units of feet instead of metres #542

kinverarity1 opened this issue Jan 18, 2023 Discussed in #538 · 1 comment

Comments

@kinverarity1
Copy link
Owner

Discussed in #538

Originally posted by geoms4geos January 18, 2023
I've been a long time user of lasio and love the functionality it adds to python for those of us who utilize las files for import into various software packages. With that said I continue to struggle with one issue that I believe must have a simple fix. How do I initialize a blank las file with "ft" as the depth index units? I have always assumed the following code would give me correct units:

las.LASFile(index_unit = 'ft')

What am I missing? I have fooled lasio into doing my bidding by changing the units in defaults to 'ft', but that is just a cheap hack. How do I do this the correct way?

@traedoty
Copy link

traedoty commented Dec 2, 2023

Could you explain how you managed to change the units in defaults to 'ft'?

At this point I would take any cheap hack. I'm not sure where to change the defaults.

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