Commit Graph

49 Commits

Author SHA1 Message Date
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
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
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
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
30b21ac19e Provide default values for python methods to avoid occasional NaN 2021-09-29 14:04:11 +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
Magne Sjaastad
63896f8c3a Formation Names : Make use of formation names more robust 2021-09-22 14:38:40 +02:00
Kristian Bendiksen
3d2fca1866
#7952 Well Log Ensemble: Fix behavior when running in console mode (#8022) 2021-09-20 11:29:04 +02:00
Magne Sjaastad
9838f766cb Performance : Use std::string when parsing address strings 2021-09-13 14:08:50 +02:00
Kristian Bendiksen
8f5beb8851 #7928 Add user interface for exporting multiple well logs. 2021-09-09 08:38:00 +02:00
Kristian Bendiksen
2b3fbe022e #7927 Add user interface for exporting multiple surfaces. 2021-09-03 14:59:40 +02:00
Kristian Bendiksen
1e43fd4c36 #7927 Surface Extraction: fix index mixup. 2021-09-03 14:59:40 +02:00
Magne Sjaastad
638f926429
cmake-format: Allow dangling parenthesis 2021-09-01 08:13:16 +02:00
Magne Sjaastad
b78cf3a4bb
Use cmake-format on all cmake files 2021-08-26 19:46:38 +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
Magne Sjaastad
52799e8b4c
Minor HDF adjustments (#7577)
* #7575 Summary HDF : Do not import summary if no UNSRMY file is found
* #7575 Summary HDF : Add optional check on time stamp of h5 file
* Use std::filesystem to check file access
* Do not keep h5 file open
2021-04-16 10:52:30 +02:00
Magne Sjaastad
6421564b77 #7572 Preferences : Remove obsolete includes 2021-04-14 13:53:21 +02:00
Magne Sjaastad
64a8a0ad8d #7346 Summary Plot: Improve default curve for observed data 2021-02-22 13:37:05 +01: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
Magne Sjaastad
721d912f9e #7358 Summary Curve Resampling : Use helper code in RiaSummaryTools 2021-02-12 13:20:21 +01:00
Magne Sjaastad
f53e8b5838 Fix typo 2021-02-03 15:40:44 +01:00
Gaute Lindkvist
81699db187 Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00