Webviz config plugins for subsurface data
Project description
Webviz subsurface
:sparkles::eyeglasses: Live demo application
Introduction
This repository contains subsurface specific standard webviz
containers, which are used as
plugins in webviz-config.
Installation
The easiest way of installing this package is to run
pip install webviz-subsurface
Add --upgrade
if you have installed earlier, but want to upgrade to a newer version.
If you want to install the latest, unreleased, code you can instead run
pip install git+https://github.com/equinor/webviz-subsurface
Usage and documentation
For general usage, see the documentation on webviz-config. End-user documentation for the subsurface containers are automatically built and hosted on the github pages for this repository.
There is also a live demo application
showing how a created application can look like, using the master
branch of this repository.
Example webviz configuration files
Example webviz
configuration files, and corresponding test data, is available at
https://github.com/equinor/webviz-subsurface-testdata.
See that repository for instructions on how to download and run the examples.
Creating new elements
If you are interested in creating new elements which can be configured through the configuration file, take a look at the webviz-config contribution guide.
You can do automatic linting of your code changes by running
black --check webviz_subsurface tests # Check code style
pylint webviz_subsurface tests # Check code quality
bandit -r -c ./bandit.yml webviz_subsurface tests # Check Python security best practice
Review of contributions
When doing review of contributions, it is usually useful to also see the resulting application live, and not only the code changes. In order to facilitate this, this repository is using GitHub actions.
When on a feature branch, and a commit message including the substring [deploy test]
arrives, the GitHub
action workflow will try to build and deploy a test Docker image for you (which you then can link to a web app with
e.g. automatic reload on new images). All you need to do in your own fork is to add
GitHub secrets with the following names:
review_docker_registry_url
: The registry to push to (e.g.myregistry.azurecr.io
)review_docker_registry_username
: Registry login username.review_docker_registry_token
: Registry login token (or password).review_container_name
: What you want to call the container pushed to the registry.
You are encouraged to rebase and squash/fixup unnecessary commits before pull request is merged to master
.
Disclaimer
This is a tool under heavy development. The current configuration file layout, also for subsurface containers, will therefore see large changes.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file webviz-subsurface-0.2.6a0.tar.gz
.
File metadata
- Download URL: webviz-subsurface-0.2.6a0.tar.gz
- Upload date:
- Size: 391.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc4b068c5cf4b25ce427d8dfb02a2c4f21e66e51952aab3e269ff2894f54dcdb |
|
MD5 | 79a9514ec210324e8ac9b2b680e1be82 |
|
BLAKE2b-256 | 72b0bcba42fdb1905abb5f50341009559e3937435d307ae87878bf738b69faba |
File details
Details for the file webviz_subsurface-0.2.6a0-py3-none-any.whl
.
File metadata
- Download URL: webviz_subsurface-0.2.6a0-py3-none-any.whl
- Upload date:
- Size: 495.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67c8b9c075bcb4a8956ced7da7d20ca6a122b7d0d95ef0e49455a3b2786b592f |
|
MD5 | 100c1621771aa726db9f06372cc25661 |
|
BLAKE2b-256 | 53d136d923314c493437a30d9b73d25c87b3f8315815ff653081783ea6142bf8 |