lasio icon indicating copy to clipboard operation
lasio copied to clipboard

Create new LAS file with units of feet instead of metres

Open kinverarity1 opened this issue 1 year ago • 1 comments

Discussed in https://github.com/kinverarity1/lasio/discussions/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?

kinverarity1 avatar Jan 18 '23 23:01 kinverarity1