[GRASS-dev] Re: [GRASS GIS] #1431: r.sun segfault in mode 2

GRASS GIS trac at osgeo.org
Wed Aug 31 05:07:43 EDT 2011


#1431: r.sun segfault in mode 2
---------------------+------------------------------------------------------
 Reporter:  neteler  |       Owner:  grass-dev@…              
     Type:  defect   |      Status:  new                      
 Priority:  normal   |   Milestone:  6.4.2                    
Component:  Raster   |     Version:  svn-releasebranch64      
 Keywords:  r.sun    |    Platform:  Linux                    
      Cpu:  x86-64   |  
---------------------+------------------------------------------------------
Changes (by hamish):

  * keywords:  => r.sun


Comment:

 Hi,

 I can reproduce with the 6.4.0~rc6+42329-3 (essentially 6.4.0)
 Debian/stable package on amd64.

 the problem is due to the lat= option.

 note in grass65+trunk I've removed it (2 years ago) due to incompatibility
 with rsunlib, but in practice it was not much help anyway.
 {{{
 GRASS65> r.sun --help
 ...
      lat   This does nothing. It is retained for backwards compatibility
 }}}


 see https://trac.osgeo.org/grass/ticket/498#comment:14

 I think the bug here is that I never backported the fix to the relbr64.


 Hamish


 ps- see also in #498 comment 8+ (and attachment image) and maybe the r.sun
 wiki page about the difference that slopein= and aspin= maps make, in fact
 they ruin the result! until that is fixed, you get better output if you
 just leave those two options out and let the slope/aspect calculations
 happen as the module runs.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/1431#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list