equinor / ert

ERT - Ensemble based Reservoir Tool - is designed for running ensembles of dynamical models such as reservoir models, in order to do sensitivity analysis and data assimilation. ERT supports data assimilation using the Ensemble Smoother (ES), Ensemble Smoother with Multiple Data Assimilation (ES-MDA) and Iterative Ensemble Smoother (IES).
https://ert.readthedocs.io/en/latest/
GNU General Public License v3.0
104 stars 107 forks source link

Failure in misfit preprocessor after warning #9301

Open larsevj opened 4 days ago

larsevj commented 4 days ago

What happened? (You can include a screenshot if it helps explain)

https://fmu-dashboard-fdeqekb8chekcqhu.neu.grafana.azure.com/d/ae0bpm0169ou8e/traces?from=now-24h&to=now&var-operation_id=9a8b920d1f656a017b3f4e6aa26e1925

User report where ERT failed in the update step due to an error in misfit preprocessor. The following warning was emitted:

/prog/res/komodo/2024.11.02-py311-rhel8/root/lib64/python3.11/site-packages/ert/analysis/misfit_preprocessor.py:65: ConstantInputWarning: An input array is constant; the correlation coefficient is not defined. correlation = spearmanr(responses).statistic.

and then ERT fails afterwards with:

error_msg='y must be 1 or 2 dimensional.

What did you expect to happen?

No response

steps to reproduce

Environment where bug has been observed

eivindjahren commented 22 hours ago

@larsevj Until we know more about the failure, and how to reproduce it, we can't really get going nor triage this bug. I see that you were going to write more about it. Did you have anything more to write?

xjules commented 17 hours ago

Let's add stacktrace to the exception to get more info on the error. @larsevj will write more on this.