[GRASS-dev] Re: [GRASS GIS] #610: r.sun: incidout uses 0 instead of NULL

GRASS GIS trac at osgeo.org
Fri May 22 08:03:57 EDT 2009


#610: r.sun: incidout uses 0 instead of NULL
---------------------+------------------------------------------------------
  Reporter:  hamish  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect  |      Status:  new                      
  Priority:  normal  |   Milestone:  6.5.0                    
 Component:  Raster  |     Version:  6.4.0 RCs                
Resolution:          |    Keywords:  r.sun                    
  Platform:  All     |         Cpu:  All                      
---------------------+------------------------------------------------------
Comment (by hamish):

 Replying to [comment:7 mmetz]:
 > As simple as
  {{{
  if (s <= 0)
      return UNDEFZ;
  }}}
 > in trunk/raster/r.sun2/rsunlib.c#L438 - #L439 ?


 yes, as simple as that!


 now, any ideas about why the western most column is all nulls? consequence
 of not supplying aspect/slope maps??


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/610#comment:8>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list