Magne Sjaastad
8776a2e2bf
#14703 Grid statistics: Fix missing results for computed dynamic results like riPORV*SOIL
...
RimEclipseStatisticsCaseEvaluator::addNamedResult() sized the destination
statistics containers (MEAN/P10/P50/P90/etc.) using the time step count of
an arbitrary first result found in the source case (existingResults()[0]).
Results computed by ResInsight, such as riPORV*SOIL and riPORV*SGAS, do not
have their own time step info populated until they are actually computed,
so existingResults()[0] can end up being an unrelated result, including a
static one (e.g. PORV) with only a single time step. Using its size to
size the destination containers collapsed the statistics for all dynamic
results to a single time step, silently dropping the results for every
other time step, i.e. no results were shown for riPORV*SOIL / riPORV*SGAS.
Fix by using RigCaseCellResultsData::maxTimeStepCount() to find the source
result with the most time steps, and use its time step info both for the
destination time step metadata and for sizing the destination containers,
instead of depending on an arbitrary source result.
Added a unit test reproducing the ensemble statistics computation for
riPORV*SOIL across two source cases.
2026-09-12 04:53:16 -04:00
..
2026-08-07 15:05:57 +02:00
2026-08-10 12:38:02 +02:00
2026-08-21 11:42:34 +02:00
2026-09-09 10:14:41 +02:00
2026-09-10 10:33:58 +02:00
2026-08-21 11:42:34 +02:00
2026-09-10 10:33:58 +02:00
2026-08-07 12:21:41 +02:00
2026-08-06 14:10:49 +02:00
2026-08-07 15:05:57 +02:00
2026-08-07 15:05:57 +02:00
2026-08-05 16:03:42 +02:00
2026-09-12 04:11:57 -04:00
2026-08-07 15:05:57 +02:00
2026-08-19 12:23:07 +02:00
2026-08-10 12:38:02 +02:00
2026-09-07 18:58:05 +02:00
2026-05-26 13:10:20 +02:00
2026-05-26 13:10:20 +02:00
2026-05-26 13:10:20 +02:00
2026-08-19 10:14:59 +02:00
2026-05-26 13:10:20 +02:00
2026-05-26 13:10:20 +02:00
2026-09-08 15:10:58 +02:00
2026-08-07 15:05:57 +02:00
2026-05-26 13:10:20 +02:00
2026-09-10 10:33:58 +02:00
2026-09-07 09:32:04 +02:00
2026-08-20 15:20:58 +02:00
2026-08-07 12:14:03 +02:00
2026-08-24 13:26:19 +02:00
2026-08-07 15:05:57 +02:00
2026-05-26 13:10:20 +02:00
2026-09-03 11:36:57 +02:00
2024-02-05 10:15:36 +01:00
2021-05-25 11:50:18 +02:00
2026-09-10 10:33:58 +02:00
2026-09-07 18:58:05 +02:00
2026-09-07 18:58:05 +02:00
2026-05-08 10:11:09 +02:00
2025-12-08 15:58:05 +01:00
2026-06-17 13:55:32 +02:00
2024-09-19 08:41:57 +02:00
2026-08-07 15:05:57 +02:00
2021-01-11 15:27:45 +01:00
2026-09-10 10:33:58 +02:00
2026-07-27 12:37:59 +02:00
2021-01-11 15:27:45 +01:00
2026-08-27 10:16:06 +02:00
2026-08-27 10:16:06 +02:00
2022-03-04 10:52:17 +01:00
2026-01-12 09:58:55 +01:00
2023-03-09 08:54:28 +01:00
2023-02-26 10:48:40 +01:00
2026-03-31 08:46:52 +02:00
2026-05-08 10:11:09 +02:00
2026-03-31 08:46:52 +02:00
2024-09-13 15:06:32 +02:00
2024-09-13 15:06:32 +02:00
2026-09-12 04:10:14 -04:00
2023-02-26 10:48:40 +01:00
2026-09-12 04:11:57 -04:00
2026-02-13 14:35:52 +01:00
2023-02-26 10:48:40 +01:00
2023-02-26 10:48:40 +01:00
2026-08-13 15:51:46 +02:00
2023-05-11 08:37:58 +02:00
2023-04-14 14:07:45 +02:00
2023-04-14 14:07:45 +02:00
2023-08-23 14:53:53 +02:00
2023-04-14 14:07:45 +02:00
2026-06-10 18:02:07 +02:00
2026-06-10 18:02:07 +02:00
2026-06-10 18:02:07 +02:00
2026-06-10 18:02:07 +02:00
2026-04-20 18:55:36 +02:00
2024-07-25 10:29:16 +02:00
2026-09-09 13:01:26 +02:00
2026-05-28 16:06:39 +02:00
2026-08-25 08:22:29 +02:00
2026-06-15 15:29:33 +02:00
2026-05-11 13:42:13 +02:00
2026-05-11 13:42:13 +02:00
2026-05-11 13:42:13 +02:00
2026-05-11 13:42:13 +02:00
2026-01-27 13:37:37 +01:00
2026-01-27 13:37:37 +01:00
2026-06-08 21:42:19 +02:00
2026-06-08 21:42:19 +02:00
2026-02-18 17:38:45 +01:00
2026-04-08 12:37:36 +02:00
2026-08-07 15:05:57 +02:00
2026-04-20 14:09:25 +02:00
2025-11-28 16:43:51 +01:00
2025-11-28 16:43:51 +01:00
2026-08-26 14:42:42 +02:00
2026-06-24 16:07:21 +02:00
2026-08-28 13:36:02 +02:00
2026-09-10 10:33:58 +02:00
2026-09-12 04:11:57 -04:00
2026-02-13 14:35:52 +01:00
2026-09-10 10:33:58 +02:00
2026-09-10 10:33:58 +02:00
2024-09-24 07:45:10 +02:00
2024-09-24 07:45:10 +02:00
2026-08-07 15:05:57 +02:00
2026-04-20 18:55:36 +02:00
2024-02-05 10:15:36 +01:00
2024-11-04 09:54:23 +01:00
2026-06-23 07:29:21 +02:00
2025-03-14 11:48:32 +01:00
2026-08-07 15:05:57 +02:00
2025-01-14 21:52:54 +01:00
2026-08-07 15:05:57 +02:00
2026-08-07 15:05:57 +02:00
2026-05-11 13:42:13 +02:00
2026-05-11 13:42:13 +02:00
2023-06-06 15:45:54 +02:00
2022-05-29 13:01:27 +02:00
2024-02-05 10:15:36 +01:00
2022-05-19 11:51:52 +02:00
2026-08-28 13:36:02 +02:00
2026-08-28 13:36:02 +02:00
2026-09-10 10:33:58 +02:00
2026-09-10 10:33:58 +02:00
2026-08-07 15:05:57 +02:00
2025-02-26 15:21:12 +01:00
2026-09-10 10:33:58 +02:00
2026-02-13 14:35:52 +01:00
2026-05-11 13:42:13 +02:00
2026-05-11 13:42:13 +02:00
2026-09-12 04:53:16 -04:00
2026-02-13 14:35:52 +01:00
2026-09-10 10:33:58 +02:00
2026-09-08 08:20:38 +02:00
2026-02-13 14:35:52 +01:00
2026-02-13 14:35:52 +01:00
2025-08-27 14:22:11 +02:00
2023-02-26 10:48:40 +01:00
2026-06-19 12:25:55 +02:00
2025-01-14 21:52:54 +01:00
2026-02-12 14:25:48 +01:00
2023-02-26 10:48:40 +01:00
2026-03-31 08:46:52 +02:00
2025-03-14 11:48:32 +01:00
2025-03-14 11:48:32 +01:00
2026-08-21 14:53:48 +02:00
2026-01-27 13:37:37 +01:00
2026-05-08 10:11:09 +02:00
2023-11-08 08:39:04 +01:00
2026-08-21 14:53:48 +02:00
2023-11-10 10:14:59 +01:00
2026-07-27 15:24:25 +02:00
2026-05-11 13:42:13 +02:00
2026-08-07 15:05:57 +02:00
2025-03-14 11:48:32 +01:00
2026-09-07 09:32:04 +02:00
2026-09-07 09:32:04 +02:00
2026-09-10 10:33:58 +02:00
2026-09-10 10:33:58 +02:00
2026-08-10 10:07:32 +02:00
2026-09-10 10:33:58 +02:00
2023-05-12 21:41:34 +02:00
2023-04-14 14:07:45 +02:00
2021-01-11 15:27:45 +01:00
2026-08-07 15:05:57 +02:00
2025-07-30 13:39:02 +02:00
2026-08-19 10:32:17 +02:00
2021-01-11 15:27:45 +01:00
2026-05-08 10:28:00 +02:00
2026-05-08 10:28:00 +02:00
2026-05-08 10:11:09 +02:00
2026-02-16 16:54:22 +01:00
2026-01-08 21:44:58 +01:00
2023-02-10 12:39:13 +01:00
2023-02-26 10:48:40 +01:00
2021-08-13 16:48:33 +02:00
2026-09-07 14:11:02 +02:00
2026-08-20 11:48:25 +02:00
2024-02-05 10:15:36 +01:00
2022-03-04 10:52:17 +01:00
2021-01-11 15:27:45 +01:00
2026-09-08 11:18:33 +02:00
2022-10-12 12:41:08 +02:00
2023-04-14 14:07:45 +02:00
2023-04-14 14:07:45 +02:00
2026-05-13 14:53:00 +02:00
2026-05-13 14:53:00 +02:00
2026-05-08 10:11:09 +02:00
2024-07-25 13:58:31 +02:00
2026-01-19 16:10:14 +01:00
2025-07-16 13:10:47 +02:00
2026-05-13 14:53:00 +02:00
2024-07-05 12:47:54 +02:00
2026-04-20 14:09:25 +02:00
2026-06-17 13:55:32 +02:00
2026-06-17 13:55:32 +02:00
2023-02-26 10:48:40 +01:00
2022-01-17 13:14:21 +01:00
2026-09-09 12:08:10 +02:00
2026-09-09 12:08:10 +02:00
2026-09-09 12:08:10 +02:00
2026-09-09 12:08:10 +02:00
2026-01-08 21:44:58 +01:00
2025-08-27 13:50:36 +02:00
2025-11-19 10:25:32 +01:00
2025-08-27 13:50:36 +02:00
2026-06-17 13:55:32 +02:00
2026-06-17 13:55:32 +02:00
2026-08-07 15:05:57 +02:00
2026-06-24 18:47:04 +02:00
2024-02-22 15:13:29 +01:00
2024-02-22 15:13:29 +01:00
2025-05-30 08:20:43 +02:00
2026-01-19 16:10:14 +01:00
2025-07-16 13:10:47 +02:00
2026-09-10 10:33:58 +02:00
2026-08-28 07:02:50 +02:00
2026-04-29 13:14:49 +02:00
2026-04-29 13:14:49 +02:00
2026-05-11 13:42:13 +02:00
2026-05-11 13:42:13 +02:00
2025-09-18 11:46:57 +02:00
2025-01-02 08:06:50 +01:00
2026-08-10 12:38:21 +02:00
2026-04-20 18:55:36 +02:00
2026-08-27 12:45:28 +02:00
2026-08-27 12:45:28 +02:00
2026-04-20 14:09:25 +02:00
2026-03-31 08:46:52 +02:00
2026-03-31 08:46:52 +02:00
2026-09-12 04:05:24 -04:00
2026-09-10 10:33:58 +02:00
2026-03-03 07:35:48 +01:00
2026-09-10 10:33:58 +02:00
2026-09-10 10:33:58 +02:00
2026-09-10 10:33:58 +02:00
2026-01-20 14:12:27 +01:00
2026-01-20 14:12:27 +01:00
2026-08-21 14:53:48 +02:00
2023-06-05 09:07:14 +02:00
2026-08-07 15:05:57 +02:00
2026-06-24 18:47:04 +02:00
2026-06-19 12:25:55 +02:00
2026-01-20 14:12:27 +01:00
2026-09-10 10:33:58 +02:00
2026-09-10 10:33:58 +02:00
2026-03-31 08:46:52 +02:00
2026-03-31 08:46:52 +02:00
2026-05-28 07:44:18 +02:00
2026-05-27 09:37:42 +02:00
2026-06-01 08:19:44 +02:00
2026-05-28 07:44:18 +02:00
2026-08-07 15:05:57 +02:00
2025-11-28 16:43:51 +01:00
2023-10-20 15:43:18 +02:00
2023-10-20 15:43:18 +02:00
2024-02-05 10:15:36 +01:00
2024-11-04 09:54:23 +01:00
2024-03-07 19:45:43 +01:00
2024-11-04 09:54:23 +01:00
2026-05-08 10:11:09 +02:00
2026-02-18 17:38:45 +01:00
2026-08-21 15:54:28 +02:00
2026-08-21 15:54:28 +02:00
2026-08-27 10:16:06 +02:00
2022-05-09 15:36:27 +02:00
2026-08-10 12:38:02 +02:00
2026-08-10 12:38:02 +02:00
2023-05-12 21:41:34 +02:00
2023-02-26 10:48:40 +01:00
2026-08-10 12:38:02 +02:00
2026-08-10 12:38:02 +02:00
2026-04-20 14:09:25 +02:00
2026-04-20 14:09:25 +02:00
2026-01-08 21:44:58 +01:00
2023-02-26 10:48:40 +01:00
2026-01-27 13:37:37 +01:00
2026-01-27 13:37:37 +01:00
2026-03-31 09:16:52 +02:00
2026-03-31 09:16:52 +02:00
2026-06-17 13:55:32 +02:00
2026-03-18 13:41:27 +01:00
2026-05-08 10:11:09 +02:00
2026-01-27 13:37:37 +01:00
2026-08-07 15:05:57 +02:00
2023-11-28 11:42:21 +01:00
2026-01-19 16:10:14 +01:00
2022-05-09 15:36:27 +02:00
2026-06-24 11:21:13 +02:00
2026-01-23 13:31:47 +01:00
2026-08-07 15:05:57 +02:00
2026-01-23 13:31:47 +01:00
2024-02-05 10:15:36 +01:00
2023-04-14 14:07:45 +02:00
2023-06-26 13:12:41 +02:00
2023-02-26 10:48:40 +01:00
2021-11-14 15:26:09 +01:00
2021-01-11 15:27:45 +01:00
2026-09-09 12:08:10 +02:00
2026-09-09 12:08:10 +02:00
2024-02-05 10:15:36 +01:00
2023-02-26 10:48:40 +01:00
2026-08-21 11:42:34 +02:00
2024-10-31 15:08:59 +01:00
2024-02-05 10:15:36 +01:00
2024-11-04 09:54:23 +01:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00
2026-08-31 12:20:48 +02:00
2026-08-28 13:36:02 +02:00