GridToEnvelopeMapper g2eMapper = new GridToEnvelopeMapper();
g2eMapper.setEnvelope(referencedEnvelope);
GridEnvelope2D gridEnvelope2D = new GridEnvelope2D(0, 0, (int) cols, (int) rows);
g2eMapper.setGridRange(gridEnvelope2D);
g2eMapper.setPixelAnchor(PixelInCell.CELL_CENTER);
MathTransform gridToEnvelopeTransform = g2eMapper.createTransform();
GridGeometry outputGridGeometry = new GridGeometry2D(gridEnvelope2D, gridToEnvelopeTransform, crs);
GridCoverage2D coverage2D = JGrassCatalogUtilities.getGridcoverageFromGrassraster(jgMEnv, sourceRegion);
// GrassCoverageReadParam gcReadParam = new