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
_____________________________________
Dieter Lehmann
University of applied Sciences
Schelmenwasen 4-8
D-72622 Nuertingen, Germany
lehmann@fh-nuertingen.de
Phone: +49 (0) 7022 404 Ext. 192 or Ext. 152
Fax: +49 (0) 7022 404 Ext. 166
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