Skip to content

Instantly share code, notes, and snippets.

@kinverarity1
Last active September 24, 2020 09:49
Show Gist options
  • Save kinverarity1/92f00b781472512349a9312d75fd4c33 to your computer and use it in GitHub Desktop.
Save kinverarity1/92f00b781472512349a9312d75fd4c33 to your computer and use it in GitHub Desktop.
@shakasaki hack-y example of getting data out of a LAS 3 file pending proper LAS 3 support in lasio
Display the source blob
Display the rendered blob
Raw
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@kinverarity1
Copy link
Author

kinverarity1 commented Sep 11, 2020

Try running pip install git+https://github.com/kinverarity1/lasio.

Collecting git+https://github.com/kinverarity1/lasio
  Cloning https://github.com/kinverarity1/lasio to c:\users\kinverarity\appdata\local\temp\pip-req-build-i_kd81cz
Requirement already satisfied: numpy in c:\devapps\kinverarity\python\miniconda3\envs\gwdev\lib\site-packages (from lasio==0.28.dev49+gebde7cd) (1.19.1)
Building wheels for collected packages: lasio
  Building wheel for lasio (setup.py) ... done
  Created wheel for lasio: filename=lasio-0.28.dev49+gebde7cd-py3-none-any.whl size=38741 sha256=c661b3e7d37f891e1fda9021c218c0a9e3a051e45bbbbf1c90801f5303231ba6
  Stored in directory: C:\Users\kinverarity\AppData\Local\Temp\pip-ephem-wheel-cache-ilstd25q\wheels\88\48\37\167228847b9a90ba8f9a682a642fa2877619605e5087f2cfff
Successfully built lasio
Installing collected packages: lasio
Successfully installed lasio-0.28.dev49+gebde7cd

And then run this command to confirm:

> python -c "import lasio; print(lasio.__version__)"
0.28.dev49+gebde7cd

@kinverarity1
Copy link
Author

@shakasaki I have updated the notebook above to parse it as RGB data

@kinverarity1
Copy link
Author

(For future reference and readers, this gist is the result of a discussion in the lasio issue tracker here: kinverarity1/lasio#5)

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