Re: [GRASS-user] Question about r.sun2 and r.horizon

2008-06-18 Thread Nikos Alexandris
Just reporting how I finally calculated the global_rad map. r.slope.aspect elev=srtm3_for_global_rad slope=slope_for_global_rad aspect=aspect_for_global_rad format=degrees i.latitude input=srtm3_for_global_rad latitude=latitude_for_global_rad i.longitude input=srtm3_for_global_rad

Re: [GRASS-user] Question about r.sun2 and r.horizon

2008-06-16 Thread Hamish
r.horizon elevin=srtm3_stel step=45 horizon=horizon_45 coord=4275945 coord= should be x,y not just a single number. So the parser knows to expect two numbers, in the option setup code should include the line: parm.coord-key_desc = east,north; for i in `seq 92 304`; do r.sun2 -s

Re: [GRASS-user] Question about r.sun2 and r.horizon

2008-06-16 Thread Nikos Alexandris
On Mon, 2008-06-16 at 07:03 -0700, Hamish wrote: r.horizon elevin=srtm3_stel step=45 horizon=horizon_45 coord=4275945 coord= should be x,y not just a single number. So the parser knows to expect two numbers, in the option setup code should include the line: parm.coord-key_desc =

Re: [GRASS-user] Question about r.sun2 and r.horizon

2008-06-16 Thread Hamish
Nikos: r.horizon elevin=srtm3_stel step=45 horizon=horizon_45 coord=4275945 Hamish: coord= should be x,y not just a single number. So the parser knows to expect two numbers, in the option setup code should include the line: parm.coord-key_desc = east,north; (added in SVN) I