ResInsight
ResInsight copied to clipboard
2022-06: How to Loop over Well Summary Plots Question
trafficstars
I have a series of plots for one well, and I would like to loop over the plots for each well. For example, If I have four plots and 10 ten wells, I would like to export the plots for WEL01, then update to WEL02 and export the plots... etc.
How does one do this?
Secondly, I tried this to just export the existing plots:
i = 0
for plot in plots:
i = i + 1
plot_name = "WVFPEXP" + str(i)
plot.export_snapshot(prefix = plot_name, output_format="PNG")
But prefix is not recognized in this context - although I may be confused with the grid and the summary options.
Any help would be warmly appreciated.