[GRASS-user] Looping r.sun.hourly with Python script fails

Pietro peter.zamb at gmail.com
Wed Apr 1 04:28:43 PDT 2015


On Wed, Apr 1, 2015 at 12:58 PM, umberto.minora <umberto.minora at unimi.it> wrote:
> Dear Pietro
>
> Thanks for your interest to my problem.
> Would you suggest a temporary workaround before the function would
> (possibly) be changed?

Sure, here an alternative solution:

{{{
from grass.script.core import run_command

run_command("r.sun.hourly",
flags="b",elevation=dem,aspect=aspect,slope=slope,
start_time="0",end_time="24", day="1", year="2014",
beam_rad_basename="prova_beam01")

}}}


More information about the grass-user mailing list