AnsweredAssumed Answered

Multiprocessing in python

Question asked by Azusa_Naga on Jun 7, 2018
Latest reply on Jun 7, 2018 by Dan_Patterson

Hello,

 

I am developing a tool to clip raster from a large raster within an arbitrary range from some points.

The number of points is more than 20000, it's enormous.

So, I tried to use multiprocessing in python.

 

I created a python program.

However, it doesn't work completely.

I tested this python program for 10 points.

Then, 6 out of 10 points were outputted correctly.

On the other hand, 4 points were outputted as empty tables, not rasters.

 

I guess causes as below ... 

(1) Time out of arcpy.Clip_management

(2) Access to one raster from some process

 

But I can't find any solution.

I attached python file.

If anyone knows of any solution, give me advice or solutions. 

 

Thanks,

Attachments

Outcomes