equinor / ert

ERT - Ensemble based Reservoir Tool - is designed for running ensembles of dynamical models such as reservoir models, in order to do sensitivity analysis and data assimilation. ERT supports data assimilation using the Ensemble Smoother (ES), Ensemble Smoother with Multiple Data Assimilation (ES-MDA) and Iterative Ensemble Smoother (IES).
https://ert.readthedocs.io/en/latest/
GNU General Public License v3.0
98 stars 104 forks source link

Have GUI keep state internally instead of piggybacking on snapshots #8055

Open jonathan-eq opened 4 weeks ago

jonathan-eq commented 4 weeks ago

The requested improvement Currently, the gui uses the snapshot methods to get ensemble state instead of keeping the records internally. Ideally, it should only use the snapshots to update its internal state - not get the entire state from snapshots.

dafeda commented 3 weeks ago

What do you mean by GUI keeping state? Don't we in general want GUI-code to be as stateless as possible?

jonathan-eq commented 3 weeks ago

What do you mean by GUI keeping state? Don't we in general want GUI-code to be as stateless as possible?

The idea was to have gui use its own structure for storing the data in the snapshots. Currently it is getting everything from snapshot's metadata. Maybe this is fine, or maybe we should have an extra layer between snapshots and the nodes in GUI.