When I 'm calculating this expression:
("%Soil organic carbon (t/ha)%" / (10000 * "%Soil depth (m)%" * (Float("%Bulk density (kg/m3)%") / 1000))) * 100
Where:
"%Soil organic carbon (t/ha)%" and "%Bulk density (kg/m3)%" are raster layers
and
"%Soil depth (m)%" is any value or calculator expression with input values: 0.05, 0.15, 0.30, etc.
I 'm geting this error:
ERROR 000539: Error running expression: rcexec() Traceback (most recent call last): File "", line 1, in File "", line 5, in rcexec File "c:\program files\arcgis\desktop10.5\arcpy\arcpy\sa\Functions.py", line 4483, in Times in_raster_or_constant2) File "c:\program files\arcgis\desktop10.5\arcpy\arcpy\sa\Utils.py", line 53, in swapper result = wrapper(*args, **kwargs) File "c:\program files\arcgis\desktop10.5\arcpy\arcpy\sa\Functions.py", line 4480, in Wrapper ["Times", in_raster_or_constant1, in_raster_or_constant2]) RuntimeError: ERROR 000732: Input Raster: Dataset 0.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.050.05 does not exist or is not supported
Failed to execute (Raster Calculator).
Оn the contrary, when I write down "Soil depth" by hand like this, everything is ok
How to fix this problem?