Skip to main content
13 events
when toggle format what by license comment
Jun 17, 2013 at 21:22 comment added Jason Bellino Are still getting exactly the same error message?
Jun 17, 2013 at 21:00 comment added Nick Jones I have posted all the code up so feel free to browse it!
Jun 17, 2013 at 20:47 history edited Jason Bellino CC BY-SA 3.0
deleted 278 characters in body
Jun 17, 2013 at 20:46 comment added Jason Bellino I didn't read the documentation on the slope tool well enough...looks like the output_measurement variable you had was good, needs to be one of "DEGREE" or "PERCENT RISE". Sorry to confuse you there. Not sure where the problem is - can you update your question with your latest code? I will edit my answer to remove the part where it changes the output_measurement variable to a non-acceptable input value for the slope tool.
Jun 17, 2013 at 20:42 comment added Nick Jones Sorry paul, I don't think it is trying to do that as the save options are either DEGREE OR PERCENT_RISE: ExecuteError: Failed to execute. Parameters are not valid. ERROR 000864: Output measurement: The input is not within the defined domain. ERROR 000800: The value is not a member of DEGREE | PERCENT_RISE.
Jun 17, 2013 at 20:19 comment added Jason Bellino The slope tool may be trying to save the output to the out_measurement variable, even though you are working with it in terms of an object, out_slope. You can try setting the out_measurement variable to use memory space explicitly like this: r"in_memory\PERCENT_RISE_{0}".format(actual_timestep)
Jun 17, 2013 at 20:13 comment added Nick Jones help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//… this is slope I am using also Out_measurement is not the save location
Jun 17, 2013 at 20:08 comment added Nick Jones Thanks for the suggestions I have implemented those changes too, but still not working :( I will edit the updated code above.
Jun 17, 2013 at 18:08 history edited Jason Bellino CC BY-SA 3.0
added 261 characters in body
Jun 17, 2013 at 17:56 history edited Jason Bellino CC BY-SA 3.0
added 277 characters in body
Jun 17, 2013 at 17:53 comment added Jason Bellino Ok, the last bit of the error where is says Could not save raster dataset to C:\SedMod\SedMod\Workspace.gdb\numpy_ras6 with output format FGDBR looks to be signalling the fact that you are trying to save multiple rasters to the same GDB with the same name ("PERCENT_RISE"). See help.arcgis.com/EN/arcgisdesktop/10.0/help/index.html#//…. You must either devise a way to come up with unique names (e.g. add your counter-value to the name using string formatting) or set acrpy.overwriteOutput = True.
Jun 17, 2013 at 17:42 comment added Nick Jones I thought this too. I am afraid this is not a fix still getting the error on the 2nd loop round.
Jun 17, 2013 at 17:36 history answered Jason Bellino CC BY-SA 3.0