I am trying to perform a weighted suitability analysis with the raster calculator feature, but I am running into a few errors. I attached an image that shows these errors and their error codes.
Here is the script I am using for the analysis:
"%Reclass_Aspe1%" *0.10 + "%Reclass_Slop1%" *0.05 + "%Reclass_Dura1%" *0.40 + "%Reclass_Feat1%" *0.30 + "%Reclass_Feat2%" *0.15
did you save the raster somewhere in your steps. I would save it to a folder as a *.tif
other things to check as well
Would you mind elaborating on this? Are you suggesting I save each raster layer in the model to the geodatabase? I believe they are already saved.
What happens if you try a different location or a different format as the output?
That is what I said in my post, are you suggesting something different?
I misread your response, so actually not that different.
one of the issues in the link suggests that you may be trying to upscale a raster. *.tif is the preferred raster format by esri since conventional and gdb rasters can have "issues" regarding path names etc. I would start by saving the output as a tif to a folder, if that doesn't work then you have to backtrack to see what raster if any, is causing the issues. A consistent raster bit type (eg 32 bit) would go a long way to ruling out the non-obvious.
Saving the output as a tif didn't seem to work (that is if I did it correctly). And I'm not sure what you mean with your other suggestion. I am currently recreating the model to see if I can save each raster as a tif.
Check if putting parentheses work.
("%Reclass_Aspe1%" *(0.10)) + ("%Reclass_Slop1%" *(0.05)) + ("%Reclass_Dura1%" *(0.40)) + ("%Reclass_Feat1%" *(0.30)) + ("%Reclass_Feat2%" *(0.15))
I just tried this, no luck 😕