Fix issues related to well bore stability plots

* Check if data is present
* Move plot update to geomech case
* Return empty vector if no data is present
This commit is contained in:
Magne Sjaastad
2023-01-23 12:38:55 +01:00
committed by GitHub
parent 56dd33e762
commit ab165b0d72
3 changed files with 8 additions and 9 deletions

View File

@@ -444,7 +444,7 @@ void RimWellLogExtractionCurve::extractData( bool* isUsingPseudoLength,
{
curveData = extractEclipseData( eclipseCase, isUsingPseudoLength );
}
else if ( geomCase )
else if ( geomCase && geomCase->geoMechData() )
{
curveData = extractGeomData( geomCase, isUsingPseudoLength, performDataSmoothing, smoothingThreshold );
}