-
Notifications
You must be signed in to change notification settings - Fork 121
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
Comments
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? |
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. |
Thank you all for your kind interventions. The issue was resolved from the ideas I got from you all. I am grateful. Emmanuel. |
Thank you all so much for your kind interventions. I am grateful. The issue
was resolved with your wonderful recommendations. I am grateful and amazed
at how willing you are to render help. Thank you once more for your time.
Emmanuel
…On Thu, 18 Jul 2024 at 10:20, flammmes ***@***.***> wrote:
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.
—
Reply to this email directly, view it on GitHub
<#5481 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BJ4O77WP7RZJQQ4U7GP3YRTZM6CF5AVCNFSM6AAAAABK6G6D5CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZWGAZTENBTGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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.
The text was updated successfully, but these errors were encountered: