Giter Site home page Giter Site logo

opm / opm-utilities Goto Github PK

View Code? Open in Web Editor NEW
16.0 26.0 37.0 45.78 MB

A collection of utilities of interest to the opm community

Emacs Lisp 3.73% Python 67.37% MATLAB 17.53% Shell 4.67% M 3.59% Mercury 0.16% CMake 0.11% Dockerfile 0.39% POV-Ray SDL 1.66% Mako 0.79%

opm-utilities's Introduction

The utilities repository is a place for various utilities of value to the OPM community.

summaryplot is a Python script enabling plotting of curves from reservoir simulations. For usage have a look at the wiki, here: http://www.opm-project.org/wiki/index.php/Main_Page#Graphical_solution Dependencies: http://ert.nr.no/wiki/index.php/ERT-Python python numpy matplotlib

eclipse.el is an Emacs mode for reservoir simulation input files.

compare_wells.m is a Matlab script enabling plotting of curves from reservoir simulations. Dependencies: http://www.sintef.no/projectweb/mrst/

opm-utilities's People

Contributors

akva2 avatar alfbr avatar andlaus avatar atgeirr avatar babrodtk avatar berland avatar blattms avatar bska avatar cfbe avatar hnil avatar joakim-hove avatar lisajulia avatar opmuser avatar svenn-t avatar totto82 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

opm-utilities's Issues

Vagrant bootstrap problem

Running vagrant up gives me this message at the end:

==> default: stdin: is not a tty
==> default: /tmp/vagrant-shell: line 5: /tmp/scripts/install_packages.sh: No such file or directory

It looks like the bootstrap script does not reside in the dir that is used by the bootstrapping process.
Loggin in with vagrant ssh, doing cd /host and sh bootstrap.sh seems to work, although I get an error message:

bootstrap.sh: 3: bootstrap.sh: Bad substitution

Problem getting opmrun to run

bash% python omprun.py
OPMRUN Cannot Import PySimpleGUI - Please Install Using pip3
bash%pip3 install PySimpleGUIpip3 install PySimpleGUI
Collecting PySimpleGUI
  Downloading https://files.pythonhosted.org/packages/b1/43/ea5d29f303241c6308b0dc7d684aab90763a7e01d011f1ec819da9ca94d0/PySimpleGUI-4.19.0-py3-none-any.whl (333kB)
     |████████████████████████████████| 337kB 4.7MB/s 
Installing collected packages: PySimpleGUI
Successfully installed PySimpleGUI-4.19.0
bash% python omprun.py
OPMRUN Cannot Import PySimpleGUI - Please Install Using pip3

OPMrun .exe file

Hello to all! How can I get the .exe file to run just like an application. I can already run through the terminal. With command:
python opmrun.py
Then I tried to build with pyinstaller like in instruction:
pyinstaller --onefile opmrun.py
The build is successful. build and dist folders are created. In dist folder there is an .exe file, but when launched, it does not bring up the opmrun window, as when launched from the terminal.
Error_OPMrun

summaryplot issue

Hi, long time no see!

I tried to use summaryplot to get some plots, but the issue happened. I have updated ERT and summarploy to the least version and this binary never had the problem before.

Thanks!

Traceback (most recent call last):
  File "opm-utilities/summaryplot", line 52, in <module>
    import ert.ecl as ecl
  File "/usr/local/lib/python2.7/dist-packages/ert/__init__.py", line 120, in <module>
    from ert.util import Version
  File "/usr/local/lib/python2.7/dist-packages/ert/util/__init__.py", line 40, in <module>
    from cwrap import Prototype
  File "/usr/local/lib/python2.7/dist-packages/ert/cwrap/__init__.py", line 46, in <module>
    from .basecclass import BaseCClass
  File "/usr/local/lib/python2.7/dist-packages/ert/cwrap/basecclass.py", line 6, in <module>
    class BaseCClass(object):
  File "/usr/local/lib/python2.7/dist-packages/ert/cwrap/metacwrap.py", line 30, in __init__
    registerType(type_name, cls, is_return_type=is_return_type, storage_type=storage_type)
  File "/usr/local/lib/python2.7/dist-packages/ert/cwrap/prototype.py", line 20, in registerType
    raise PrototypeError("Type: '%s' already registered!" % type_name)
ert.cwrap.prototype.PrototypeError: Type: 'base_c_class' already registered!

Problem launching OPMRUN

Hello all.
I am not managing to launch OPMRUN. in Ubuntu 22.04 It returns an error in the "run_command" function.
I am running python3.10 which is the default installation.
Has anyone had a similar issue?

Captura de tela de 2023-05-19 14-04-44

Guilherme

Plot couldn't show in summaryplot

As listed below, summaryplot works fine if I want to save the plot, while the plot couldn't show. I also tested the python matplotlib, which works fine with python.
yz7609@ese-yz7609:/Downloads/OPM/opm-polymer-test-build/tests/POLY_CONC_1/output_opm_polymer$ summaryplot POLY_CONC_1.DATA WOPR:PROD01
Menu: 'q' = quit, 'r' = reload plots
Reloading plot...
yz7609@ese-yz7609:
/Downloads/OPM/opm-polymer-test-build/tests/POLY_CONC_1/output_opm_polymer$ summaryplot -d POLY_CONC_1.DATA WOPR:PROD01
Dumping plot to summaryplotdump.png and summaryplotdump.pdf
yz7609@ese-yz7609:~/Downloads/OPM/opm-polymer-test-build/tests/POLY_CONC_1/output_opm_polymer$
Many appreicated for your advices.

Best Reagards
Yingfang

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.