Add Python API for importing SUMO ensembles via fmu-sumo package#910
Draft
Add Python API for importing SUMO ensembles via fmu-sumo package#910
Conversation
…ntegration Agent-Logs-Url: https://github.com/magnesj/ResInsight/sessions/3a967829-5337-492b-b130-d83837d37ea9 Co-authored-by: magnesj <1793152+magnesj@users.noreply.github.com>
…check Agent-Logs-Url: https://github.com/magnesj/ResInsight/sessions/3a967829-5337-492b-b130-d83837d37ea9 Co-authored-by: magnesj <1793152+magnesj@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Suggest designs for ResInsight and SUMO communication
Add Python API for importing SUMO ensembles via fmu-sumo package
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ResInsight's direct Elastic search queries to SUMO are fragile. This adds a Python-driven integration path using the
fmu-sumopackage for metadata access, keeping ResInsight's existing parquet-based data loading intact.Changes
RimcProject.h/cpp— NewimportSummaryEnsembleSumoscriptable PDM method onRimProject. Acceptscase_id,case_name,ensemble_name,vector_names, andrealization_idsfrom Python; creates aRimSummarySumoDataSource+RimSummaryEnsembleSumoand registers them in the project. Auto-exposed to Python asproject.import_summary_ensemble_sumo(...).RimCloudDataSourceCollection— AddedaddSumoDataSource()to support programmatic data source creation outside the UI workflow.sumo_ensemble_import.py— Example script demonstrating the pattern:fmu-sumohandles case/ensemble discovery and metadata (the fragile part), ResInsight handles lazy parquet loading.Usage