[prev in list] [next in list] [prev in thread] [next in thread] 

List:       grass-dev
Subject:    [GRASS-dev] Re: Addons: r.sun2 segfault with -s
From:       "Markus Neteler" <neteler () osgeo ! org>
Date:       2008-09-29 10:25:27
Message-ID: 86782b610809290325y22106c7jbc31c5334cd9e244 () mail ! gmail ! com
[Download RAW message or body]

On Fri, Sep 26, 2008 at 9:04 AM, Markus Neteler <neteler@osgeo.org> wrote:
> hi again,
>
> while r.horizon is working in both modes, some troubles with r.sun2:
>
> Spearfish data set:
>
> g.region rast=elevation.dem -p
>
> # took these values from the manuak page:
> r.horizon elevation.dem step0 e_buff  horizon=horangle dist=0.7 \
>              maxdistance@00
>
> r.sun2 -s elevation.dem horizon=horangle aspin=aspect slopein=slope \
>          glob_rad=global_rad day0 time
> Mode 1: instantaneous solar incidence angle & irradiance using a set local
> time
>
> Segmentation fault

Thomas Huld from JRC has fixed it:
- catching the missing horizonstep parameter above (horizonstep0)
- additionally a bugfix for horangle map name scheme (before it wasn't picking
  up the horangle maps due to a name flaw, there was a Warning, tough).

r.sun2 seems to be fine now.
I would suggest that we substitute r.sun in GRASS 7 with r.horizon and
r.sun2 (renamed
to r.sun there).

Markus
_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic