Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

format MEM? can not save temporary raster? RuntimeError: ERROR 010240:

$
0
0
I am working with a large number of temporary rasters. Individually they can be saved simply and without issue like
Code:

r1.save(outloc)
However, if they are combined in any way -e.g.
Code:

x = r1 + r2
and the result saved
Code:

x.save(outloc)
I receive the following error
"RuntimeError: ERROR 010240: Could not save raster dataset to in_memory\times_ras1 with output format MEM."


If I save -all- the temporary rasters before they are combined the final rasters save without issue.

Any thoughts?

Viewing all articles
Browse latest Browse all 2485

Trending Articles