expreccs.visualization.plotting module
” Script to plot the top surface for the reference, regional, and site reservoirs.
- expreccs.visualization.plotting.handle_labels_difference(dic, res, j, nqua, nfol)
Manage the labeling to improve the visualization.
- Args:
dic (dict): Global dictionary
res (str): Name of the reservoir
j (int): Indice for the reservoir
nqua (int): Current number of quantity
nfol (int): Current number of folder
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.plotting.handle_labels_distance(dic, nfol, res, fol, j)
Manage the labeling for better visualization.
- Args:
dic (dict): Global dictionary
nfol (int): Indice for the color
res (str): Name of the reservoir
fol (str): Name of the output folder
j (int): Indice for the reservoir
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.plotting.handle_site_summary(dic, i, quantity)
Routine for the summary quantities at the site location
- Args:
dic (dict): Global dictionary
i (int): Index of the quantity
quantity (str): Name of the quantity
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.plotting.main()
Generate figures
- expreccs.visualization.plotting.over_time_distance(dic)
Plot the distance from the closest saturation cell to the site border
- Args:
dic (dict): Global dictionary
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.plotting.over_time_max_difference(dic, nqua, quantity)
Plot the max difference between pressure/saturation.
- Args:
dic (dict): Global dictionary
nqua (int): Index of the quantity
quantity (str): Name of the quantity
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.plotting.over_time_sensor(dic, nqua, quantity)
Plot the quantities on the sensor.
- Args:
dic (dict): Global dictionary
nqua (int): Index of the quantity
quantity (str): Name of the quantity
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.plotting.plot_results(dic)
Plot the 2D maps/1D projections for the different quantities
- Args:
dic (dict): Global dictionary
- Returns:
None
- expreccs.visualization.plotting.plotting_settings(dic)
Set the color/line styles and labels
- Args:
dic (dict): Global dictionary
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.plotting.positions_opm(dic, fol, res, nrst)
Extract the point coordinates using opm
- Args:
dic (dict): Global dictionary
fol (str): Name of the output folder
res (str): Name of the reservoir
nrst (int): Indice for the schedule
- Returns:
points (list): x,y,z coordinates
- expreccs.visualization.plotting.positions_resdata(dic, fol, res, nrst)
Extract the point coordinates using resdata
- Args:
dic (dict): Global dictionary
fol (str): Name of the output folder
res (str): Name of the reservoir
nrst (int): Indice for the schedule
- Returns:
points (list): x,y,z coordinates
- expreccs.visualization.plotting.summary_plot(dic, i, quantity)
Plot the summary quantities
- Args:
dic (dict): Global dictionary
i (int): Index of the quantity
quantity (str): Name of the quantity
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.plotting.summary_site(dic, nfol, ndeck, opmn)
Plot summary quantities
- Args:
dic (dict): Global dictionary
nfol (int): Current number of folder
ndeck (int): Current number of deck
opmn (str): Summary name to plot
- Returns:
dic (dict): Modified global dictionary
- expreccs.visualization.plotting.wells_site(dic, nquan, nfol, ndeck, nwell)
Plot the injection rates and BHP
- Args:
dic (dict): Global dictionary
nquan (int): Current number of quantity
nfol (int): Current number of folder
ndeck (int): Current number of deck
nwell (int): Current number of well
- Returns:
dic (dict): Modified global dictionary