Commit Graph

222 Commits

Author SHA1 Message Date
Magne Sjaastad
8bf37b00aa Python Doc: Fix indentation
Adjustments to pydoc
2020-03-12 11:06:28 +01:00
Gaute Lindkvist
c51aa91c42
#5632 Python method commands (#5649)
* General PdmObjectMethods for scripting.
2020-03-10 14:11:22 +01:00
Gaute Lindkvist
39cf060d2b Fix install step after removing some Python files 2020-03-05 11:24:09 +01:00
Gaute Lindkvist
c23e27eef0 Simplify Python API 2020-03-05 11:08:56 +01:00
Gaute Lindkvist
bd8e079e24 #5632 Generate PdmChildField and PdmChildArrayField methods 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
2424d79c5d Move some more scriptability to caf 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
17ea69397a Move RicfMessages to CAF and simplify RicfFieldCapability 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
508d8806e6 Rename PdmXmlFieldHandle::childClassKeyword to dataTypeName to reflect that it will contain names for built in types 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
76019e7776 Get rid of Python class_keyword attribute and fix parameter sending for WBS 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
b2f55a3101 Make scriptability a CAF-feature 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
5473fa64d5 Bug fix in wbs plot creation 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
2cea7c0321 Implement proxy field python methods 2020-03-05 08:40:46 +01:00
Magne Sjaastad
8c485ab81c Fix several warnings and potentially uninitialized data 2020-03-03 20:22:03 +01:00
Kristian Bendiksen
c03633230e #4477 Add python method to set NNC connection values.
Equivalent to SetNNCProperty in Octave.
2020-03-02 12:45:04 +01:00
Gaute Lindkvist
3a4d998ab1 Fix Python NNCtest failure on some versions of Protocol Buffers 2020-02-26 12:31:24 +01:00
Magne Sjaastad
f966d81249 Add more grpc related variables 2020-02-26 12:16:28 +01:00
Magne Sjaastad
844361ef06 Find grpc using find_package on linux 2020-02-26 12:16:28 +01:00
Gaute Lindkvist
1eafe18d41 Remove exists check for Python and make GeneratedPythonSources depend on ResInsight 2020-02-26 12:16:28 +01:00
Gaute Lindkvist
84f5c5d068 Fix Python access to contour maps 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
86cc2b5c9c Python: Avoid casting alltogether in favour of just generating the correct objects 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
d95f3a349d Move to use a static registry of scriptable classes 2020-02-25 13:57:51 +01:00
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