Lithology and stratigraphic logs for wells and outcrop.
These are best installed with Anaconda, see Install, below.
pip install striplog
I recommend setting up a virtual environment:
Install Anaconda if you don't have it already
Then do this to create an environment called
myenv
(or whatever you like), answering Yes to the confirmation question:conda create -n myenv python=3.5 numpy matplotlib source activate myenv
Then you can do:
pip install striplog
There are other requirements for testing, as listed in setup.py
. They should install with:
python setup.py test
But I had better luck doing conda install pytest
first.
The tests can be run with:
python run_tests.py
To run the latest version of the code, you should be on the develop branch:
git clone https://github.com/agile-geoscience/striplog.git cd striplog git checkout develop
You probably want to continue in your virtual environment (see above).
Then I use these commands, which you can join with ; if you like, to keep the software up to date:
/usr/bin/yes | pip uninstall striplog # Of course you don't need this one if you didn't install it yet. python setup.py sdist pip install dist/striplog-0.6.1.tar.gz # Or whatever was the last version to build.