id summary reporter owner description type status priority milestone component version severity resolution keywords cc 6175 netCDF classic reports negative nodata value for unsigned byte > 127 Even Rouault Even Rouault When creating a netCDF dataset (with classic netCDF) with GDAL Byte type (ie unsigned) and setting a nodata value in [128,255] range, and reading it back, it appears negative. This is due to classic netCDF only supporting signed byte by default. GDAL uses a trick (metadata _Unsigned=True) to correct the interpretation, so in case of unsigned byte, we have to offset negative nodata values by 256 to get back the correct value defect closed normal 2.1.0 GDAL_Raster unspecified normal fixed netcdf