-
Notifications
You must be signed in to change notification settings - Fork 9
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
Parameters visualization problem (Gas saturation, XCO2aq, etc) #142
Comments
Moreover, I get a deprecation warning with using the above mentioned code |
Hi @jousheinfo,
SG = output[N].data['SG'] What's the deprecation warning you get? |
Dear @keurfonluu, unfortunately, the code you suggested did not work correctly. I get the following output: [1.0, 2.0, 346270.0, 35.25, 0.0, 0.0, 0.0, 1.0, 7.2418e-09, 0.0, 1.0, 6.07, 994.12] It is mixing pressure, temperature, saturation........how to fix this, please? And regarding the deprecation warning, when I type this: toughio.read_output('injection.listing')[22] I get the following message: C:\Users\User\AppData\Local\Programs\Python\Python310\lib\site-packages\toughio_io\output\tough_tough.py:80: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray. Thank you so much! |
I will need the simulations files in order to be able to investigate. |
Dear @keurfonluu, please find attached the input and output file of my simulation. Thanks! injection_Pwh_50_gas_CO2_salinity_output.txt |
Hi @jousheinfo, Sorry for the delay, I have been pretty busy lately.
Let me know if it doesn't work. |
Fixed in #144. |
Hello,
I am trying to obtain data on the gas saturation from a T2WELL output file, but it is not working. I want to extract the data for the first hour of the simulation and plot it with time (also extracted using toughio), but when using slicing ([:24]), I get a problem.
I would like to kindly request your help. Thank you for your time and consideration!
Please take a look at the Python code below and the error I get.
import toughio
output = toughio.read_output('injection.listing')[:24]
SG = output.data['SG']
AttributeError: 'list' object has no attribute 'data'
The text was updated successfully, but these errors were encountered: