equinor / fmu-ensemble

Python objectification of reservoir model ensembles left on disk by ERT.
GNU General Public License v3.0
12 stars 19 forks source link

Observed IndexError from user #254

Closed berland closed 3 months ago

berland commented 3 months ago

A user reported the traceback (on Viva Engage):

Traceback (most recent call last):
File "/pxxxpts/qc_fmu_postprocess_dynamic.py", line 109, in <module>
ens = ensemble.ScratchEnsemble(ens_name_prefix + d, path)
File "/prog/res/komodo/2024.06.10-py38-rhel7/root/lib64/python3.8/site-packages/fmu/ensemble/ensemble.py", line 130, in __init__
count = self.add_realizations(
File "/prog/res/komodo/2024.06.10-py38-rhel7/root/lib64/python3.8/site-packages/fmu/ensemble/ensemble.py", line 199, in add_realizations
realization = ScratchRealization(
File "/prog/res/komodo/2024.06.10-py38-rhel7/root/lib64/python3.8/site-packages/fmu/ensemble/realization.py", line 153, in __init__
self.load_status()
File "/prog/res/komodo/2024.06.10-py38-rhel7/root/lib64/python3.8/site-packages/fmu/ensemble/realization.py", line 557, in load_status
date.today(), time(hour=hms[0], minute=hms[1], second=hms[2])
IndexError: list index out of range

Traceback (most recent call last):
File "/prog/res/komodo/2024.06.10-py38-rhel7/root/lib64/python3.8/site-packages/ert/config/ert_script.py", line 99, in initializeAndRun
return self.run(*arguments)
File "/prog/res/komodo/2024.06.10-py38-rhel7/root/lib64/python3.8/site-packages/ert/config/external_ert_script.py", line 38, in run
raise RuntimeError(self._stderrdata)
RuntimeError: Traceback (most recent call last):
File "/projecxxxxxxn/scripts/qc_fmu_postprocess_dynamic.py", line 109, in <module>
ens = ensemble.ScratchEnsemble(ens_name_prefix + d, path)
File "/prog/res/komodo/2024.06.10-py38-rhel7/root/lib64/python3.8/site-packages/fmu/ensemble/ensemble.py", line 130, in __init__
count = self.add_realizations(
File "/prog/res/komodo/2024.06.10-py38-rhel7/root/lib64/python3.8/site-packages/fmu/ensemble/ensemble.py", line 199, in add_realizations
realization = ScratchRealization(
File "/prog/res/komodo/2024.06.10-py38-rhel7/root/lib64/python3.8/site-packages/fmu/ensemble/realization.py", line 153, in __init__
self.load_status()
File "/prog/res/komodo/2024.06.10-py38-rhel7/root/lib64/python3.8/site-packages/fmu/ensemble/realization.py", line 557, in load_status
date.today(), time(hour=hms[0], minute=hms[1], second=hms[2])
IndexError: list index out of range

It was not possible to obtain the STATUS file that gave this IndexError.