Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Help : Unable to install python summaryplot, can't visualize well curve. #5481

Open
NdipOj opened this issue Jul 16, 2024 · 4 comments
Open

Comments

@NdipOj
Copy link

NdipOj commented Jul 16, 2024

Hello Good day
I am Emmanuel and I am currently using the OPM project to make runs of the reservoir data provided on the OPM website (Norne case).
I have not been able to visualize the data on the X-Y plot.
I have a problem installing the python script called Summary plot, even after carefully following the procedure on the OPM website, and the ECL Python bindings despite following all the steps on the website and GitHub.
Please, I need guidance and support. I have been struggling with this for the past two months and no help has been offered to guide me.

I am currently working on my final year project and I am using the OPM software for my reservoir simulations but these problems make it very difficult since I cannot get my results plotted.

@bska
Copy link
Member

bska commented Jul 16, 2024

Thanks for reaching out.

Could you tell us a little bit more about what you're doing, please? In particular, what commands did you run and what diagnostic messages did you receive, if any?

@flammmes
Copy link

flammmes commented Jul 18, 2024

Hey Emmanuel. I also had problems with Summary plot when I first installed flow. Maybe it is a bit deprecated.

If you have built flow with python bindings, then you can simply use

from opm.io.ecl import ESmry
summary = ESmry('{your_file_name}.SMSPEC') # maybe the summary file has another extension than SMSPEC, it depends on the input/ouput keywords you have used
summary['{any_word_from_summary_section}'] 

and you can get any array that you want to plot.

If you haven't installed the python bindings, then you can alternatively use ResInsight and simply load the .EGRID file. Then you go the tab Windows-> open plot window and on the right hand side you will see the loaded case along with all the keywords you have used in the summary section. Simply drag and drop them to the blank space and you have your plots.

If you still want to use Python for the plots for better visualization, you need to load the ResInsight case in python. There is a two hour tutorial on youtube on how to do it. Simply search for "resinsight python" and the first video from Orkahub Energy will help you.

Personally, ResInsight with python didn't work on my linux wsl environment so I simply installed it on Windows and loaded the cases from wsl directly.

I am working with flow for the last seven months and these methods are what I use to get the plots I need.

@NdipOj NdipOj closed this as completed Jul 21, 2024
@NdipOj
Copy link
Author

NdipOj commented Jul 21, 2024

Thank you all for your kind interventions. The issue was resolved from the ideas I got from you all. I am grateful.

Emmanuel.

@NdipOj NdipOj reopened this Jul 21, 2024
@NdipOj
Copy link
Author

NdipOj commented Jul 21, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants