public static GridCoverage2D scale(final double scaleX, final double scaleY, float xTrans,
float yTrans, final Interpolation interpolation, final BorderExtender be,
final GridCoverage2D gc) {
final ParameterValueGroup param = (ParameterValueGroup) scaleParams.clone();
param.parameter("source").setValue(gc);
param.parameter("xScale").setValue(new Float(scaleX));
param.parameter("yScale").setValue(new Float(scaleY));
param.parameter("xTrans").setValue(new Float(xTrans));
param.parameter("yTrans").setValue(new Float(yTrans));
param.parameter("Interpolation").setValue(interpolation);
param.parameter("BorderExtender").setValue(be);