In hillshade.py we can encounter an error at self.radius = optimal_radius.
In object-oriented programming language as python, setting a new value to a private class attribute (decorator @property) is possible if the attribute has a setter defined (decorator @attr.setter). As self.radius is the only attribute which is modified in peculiar cases, we never encountered this error before.
After testing this solution I encounter no more error
In hillshade.py we can encounter an error at
self.radius = optimal_radius
. In object-oriented programming language as python, setting a new value to a private class attribute (decorator @property) is possible if the attribute has a setter defined (decorator @attr.setter). As self.radius is the only attribute which is modified in peculiar cases, we never encountered this error before.After testing this solution I encounter no more error