mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-24 06:48:13 -06:00
Snapshot work in progress
This commit is contained in:
1 parent
361b4bc3db
commit
52df6fd283
20 files changed
+103
-89
No files matched your search
@@ -15,7 +15,7 @@ export_folder = tempfile.mkdtemp()
|
||||
print("Exporting to: " + export_folder)
|
||||
|
||||
for plot in plots:
|
||||
plot.export_snapshot(export_folder=export_folder)
|
||||
plot.export_snapshot(export_folder=export_folder, width=1024, height=768)
|
||||
plot.export_snapshot(export_folder=export_folder, output_format="PDF")
|
||||
if isinstance(plot, rips.WellLogPlot):
|
||||
plot.export_data_as_las(export_folder=export_folder)
|
||||
|
||||
@@ -10,7 +10,7 @@ resinsight = rips.Instance.find()
|
||||
cases = resinsight.project.cases()
|
||||
|
||||
# Set main window size
|
||||
resinsight.set_main_window_size(width=800, height=500)
|
||||
# resinsight.set_main_window_size(width=1280, height=900)
|
||||
|
||||
n = 5 # every n-th time_step for snapshot
|
||||
property_list = ["SOIL", "PRESSURE"] # list of parameter for snapshot
|
||||
@@ -42,4 +42,4 @@ for case in cases:
|
||||
)
|
||||
for time_step in range(0, len(time_steps), 10):
|
||||
view.set_time_step(time_step=time_step)
|
||||
view.export_snapshot()
|
||||
view.export_snapshot(width=1024, height=768)
|
||||
Reference in new issue
Block a user