flownet.ert.forward_models._save_predictions module
- flownet.ert.forward_models._save_predictions.make_dataframe_simulation_data(mode: str, path: str, eclbase_file: str, keys: List[str], end_date: datetime.datetime) Tuple[pandas.core.frame.DataFrame, str]
Internal helper function to generate dataframe containing data from ensemble of simulations from selected simulation keys
- Parameters
mode – String with mode in which flownet is run: prediction (pred) or assisted history matching (ahm)
path – path to folder containing ensemble of simulations
eclbase_file – name of simulation case file
keys – list of prefix of quantities of interest to be loaded
end_date – end date of time period for accuracy analysis
- Raises
ValueError – If mode is invalid (not pred or ahm).
- Returns
Pandas dataframe contained data from ensemble of simulations iteration: current AHM iteration number
- Return type
df_sim
- flownet.ert.forward_models._save_predictions.parse_arguments()
- flownet.ert.forward_models._save_predictions.save_predictions()
This function is called as a post-simulation workflow in ERT, exporting predictions of the FlowNet ensemble of all iterations to a CSV file in the FlowNet output folder.
- Parameters
None –
- Returns
Nothing