ParameterGroup readParams = new ParameterGroup(
new DefaultParameterDescriptorGroup(
"Test", //$NON-NLS-1$
new GeneralParameterDescriptor[] { gridGeometryDescriptor }));
List<GeneralParameterValue> list = readParams.values();
GeneralParameterValue[] values = list
.toArray(new GeneralParameterValue[0]);
gcRaw = layer.read(values);
}