GeoTiffWriter gtw = (GeoTiffWriter) format.getWriter(dumpFile);
gtw.write(coverage2D, (GeneralParameterValue[]) paramWrite.values().toArray(new GeneralParameterValue[1]));
}
if (isAscii) {
final ArcGridFormat format = new ArcGridFormat();
final ArcGridWriteParams wp = new ArcGridWriteParams();
// wp.setProgressiveMode(GeoTiffWriteParams.MODE_DEFAULT);
// wp.setCompressionMode(GeoTiffWriteParams.MODE_DEFAULT);
// wp.setTilingMode(GeoToolsWriteParams.MODE_DEFAULT);
final ParameterValueGroup paramWrite = format.getWriteParameters();
paramWrite.parameter(AbstractGridFormat.GEOTOOLS_WRITE_PARAMS.getName().toString()).setValue(wp);