I am trying to get the "minimum" and "no data value" from my GridCoverage created from AsciiArcGrid but it return the no data value (-9999) for the minimum and "null" for the no data value instead of the actual minimum value and no data value(-9999) respectively.
Herebelow is the way I do it.
ArcGridReader gridreader = new ArcGridReader(arcURL);
GridCoverage2D gc2 = (GridCoverage2D)gridreader.read(null);
I would appreciate if anybody can help.