GeneralParameterValue[] values = list
.toArray(new GeneralParameterValue[0]);
gcRaw = layer.read(values);
}
GridCoordinates high = gcRaw.getGridGeometry().getGridRange().getHigh();
GridCoordinates low = gcRaw.getGridGeometry().getGridRange().getLow();
int width = high.getCoordinateValue(0) - low.getCoordinateValue(0);
int height = high.getCoordinateValue(1) - low.getCoordinateValue(1);
if (width * height > WARN_VALUE){
if (!warnLargeSize()){
return null;
}