expreccs.visualization.reading module
” Script to read OPM Flow output files
- expreccs.visualization.reading.define_cases(dic, fol, folders)
Only plot the first two and last cases for the back-coupling
- Args:
dic (dict): Global dictionary
fol (str): Name of the output folder
folders (list): Names of the cases
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.reading.handle_smsp_time(dic, fol, res, name)
Handle the times in the summary files
- Args:
dic (dict): Global dictionary
fol (str): Name of the output folder
res (str): Complete name of the simulated model
name (str): Name of the type of simulated model (e.g., site)
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.reading.manage_names(dic, res)
Figure out the folder names
- Args:
dic (dict): Global dictionary
res (str): Complete name of the simulated model
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.reading.opm_arrays(dic, fol, res, loadnpy)
From simulation data to arrays
- Args:
dic (dict): Global dictionary
fol (str): Name of the output folder
res (str): Complete name of the simulated model
loadnpy (bool): True for plotting, False for back-coupling
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.reading.reading_opm(dic, loadnpy=True)
Read the deck quantities using opm
- Args:
dic (dict): Global dictionary
loadnpy (bool): True for plotting, False for back-coupling
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.reading.reading_resdata(dic, loadnpy=True)
Read the deck quantities using resdata
- Args:
dic (dict): Global dictionary
loadnpy (bool): True for plotting, False for back-coupling
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.reading.resdata_arrays(dic, fol, res, loadnpy)
From simulation data to arrays
- Args:
dic (dict): Global dictionary
fol (str): Name of the output folder
res (str): Complete name of the simulated model
loadnpy (bool): True for plotting, False for back-coupling
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.reading.resdata_load_data(dic, fol, res, name)
Read the data needed for the plotting
- Args:
dic (dict): Global dictionary
fol (str): Name of the output folder
res (str): Complete name of the simulated model
name (str): Name of the type of simulated model (e.g., site)
- Returns:
dic (dict): Modified global dictionary