Commit Graph

151 Commits

Author SHA1 Message Date
Gaute Lindkvist
a2bad82391
#4736 System python command refactor (#4743)
* Move case loading commands from Commands to project and case
* Major refactor
* Fix problems with Python examples
* Add ability to export snapshot from just one view + fixup
* Case comments and black
* Make all modules pass pylint test
2019-09-23 11:50:33 +02:00
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Magne Sjaastad
ef80f5b629 #4683 System : Remove obsolete include of cvfBase.h 2019-09-06 10:52:54 +02:00
Gaute Lindkvist
7bfe4f4bfe
#4603 Python: add case Id to exportSnapshots (#4604)
* #4603 Python: add case Id to exportSnapshots
* Fixup after review
2019-08-21 15:11:29 +02:00
Magne Sjaastad
464f3b9d83 #4441 Advanced snapshot export : Remember output path between multiple sessions 2019-06-06 13:35:29 +02:00
Gaute Lindkvist
c2996bf638 Further build fixes related to RiaLogging 2019-05-24 08:58:04 +02:00
Gaute Lindkvist
650af20e06 #4429 Implement return status handling for command file interface 2019-05-23 16:47:02 +02:00
Gaute Lindkvist
57b33b0d4c
First implementation of Headless (#4392)
* Revert "#4377 Octave : Use RiaLogging for error messages instead of QErrorMessage "

This reverts commit f758a8edb2.

* Revert "#4380 Preferences : Changing scene font size when geo mech view is open causes crash"

This reverts commit df62a41397.

* Revert "#4379 Documentation : Update command line parser for import of summary files"

This reverts commit d0b5357ed4.

* Unfinished WIP

* Builds but crashes

* Refactored code now builds and runs

* ResInsight can now run the unittests headless

* Can run some command files successfully

* Build on Linux

* Extra headless hack header

* Moved PdmUiItem hack to cpp file

* Fix headless crash in RimWellAllocationPlot

* Handle error gracefully if ExportSnapshots command is executed from console

* Add caf::QIconProvider and remove some hacks

* Also made the greying out of disabled icons work for a couple of cases where it didn't.

* Linux build fix

* #4380 Reimplement fix df62a41397 by @magnesj on top of Headless code changes

* #4379 Reintroduce kode from d0b5357ed4 by @magnesj

* #4377 Restore f758a8edb2 in new Headless code
2019-05-06 10:36:05 +02:00
Gaute Lindkvist
f567be6d96 #4371 Store Sector Model settings in Project Dialog Data 2019-04-26 13:42:35 +02:00
Magne Sjaastad
60153b20ec
Merge pull request #4350 from OPM/cpp-check-cleanup
Cpp check cleanup
2019-04-24 09:09:18 +02:00
Gaute Lindkvist
86e20df7c6 #4319 Store export sector model settings 2019-04-23 08:28:37 +02:00
Magne Sjaastad
d152147fd4 #4348 System , cppcheck : Remove unused functions 2019-04-21 08:58:21 +02:00
Magne Sjaastad
b786c2c5f3 #4348 System , cppcheck : Remove unused functions 2019-04-21 07:53:52 +02:00
Magne Sjaastad
8cefcbb562 #4348 System , cppcheck : Remove unused variables 2019-04-20 15:11:21 +02:00
Gaute Lindkvist
ca1fba8207 #4311 Fix full grid minimum in Export Sector Model 2019-04-12 09:24:09 +02:00
Gaute Lindkvist
473b78a0ad #4318 Sector Model: Move invisible cells toggle into grid box group 2019-04-12 09:24:02 +02:00
Gaute Lindkvist
716ac4bf83 Fix crash in unit tests 2019-04-02 12:49:10 +02:00
Gaute Lindkvist
262ef57796 Rename manual to user defined selection 2019-04-02 09:59:16 +02:00
Gaute Lindkvist
209146ebae #4260 Support changing IJK bounding box in sector model and remodel UI 2019-04-02 09:51:58 +02:00
Gaute Lindkvist
e2278493ad #4259 Tweaks to Export Sector Model UI 2019-04-02 08:20:10 +02:00
Gaute Lindkvist
5164a61c55 #4259 Implement mapaxes keyword with possibility to export in local coordinates 2019-04-02 08:20:10 +02:00
Gaute Lindkvist
8f6a0f8177 #4267 Fix crash when exporting sector model from grid that was imported from GRDECL 2019-04-02 08:20:10 +02:00
Gaute Lindkvist
3b8daa4939 #4248 Add option for making invisible cells inactive in Export Sector Model 2019-04-02 08:20:10 +02:00
Gaute Lindkvist
0df03e4886 Rename ExportEclipseInputGrid to ExportEclipseSectorModel in code 2019-04-02 08:20:10 +02:00
Magne Sjaastad
2a534f88df #4251 Saturation Pressure Plots: Create curves only for unique values from EQLNUM 2019-03-29 15:15:15 +01:00
Gaute Lindkvist
47a559b3a8 #4247 Minor improvements to export sector model UI 2019-03-28 22:41:03 +01:00
Magne Sjaastad
92578211b4 Rename to RimAdvancedSnapshotExportDefinition 2019-03-26 09:10:29 +01:00
Magne Sjaastad
8832a0a7c6 Rename to RiuAdvancedSnapshotExportWidget 2019-03-26 09:10:29 +01:00
Magne Sjaastad
3d33126dac Rename to RicAdvancedSnapshotExportFeature 2019-03-26 09:10:29 +01:00
Gaute Lindkvist
f8102797c1 #4208 Store last used folder when exporting Sector Model + warning for LGRs 2019-03-21 14:45:47 +01:00
Gaute Lindkvist
677f42591b #4204 Export faults as part of visible grid export
#4204 Enable reading of faults from a different file than the main grid file
2019-03-21 14:45:47 +01:00
Gaute Lindkvist
88d2ad2c35 Refactor grid export and fault export 2019-03-21 14:45:47 +01:00
Gaute Lindkvist
28e6bf8d2d Export Sector model: write floats to file instead of doubles 2019-03-19 11:43:43 +01:00
Gaute Lindkvist
dd5402756c #4203 Support cell refinement for Sector Export 2019-03-19 10:49:09 +01:00
Gaute Lindkvist
f09f487635 #4143 First implementation of export sector model 2019-03-18 12:56:09 +01:00
Gaute Lindkvist
e72f57072c #4185 Implement data export for Grid Cross Plot 2019-03-12 09:19:01 +01:00
Jacob Støren
58ac488929 #3958 Refactoring : RigResultAccessorFactory simplification
To make the result address including basetimestep info reach the CellResultsData class.
2019-01-30 15:25:29 +01:00
Magne Sjaastad
6db80f40b9 #3856 Update copyright headers 2019-01-09 15:29:24 +01:00
Magne Sjaastad
d2431a40a9 CppCheck : Remove unused variable, use range based for 2018-12-21 12:17:07 +01:00
Bjørn Erik Jensen
1c1680ef63 #3781 Carfin export. Correct NX, NY and NZ values 2018-12-10 14:40:21 +01:00
Magne Sjaastad
069d434584 #3827 Fishbone Laterals : Whole well is exported instead of lateral only 2018-12-05 12:47:11 +01:00
Magne Sjaastad
8a3907e531 #3725 exportSnapshots : Add optional prefix 2018-11-21 10:30:36 +01:00
Magne Sjaastad
8c521b1775 #3703 Do not resize dialog 2018-11-19 10:12:54 +01:00
Magne Sjaastad
4117e266ed #3686 Completion Export : Use map based on size_t instead of RigCompletionDataGridCell
Using RigCompletionDataGridCell as key in a map causes cells with identical local IJK to be treated as same global cell. Use reservoir grid cell index (size_t) as key to be able to handle cells correctly.
2018-11-14 11:40:23 +01:00
Bjørn Erik Jensen
1215235255 #3650 Temp LGR. Fix some issues for split types cell and well 2018-11-13 08:33:09 +01:00
Bjørn Erik Jensen
bb642b2a46 #3650 Temp LGR. New algorithm for creating LGRs for completions 2018-11-13 08:33:08 +01:00
Bjørn Erik Jensen
b1e9841964 #3650 Temp LGR. Process all affected wells in the same operation 2018-11-13 08:33:08 +01:00
Bjørn Erik Jensen
c122a14bb2 #3645 Temp LGR. Fix LGR name clash 2018-11-09 11:00:07 +01:00
Bjørn Erik Jensen
9b8584c707 #3603 Export completions. Also export CARFIN if temporary LGRs exist 2018-11-09 08:51:44 +01:00
Bjørn Erik Jensen
cfb45f674a #3604 Export completions. New feature 'Export Completion Data for Temporary LGRs' 2018-11-08 11:24:40 +01:00