Magne Sjaastad
309c4af07e
#12593 Simplify object methods exposed to Python
2025-06-16 11:05:00 +02:00
Magne Sjaastad
25346e6cfe
Move RigSurface classes into Surface folder
2025-05-21 18:09:22 +02:00
Kristian Bendiksen
a5ce90083d
Corner Point Case: create view only when in GUI mode.
2025-05-20 20:39:07 +02:00
Kristian Bendiksen
1a55fa11c3
#12459 Add regular surface domain object.
2025-05-20 20:39:07 +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
Magne Sjaastad
3c5221236a
Use lambda functions and simplify createSummaryCasesFromFiles
2025-05-12 13:04:10 +02:00
Magne Sjaastad
3c7e8ee120
Refactors summary case creation into a tool class
...
Moves the summary case creation logic from the `RicImportSummaryCasesFeature` class to a new `RiaEnsembleImportTools` class.
2025-05-12 13:04:10 +02:00
Kristian Bendiksen
67ebdc5f07
Polygon: make polygon from python editable.
2025-05-07 12:07:31 +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
04cd253fc6
Move files
...
Fix includes
2025-02-13 15:12:24 +01:00
Magne Sjaastad
ca0179d118
Remove obsolete CMake statements
...
When using modern CMake and Qt6 we can remove obsolete source_group() and QT_MOC_HEADERS
2025-01-28 07:01:42 +01:00
Magne Sjaastad
ddefd39fc2
Python: Make more well completion parameters available
...
Add access to all MSW parameters in Python : "msw_settings = well_path.msw_settings()"
Make all parameters of the well completion object available in Python.
2024-11-25 09:38:23 +01:00
Magne Sjaastad
7677466d29
Make sure plot create from Python is visible
2024-10-30 13:54:03 +01:00
Magne Sjaastad
df091336e0
Move summary tools into separate folder
2024-10-22 07:28:43 +02:00
Kristian Bendiksen
e9c46c5cec
Rename RimSummaryCaseCollection to RimSummaryEnsemble.
2024-07-30 08:55:12 +02:00
Magne Sjaastad
78759feb15
Update GUI editor if a new summary vector is set created
...
Make sure the user interface is updated when summary data is set from Python using summary_case.set_summary_values
2024-03-22 08:46:28 +01:00
Kristian Bendiksen
d177491843
#10648 Refactor summary reader: return std::vector<double> instead of taking ptr.
2023-10-02 09:16:52 +02:00
Kristian Bendiksen
1edac5762d
#10568 StimPlan Template: Add python api for appending Pressure Table Items
2023-09-07 09:18:41 +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
91c253f8fe
Python support for grid case groups
2023-07-11 09:22:14 +02:00
Magne Sjaastad
0c90f67dcc
Change API for PdmObjectHandle and PdmFieldHandle
...
* Refactor interface to PdmObjectHandle and PdmFieldHandle
Return objects instead of passing in structures as parameters
* Add nodiscard to several functions
* Remove redundant this->
* Rename to ptrReferencedObjectsByType
2023-05-12 21:41:34 +02:00
Jørgen Herje
6205418dde
Fix warning for conversion from std::vector to QStringList
2023-04-28 15:09:31 +02:00
Jørgen Herje
862e67755a
Add Python support for import of property files for .roff and .grdecl ( #10183 )
...
- Add RimcEclipseCase
- Add tests for import case properties (.roff and .grdecl)
- Make rips handle list of strings as input in Pyton API
2023-04-27 10:53:33 +02:00
Kristian Bendiksen and Magne Sjaastad
ff209ad7c2
Refactor ensemble import dialog
...
* #9773 Refactor ensemble import dialog.
* #9773 Add support for ensemble import of StimPlan/Reveal summary data.
* #9773 Add method for finding min and max time steps.
* #9773 Add option for resampling to hour intervals.
* #9773 Add option for resampling to minute intervals.
* #9773 Ensemble statistics: determine sub-sampling period dynamically.
* Use RiaWeightedMeanCalculator for curve resampling.
* Add HOUR and MINUTE to date time app enum.
* #9773 Generate better ensembles for StimPlan summaries.
* #9773 Fix parameters.txt lookup for StimPlan summaries
* Refactor: Improve interface of RicImportSummaryCasesFreature::createSummaryCasesFromFiles
Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com >
2023-04-20 10:16:43 +02:00
Magne Sjaastad
f8c5cf389f
clang-format: Set column width to 140
...
* Set column width to 140
* Use c++20
* Remove redundant virtual
2023-02-26 10:48:40 +01:00
Magne Sjaastad
5ec32f8613
Update text for curve names and plot titles when source data changes
...
* Update titles after dropping vectors into plot
* Do not replace _Name variables
* Make sure signals are wired when opening a project file
* Add auto name field and set default on
* Remove includes from header files
2022-12-09 08:46:36 +01: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
8193f24a55
Thermal Fracture: guard for nullptrs for surface export.
2022-10-03 08:33:55 +02:00
Kristian Bendiksen
619807b81f
Thermal Fracture: add python script for exporting template as surface.
2022-10-03 08:33:55 +02:00
Magne Sjaastad
3ff5d238b1
Remove unused members and remove includes
2022-08-25 13:56:53 +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
ccbda23b96
Merge pull request #9048 from OPM/9047-performance-avoid-update-project
...
- Avoid update of project when creating new objects
- Added icon resource cache
- Avoid use of descendantsIncludingThisOfType()
2022-06-13 13:54:55 +02:00
jonjenssen
d156160daf
Summary Multiplot: sync plot selection in tree with view ( #8788 )
...
* Make sure the subplot selected in the tree is shown in the multiplot viewer.
* Clean up multiplot toolbar handling a bit
* Remove old summary plot toolbar.
2022-04-07 16:24:27 +02:00
jonjenssen
3590c52cdc
Deprecate single summary plots and plot collections. ( #8777 )
...
* Deprecate single summary plots and plot collections. Replace functionality using summary multi plots. Clean up some code. Fix crash when trying to normalize an empty curve
2022-04-06 17:39:07 +02:00
Jon Jenssen
560917a481
Rename NewSummaryPlot command to what it actually is - OpenSummaryPlotEditor command. Remove unused includes.
...
Move Single Summary Plots to bottom of tree and show them as Single Summary Plots.
2022-03-21 13:05:57 +01:00
Magne Sjaastad
0ca70249ae
Move defines to RiaDateTimeDefines
2022-03-14 09:18:48 +01:00
Magne Sjaastad
806a149809
Fix several deprecation warnings ( #8657 )
...
* Use constructor instead of nullptr for WindowFlags
* Use constructor instead of nullptr for Alignment
* Disable deprecation warning for QProcess
* Add string split method to RaTextStringTools
* Add caf.cpp used to manage Qt function deprecations
* Use position()
2022-03-11 13:24:01 +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
477ae02382
Logarithmic curve support and renaming ( #8546 )
...
* Add test for both positive and negative numbers
* Remove redundant sample count from parameter list
* Propagate useLogarithmicScale
* Renaming
2022-02-14 11:49:37 +01:00
Magne Sjaastad
3e9d2a0af0
Intersection Python API: Fix typo
2022-02-10 08:06:32 +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
4090e70507
#8356 Summary Data : Add support for use of summary summary data from Python
2021-12-14 12:01:06 +01:00
Magne Sjaastad
21fd4f74b5
Refactor code
2021-11-17 16:26:47 +01:00
Magne Sjaastad
2a65636ba3
#8250 Use variadic macros and remove obsolete parameters
2021-11-14 15:26:09 +01:00
Magne Sjaastad
316f43ab79
#8265 Python : Move append perforation interval to RimWellPath
2021-11-10 07:51:42 +01:00
Magne Sjaastad
ccf2116d20
Janitor : Set default values for integers exposed in Python API
2021-10-28 11:17:42 +02:00