Magne Sjaastad
eb284304ff
#12542 Make sure case is open before accessing cell data
...
* Make sure case is open before accessing cell data
* Add Python example to compute average value for a set of cells
2025-06-01 10:45:38 +02:00
Kristian Bendiksen
1a55fa11c3
#12459 Add regular surface domain object.
2025-05-20 20:39:07 +02:00
Kristian Bendiksen
7899736f05
Python ruff fixes
...
* Python: Clean up imports.
* Python: Clean up error handling example.
* Python: Remove unused local variables
* Python: Avoid comparing against True/False.
* Python: Remove unused name variable.
* Python: Reuse class definition type variable.
* Python: Fix more unused imports
* Black fixes
2025-05-16 15:46:45 +02:00
Kristian Bendiksen
752d4efc42
Update error handling in Rimc* classes.
2025-05-12 17:31:48 +02:00
Kristian Bendiksen
135695fcb5
#5556 Refactor python error handling.
2025-05-12 17:31:48 +02:00
Kristian Bendiksen
e5dc280ce0
Add python api for creating corner point grid.
2025-05-07 12:07:31 +02:00
Kristian Bendiksen
dd2fdad5dd
#12342 Python: Add api for creating polygon
...
Fixes #12342 .
2025-04-10 17:58:59 +02:00
Magne Sjaastad
6b332269b4
Add scripting to fishbones ( #12286 )
...
* Improve python code generation tests
* Add setValveLocations
* Move code into RimFishbonesDefines
* Add scripting to fishbones
* Add scripting methods for fishbones
* Add example and test
2025-03-25 08:31:08 +01:00
Magne Sjaastad
ecd006decb
Update examples for 2024.12.2
2025-01-13 10:54:00 +01:00
Magne Sjaastad
e67f09a4ff
Add completions settings to example
2023-12-16 17:40:11 +01:00
Kristian Bendiksen
db77ea5762
Perforation Interval: make properties scriptable from Python.
2023-10-09 08:35:42 +02:00
Kristian Bendiksen
1edac5762d
#10568 StimPlan Template: Add python api for appending Pressure Table Items
2023-09-07 09:18:41 +02:00
github-actions[bot] and magnesj
e4d5871072
Python code linting changes detected by black ( #10455 )
...
Co-authored-by: magnesj <magnesj@users.noreply.github.com >
2023-07-11 09:22:14 +02:00
Magne Sjaastad
f20a83c710
Add create_statistics_case
...
Remove original implementation not working in gridcasegroup.py
Add create_statistics_case object method
2023-07-11 09:22:14 +02:00
Magne Sjaastad
ad4930db79
Add script used to compute statistics on generated data in Python
2023-07-06 12:58:22 +02:00
Magne Sjaastad
36811e7f94
Prepare for release RC_04
...
* Add example for import_case for ROFF
* Add field and object keywords
2023-06-12 15:52:20 +02:00
Magne Sjaastad
eb8c0c1de7
Add missing include and update example
2023-02-05 10:24:44 +01:00
jonjenssen
21ccd733a8
Python code linting changes detected by black
2023-02-01 10:32:58 +01:00
Kristian Bendiksen
8f33caef74
Fracture: Make conductivity type scriptable from python.
2022-12-20 08:44:42 +01:00
Kristian Bendiksen
69ccce225c
#9470 Fracture Template: make perforation length scriptable.
...
Also use it in example script.
2022-11-25 07:41:27 +01:00
Kristian Bendiksen
26dd61a604
Python: Add api and example to get fracture template scale factors.
2022-10-28 15:09:34 +02:00
Kristian Bendiksen
737eb9693a
Thermal Fracture: add api for changing time step from python
2022-10-24 12:01:34 +02:00
Kristian Bendiksen
a695edc13a
#9386 Fractures: add python api to scale fracture templates
2022-10-24 07:45:29 +02:00
Kristian Bendiksen
accf5713ac
#9323 Thermal Fracture: add python methods for importing fracture template.
...
Fixes #9323 .
2022-10-06 10:07:37 +02:00
Kristian Bendiksen
619807b81f
Thermal Fracture: add python script for exporting template as surface.
2022-10-03 08:33:55 +02:00
Kristian Bendiksen
193bc35f6b
#8876 Fracture: add option to use align dip with formation dip
2022-06-16 08:38:24 +02:00
Magne Sjaastad
2f2933174b
Python : Split parameters into list of strings
...
Avoid space in parameters to be sent to ResInsight, always use list of strings
2022-03-22 10:18:20 +01:00
Magne Sjaastad
72ff44071d
Merge pull request #8691 from OPM/platform-offscreen
...
Add example for headless plot export using Python
Fix childPtrArray issue
2022-03-15 15:32:48 +01:00
Magne Sjaastad
5c72d31cc9
Improve well path target configuration ( #8570 )
...
Improve the scripting possibilities for well targets
Added tests and examples
2022-02-19 13:18:49 +01:00
Magne Sjaastad and magnesj
64bed86f8f
Intersection : Add Python support for triangle and result values ( #8505 )
...
#8508 Python : Make sure an empty list will be received as empty list in Python
Co-authored-by: magnesj <magnesj@users.noreply.github.com >
2022-02-07 17:38:19 +00:00
Magne Sjaastad
b495284b18
Python : Improve summary data example
2021-12-16 15:13:23 +01:00
Magne Sjaastad
4090e70507
#8356 Summary Data : Add support for use of summary summary data from Python
2021-12-14 12:01:06 +01:00
Magne Sjaastad
4c2a70fa40
#8297 Python : Do not modify result container when reading grid result data
...
Avoid resize if data is already present
Improve functions for getting grid data and accessing single cell values
Add example for read and write of grid data
2021-11-18 13:45:55 +01:00
Magne Sjaastad
d21be5823d
#8212 Python : Make it possible to define the azimuth angle for a fracture template
2021-10-28 10:56:23 +02:00
Magne Sjaastad
295186f99b
#8180 : Add example for fracture template orientation
2021-10-25 12:22:36 +02:00
Magne Sjaastad
915745c389
Janitor: Cleanup names of scripted classes in Python
...
Avoid Rim prefix and use keyword alias to ensure backwards compability
2021-10-25 12:22:36 +02:00
Kristian Bendiksen
8e0b69b3e7
#8118 Python: rename new_stim_plan* and new_fracture* method names ( #8175 )
2021-10-24 09:13:42 +02:00
Kristian Bendiksen
f407acd5fa
#8034 Pass reader settings to eclipse loading methods.
2021-09-29 09:40:27 +02:00
Kristian Bendiksen
6a978b57f1
#8035 Python: Add save project example.
2021-09-28 08:27:18 +02:00
Kristian Bendiksen
ed2beec359
#8038 Python: add api to insert a fracture template and a fracture at given MD
2021-09-24 12:32:42 +02:00
Kristian Bendiksen
41dc2244fc
#8032 Ensemble Well Logs: change selected property from PERMZ to PERMX
2021-09-22 13:50:59 +02:00
Magne Sjaastad
acdcbe44b4
Merge pull request #7975 from OPM/7973-custom-export-filename
...
Export Completions : Custom export file name fails in some cases
2021-09-09 10:16:37 +02:00
Magne Sjaastad
97d678d9e8
#7933 Export Snapshot : Fix failing example
2021-09-02 09:25:22 +02:00
Magne Sjaastad
be29b278f2
#7929 Python : Avoid creation of new view when opening case
2021-09-01 08:25:22 +02:00
Kristian Bendiksen
414ee77aa8
#7834 Ensemble Well Logs: add depth equalization ( #7914 )
2021-08-30 09:18:34 +02:00
Magne Sjaastad
3a94078867
Support optimized surface export from grid model layers
...
* #7885 Update opm-common with optimized coordinate import
* #7885 Allow null as default result from a script method
* #7885 Propagate default parameter values to generated Python code
* #7885 Add CommandRouter as hub for worker methods
* #7885 Add support for use of CommadRouter from Python
2021-08-23 11:58:32 +02:00
Kristian Bendiksen
966bcd1e77
Ensemble surface import and statistics
2021-08-17 13:38:12 +02:00
Magne Sjaastad
8dbb1d5ccd
Improve well path modeling
...
* Improve handling of MD at first target
* When sea level well target is disabled, update MD of first target
* Show well target spheres by default, allow toggling of spheres
* Activate well target modifiers when clicking on well targets
* Remove selection update causing an unstable 3D view
* Improve display and handling of multiple locations
* Add special 3D target for tie in well target
* Add slider to tie in MD input field
* Show MD in well path target table
* Delete all well path laterals when deleting a well path
* Python : Add lateral to parent well
* Python : Add perforation interval
2021-08-13 16:48:33 +02:00
Kristian Bendiksen
3b5eeb87fa
#7715 Add python interface for creating well log plots
2021-06-25 08:45:39 +02:00
Kristian Bendiksen
530c6d3e85
#7339 StimPlanModel: Update python api changes in pdm objects.
...
The eclipse cases are now set on the StimPlanModelTemplate, not on the
StimPlanModel.
2021-02-19 12:18:30 +01:00