public static GridCoverage2D readRaster ( String path ) throws Exception { OmsRasterReader reader = new OmsRasterReader ( ) ; reader . file = path ; reader . process ( ) ; GridCoverage2D geodata = reader . outRaster ; return geodata ; }
Utility method to quickly read a grid in default mode .