Commit Graph

182 Commits

Author SHA1 Message Date
Gaute Lindkvist
454e7f17a0 #6322 Fix Python 3.8 problems
* Change base PdmObject class name to PdmObjectBase to avoid name conflicts
* Make all import paths relative
2020-08-24 09:40:36 +02:00
Kristian Bendiksen
307639a7d1 #6232 Add python api for exporting fracture model plot to frk file. 2020-08-18 10:12:10 +02:00
Kristian Bendiksen
22759b201d #6232 Simplify importing elastic properties for fracture model. 2020-08-18 10:12:10 +02:00
Kristian Bendiksen
8dfe9bd4b5 #6232 Add python api for creating fracture model plot. 2020-08-18 10:12:10 +02:00
Kristian Bendiksen
ef36bbd04a #6232 Add example for creating a fracture model from python 2020-08-18 10:12:10 +02:00
Magne Sjaastad
91dd3e6d3e NNC : Fix pytest 2020-05-18 15:22:08 +02:00
Magne Sjaastad
928acfdf9b Allan : Do not test for cached data in pytest 2020-05-13 17:56:32 +02:00
Gaute Lindkvist
f199297f12 #5915 improve performance of NNC computation and limit to active cells 2020-05-13 12:19:03 +02:00
Magne Sjaastad
3d2ac4b573 Fix misspelled Allan diagram (#5906)
Closes #5816
2020-05-12 15:14:42 +02:00
Gaute Lindkvist
9fcfe4fa84 Merge branch 'dev' into feature-analysis-plots-initial 2020-04-22 16:17:09 +02:00
Magne Sjaastad
2461716909 Python setup file : Add missing comma 2020-04-19 21:37:09 +02:00
Magne Sjaastad
bf044d52b3 Python : Config and description of autopep8 2020-04-17 13:54:20 +02:00
Magne Sjaastad
8662ff90d2 #5792 Python : Add import_summary_case and find summary case from ID
Add example of use and updated documentation
2020-04-17 13:54:19 +02:00
Magne Sjaastad
8e8d1d7fe3 Summary Data : Update example 2020-04-17 13:54:14 +02:00
Magne Sjaastad
6adffe5050 #5757 Python : Add access to summary values 2020-04-17 13:54:11 +02:00
Magne Sjaastad
d6ec1a53fb #5749 Python : Add missing conversion from Grpc object to PdmObject 2020-04-17 13:54:10 +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
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
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
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
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
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
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
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
Kristian Bendiksen
f7af2ed83e #4550 Add python method to get simulation wells with status and cells info. 2020-02-17 10:40:31 +01:00