Wed, Apr 9 2003
11:45:09
|
|
Request created by hbowman
|
|
Subject: r.sun: target mask / memory usage
I just tried the new improvements to r.sun, they work great!
- target mask: would it be feasible to add a target mask? I only need
the sun data for a small area, but I do need to take into account the
surrounding mountains. Right now the mask blanks the elevation data as
well as the results. Seems wasteful to calculate answers for the entire
mountain range when all I need is such a small area in a valley.
(I realize this may pollute the reflection numbers)
- memory usage: can anything be done to keep this under control? it
chews through my gigabyte of memory pretty quickly.. I suppose if the
above target mask is implemented, this would not be such a issue?
thanks,
Hamish
|
|
Sat, Apr 12 2003
09:16:40
|
|
Comments added by hbowman
|
|
Cc: paul-grass@stjohnspoint.co.uk
The memory issues have been sorted out now. See this thread:
http://article.gmane.org/gmane.comp.gis.grass.devel/955
--- although that wasn't the final fix. See:
http://freegis.org/cgi-bin/viewcvs.cgi/grass/src/raster/r.sun/main.c
Revision 1.13 / (as text) / (view) - annotate - [select for diffs] , Thu Apr
10 11:29:50 2003 UTC (43 hours, 34 minutes ago) by paul
Changes since 1.12: +42 -31 lines
Only set up projection parameters once at start of program, not for every cell
---
This fix also sped up operation by about 45% in a quick test.
Thanks Paul!
|
|
Tue, Jul 4 2006
15:58:52
|
|
Mail sent by guest
|
|
Hamish,
still an issue?
Markus |
|