mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 22:27:55 -05:00
First step in modernizing the command file interface: move the implementation of legacy Ricf commands into object-oriented Rimc methods, and let the Ricf command forward to them. - Add RimCase_replaceGrid (PdmVoidObjectMethod on RimCase) with NewGridFile and optional ProjectFile parameters. Works for both Eclipse result cases and GeoMech cases. Generated in Python as Case.replace_grid(). - Add RicfCommandForwarding helpers for resolving ids to objects and converting std::expected results to PdmScriptResponse. - RicfSingleCaseReplace::execute() now resolves the case and the executor's last project path, then forwards to RimCase_replaceGrid. Command file syntax and Commands.proto are unchanged. - Case.replace() in Python is kept as a thin wrapper over replace_grid() and emits a DeprecationWarning.
ResInsight Processing Server - rips
A Python interface for the ResInsight visualization and post-processing suite for Reservoir Simulations