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
101 stars 104 forks source link

Not possible to open old storage with newer version of ert #6581

Closed oyvindeide closed 9 months ago

oyvindeide commented 10 months ago

Describe the bug Running ert (main) with an older storage fails with:

TypeError: GenKwConfig.__init__() got an unexpected keyword argument 'template_file_path'

There should be a migration for this

kvashchuka commented 10 months ago

Steps to reproduce:

  1. Checkout ert with the commit before the change to templete_file_path, f8d51f262ca847bfb6cd2d4b828cdf97d5a6894f
  2. Run ESMDA
  3. Checkout the change - 1538519c5e4da3a5a73116bedb0d558b6f55f9da
  4. Try running "Ensemble experiment" or ES MDA from one of the generated defaults