Skip to content
Permalink
Browse files

update to MDAL 0.2.0 (friendly release for QGIS 3.6)

  • Loading branch information
PeterPetrik committed Feb 20, 2019
1 parent b7776f5 commit b981c8a895eb582bcb7479c9dc101c3d9e051887
Showing with 3 additions and 3 deletions.
  1. +2 −2 external/mdal/frmts/mdal_xmdf.cpp
  2. +1 −1 external/mdal/mdal.cpp
@@ -246,7 +246,7 @@ std::shared_ptr<MDAL::DatasetGroup> MDAL::DriverXmdf::readXmdfGroupAsDatasetGrou

bool isVector = dimValues.size() == 3;

std::vector<float> times = dsTimes.readArray();
std::vector<double> times = dsTimes.readArrayDouble();

// all fine, set group and return
group = std::make_shared<MDAL::DatasetGroup>(
@@ -269,7 +269,7 @@ std::shared_ptr<MDAL::DatasetGroup> MDAL::DriverXmdf::readXmdfGroupAsDatasetGrou
for ( hsize_t i = 0; i < nTimeSteps; ++i )
{
std::shared_ptr<XmdfDataset> dataset = std::make_shared< XmdfDataset >( group.get(), dsValues, dsActive, i );
dataset->setTime( double( times[i] ) );
dataset->setTime( times[i] );
Statistics stats;
stats.minimum = static_cast<double>( mins[i] );
stats.maximum = static_cast<double>( maxs[i] );
@@ -22,7 +22,7 @@ static MDAL_Status sLastStatus;

const char *MDAL_Version()
{
return "0.1.5";
return "0.2.0";
}

MDAL_Status MDAL_LastStatus()

0 comments on commit b981c8a

Please sign in to comment.
You can’t perform that action at this time.