Leguark / striplog

Lithology and stratigraphic logs for wells or outcrop.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

striplog

Travis build status Documentation Status Development status Latest version Python version License

Lithology and stratigraphic logs for wells and outcrop.

Docs

Dependencies

These are best installed with Anaconda, see Install, below.

Install

  • 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
    

Development: setting up for testing

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

Development: running the bleeding edge

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.

SciPy 2015

Here's a presentation about Striplog.

About

Lithology and stratigraphic logs for wells or outcrop.

License:Apache License 2.0


Languages

Language:Python 100.0%