Magne Sjaastad
7ba4329bb4
Add qt-version to matrix configuration
2024-09-06 12:11:50 +02:00
Magne Sjaastad
a443655b42
Prefix NetworkAuth includes
2024-09-06 12:11:50 +02:00
Magne Sjaastad
03c0e97296
Prefix Sql includes
2024-09-06 12:11:50 +02:00
Magne Sjaastad
a00bfea40b
#11663 Make sure non-Darcy data is computed
...
The computation of non-Darcy properties is expensive, so we cache the results. Make sure that the calling function calls this function before using the properties.
2024-09-05 08:41:06 +02:00
magnesj
fc2106edb0
Fixes by clang-tidy
2024-09-02 15:26:44 +02:00
Magne Sjaastad
4a2e730ee0
Add modernize-make-unique and modernize-make-shared
2024-09-02 15:26:44 +02:00
Kristian Bendiksen
d8eb34c00d
Janitor: fix memory leaks.
2024-09-02 13:58:00 +02:00
Kristian Bendiksen
1736c01dfa
Janitor: fix warning on clang 14.
2024-09-02 13:58:00 +02:00
Magne Sjaastad
33188f3d6e
Improve robustness when importing incomplete project file
...
Avoid assert, and return empty curve definition if both summary case and ensemble is undefined.
2024-09-02 13:57:41 +02:00
Kristian Bendiksen
cbb7e101e2
#11649 Hide X axis in Result Plot before data has been set.
2024-08-30 10:21:49 +02:00
Kristian Bendiksen
cf7a38375d
#11649 Reverse order of terms in polynomial expression.
2024-08-30 10:21:49 +02:00
Kristian Bendiksen
cf23a6ae5f
Improve name of Summary Curve Calculator.
2024-08-30 10:21:49 +02:00
Magne Sjaastad
24fcec79ab
Look for fault definition in Pflotran input files
...
Look for fault definition in Pflotran input files If no *.DATA file is found, look for *.IN file and search for fault definitions.
2024-08-30 10:03:03 +02:00
Magne Sjaastad
681b4fbffe
#11650 Cloud data configuration file search order
...
Check multiple locations for configuration files. The first valid configuration file is used. Currently, using Qt5 the ResInsight binary file is stored at the root of the installation folder. When moving to Qt6, we will probably use sub folders /bin /lib and others. Support both one and two search levels to support Qt6.
2024-08-30 09:19:39 +02:00
Kristian Bendiksen
8886905fd2
#11422 Grid Ensemble: Fix copy and paste of a view.
...
Fixes #11422 .
2024-08-28 19:11:49 +02:00
jonjenssen
0572069511
Support for loading only active cell geometry ( #11624 )
...
* Only load active cells for main grid, skip LGRs for now
* Handle wells with inactive cells
* Validate mapaxes transform before using it.
* Add log message
* Additional guarding when trying to find the geometrical location of a simulation cell
* Add extra safeguarding for init/restart file access in opm common. Only support unified restart files.
2024-08-28 18:22:57 +02:00
Magne Sjaastad
27c46a65fd
Improve user control on resampling operations
...
Allow user to specify Accumulated or Rate for a summary curve. Default setting is Auto, and summary address is used to derive Accumulated/Rate. User can set curve type explicitly.
2024-08-28 15:23:07 +02:00
Magne Sjaastad
64a559756f
Improve visual appearance for depth surface
...
- disable intersection geometry with cell property colors
- allow opacity
- set default color to blue, as most user use this plane for oil-water contact
2024-08-28 09:22:55 +02:00
Magne Sjaastad
0fd27a3a8d
Add [BETA] as postfix to user interface
...
Add postfix to SUMO and OSDU cloud import features.
2024-08-28 09:22:55 +02:00
Magne Sjaastad
a89fe80de3
Use sliders to manipulate surface plane extent
2024-08-28 09:22:55 +02:00
Kristian Bendiksen
0518e594ce
Improve caching.
2024-08-28 08:33:44 +02:00
Kristian Bendiksen
48e32668ec
Sumo ensemble parameters: handle string properties.
2024-08-28 08:33:44 +02:00
Kristian Bendiksen
44076f4911
Sumo: load parameter sensitivities (i.e. "parameters.txt") for ensembles.
2024-08-28 08:33:44 +02:00
Magne Sjaastad
41256e0b75
Include build server OS as text in about dialog
2024-08-27 07:38:53 +02:00
Magne Sjaastad
bc9db44fe0
Use 1 as default size for fault mesh lines
2024-08-23 17:07:48 +02:00
Kristian Bendiksen
c322ba62bb
#11636 Fix missing well path creation when importing LAS file without a well path file
...
Fixes #11636 .
2024-08-23 17:07:48 +02:00
Magne Sjaastad
1b509c0384
Use mutex when import well paths
...
A shared data structure (RifWellPathImporter) is used when importing well paths. Add mutex to ensure single use of shared data structure.
2024-08-23 17:07:48 +02:00
Magne Sjaastad
83443ae2ff
Guard use of empty OpenGL context
2024-08-23 17:07:48 +02:00
Kristian Bendiksen
f6fa93bb66
Sumo: Fix concurrency issue when stepping too fast.
2024-08-23 12:18:05 +02:00
Kristian Bendiksen
ef9a397188
Sumo: improve logging and remove some unused code.
2024-08-23 12:18:05 +02:00
Kristian Bendiksen
123f6fdcfa
Sumo: Fix incorrect signal-slot connection.
2024-08-23 12:18:05 +02:00
Kristian Bendiksen
12069ca80a
Sumo: Fix incorrect signal connection.
...
The signal was not connect using the std::function signalCallable.
Therefore the signal would never trigger the QEventLoop::quit() slot,
and UI would be stuck waiting for the time out.
2024-08-23 12:18:05 +02:00
Kristian Bendiksen
f777dfa4ba
Sumo: Increase request timeout.
2024-08-23 12:18:05 +02:00
Magne Sjaastad
1a3a005c1c
Add optional import of SUMO/OSDU settings from JSON ( #11630 )
...
Add optionally import of SUMO/OSDU settings from JSON. Check for sumo_config.json and osdu_config.json. If present, import settings to preferences and set fields read only.
2024-08-22 07:18:06 +02:00
Jon Jenssen
7651952c89
Fix regression test crash
2024-08-21 16:59:32 +02:00
Magne Sjaastad
392a794393
#11562 RFT plots with nonproducing segments
...
Identify when we have a tubing segments that do not have a device segment connected. Mark the downstream device segment as non-continuous. When MD for device curve is created, add an extra MD for noncontinuous segments. Use inf as data value for this MD. This will ensure that no curve is displayed in this section of the device curve.
2024-08-20 14:46:04 +02:00
Magne Sjaastad
141484f8a7
Improve error handling when trying to access OSDU data
...
Show more details when support for SSL is missing.
Move connection of signal/slot away from constructor. This makes it possible to use ResInsight even if SSL is not available.
2024-08-19 16:33:19 +02:00
Kristian Bendiksen
b324fdb26b
Close project if cancelling well path loading.
2024-08-16 15:46:22 +02:00
Kristian Bendiksen
9bea739252
Parallelize initial import of OSDU well path.
2024-08-16 15:46:22 +02:00
Kristian Bendiksen
bf2a852b4d
Add cancellation of well path collection loading.
2024-08-16 15:46:22 +02:00
Magne Sjaastad
f561973319
#11618 Add menu to create filter from existing polygons
2024-08-16 14:17:33 +02:00
Magne Sjaastad
bf471b6c73
#11595 Always return the pick event handler
...
Always return the pick event handler to make it possible to deactivate handler. Move the activation logic to pickingEnabled.
2024-08-16 14:17:33 +02:00
magnesj
3a54045c28
Fixes by clang-tidy
2024-08-15 07:11:40 +02:00
Magne Sjaastad
f0e19b0fb5
Use vcpkg for fast-float and spdlog
2024-08-14 13:58:11 +02:00
Kristian Bendiksen
6e3e0ad538
Use unique_ptr for data loaders.
2024-08-14 11:32:07 +02:00
Kristian Bendiksen
76a1d43b0e
Osdu: make sure token is valid before background loading.
2024-08-14 11:32:07 +02:00
Kristian Bendiksen
2651ca91b6
Add well log loaders.
2024-08-14 11:32:07 +02:00
Kristian Bendiksen
694d2eda66
Add background data loader framework and well path loaders.
2024-08-14 11:32:07 +02:00
Kristian Bendiksen
e9c46c5cec
Rename RimSummaryCaseCollection to RimSummaryEnsemble.
2024-07-30 08:55:12 +02:00
Kristian Bendiksen
1d7b40fbdd
Remove SSIHUB-related classes.
2024-07-29 12:24:58 +02:00
Kristian Bendiksen
4aadf6e801
Correct or remove ssihub references.
2024-07-29 12:24:58 +02:00
Magne Sjaastad
6fb74654a1
Improve interface for string operations
...
Trim incoming string before converting to number
Remove use of std::strtod and std::stoi
Use std::string_view instead of std::string when possible
2024-07-25 21:21:53 +02:00
Magne Sjaastad
33ffa10ec9
Janitor: Remove obsolete deleteChildren
...
Remove obsolete deleteChildren() in destructors. deleteChildren() is called in the destructor of PdmChildArrayField
2024-07-25 13:58:31 +02:00
Magne Sjaastad
34e30b38d3
#11372 Make sure regression curves can be resampled
...
Make sure a regression curve based on observed data can be resampled. Split display of curves, one section for resampled curves and one section for observed curves without resampling.
2024-07-25 10:29:16 +02:00
Magne Sjaastad
3164b39225
Allow hiding of category name in color legend item
2024-07-25 10:29:16 +02:00
Magne Sjaastad
736bfd9a96
Add Depth Surface
...
Add Depth surface and initialize the location of the surface based on the first available grid model. Add feature to create Depth surface.
2024-07-24 15:42:25 +02:00
Magne Sjaastad
337584025c
Add convenience function to set number format to fixed with two decimals
2024-07-24 15:42:25 +02:00
Magne Sjaastad
d8bd7bc81a
Cloud connector cleanup
...
* Rename to RiaOAuthHttpServerReplyHandler
* Add comment header
* SUMO: Use function pointer to simplify network request
2024-07-23 11:49:07 +02:00
Magne Sjaastad
a77f50e3a8
SUMO connector adjustments
...
Disable SUMO connector object when running regression tests to avoid request for credentials
2024-07-22 11:33:38 +02:00
Kristian Bendiksen
773d9b08c9
Janitor: remove unused code.
2024-07-13 12:07:49 +02:00
Kristian Bendiksen
2aa1bfe940
Cloud: save expiration timestamp for access token.
...
Expired access tokens are ignored when reading from file.
2024-07-13 12:07:49 +02:00
Kristian Bendiksen
3e2af38c90
Cloud: Use separate files for Osdu and Sumo tokens.
2024-07-13 12:07:49 +02:00
Kristian Bendiksen
896e4979bf
Cloud: Handle refresh of access token.
2024-07-12 19:18:09 +02:00
Kristian Bendiksen
a8004870d4
Well Log Track: show "New LAS file curve" menu item for Osdu well logs.
2024-07-12 19:18:09 +02:00
Kristian Bendiksen
151f433124
Cloud: create directory if missing when saving access token.
2024-07-12 19:18:09 +02:00
Kristian Bendiksen
734a84956e
Osdu Well Log: use channel "CurveId" instead of "Mnemonic".
2024-07-12 19:18:09 +02:00
Kristian Bendiksen
eda26bcc25
Cloud: Extract common oauth2 parts of Sumo and Osdu connector.
2024-07-12 19:18:09 +02:00
Kristian Bendiksen
9316715063
Osdu Well Log: Save well log channels and names to xml.
2024-07-10 20:24:58 +02:00
Kristian Bendiksen
44daecac9a
Refactor: move RiaOsduConnector to Tools/Cloud.
2024-07-10 18:57:15 +02:00
Kristian Bendiksen
ed7a3e98da
Osdu Well Log: cache channel meta data from Osdu.
2024-07-10 18:57:15 +02:00
Kristian Bendiksen
0d845938b6
Osdu Well Log: show more values in filter.
2024-07-10 18:57:15 +02:00
Kristian Bendiksen
122b724a83
Osdu: Split blocking and non-blocking api, and fix race condition on parquet data.
2024-07-10 18:57:15 +02:00
Kristian Bendiksen
56e139b9d6
#11556 StimPlan Model: export deviation with less precision.
...
Fixes #11556 .
2024-07-10 17:51:57 +02:00
Kristian Bendiksen
c780c948ea
Fix unsigned comparisons
2024-07-08 22:34:35 +02:00
Kristian Bendiksen
09565744c7
Osdu: Allow user to filter well logs before import.
2024-07-08 22:34:35 +02:00
Magne Sjaastad
1c2b8f4118
Updated icons
2024-07-05 15:55:24 +02:00
Magne Sjaastad
31d653bce7
Add Sumo summary ensemble and summary case
...
Add feature to create ensemble from a sumo data source
2024-07-05 12:47:54 +02:00
Magne Sjaastad
e63005348c
Create a compact string representation of a list of integers
2024-07-05 12:47:54 +02:00
Magne Sjaastad
ffc1687cc7
Add Sumo connector and related cloud tools
...
* Add cloud data icon
* Add Sumo connector and related helper tools
* Reorganize preferences and remove ssihub
* Use timeout defined for Sumo
2024-07-05 09:31:16 +02:00
jonjenssen
868e9916bc
Grid preferences update ( #11547 )
...
* Refactor RifReaderSettings and grid preferences tab
2024-07-04 12:38:41 +02:00
Magne Sjaastad
f2d79da8be
Use template to convert arrow::ChunkedArray
2024-07-01 16:19:36 +02:00
Magne Sjaastad
58b3f0b928
Fix compiler issue when importing arrow
...
The arrow library has a function parameter called signals that causes trouble when compiled using Qt. Add undef signals to avoid this issue.
2024-07-01 14:09:56 +02:00
Magne Sjaastad
e0b84ae36a
#11536 Add library to support strong typing of objects
2024-07-01 14:09:26 +02:00
jonjenssen
2f5f83b959
opm_common reader updates ( #11535 )
...
* Read NNC info from init file, if needed
* Read active cell information before geometry
2024-07-01 12:44:41 +02:00
Kristian Bendiksen
0974ee7f36
Osdu: add more error logging.
2024-06-26 13:20:04 +02:00
Magne Sjaastad
16215585be
Refactoring to prepare for renaming of RimSummaryCaseCollection
...
Move functions into RimSummaryEnsembleTools
Use enum class instead of plain enum
2024-06-24 15:33:38 +02:00
Kristian Bendiksen
c7b1fdc134
Osdu: Add more logging.
2024-06-24 11:09:19 +02:00
Magne Sjaastad
2724f80e8e
#11516 Disable selection of cell result from intersection view
...
Selection of the cell result in the 3D view causes changes in active view and is very confusing for the user. Use "Activate Result in Project Tree" from right-click menu in the intersection view.
2024-06-19 07:45:51 +02:00
Magne Sjaastad
0d48c7d5b7
#11515 Show Eclipse data source on top in Property Editor
2024-06-19 07:45:51 +02:00
Kristian Bendiksen
d0a870bb38
#11514 OSDU: parse and add datum elevation to well paths.
2024-06-18 15:47:47 +02:00
jonjenssen
4365b0dfb9
Grid import using opm-common improvements ( #11438 )
...
* Update opm-common EGRID reader to support LGRs, NNCs, dual porosity, unit system info and time step filters
* Rearrange well reading code into separate class
* Update resdata library to not require an ecl_grid when reading well information. Only lgr names are needed, allows reused by opm_common reader
2024-06-18 13:03:48 +02:00
Magne Sjaastad
ccda815bde
Mark single table VFP plot as obsolete
...
Remove features to create obsoleted plot. Remove plot creation functions. Rename to RimVfpPlot_deprecated
2024-06-18 11:49:22 +02:00
Magne Sjaastad
82dea49ac6
Add color legend to show curve set colors
2024-06-18 11:49:22 +02:00
Kristian Bendiksen
acb76061ee
#11496 OSDU well path import: add sorting and filter of wells.
2024-06-18 10:52:47 +02:00
Kristian Bendiksen
80f269715b
Refactor: register keyword aliases for WellLogFile.
2024-06-17 22:22:35 +02:00
Kristian Bendiksen
81eca2c893
#11497 3D Well Log: show 3d well logs for OSDU log too.
2024-06-17 22:22:35 +02:00
Kristian Bendiksen
33466f5d84
11498 osdu well multiselect ( #11505 )
...
* #11498 OSDU well path multi-select.
* Janitor: modernize foreach loops
2024-06-17 22:21:32 +02:00
Kristian Bendiksen
71929a234a
Refactor: Extract arrow tools.
2024-06-14 17:31:22 +02:00
Kristian Bendiksen
7125670d8c
Review fixes.
2024-06-14 17:31:22 +02:00
Kristian Bendiksen
44ca21636a
Osdu: extract constants to separate namespace.
2024-06-14 17:31:22 +02:00