Commit Graph

180 Commits

Author SHA1 Message Date
Gaute Lindkvist
905c34968f Added missing RicfSetPlotWindowSize files 2019-10-18 08:23:57 +02:00
Gaute Lindkvist
3eaf933efc Python command for setting plot window size 2019-10-18 08:12:36 +02:00
Gaute Lindkvist
d3140b6aac
System command command file merger (#4845)
* Move Import WellPaths command-file functionality into RicImportWellPaths

* Add new RICF_init macros for command file objects

* Make project save commands available in Python

* Fix RiaLogging build errors

* Move RiaLogging include from RiaGrpcServer.h to cpp file
2019-10-15 15:46:19 +02:00
Magne Sjaastad
69ff4d25f2 #4847 Command Line Snapshots : Make sure image size is handled correctly 2019-10-11 08:32:08 +02:00
Gaute Lindkvist
32817d2cc6 Renamed RicWellPathsImportFileFeature to RicImportWellPaths 2019-10-09 09:27:26 +02:00
Gaute Lindkvist
11117383db
#4817 #4830 #4832 #4837 #4839 Python commands for WBS creation, well path import and well log file import (#4838)
* Better minimum width for well log tracks

* Fix alignment of scrollbar in Well log plots

* Better Well Log Plot export

* Hide scroll bar before plotting
* Better borders

* Create plots through Python

* #4817 Create WBS plots with Python

* Rebase Summary and WellLogPlot on top of a new RimPlot

* Also Python: Allow setting folder as a parameter to export_snapshots

* #4832 Prepare for well path import command

* Well Path import WIP

* #4830 #4832 Import well paths and well log files from file using Python.

* #4837 Implement import of formation names in Python

* Fix debug build issue

* Fix RiaLogging build issue

* Fix warnings

* Yet another RiaLogging.h import added

* #4839 Import exporting of las and ascii files from well log plots
2019-10-09 09:21:28 +02:00
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
51793ea7b3 Fix error in CloneView result 2019-08-26 10:01:40 +02:00
Gaute Lindkvist
e7f90c0ecf Clang-format 2019-08-26 09:57:50 +02:00
Gaute Lindkvist
2e49670f40 #4578 Add commands for create and clone view 2019-08-23 11:25:00 +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
Gaute Lindkvist
f61df01694 #4526 enable setting flow diagnostics results through Python 2019-07-30 12:32:10 +02:00
Gaute Lindkvist
21a444fd70 #4523 Add simplified interface for grid case group statistics 2019-07-30 12:32:10 +02:00
Gaute Lindkvist
d9a0953b45 #4463 Added command for creating grid statistics 2019-07-30 12:32:10 +02:00
Magne Sjaastad
6e76e043c6 Fix copyright header 2019-07-30 10:36:06 +02:00
Gaute Lindkvist
3ba962aefb #4471 Implement python script running and editor in ResInsight GUI, same as Octave. 2019-07-26 14:54:54 +02:00
Gaute Lindkvist
6b7a9b8da5 #4463 Working creation of grid case groups 2019-07-18 13:43:28 +02:00
Gaute Lindkvist
7a2b9926a0 Allow relative paths in replace case 2019-07-18 13:43:28 +02:00
Gaute Lindkvist
bbc8750d8f #4516 Fix replaceCase in Python gRPC 2019-07-16 17:12:08 +02:00
Gaute Lindkvist
7a77b5688a Fix build problem on Qt 4.6.x 2019-07-15 14:09:27 +02:00
Gaute Lindkvist
b7c4a54d9a #4513 Add id to views 2019-07-15 12:30:31 +02:00
Gaute Lindkvist
439913b7b1 #4423 First implementation of PdmObject exchange 2019-07-15 12:30:31 +02:00
Magne Sjaastad
7213ae7e98 #4136 Flow Characteristics : Support relative export paths 2019-06-26 07:50:42 +02:00
Magne Sjaastad
b2857676c8 #4136 Command File : Export of flow characteristics 2019-06-25 17:49:47 +02:00
Gaute Lindkvist
eec5569eca #4428 Fix load case with relative paths 2019-06-05 14:30:10 +02:00
Gaute Lindkvist
17821ade6c #4461 Fix return values from RicfCommandResponse 2019-06-03 21:10:21 +02:00
Gaute Lindkvist
c2996bf638 Further build fixes related to RiaLogging 2019-05-24 08:58:04 +02:00
Gaute Lindkvist
cc031e7895 #4429 Implement return values from the gRPC Command execution 2019-05-23 16:47:02 +02:00
Gaute Lindkvist
650af20e06 #4429 Implement return status handling for command file interface 2019-05-23 16:47:02 +02:00
Gaute Lindkvist
922386c673
#4416 First implementation of gRPC-based Python interface
First implementation with Asynchronous gRPC server, a few services and some client python code.
2019-05-20 13:21:02 +02:00
Magne Sjaastad
699870c8c7 #4410 Dock Window State : Use hideAllDockWidgets() in base class 2019-05-15 12:31:27 +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
Magne Sjaastad
bb58bba5b9 #4365 Regression Test : Export of FLUXNUM/MULTNUM from command file does not work
Export of FLUXNUM/MULTNUM was using the same code as export sector model, but these two concepts are different. Restore original behavior.
2019-04-25 15:29:46 +02:00
Magne Sjaastad
6e88cecbb2 #4254 Saturation Pressure Plots: Add command file command 2019-04-09 12:43:22 +02:00
Magne Sjaastad
f99a332277 #4284 runOctaveScript : If no case id is specified, run script on all cases 2019-04-05 09:34:02 +02:00
Magne Sjaastad
7af16ce24c #4285 Octave : Move creation of command line arguments to RimCalcScript 2019-04-04 21:37:22 +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
0df03e4886 Rename ExportEclipseInputGrid to ExportEclipseSectorModel in code 2019-04-02 08:20:10 +02:00
Gaute Lindkvist
f09f487635 #4143 First implementation of export sector model 2019-03-18 12:56:09 +01:00
Magne Sjaastad
7518a1880a Revert "#4018 Result management : Use ensureReservoirCaseIsOpen instead of open..."
This reverts commit fde60d1e34.
2019-01-29 20:28:33 +01:00
Magne Sjaastad
fde60d1e34 #4018 Result management : Use ensureReservoirCaseIsOpen instead of open... 2019-01-29 10:06:37 +01:00
Jacob Støren
dbb2a564a2 #3958 Refactoring: RigCaseCellResultsData: Remove the final result index based interface 2019-01-28 16:18:28 +01:00
Jacob Støren
42afa063d5 #3958 Refactoring: Rename to findOrLoadKnownScalarResult
to make it clear that it does not add a result name to the internal structures.
2019-01-25 16:19:14 +01:00
Gaute Lindkvist
18a5961230 #3857 Support file split option in command file for export MSW 2018-12-12 08:42:24 +01:00
Gaute Lindkvist
e677778ddd #3828 Refactor Completion export code by splitting out MSW export into separate files
* Plus fill in some incomplete functionality regarding MSW export
2018-12-07 09:46:39 +01:00
Bjørn Erik Jensen
5fee7b1492 #3733 exportProperty. Remove unused command parameter 2018-11-23 08:37:09 +01:00
Magne Sjaastad
8a3907e531 #3725 exportSnapshots : Add optional prefix 2018-11-21 10:30:36 +01:00