We have a few places where we use GetRasterProperties_management() to pull out values of the raster. I've had a report that this fails in locales that don't have our standard radix (".") for separating the decimal from the number. In many places, this is ",", which the Python float function chokes on. Instead, do locale aware conversion and strip all direct calls of float().
It's become apparent that the locale code is still failing in some cases when the locale is set to a location where the decimal separator is ','. Figure out why and fix.
We have a few places where we use GetRasterProperties_management() to pull out values of the raster. I've had a report that this fails in locales that don't have our standard radix (".") for separating the decimal from the number. In many places, this is ",", which the Python float function chokes on. Instead, do
locale
aware conversion and strip all direct calls offloat()
.