1 --- bes-3.17.4/modules/hdf4_handler/HDFEOS2.cc~ 2016-06-02 23:17:54.000000000 +0200
2 +++ bes-3.17.4/modules/hdf4_handler/HDFEOS2.cc 2018-05-22 13:45:20.035730813 +0200
3 @@ -1771,7 +1771,7 @@ void File::handle_grid_cf_attrs() throw(
4 // We may find such cases for other products and will tackle them also.
5 if (true == (*i)->addfvalueattr) {
6 if((((*j)->getFillValue()).empty()) && ((*j)->getType()==DFNT_FLOAT32 )) {
7 - float tempfillvalue = HUGE;
8 + float tempfillvalue = std::numeric_limits<double>::max();
9 (*j)->addFillValue(tempfillvalue);
10 (*j)->setAddedFillValue(true);