Skip to content

Commit

Permalink
TUFLOWFV fix bug with incorrect long_name
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik authored and wonder-sk committed Jan 8, 2020
1 parent db6adc7 commit d064fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdal/frmts/mdal_tuflowfv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ void MDAL::DriverTuflowFV::parseNetCDFVariableMetadata( int varid, const std::st
*is_x = true;

std::string long_name = mNcFile->getAttrStr( "long_name", varid );
if ( long_name.empty() )
if ( long_name.empty() || ( long_name == "??????" ) )
{
name = variableName;
}
Expand Down

0 comments on commit d064fa9

Please sign in to comment.