code: public void dumpRaster( GridCoverage2D raster, String source ) throws Exception {
          if (raster == null || source == null)
              return;
          OmsRasterWriter writer = new OmsRasterWriter();
          writer.pm = pm;
          writer.inRaster = raster;
          writer.file = source;
          writer.process();
      }
docs: Fast default writing of raster to source.
  
  <p>Mind that if either raster or source are <code>null</code>, the method will
  return without warning.</p>
  
  @param raster the {@link GridCoverage2D} to write.
  @param source the source to which to write to.
  @throws Exception