Processing time/speed for Mosaic to New Raster

6246
13
01-12-2016 12:20 PM
by Anonymous User
Not applicable

I have a question on speeding up “Mosaic to New Raster” or finding an alternative. After completing a suitability analysis we are trying to define movement corridors. We used a modified CircuitScape that left 4 folders, each containing 1080 raster tiles across our study area. We now need combine all 1080 rasters in each folder then combine these 4 combined rasters into a final raster which will be analyzed for paths.

I tried a python script that just wouldn’t work so I went on to Model Builder. It iterates through the grids in the folder, collects the values (raster names), then mosaics all to a new raster. It has been running for 5 days now and the results window indicates it is working. I’m hoping it will conclude in the next day or 2. But, we still have 3 more folders, each with 1080 rasters, that need to be mosaicked. So….is there a way to speed up Mosaic to New Raster or is there an alternative I could use to produce the final grid? 

The cell size is 270 meters, 540 x 540 columns and rows, 1 band, 32 bit floating.  Thanks

0 Kudos
13 Replies
by Anonymous User
Not applicable

I appreciate this very much!

0 Kudos
MikeCusi
Occasional Contributor II

I was in a similar situation a while back when mosaic datasets were but a dream. As Dan Patterson suggested, your best bet is using it as all the raster and spatial analyst (map algebra, etc) geoprocessing tools (maybe some others) support it. Besides, you'd also probably want to keep your original 1080 tiles and what better way to keep them than in its native format plus you need not use up additional space for your mosaic.

A few things I've learned.... large jobs like this run faster on local hard drives than from the network particlularly if your working files are in another physical hard drive other than your system files (where your temp files/virtual memory files are written). this is true even for mosaic datasets..... if you set priority to high (right click on the ArcMap.exe*32 in the Processes tab of windows task manager) or Realtime (if you are more daring) it will complete faster.... there are of course, some risks.... If you insist on creating a single mosaic, I also found that mosaicking small batches of adjacent tiles as an intermediate mosaic then eventually mosaicking the intermediates worked out faster (albeit with a bit more human intervention) than mosaicking all of the tiles at one time...

0 Kudos
by Anonymous User
Not applicable

Thank you.  I have some learning to do with Mosaic Datasets but that seems to be the way to go.  The alternative is to invest time in recognizing the file naming structure and then set up small mosaics.

0 Kudos
MikeCusi
Occasional Contributor II

If you create a mosaic dataset, the resulting attribute table of the footprints can help you figure out the naming convention used by the software you used to generate the rasters. You can use it to select which rasters can make up your intermediate mosaics.

0 Kudos