Questions tagged [error-010240]

010240: Could not save raster dataset to <value> with output format <value>, is an ESRI software code

Filter by
Sorted by
Tagged with
2
votes
0answers
245 views

Breaking single large raster into NumPyArrays using arcpy memory error

I'm trying to run raster calculator on a large raster file using the following approach : http://pro.arcgis.com/en/pro-app/arcpy/functions/rastertonumpyarray-function.htm, but I seem to run into ...
0
votes
1answer
77 views

Error 010240 while running cell statistics operations

Can somebody figure out whats going on here? I had absolutely no problems running these commands before. I am trying to add 1046 raster layers. I created a list of rasters using arcpy.ListRasters() ...
0
votes
1answer
249 views

Error 010240: Can't save my con statement as a tiff?

I want to write a conditional statement and save it as a .tif file. I have looked through the documentation from ArcGIS and as far as I can tell, my code should work, but I keep getting an error that ...
1
vote
1answer
153 views

Arcpy batch raster reclassify script unable to save

I have a folder with multiple rasters that need to be reclassified. Using spatial analyst reclassify tool, I have the following script: import arcpy import pandas as pd arcpy.CheckOutExtension("...
3
votes
1answer
809 views

RuntimeError: ERROR 010240 in Con operation in arcpy

I am dabbling with the resolution of the error says: RuntimeError: ERROR 010240: Could not save raster dataset to as attached as a screen shot. I am working with a DEM file and trying to generate ...
1
vote
1answer
519 views

ArcGIS Raster Calculator won't work in main model

I've created a sub-model in ArcGIS, which stretches my raster data to new values. The strange thing is, that the model works, if I run it itself - as soon as I implement it in the main model, I get ...
1
vote
1answer
174 views

Iterating through a point layer to create & sum distance rasters

I'm writing an Arcpy program to process data in a layer of several hundred points ('ptsLyr', from file 'ptsFile'), each of which has its own ID ('RecordID') and an associated value, 'radius', that I ...
0
votes
3answers
4k views

Multiple conditional statements within a Con Tool

Well I want to apply multiple conditional statements within a Conditional tool. My aim is to loop through a list of rasters and on the basis of a specified range assign each range with a constant 1, 2,...
1
vote
1answer
2k views

Why does CON statement give ERROR 010240: Could not save raster dataset to (value) with output format GRID?

I am receiving the following error when trying to run the following code: import arcpy from arcpy import env from arcpy.sa import * arcpy.CheckOutExtension = "Spatial" env.workspace = r"C:\...
1
vote
1answer
3k views

While looping with arcpy: ERROR 010240: Could not save raster dataset?

I am very new to python coding and have been struggling with this for a while I cannot see the reason for this error! Here is the code that is causing this error: import arcpy import numpy as np ...
6
votes
3answers
6k views

What causes RuntimeError: ERROR 010240 saving after CellStatistics?

I am having trouble saving outputs from CellStatistics but only when I run it on a list of rasters. This was working on python 26 but not 27. I know this example is nonsense, but: env.workspace = ...
3
votes
1answer
365 views

Error 010240 with ZonalStatistics

I have a code that calculates the sum of water recharge for a pixel for a 9 year period (This piece of code works fine, just thought I would show how it is made just in case. The values range from 0 ...
3
votes
1answer
696 views

Unable to create temporary GeoDatasets in g_g_g folders

I am converting a VBA macro that was written for ArcGIS 9.3 to a VB.NET project using the ArcGIS 10.0 .NET SDK. I am getting the following error whenever the code tries to create a temporary ...