mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-08 23:23:01 -06:00
#4361 Export : Use well name instead of wellNameForExport() to create file name
This commit is contained in:
parent
02de18f708
commit
6c8aa6beea
@ -303,7 +303,7 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompletions(const std::ve
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
QString fileName = QString("%1_UnifiedCompletions_%2").arg(wellPath->completions()->wellNameForExport()).arg(eclipseCaseName);
|
QString fileName = QString("%1_UnifiedCompletions_%2").arg(wellPath->name()).arg(eclipseCaseName);
|
||||||
sortAndExportCompletionsToFile(exportSettings.caseToApply,
|
sortAndExportCompletionsToFile(exportSettings.caseToApply,
|
||||||
exportSettings.folder,
|
exportSettings.folder,
|
||||||
fileName,
|
fileName,
|
||||||
@ -344,7 +344,7 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompletions(const std::ve
|
|||||||
if (completionType == RigCompletionData::FRACTURE) completionTypeText = "Fracture";
|
if (completionType == RigCompletionData::FRACTURE) completionTypeText = "Fracture";
|
||||||
if (completionType == RigCompletionData::PERFORATION) completionTypeText = "Perforation";
|
if (completionType == RigCompletionData::PERFORATION) completionTypeText = "Perforation";
|
||||||
|
|
||||||
QString fileName = QString("%1_%2_%3").arg(wellPath->completions()->wellNameForExport()).arg(completionTypeText).arg(eclipseCaseName);
|
QString fileName = QString("%1_%2_%3").arg(wellPath->name()).arg(completionTypeText).arg(eclipseCaseName);
|
||||||
if (completionType == RigCompletionData::FRACTURE)
|
if (completionType == RigCompletionData::FRACTURE)
|
||||||
{
|
{
|
||||||
std::vector<RicWellPathFractureReportItem> reportItemsForWell;
|
std::vector<RicWellPathFractureReportItem> reportItemsForWell;
|
||||||
|
@ -108,7 +108,7 @@ void RicWellPathExportMswCompletionsImpl::exportWellSegmentsForAllCompletions(
|
|||||||
{
|
{
|
||||||
QString wellFileName =
|
QString wellFileName =
|
||||||
QString("%1_UnifiedCompletions_MSW_%2")
|
QString("%1_UnifiedCompletions_MSW_%2")
|
||||||
.arg(wellPath->completions()->wellNameForExport(), exportSettings.caseToApply->caseUserDescription());
|
.arg(wellPath->name(), exportSettings.caseToApply->caseUserDescription());
|
||||||
unifiedWellPathFile = RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, wellFileName);
|
unifiedWellPathFile = RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, wellFileName);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -123,7 +123,7 @@ void RicWellPathExportMswCompletionsImpl::exportWellSegmentsForAllCompletions(
|
|||||||
{
|
{
|
||||||
QString fileName =
|
QString fileName =
|
||||||
QString("%1_Fracture_MSW_%2")
|
QString("%1_Fracture_MSW_%2")
|
||||||
.arg(wellPath->completions()->wellNameForExport(), exportSettings.caseToApply->caseUserDescription());
|
.arg(wellPath->name(), exportSettings.caseToApply->caseUserDescription());
|
||||||
fractureExportFile = RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, fileName);
|
fractureExportFile = RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, fileName);
|
||||||
}
|
}
|
||||||
exportWellSegmentsForFractures(
|
exportWellSegmentsForFractures(
|
||||||
@ -141,7 +141,7 @@ void RicWellPathExportMswCompletionsImpl::exportWellSegmentsForAllCompletions(
|
|||||||
{
|
{
|
||||||
QString fileName =
|
QString fileName =
|
||||||
QString("%1_Perforation_MSW_%2")
|
QString("%1_Perforation_MSW_%2")
|
||||||
.arg(wellPath->completions()->wellNameForExport(), exportSettings.caseToApply->caseUserDescription());
|
.arg(wellPath->name(), exportSettings.caseToApply->caseUserDescription());
|
||||||
perforationsExportFile =
|
perforationsExportFile =
|
||||||
RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, fileName);
|
RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, fileName);
|
||||||
}
|
}
|
||||||
@ -163,7 +163,7 @@ void RicWellPathExportMswCompletionsImpl::exportWellSegmentsForAllCompletions(
|
|||||||
{
|
{
|
||||||
QString fileName =
|
QString fileName =
|
||||||
QString("%1_Fishbones_MSW_%2")
|
QString("%1_Fishbones_MSW_%2")
|
||||||
.arg(wellPath->completions()->wellNameForExport(), exportSettings.caseToApply->caseUserDescription());
|
.arg(wellPath->name(), exportSettings.caseToApply->caseUserDescription());
|
||||||
fishbonesExportFile = RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, fileName);
|
fishbonesExportFile = RicWellPathExportCompletionsFileTools::openFileForExport(exportSettings.folder, fileName);
|
||||||
}
|
}
|
||||||
exportWellSegmentsForFishbones(exportSettings.caseToApply,
|
exportWellSegmentsForFishbones(exportSettings.caseToApply,
|
||||||
|
Loading…
Reference in New Issue
Block a user