Commit Graph

201 Commits

Author SHA1 Message Date
Gaute Lindkvist
1f6e9513de Make Python code use the new generated skeleton and rename ResInsight parameters to fit 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
83942784df Add separate scriptKeyword to RICF capability and a Python help tooltip system 2020-02-25 13:57:51 +01:00
Kristian Bendiksen
34d3785709 #4477 Add python methods to get NNC values (dynamic, static and generated).
Equivalent to GetDynamicNNCValues and GetStaticNNCValues in Octave. Also adds
support for generated values which is currently not in Octave.
2020-02-25 09:42:13 +01:00
Kristian Bendiksen
1a05430123 #4477 Add python methods to get NNC connection and available properties
Equivalent to GetNNCPropertyNames and GetNNCConnections in Octave.
2020-02-25 09:42:13 +01:00
Kristian Bendiksen
0365440b31 #4549 Extract duplicate methods. 2020-02-21 12:02:37 +01:00
Kristian Bendiksen
26c8da692a #4549 Fix grpc package sizes. 2020-02-21 12:01:50 +01:00
Kristian Bendiksen
8167d9f700 #4430 Add python method to get coarsening info for case.
Equivalent to GetCoarseningInfo in Octave.
2020-02-21 12:01:50 +01:00
Kristian Bendiksen
d497f04d0d #4549 Add python method to get properties for selected cells.
Equivalent to GetGridPropertyForSelectedCells in Octave.
2020-02-21 12:01:50 +01:00
Kristian Bendiksen
8a1fa38435 #4549 Add python method to get selected cells.
Equivalent to GetSelectedCells in Octave.
2020-02-21 12:01:49 +01:00
Kristian Bendiksen
c64281c525 #4549 Add python method to get cell corners for active cells
Equivalent to GetActiveCellCorners in Octave.
2020-02-21 12:01:49 +01:00
Kristian Bendiksen
c20c3bc2ac #4549 Add python method to get cell corners on a grid
Equivalent to GetCellCorners in Octave.
2020-02-21 12:01:49 +01:00
Kristian Bendiksen
a5be62c5b6 #4549 Add python method to get cell centers for active cells
Equivalent to GetActiveCellCenters in Octave.
2020-02-21 11:57:58 +01:00
Kristian Bendiksen
2bf10a7837 #4549 Add python method to get cell centers on a grid
Equivalent to GetCellCenters in Octave.
2020-02-21 11:57:58 +01:00
Gaute Lindkvist
6a4d90ad02 Improve naming in GRPC streaming code 2020-02-21 09:18:24 +01:00
Kristian Bendiksen
f7af2ed83e #4550 Add python method to get simulation wells with status and cells info. 2020-02-17 10:40:31 +01:00
Kristian Bendiksen
2788c7a6c1 #4550 Implement python well methods 2020-02-17 10:05:13 +01:00
Magne Sjaastad
3ba301f56e #5550 Python : Fix crash for case.set_grid_property 2020-02-13 13:52:38 +01:00
Magne Sjaastad
c82df63e10 #5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
2020-02-12 13:35:31 +01:00
Magne Sjaastad
10f0abc9b5 #5101 clang-format: Allow short functions on a single line
Use AllowShortFunctionsOnASingleLine: InlineOnly
2020-02-12 13:35:31 +01:00
Gaute Lindkvist
752cf9925c Fix Python error 2020-02-04 10:09:35 +01:00
Gaute Lindkvist
c9f5b47a90 Support different units when importing and exporting WBS LAS. 2020-02-03 15:56:07 +01:00
Gaute Lindkvist
4494c21c8f #5365 Implement toggling of PdmObjects 2020-01-29 08:41:37 +01:00
Gaute Lindkvist
54f1ed32de Fix problem with assignment of view id for plots on console runs 2020-01-27 14:12:37 +01:00
Gaute Lindkvist
d8dfca5bad Make create_wbs_plot.py set depth range based on reservoir bounding box 2020-01-27 13:50:15 +01:00
Gaute Lindkvist
23e6bc2e86 #5372 Implement getting reservoir bounding box from Python 2020-01-24 11:07:38 +01:00
Gaute Lindkvist
ce2ce15460 Add comments to create_wbs_plot.py 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
e1c1981830 Support PDF-export from Python 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
1133816471 Well Log Plot python test 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
896767c991 Support setting well log plot fields from Python 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
56d141d4c3 Support setting Wbs-parameters from Python. 2020-01-22 09:28:46 +01:00
Gaute Lindkvist
954bf1e02e Support setting of child fields from Python and pass in WbsParameters if provided
Also fixes #5354
2020-01-22 09:28:46 +01:00
Gaute Lindkvist
a58d854030 Fix problem with black background in snapshot export 2020-01-09 14:41:00 +01:00
Jacob Støren
b01c4409f1
Merge pull request #5246 from OPM/feature-external-file-reference-list-in-project-file
Feature: #5147 External file reference list in project file
2019-12-18 15:47:50 +01:00
Gaute Lindkvist
47b93dc0d1
Implement pdf rendering (#5250)
* First PDF creation support

* Reimplement info box

* Set title and make overlay frame margins more unified

* Remove a style sheet that was never meant to be applied to Project Tree

* Update RiuDraggableOverlayFrame when changing content

* Default page layout in Preferences

* undo removal of elision

* Remove friend class assignment in cafCategoryMapper

* the required methods have been made public

* Fix up after review

* Remove spurious const on by-value return

* Fix compile errors on Linux

* Fix size adjustment of legends with plot resizing
2019-12-18 12:25:19 +01:00
Jacob Støren
1575705835 Fix whitespace difference 2019-12-18 09:05:39 +01:00
Jacob Støren
2ca3345a20 Add save() as a command to the python interface
Fix export_snapshot issue
2019-12-17 13:27:02 +01:00
Jacob Støren
c551baf409 #5235 fix python: project.export_snapshot 2019-12-17 10:56:00 +01:00
Gaute Lindkvist
22594b5137 Fix CMake warning in GRPC code 2019-11-26 14:49:53 +01:00
Gaute Lindkvist
26217dc665 Fix potential incompatibility with grpc v1.23.0+
See:
https://github.com/grpc/grpc/pull/19435
2019-11-26 14:49:53 +01:00
Gaute Lindkvist
d770dda163 Converted RiaGrpcCallbacks.h to using instead of typedef 2019-11-25 15:13:30 +01:00
Gaute Lindkvist
f130163ee8 Fix up tests to match new view id 2019-11-21 08:15:17 +01:00
Gaute Lindkvist
85d683634c Further refactoring 2019-11-20 13:14:45 +01:00
Magne Sjaastad
651c28dc49 clang-format : Added extension .inl
Applied clang-format on all files in ApplicationCode including new extension .inl. Also includes some missing clang-format on other files.
2019-11-19 11:09:52 +01:00
Magne Sjaastad
57cab2457e clang-format : Set PenaltyBreakAssignment to 130 2019-11-04 15:08:09 +01:00
Magne Sjaastad
4ff56c7751 Janitor : Set copy constructor and assignment operator deleted 2019-11-03 11:14:48 +01:00
Magne Sjaastad
e042b2d17b #4958 Summary adjustments : Rename to Last used summary template 2019-10-31 11:55:53 +01:00
Magne Sjaastad
e21e4f5008 Documentation : Updates for Python documentation 2019-10-25 11:20:27 +02:00
Kristian Bendiksen
174248087d #4819 Add option to exclude undefined values from contour map export. 2019-10-22 21:58:45 +02:00
Kristian Bendiksen
8e076b3acb #4821 Add python objects for Contour Map export. 2019-10-22 21:58:45 +02:00
Gaute Lindkvist
3eaf933efc Python command for setting plot window size 2019-10-18 08:12:36 +02:00