Ticket #610 (closed defect: fixed)
r.sun: incidout uses 0 instead of NULL
|Reported by:||hamish||Owned by:||grass-dev@…|
r.sun(2)'s incidout= output map uses 0 instead of NULL for shadowed areas which have no direct line of sight to the sun. This harms any sort of numerical analysis on the output because it biases towards zero, and makes the creation of MASKs harder.