Summary HDF : Make sure all summary data is loaded before export to HDF

This commit is contained in:
Magne Sjaastad
2021-04-13 09:26:58 +02:00
parent 60683fd0cc
commit c50e7cdd51
2 changed files with 9 additions and 3 deletions

View File

@@ -25,12 +25,10 @@ TEST( DISABLED_HDFTests, WriteToHdf5SummaryExporter )
{
QString file_path = H5_TEST_DATA_DIRECTORY_2 + "NORNE_ATW2013_RFTPLT_V2.SMSPEC";
Opm::EclIO::ESmry esmry( file_path.toStdString() );
RifHdf5SummaryExporter exporter;
std::string exportFileName = "e:/project/scratch_export/hdf_complete.h5";
exporter.ensureHdf5FileIsCreated( exportFileName, exportFileName );
exporter.ensureHdf5FileIsCreated( file_path.toStdString(), exportFileName );
}
//--------------------------------------------------------------------------------------------------