Commit Graph

33 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
Gaute Lindkvist
9fcfe4fa84 Merge branch 'dev' into feature-analysis-plots-initial 2020-04-22 16:17:09 +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
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
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
ead29ef70f Python Doc : Improve formatting of tables 2020-03-30 14:07:22 +02:00
Magne Sjaastad
8bf37b00aa Python Doc: Fix indentation
Adjustments to pydoc
2020-03-12 11:06:28 +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
5473fa64d5 Bug fix in wbs plot creation 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
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
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
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
f7af2ed83e #4550 Add python method to get simulation wells with status and cells info. 2020-02-17 10:40:31 +01:00
Gaute Lindkvist
23e6bc2e86 #5372 Implement getting reservoir bounding box from Python 2020-01-24 11:07:38 +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
Magne Sjaastad
e21e4f5008 Documentation : Updates for Python documentation 2019-10-25 11:20:27 +02:00
Kristian Bendiksen
8e076b3acb #4821 Add python objects for Contour Map export. 2019-10-22 21:58:45 +02:00
Gaute Lindkvist
9f0cf91789 Fix Pytest failures 2019-10-09 10:30:19 +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
Magne Sjaastad
e3aa160265
Python doc adjustments (#4756)
* Doc and adjustments of project.py

* Doc and adjustments view.py

* Python doc cleanup

* Python : Add copy of files to deployment folder

* Python : Several updates to doc

* Python : Limit line lenghts

* Minor adjustments
2019-09-24 11:06:24 +02:00
Gaute Lindkvist
0125b13241 Additional python PEP 8 fixes 2019-09-23 15:26:49 +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