Giter Site home page Giter Site logo

griseljimenez / spotfire-mod-welllog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spotfiresoftware/spotfire-mod-welllog

0.0 0.0 0.0 40.83 MB

A visualization for TIBCO Spotfire® to display well logs on tracks and fill in between the lines to aid visualization and interpretation of the data.

License: Other

JavaScript 95.17% CSS 4.20% HTML 0.63%

spotfire-mod-welllog's Introduction

Well Log Mod for TIBCO Spotfire®

The well log visualization is a detailed two-dimensional record of tracks that can be used in petroleum exploration and production applications to show various physical, chemical, electrical, or other properties of the rock/fluid mixtures versus depth penetrated during drilling. Well-log visualization is important in E&P operations in the areas of analyzing electron density, resistivity, photoelectric effect, neutron absorption rate and other related properties, which in turn are useful in the determination of reservoir volume, hydrocarbon in place, reserves estimation and formation lithology

Background

The original Well Log Mod was developed by Justin Gosses called Wellio-viz.js available on his github repository

This is a complex mod that uses d3 and bundled with Webpack.

All source code for the mod example can be found in the src folder. Other necessary files reside in the static folder. Read below for further explanation.

Prerequisites

These instructions assume that you have Node.js (which includes npm) installed.

Data Requirements

This Mod works with pivoted data requiring at least 3 columns: Depth, Category and Value for the unpivoted categories. Here is an example of a small data set:

DEPTH Category Value
200 GR 113.9
200 CAL 176.867
200 PHIN 0.447
200 PHID 0.218
200 RESD 5.927
200.25 GR 112.033
200.25 CAL 175.83
200.25 PHIN 0.482
200.25 PHID 0.22

How to get started (with development server)

  • Open a terminal at the location of this example.
  • Run npm install. This will install necessary tools. Run this command only the first time you are building the mod and skip this step for any subsequent builds.
  • Run npm start. This will bundle the JavaScript and place it in the dist folder. This task will watch for changes in the code and will continue running until it is stopped. Whenever you save a file, the changes will be reflected in the visualization mod.
  • Run npm run server in a separate terminal. This will start a development server.
  • Start editing, for example src/index.js.
  • In Spotfire, follow the steps of creating a new mod and connecting to the development server.

Working without a development server

  • Open a terminal at the location of this example.
  • Run npm install. This will install necessary tools. Run this command only the first time you are building the mod and skip this step for any subsequent builds.
  • Run npm run build. This will bundle the JavaScript and place it in the dist folder. It also copies the contents of static into dist. This task will not watch for changes in the code.
  • In Spotfire, follow the steps of creating a new mod and then browse for, and point to, the manifest in the dist folder.

spotfire-mod-welllog's People

Contributors

aberridg avatar jleviaguirre avatar rodrigomantovaneli avatar aradimo avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.