Hello community,
I have a python script which runs smoothly in ArcMap, however, when I try to run it in ArcGIS Pro (2.5.1 version) it slows down greatly. I have run the code step by step and for some reason the tasks take considerably longer in Pro. The code basically performs mathematical operations (e.g. multiple multiplication, Ln) over satellite images (rasters) and other calculations such as NDVI. I've tried using in-memory workspace, and managing the rasters in memory. I try to avoid that the rasters get saved on disk, but it still does not speed up the performance. For example:
Zom = Raster(Exp ( -5.5 + 5.8 * NDVI ), r"memory\Zom")
canopy = Raster(Zom / 0.136, r"memory\canopy")
But this code still runs very slow in Pro.
I will appreciate any clue about this issue. Thank you in advance for sharing any experience or feedback