Tags: alfbr/ert
Tags
Handle ConnectionClosedError in run_and_get_successful_realizations The monitor can experience various connection issues, which will result in connection closed errors. This commits adds handling of these errors and will retry the connection. The handling of ConnectionRefusedError is also changed, and will no longer throw an exception if encountered. Instead, the ensemble is cancelled, and the number of successful realizations is reported. The responsibility of deciding experiment failure/success based on number of failing realizations is left to the parent scope. Test are also added to show that the correct number of successful realizations is reported, even in the event of connection refused and connection closed errors.
Handle ConnectionClosedError in run_and_get_successful_realizations The monitor can experience various connection issues, which will result in connection closed errors. This commits adds handling of these errors and will retry the connection. The handling of ConnectionRefusedError is also changed, and will no longer throw an exception if encountered. Instead, the ensemble is cancelled, and the number of successful realizations is reported. The responsibility of deciding experiment failure/success based on number of failing realizations is left to the parent scope. Test are also added to show that the correct number of successful realizations is reported, even in the event of connection refused and connection closed errors.
Remove local_dataset_type This type was relevant when using Kalman-filters which is not the case anymore. See equinor#2539 for details. Some parts of the functionality was needed, however, so the class can not just be removed. Move necessary functionality from local_dataset_type to local_ministep_type, then update and simplify usage. Separate unit-test for local_dataset_type removed.
PreviousNext