Hello there,
I'm using the model builder to automate several steps.
I'm producing a raster and then I calculate the standard deviation using the tool "Get Raster Properties". After that, I want to extract all cells above the standard deviation. I do this with the "Raster Calculator" and the following expression:
Con( "%Raster%" >= float(%Property%), 1, 0 )
I always get this error: TypeError: float() takes at most 1 argument (2 given).
When I manually calculate the property value it is 2,44945784279457E-05.
My computer language is set to German, I use ArcGIS in English, can that be the problem, that the decimal value is separated by a comma and not by a point?
Would be great if you could support me,
Thanks!
I'm using the model builder to automate several steps.
I'm producing a raster and then I calculate the standard deviation using the tool "Get Raster Properties". After that, I want to extract all cells above the standard deviation. I do this with the "Raster Calculator" and the following expression:
Con( "%Raster%" >= float(%Property%), 1, 0 )
I always get this error: TypeError: float() takes at most 1 argument (2 given).
When I manually calculate the property value it is 2,44945784279457E-05.
My computer language is set to German, I use ArcGIS in English, can that be the problem, that the decimal value is separated by a comma and not by a point?
Would be great if you could support me,
Thanks!