-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
110 changed files
with
219,192 additions
and
223,342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[run] | ||
omit = *docs*, *tests*, *_version.py, *__init__.py, *__main__.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Build docs | ||
|
||
on: | ||
push: | ||
branches: [ develop, master ] | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install .[docs] | ||
- name: Update docs | ||
run: | | ||
cd docs | ||
make html | ||
- name: Deploy | ||
uses: JamesIves/[email protected] | ||
with: | ||
branch: gh-pages | ||
folder: docs/_build/html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This workflow will upload a Python Package using Twine when a release is created | ||
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | ||
|
||
# This workflow uses actions that are not certified by GitHub. | ||
# They are provided by a third-party and are governed by | ||
# separate terms of service, privacy policy, and support | ||
# documentation. | ||
|
||
name: Publish to PyPI | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
deploy: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install build | ||
- name: Build package | ||
run: | | ||
python -m build | ||
- name: Publish package | ||
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_API_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions | ||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | ||
|
||
name: Run tests | ||
|
||
on: | ||
push: | ||
branches: [ develop, master ] | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"] | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
python -m pip install .[test] | ||
- name: Test with pytest | ||
run: | | ||
python run_tests.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Authors | ||
|
||
The following people have contributed to the project (in alphabetical order): | ||
|
||
- [Evan Bianco](https://github.com/EvanBianco), Agile Scientific, Canada | ||
- [Jesper Dramsch](https://github.com/JesperDramsch), Edinburgh, UK | ||
- [Matt Hall](https://github.com/kwinkunks), Agile Scientific, Canada / [ORCID: 0000-0002-4054-8295]( https://orcid.org/0000-0002-4054-8295)) | ||
- [Kent Inverarity](https://github.com/kinverarity1), South Australia | ||
- [Rob Leckenby](https://github.com/Zabamund), Agile Scientific, Switzerland | ||
- [Thomas Martin](https://github.com/ThomasMGeo), Colorado, USA | ||
- [Steve Purves](https://github.com/stevejpurves), Curvenote, Spain | ||
- [Patrick Reinhard](https://github.com/patrick-reinhard), Shell, The Netherlands | ||
- [DC Slagel](https://github.com/dcslagel), Shell, The Netherlands | ||
- [Miguel de la Varga](https://github.com/Leguark), Germany | ||
- Wenting Xiong, Shell, The Netherlands |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Contributing | ||
|
||
## 🙌 Thank you for considering contributing to `welly`! | ||
|
||
There are several important ways you can help; here are some examples: | ||
|
||
- Submitting bug reports and feature requests: see [Issues](https://github.com/agile-geoscience/welly/issues). | ||
- Proposing code for bug fixes and new features, then [making a pull request](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/about-pull-requests). | ||
- Fixing typos and generally improving the documentation. | ||
- Writing tutorials, examples, and how-to documents. | ||
|
||
|
||
## Code of conduct | ||
|
||
We're fortunate to be part of a large professional community that conducts itself with mutual respect and consideration for others. Agile's [Code of Conduct](https://github.com/agile-geoscience/community/blob/main/CODE_OF_CONDUCT.md) is part of protecting these features for everyone, everywhere. Please read it. | ||
|
||
|
||
## Authorship | ||
|
||
If you contribute a pull request to the project, please add yourself to `AUTHORS.md`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
![Welly banner](https://www.dropbox.com/s/a8jg7zomi4wgolb/welly_banner.png?raw=1) | ||
|
||
[![Run tests](https://github.com/agile-geoscience/welly/actions/workflows/run-tests.yml/badge.svg)](https://github.com/agile-geoscience/welly/actions/workflows/run-tests.yml) | ||
[![Build docs](https://github.com/agile-geoscience/welly/actions/workflows/build-docs.yml/badge.svg)](https://github.com/agile-geoscience/welly/actions/workflows/build-docs.yml) | ||
[![PyPI version](https://img.shields.io/pypi/v/welly.svg)](https://pypi.python.org/pypi/welly/) | ||
[![PyPI versions](https://img.shields.io/pypi/pyversions/welly.svg)](https://pypi.org/project/welly//) | ||
[![PyPI license](https://img.shields.io/pypi/l/welly.svg)](https://pypi.org/project/welly/) | ||
|
||
**`welly` facilitates the loading, processing, and analysis of subsurface wells and well data, such as striplogs, formation tops, well log curves, and synthetic seismograms.** | ||
|
||
|
||
## Installation | ||
|
||
pip install welly | ||
|
||
For developers, there are `pip` options for installing `test`, `docs` or `dev` (docs plus test) dependencies. | ||
|
||
|
||
## Quick start | ||
|
||
```python | ||
from welly import Well, Project | ||
|
||
w = Well.from_las('my_wells/my_well.las') # Load a single well. | ||
p = Project.from_las('my_wells/*.las') # Load lots of wells. | ||
|
||
gr = w.data['GR'] # One log; this is a subclassed NumPy array... | ||
gr.plot() # ...with some superpowers! | ||
``` | ||
|
||
Next, check out the tutorial notebooks. | ||
|
||
|
||
## Documentation | ||
|
||
[The `welly` documentation](https://code.agilescientific.com/welly) is a work in progress. | ||
|
||
|
||
## Contributing | ||
|
||
Please see [`CONTRIBUTING.md`](https://github.com/agile-geoscience/redflag/blob/main/CONTRIBUTING.md). | ||
|
||
|
||
## Philosophy | ||
|
||
The [`lasio`](https://github.com/kinverarity1/lasio) project provides a very nice way to read and | ||
write [CWLS](http://www.cwls.org/) Log ASCII Standard files. The result is an object that contains all the LAS data — it's more or less analogous to the LAS file. | ||
|
||
Sometimes we want a higher-level object, for example to contain methods that have nothing to do | ||
with LAS files. We may want to handle other well data, such as deviation surveys, tops (aka picks), | ||
engineering data, striplogs, synthetics, and so on. This is where `welly` comes in. | ||
|
||
`welly` uses `lasio` for data I/O, but hides much of it from the user. We recommend you look at | ||
both projects before deciding if you need the 'well-level' functionality that `welly` provides. |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.