mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4819 Export correct case and time step name for contour map.
This commit is contained in:
parent
f70fbe0071
commit
fd9277f92d
@ -34,8 +34,6 @@
|
||||
#include "cafUtils.h"
|
||||
|
||||
#include <QAction>
|
||||
#include <QDateTime>
|
||||
#include <QDebug>
|
||||
#include <QFileDialog>
|
||||
|
||||
#include <cmath>
|
||||
@ -146,10 +144,9 @@ void RicExportContourMapToAsciiFeature::writeMetaDataToStream( QTextStream&
|
||||
bool exportLocalCoordinates )
|
||||
{
|
||||
cvf::Vec2ui numVerticesIJ = contourMapProjection->numberOfVerticesIJ();
|
||||
stream << "# case name : " << caseName << "\n";
|
||||
stream << "# case name : " << contourMapProjection->caseName() << "\n";
|
||||
stream << "# sampling points : nx=" << numVerticesIJ.x() << " ny=" << numVerticesIJ.y() << "\n";
|
||||
QDateTime now = QDateTime::currentDateTime();
|
||||
stream << "# time and date : " << now.toString( Qt::ISODate ) << "\n";
|
||||
stream << "# time and date : " << contourMapProjection->currentTimeStepName() << "\n";
|
||||
stream << "# property name : " << contourMapProjection->resultDescriptionText() << "\n";
|
||||
if ( exportLocalCoordinates )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user