From fffb3f2672bf420dcb1cb87647c7537c65295ef4 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 30 Sep 2025 15:42:10 +0200 Subject: [PATCH] Adjust warning message for radial grids --- ApplicationLibCode/FileInterface/RifReaderEclipseOutput.cpp | 4 ++-- ApplicationLibCode/FileInterface/RifReaderOpmCommon.cpp | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/ApplicationLibCode/FileInterface/RifReaderEclipseOutput.cpp b/ApplicationLibCode/FileInterface/RifReaderEclipseOutput.cpp index 26e2f9d5d9..aeaa0d272f 100644 --- a/ApplicationLibCode/FileInterface/RifReaderEclipseOutput.cpp +++ b/ApplicationLibCode/FileInterface/RifReaderEclipseOutput.cpp @@ -450,8 +450,8 @@ bool RifReaderEclipseOutput::open( const QString& fileName, RigEclipseCaseData* { if ( !readerSettings().useCylindricalCoordinates ) { - QString msg = QString( "The grid appears to be a radial grid. To import this grid, open Preferences, and set Radial " - "import mode to 'Show Cells as Cylinder Segments'." ); + QString msg = QString( "The grid appears to be a radial grid.\nTo import this grid, open Preferences, and set 'Radial " + "Grid Display Mode' to 'Show Cells as Cylinder Segments'." ); RiaLogging::errorInMessageBox( nullptr, "Potential Radial Grid", msg ); } diff --git a/ApplicationLibCode/FileInterface/RifReaderOpmCommon.cpp b/ApplicationLibCode/FileInterface/RifReaderOpmCommon.cpp index add94c943c..e75200e1ad 100644 --- a/ApplicationLibCode/FileInterface/RifReaderOpmCommon.cpp +++ b/ApplicationLibCode/FileInterface/RifReaderOpmCommon.cpp @@ -161,7 +161,8 @@ bool RifReaderOpmCommon::open( const QString& fileName, RigEclipseCaseData* ecli { RiaLogging::debug( e.what() ); - QString errorMsg = "Unable to read cell data from grid. Change grid reader to resdata and try again."; + QString errorMsg = "Unable to read cell data from grid.\nOpen Preferences->Grid->EGRID settings, and set 'Model Reader' to " + "'resdata' and try again."; RiaLogging::error( errorMsg ); return false;