mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Moved debug output regarding Well Log Extraction Curves to the Log Message window.
Also removed some debug output.
This commit is contained in:
@@ -95,7 +95,7 @@ void RicAsciiExportSummaryPlotFeature::onActionTriggered(bool isChecked)
|
|||||||
bool writeFiles = caf::Utils::getSaveDirectoryAndCheckOverwriteFiles(defaultDir, fileNames, &saveDir);
|
bool writeFiles = caf::Utils::getSaveDirectoryAndCheckOverwriteFiles(defaultDir, fileNames, &saveDir);
|
||||||
if (!writeFiles) return;
|
if (!writeFiles) return;
|
||||||
|
|
||||||
RiaLogging::debug(QString("Writing to directory %1").arg(saveDir));
|
RiaLogging::info(QString("Writing to directory %1").arg(saveDir));
|
||||||
for (RimSummaryPlot* summaryPlot : selectedSummaryPlots)
|
for (RimSummaryPlot* summaryPlot : selectedSummaryPlots)
|
||||||
{
|
{
|
||||||
QString fileName = saveDir + "/" + caf::Utils::makeValidFileBasename(summaryPlot->description()) + ".ascii";
|
QString fileName = saveDir + "/" + caf::Utils::makeValidFileBasename(summaryPlot->description()) + ".ascii";
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ void RicAsciiExportWellLogPlotFeature::onActionTriggered(bool isChecked)
|
|||||||
bool writeFiles = caf::Utils::getSaveDirectoryAndCheckOverwriteFiles(defaultDir, fileNames, &saveDir);
|
bool writeFiles = caf::Utils::getSaveDirectoryAndCheckOverwriteFiles(defaultDir, fileNames, &saveDir);
|
||||||
if (!writeFiles) return;
|
if (!writeFiles) return;
|
||||||
|
|
||||||
RiaLogging::debug(QString("Writing to directory %!").arg(saveDir));
|
RiaLogging::info(QString("Writing to directory %!").arg(saveDir));
|
||||||
for (RimWellLogPlot* wellLogPlot : selectedWellLogPlots)
|
for (RimWellLogPlot* wellLogPlot : selectedWellLogPlots)
|
||||||
{
|
{
|
||||||
QString fileName = saveDir + "/" + caf::Utils::makeValidFileBasename(wellLogPlot->description()) + ".ascii";
|
QString fileName = saveDir + "/" + caf::Utils::makeValidFileBasename(wellLogPlot->description()) + ".ascii";
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ void RigMainGrid::calculateFaults(const RigActiveCellInfo* activeCellInfo)
|
|||||||
if (hasFaultWithName(RimDefines::undefinedGridFaultName())
|
if (hasFaultWithName(RimDefines::undefinedGridFaultName())
|
||||||
&& hasFaultWithName(RimDefines::undefinedGridFaultWithInactiveName()))
|
&& hasFaultWithName(RimDefines::undefinedGridFaultWithInactiveName()))
|
||||||
{
|
{
|
||||||
RiaLogging::debug(QString("Calculate faults already run for grid."));
|
//RiaLogging::debug(QString("Calculate faults already run for grid."));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
m_faultsPrCellAcc = new RigFaultsPrCellAccumulator(m_cells.size());
|
m_faultsPrCellAcc = new RigFaultsPrCellAccumulator(m_cells.size());
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
#include "RigWellLogExtractor.h"
|
#include "RigWellLogExtractor.h"
|
||||||
#include "RigWellPath.h"
|
#include "RigWellPath.h"
|
||||||
#include "cvfTrace.h"
|
#include "cvfTrace.h"
|
||||||
|
#include "RiaLogging.h"
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
///
|
///
|
||||||
@@ -202,7 +203,7 @@ void RigWellLogExtractor::populateReturnArrays(std::map<RigMDCellIdxEnterLeaveKe
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cvf::Trace::show(cvf::String("Well log from :") + m_wellCaseErrorMsgName + (" Discards a point at MD: ") + cvf::String::number((double)(it1->first.measuredDepth)));
|
RiaLogging::warning(QString("Well Log Extraction : ") + QString::fromStdString(m_wellCaseErrorMsgName) + (" Discards a point at MD: ") + QString::number((double)(it1->first.measuredDepth)));
|
||||||
|
|
||||||
// Found that 8 to 10 is not connected, after finding 7 to 9
|
// Found that 8 to 10 is not connected, after finding 7 to 9
|
||||||
it1 = it21; // Discard 8 by Jumping to 10
|
it1 = it21; // Discard 8 by Jumping to 10
|
||||||
@@ -211,7 +212,7 @@ void RigWellLogExtractor::populateReturnArrays(std::map<RigMDCellIdxEnterLeaveKe
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
cvf::Trace::show(cvf::String("Well log from :") + m_wellCaseErrorMsgName + (" Discards a point at MD: ") + cvf::String::number((double)(it1->first.measuredDepth)));
|
RiaLogging::warning(QString("Well Log Extraction : ") + QString::fromStdString(m_wellCaseErrorMsgName) + (" Discards a point at MD: ") + QString::number((double)(it1->first.measuredDepth)));
|
||||||
|
|
||||||
// Found that 10 to 11 is not connected, and not 10 to 12 either
|
// Found that 10 to 11 is not connected, and not 10 to 12 either
|
||||||
++it1; // Discard 10 and jump to 11 and hope that recovers us
|
++it1; // Discard 10 and jump to 11 and hope that recovers us
|
||||||
|
|||||||
Reference in New Issue
Block a user