Skip to main content

Webviz config plugins for subsurface data

Project description

This package will be deprecated - we move instead all collaboration focus to the reusable React and Dash components in:
  • https://github.com/equinor/webviz-subsurface-components
  • https://github.com/equinor/webviz-core-components
and the FMU use case to https://github.com/equinor/webviz


PyPI version Build Status Python  3.11 | 3.12 Code style: black

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

webviz_subsurface-0.2.47.tar.gz (868.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

webviz_subsurface-0.2.47-py3-none-any.whl (994.4 kB view details)

Uploaded Python 3

File details

Details for the file webviz_subsurface-0.2.47.tar.gz.

File metadata

  • Download URL: webviz_subsurface-0.2.47.tar.gz
  • Upload date:
  • Size: 868.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for webviz_subsurface-0.2.47.tar.gz
Algorithm Hash digest
SHA256 42f15409c4dd5de87c3133557b653dcd897553d59f24fc46d902100b984cfe0a
MD5 5c12aef80a5021c24c1996e32e3a6421
BLAKE2b-256 2f902eaafc272e48f354a3ee3e1cad4ca364e0c62d5019e9e5356bb684704a0d

See more details on using hashes here.

File details

Details for the file webviz_subsurface-0.2.47-py3-none-any.whl.

File metadata

File hashes

Hashes for webviz_subsurface-0.2.47-py3-none-any.whl
Algorithm Hash digest
SHA256 01b885609a6a8ae45acdf66b4899d59deed38a9ea6d964e4bdbddf91d5b58a78
MD5 538975255f2703b7dc7955a391aaa146
BLAKE2b-256 f18a3235c34b36ea78403160a1416167fbef96247a1a6bb4fd1dce9175138de6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page