Commit Graph

133 Commits

Author SHA1 Message Date
Jørgen Herje
8f50da0212 Backup - WIP 2024-03-06 15:32:23 +01:00
Jørgen Herje
d300869217 Merge remote-tracking branch 'origin/python-black-patches-0vrv2q8' into grid-geometry-extraction 2024-03-06 08:03:05 +01:00
Jørgen Herje
548d74720e Adjust according to build warnings/errors 2024-03-06 08:02:40 +01:00
jorgenherje
de3a00a957 Python code linting changes detected by black 2024-03-05 14:24:28 +00:00
Jørgen Herje
1bdc8e95a1 BACKUP Testing to create enclosing polygon from triangles per cell - WIP 2024-03-05 15:23:46 +01:00
Jørgen Herje
091bd8163a Initial testing of CutAlongPloyline - WIP 2024-02-28 16:10:36 +01:00
Jørgen Herje
53af53024c Adjust python example 2024-02-27 12:59:22 +01:00
Jørgen Herje
e0118b5715 Merge remote-tracking branch 'origin/dev' into grid-geometry-extraction 2024-02-27 12:48:43 +01:00
Jørgen Herje
8d7986b84d Adjust python script to add utm coords 2024-02-27 09:02:21 +01:00
Jørgen Herje
f9f4bc1e86 Refactor code
Make use of calculateCurrentTotalCellVisibility for eclipse view to get surface vertices. Prevent usage of individual grid part managers in gRPC-service.
2024-02-26 16:00:23 +01:00
Jørgen Herje
42a939b107 Check for existing ijk-filter before apply 2024-02-26 10:27:55 +01:00
Jørgen Herje
a4323c9e55 Rename python file 2024-02-26 08:49:21 +01:00
Jørgen Herje
bf93623390 Merge remote-tracking branch 'origin/grid-geometry-extraction' into grid-geometry-extraction 2024-02-22 15:38:56 +01:00
Jørgen Herje
cebc3676e9 Minor adjustments 2024-02-22 15:38:02 +01:00
jorgenherje
c966938193 Python code linting changes detected by black 2024-02-22 15:17:25 +01:00
Jørgen Herje
157d64d9d7 Merge remote-tracking branch 'origin/grid-geometry-extraction' into grid-geometry-extraction 2024-02-22 14:14:40 +01:00
Jørgen Herje
76f2607190 Initial GetGridSurface with IJK-filter 2024-02-22 14:10:37 +01:00
github-actions[bot]
9d186051d2 Python code linting changes detected by black (#11211)
Co-authored-by: jorgenherje <jorgenherje@users.noreply.github.com>
2024-02-20 10:43:36 +01:00
Jørgen Herje
9eec4e6d4b Initial testing of GetGridSurface with mocked data 2024-02-19 15:07:45 +01:00
Magne Sjaastad
e94ac51568 Optionally install python modules defined in dev-requirements.txt 2024-02-15 09:47:20 +01:00
Magne Sjaastad
a8e1c8e88c Trigger dummy build 2024-02-14 13:29:12 +01:00
Magne Sjaastad
da01899241 Use empty proto file to make baseline compile 2024-02-14 11:08:02 +01:00
Sigurd Pettersen
242cad41b9 Update after discussion with MSJ 2024-02-13 13:44:25 +01:00
Sigurd Pettersen
0967e576e3 Draft definition of Webviz/RI proto file 2024-02-13 12:38:22 +01:00
Magne Sjaastad
e83b2e92f3 Add and use clang-tidy for GrpcInterface 2024-01-29 15:00:55 +01:00
Magne Sjaastad
9738e69f8d Add delete of object from Python
* Move several methods to protected
* Add delete() to Python rips objects
* Move functions to RiaGrpcHelper

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2024-01-29 08:46:45 +01:00
magnesj
c6234483e6 Python code linting changes detected by black 2024-01-26 08:58:27 +01:00
Magne Sjaastad
14faf607f4 Improve error message for ResInsight exe and rips version mismatch 2024-01-18 08:54:56 +01:00
Magne Sjaastad
e67f09a4ff Add completions settings to example 2023-12-16 17:40:11 +01:00
Magne Sjaastad
a78f8f8982 Use enum instead of string 2023-11-17 09:53:30 +01:00
Kristian Bendiksen
db77ea5762 Perforation Interval: make properties scriptable from Python. 2023-10-09 08:35:42 +02:00
Kristian Bendiksen
1899184a41 Janitor: Remove deprecated method. 2023-09-11 17:39:38 +02:00
Kristian Bendiksen
1edac5762d #10568 StimPlan Template: Add python api for appending Pressure Table Items 2023-09-07 09:18:41 +02:00
Kristian Bendiksen
4b12f82583 Python: require python version >= 3.8. 2023-08-23 09:47:44 +02:00
Kristian Bendiksen
7aabe8c4a8 Python: add type hinting to python code.
Types are checked using mypy.

Fixes #10394.
2023-08-23 09:47:44 +02:00
github-actions[bot]
e4d5871072 Python code linting changes detected by black (#10455)
Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2023-07-11 09:22:14 +02:00
Magne Sjaastad
f20a83c710 Add create_statistics_case
Remove original implementation not working in gridcasegroup.py
Add create_statistics_case object method
2023-07-11 09:22:14 +02:00
Magne Sjaastad
f72fcdd868 Use descendants() 2023-07-11 09:22:14 +02:00
Magne Sjaastad
ad4930db79 Add script used to compute statistics on generated data in Python 2023-07-06 12:58:22 +02:00
Magne Sjaastad
8f83d25c9d Publish Python package to pypi when a commit is tagged
* Publish to pypi from main workflow
* Remove pinning
* Include version info for proto tool in RiaVersionInfo.py
2023-06-29 14:07:04 +02:00
Magne Sjaastad
36811e7f94 Prepare for release RC_04
* Add example for import_case for ROFF
* Add field and object keywords
2023-06-12 15:52:20 +02:00
Magne Sjaastad
f4dd1d363d Add prefix to cmake options
Add missing RESINSIGHT_ prefix to cmake options
GHA: Fix warnings
2023-05-19 15:03:04 +02:00
Magne Sjaastad
0c90f67dcc Change API for PdmObjectHandle and PdmFieldHandle
* Refactor interface to PdmObjectHandle and PdmFieldHandle
Return objects instead of passing in structures as parameters

* Add nodiscard to several functions
* Remove redundant this->
* Rename to ptrReferencedObjectsByType
2023-05-12 21:41:34 +02:00
Jørgen Herje
862e67755a Add Python support for import of property files for .roff and .grdecl (#10183)
- Add RimcEclipseCase
- Add tests for import case properties (.roff and .grdecl)
- Make rips handle list of strings as input in Pyton API
2023-04-27 10:53:33 +02:00
Jørgen Herje
457dc9080f Refactor classes in RigWellResultPoint.h
* Move RigWellResultFrame implementation into separate file
Update/correct includes accordingly

* First step of moving attributes from public to private
- Move public members to private and create interface
- Single public member remains due to strong dependency on usage of reference and reference to its object public members

* Second step of moving attributes from public to privatee
- Remove usage of reference directly to attributes. Interface with copy and set.
- Moving attributes in RigWellResultFrame and RigWellResultBranch

* Move class RigWellResultBranch into separate file
2023-04-14 11:00:45 +02:00
Magne Sjaastad
d2f435c00a Improved simulation well visualization
* Move members to private in RigWellResultPoint
* Create simulation well path geometry using well topology
* Add separate MSW well pipe centerline computations
* Review comments

---------

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2023-02-28 16:06:37 +01:00
Magne Sjaastad
eb8c0c1de7 Add missing include and update example 2023-02-05 10:24:44 +01:00
jonjenssen
21ccd733a8 Python code linting changes detected by black 2023-02-01 10:32:58 +01:00
Magne Sjaastad
583c248cf9 Janitor issues
* Use horizontalAdvance
* Remove unused code
* Hide some warnings from Qt code
* Remove message for _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
* Use CMP0077 NEW
* Move roff libraries to folder Thirdparty
* avoid operator()==
* Remove cmake_minimum_required and set version to 3.15
2023-01-24 12:29:27 +01:00
Magne Sjaastad
c8dbf3d125 Trim spaces and avoid spaces in generated address text
* Trim spaces and avoid spaces in generated address text
* Fix unit test
2023-01-24 11:26:34 +01:00