Question: Is it possible to automate the functionality of right-click layer in TOC > data > export raster using arcpy in ArcGIS Pro? Specifically including the clipping extent options? I have reviewed several similar SE posts (most relevant here), but all of them suggest using "copy raster", which does not have the aforementioned clipping options.
Background: I'm trying to download data from an image service (located here). I only want to download subset of the data, similar to a clip or extract by mask (see image below)
If I right-click and do data > export raster with the full AOI, i get the following error.
If I tile up the AOI into much smaller pieces it works perfectly. However, I then face the issues of having to manually right click and extract hundreds of times. I would instead like to automate this with arcpy, but 'export raster'. doesn't seem to be an actual geoprocessing tool.
edit: I've also tried using extract by mask, which works but is far slower. ~5 minutes per 'tile', as opposed to just a few second with when using 'Export Raster'