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
98 stars 104 forks source link

Clicking on the observations of an uninitialized ensemble crashes the gu #8172

Closed eivindjahren closed 2 weeks ago

eivindjahren commented 3 weeks ago

Screencast from 2024-06-17 15-12-51.webm

To reproduce Steps to reproduce the behaviour:

  1. pip install ert
  2. ert gui test-data/poly_example/poly.ert
  3. click on manage experiments
  4. click on the plus icon to add an uninitialized ensembl
  5. expand the newly created experiment in the tree view
  6. click on the newly created ensemble
  7. click on the corresponding observations tab
Traceback (most recent call last):
  File ".../ert/gui/ertwidgets/storage_info_widget.py", line 196, in _curr
entItemChanged
    response_ds = ensemble.load_responses(
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File ".../ert/storage/local_ensemble.py", line 880, in load_responses
    raise KeyError(
KeyError: 'No response for key POLY_RES, realization: None'
Aborted (core dumped)
oyvindeide commented 2 weeks ago

Fixed in: #8166