Skip to content

Commit

Permalink
update to MDAL 0.2.0 (friendly release for QGIS 3.6)
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik committed Feb 20, 2019
1 parent b7776f5 commit b981c8a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions external/mdal/frmts/mdal_xmdf.cpp
Expand Up @@ -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>(
Expand All @@ -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] );
Expand Down
2 changes: 1 addition & 1 deletion external/mdal/mdal.cpp
Expand Up @@ -22,7 +22,7 @@ static MDAL_Status sLastStatus;

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

MDAL_Status MDAL_LastStatus()
Expand Down

0 comments on commit b981c8a

Please sign in to comment.