Commit Graph

234 Commits

Author SHA1 Message Date
Magne Sjaastad
2461716909 Python setup file : Add missing comma 2020-04-19 21:37:09 +02:00
Magne Sjaastad
d675db98f6 Update python doc (#5803)
Several improvement and adjustments to the Python documentation

- applied autopep8
- add summary example
- use references to reference other classes and methods
2020-04-16 16:06:18 +02:00
Magne Sjaastad
9e48d7ba7e Python : Config and description of autopep8 2020-04-16 07:22:17 +02:00
Magne Sjaastad
185e4c15ef #5792 Python : Add import_summary_case and find summary case from ID
Add example of use and updated documentation
2020-04-15 21:58:18 +02:00
Magne Sjaastad
60caae37e7 Summary Data : Update example 2020-04-07 10:16:27 +02:00
Magne Sjaastad
3b8cdaa5e0 #5757 Python : Report error message if no result is created 2020-04-07 10:16:04 +02:00
Magne Sjaastad
903c6ba94b #5757 Python : Add access to summary values 2020-04-01 13:32:27 +02:00
Magne Sjaastad
c4a3418d68 #5749 Python : Add missing conversion from Grpc object to PdmObject 2020-03-31 14:03:25 +02:00
Magne Sjaastad
ead29ef70f Python Doc : Improve formatting of tables 2020-03-30 14:07:22 +02:00
Magne Sjaastad
0bdfd319c3 Update list of examples 2020-03-14 10:13:34 +01:00
Magne Sjaastad
db052ec3d4 Python Doc : Add well log plot 2020-03-14 10:13:34 +01:00
Gaute Lindkvist
2853308a4a Python: Create summary plot from string 2020-03-13 14:18:41 +01:00
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