raster = new OMScalingRaster(dGrid.getUpperLat(), dGrid.getLeftLon(), dGrid.getLowerLat(), dGrid.getRightLon(), dGrid.width, dGrid.height, new int[dGrid.width*dGrid.height]);
raster = new OMRaster(dGrid.getUpperLat(), dGrid.getLeftLon(), dGrid.width, dGrid.height, new int[dGrid.width*dGrid.height]);
    protected OMRaster getRaster(OMGrid grid) {        if (grid instanceof OMDTEDGrid) {            OMDTEDGrid dGrid = (OMDTEDGrid)grid;            raster = new OMScalingRaster(dGrid.getUpperLat(), dGrid.getLeftLon(),                                          dGrid.getLowerLat(), dGrid.getRightLon(),                                         dGrid.width, dGrid.height,                                         new int[dGrid.width*dGrid.height]);            return raster;        } else {            raster = null;            return super.getRaster(grid);        }    }