mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#5158 Grid Case Group: Allow statistics on static data only
Support grid cases with no dynamic data present.
This commit is contained in:
1 parent
ce94b6ff9e
commit
e0e984f703
3 files changed
+13
-7
No files matched your search
@@ -291,11 +291,6 @@ bool RimEclipseResultCase::openAndReadActiveCellData( RigEclipseCaseData* mainEc
|
||||
eclipseCase->setMainGrid( mainEclipseCase->mainGrid() );
|
||||
|
||||
std::vector<QDateTime> timeStepDates = mainEclipseCase->results( RiaDefines::MATRIX_MODEL )->timeStepDates();
|
||||
if ( timeStepDates.size() == 0 )
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
cvf::ref<RifReaderEclipseOutput> readerEclipseOutput = new RifReaderEclipseOutput;
|
||||
if ( !readerEclipseOutput->openAndReadActiveCellData( caseFileName(), timeStepDates, eclipseCase.p() ) )
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user