flownet.ert.forward_models._save_iteration_parameters module

flownet.ert.forward_models._save_iteration_parameters._load_parameters(runpath: str) Tuple[int, Dict]

Internal helper function to load parameter.json files in parallel.

Parameters

runpath – Path to where the realization is run.

Returns

Dictionary with the realizations’ parameters.

flownet.ert.forward_models._save_iteration_parameters.save_iteration_parameters()

This function is called as a pre-simulation workflow in ERT, saving all parameters of an iteration to a file.

The resulting dataframe is saved as a gzipped parquet file using a PyArrow table and has the following format (example for 5 realizations and 2 parameters):

index = realization | parameter 1 | parameter 2 |

|=====================|=============|=============| | 1 | x.x | x.x | | 3 | x.x | x.x | | 5 | x.x | x.x | | 4 | x.x | x.x | | 2 | x.x | x.x |

Mind that the dataframe is not ordered.

Returns

Nothing