code: public int getUnsignedPixelValue(GriddedTile griddedTile, Double value) {
  
  		int unsignedPixelValue = 0;
  
  		if (value == null) {
  			if (griddedCoverage != null) {
  				unsignedPixelValue = griddedCoverage.getDataNull().intValue();
  			}
  		} else {
  			double pixelValue = valueToPixelValue(griddedTile, value);
  			unsignedPixelValue = (int) Math.round(pixelValue);
  		}
  
  		return unsignedPixelValue;
  	}
docs: Get the unsigned 16 bit integer pixel value of the coverage data value
  
  @param griddedTile
  gridded tile
  @param value
  coverage data value
  @return 16 bit integer pixel value