Details Ticket 1789


Comment | Reply | Take | Resolve


Serial Number 1789
Subject r.sun: target mask / memory usage
Area wish
Queue grass
Requestors hamish_nospam@yahoo.com
Owner none
Status open
Last User Contact Tue Jul 4 15:58:52 2006 (2 yr ago)
Current Priority 30
Final Priority 70
Due No date assigned
Last Action Tue Jul 4 15:58:52 2006 (2 yr ago)
Created Wed Apr 9 11:45:09 2003 (5 yr ago)

Transaction History Ticket 1789


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
Comment | Reply | Take | Resolve

You are currently authenticated as guest.
[Show Configuration] [Login as another user]

Users Guide - Mail Commands - Homepage of RequestTracker 1.0.7 - list any request