Using the HistoryMatch container in webviz creates an EnsembleSet and mismatches from observations. The fmu.ensemble.Observations.mismatch failes when a realization has failed (does not have a summary file).
File "/.../venv/lib/python3.7/site-packages/webviz_subsurface/datainput/_history_match.py", line 30, in extract_mismatch
.mismatch(ens_data)
File "/.../venv/lib/python3.7/site-packages/fmu/ensemble/observations.py", line 116, in mismatch
mismatches[(ensname, realidx)] = self._realization_mismatch(real)
File "/.../venv/lib/python3.7/site-packages/fmu/ensemble/observations.py", line 305, in _realization_mismatch
)[obsunit["key"]].values[0]
File "/.../venv/lib/python3.7/site-packages/pandas/core/frame.py", line 2927, in __getitem__
indexer = self.columns.get_loc(key)
File "/.../venv/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2658, in get_loc
return self._engine.get_loc(self._maybe_cast_indexer(key))
File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 132, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1601, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1608, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'WBP4:SOME_WELL'
File "/.../venv/lib/python3.7/site-packages/webviz_subsurface/datainput/_history_match.py", line 30, in extract_mismatch
.mismatch(ens_data)
File "/.../venv/lib/python3.7/site-packages/fmu/ensemble/observations.py", line 122, in mismatch
mismatches[(ensname, realidx)] = self._realization_mismatch(real)
File "/.../venv/lib/python3.7/site-packages/fmu/ensemble/observations.py", line 342, in _realization_mismatch
)[obsunit["key"]].values[0]
File "/.../venv/lib/python3.7/site-packages/pandas/core/frame.py", line 2927, in __getitem__
indexer = self.columns.get_loc(key)
File "/.../venv/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 2658, in get_loc
return self._engine.get_loc(self._maybe_cast_indexer(key))
File "pandas/_libs/index.pyx", line 108, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 132, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1601, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1608, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'WBP4:SOME_WELL'