You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run the hello world example as described here the simulation finishes without error, but produces a number of warnings during the runtime. I followed the installation for the source code installation here to install pyopmspe11.
This doesnt seem to affect the result, I just wanted to document the warning.
Displayed warning (excerpt from the screen output):
python3 /home/rene/work/reviews/2024-joss-pyopmspe11/pyopmspe11/src/pyopmspe11/visualization/data.py -p spe11b -d spe11b -g all -r 50,1,15 -t 5 -w 1.0 -u resdata
The Python package opm was not found, using resdata
/home/rene/work/reviews/2024-joss-pyopmspe11/pyopmspe11/vpyopmspe11/lib/python3.12/site-packages/resdata/summary/rd_sum.py:873: DeprecationWarning: The method the [] operator will change behaviour in the future. It will then return a plain numpy vector. You are advised to change to use the numpy_vector() method right away
warnings.warn(
/home/rene/work/reviews/2024-joss-pyopmspe11/pyopmspe11/vpyopmspe11/lib/python3.12/site-packages/resdata/summary/rd_sum.py:407: DeprecationWarning: The method get_vector() has been deprecated, use numpy_vector() instead
warnings.warn(
/home/rene/work/reviews/2024-joss-pyopmspe11/pyopmspe11/vpyopmspe11/lib/python3.12/site-packages/resdata/summary/rd_sum.py:873: DeprecationWarning: The method the [] operator will change behaviour in the future. It will then return a plain numpy vector. You are advised to change to use the numpy_vector() method right away
warnings.warn(
/home/rene/work/reviews/2024-joss-pyopmspe11/pyopmspe11/vpyopmspe11/lib/python3.12/site-packages/resdata/summary/rd_sum.py:407: DeprecationWarning: The method get_vector() has been deprecated, use numpy_vector() instead
warnings.warn(
/home/rene/work/reviews/2024-joss-pyopmspe11/pyopmspe11/vpyopmspe11/lib/python3.12/site-packages/resdata/summary/rd_sum.py:873: DeprecationWarning: The method the [] operator will change behaviour in the future. It will then return a plain numpy vector. You are advised to change to use the numpy_vector() method right away
warnings.warn(
/home/rene/work/reviews/2024-joss-pyopmspe11/pyopmspe11/vpyopmspe11/lib/python3.12/site-packages/resdata/summary/rd_sum.py:407: DeprecationWarning: The method get_vector() has been deprecated, use numpy_vector() instead
warnings.warn(
... ( a lot of repetitions of the same warning)
When I run the hello world example as described here the simulation finishes without error, but produces a number of warnings during the runtime. I followed the installation for the source code installation here to install pyopmspe11.
This doesnt seem to affect the result, I just wanted to document the warning.
Displayed warning (excerpt from the screen output):
My environment:
The text was updated successfully, but these errors were encountered: