r.sun

Jaro Hofierka hofierka at geomodel.sk
Wed May 3 07:25:41 EDT 2000



DIETER LEHMANN wrote:

> Hi,
> had problem with r.sun in grass5.beta6
>
> in flat areas, where aspin=0 and slopein=0 there is no energy
> calculation.
> How can I avoid this?
>
> Btw. is in grass5 0 no-data like in grass4.2 ?

Dieter,

r.sun works only with cells with 0 (as valid data). Therefore you must run
r.support on your grids with null data and say yes in this prompt:

>  you want to create/reset null file for [your.grid.file] so that
> all cell values are considered valid data? (y/n) [n]

After that, r.sun should work properly.

Hope this helps!

WBR,

J. Hofierka




More information about the grass-user mailing list