0

I have been trying to run the r.sun model on a small test area but it crashes after roughly 5-6 minutes. A windows error pops up saying the program stopped working. I used it before to create an incidence angle raster map with no issue and r.horizon runs fine with the same inputs. Does anyone have a suggestion on what I might be doing wrong?

This is the code I use to run the model:

r.sun elevation=DEM@User aspect=Aspect@User slope=Slope@User horizon_basename=horangle horizon_step=11.25 glob_rad=Global day=15 step=1

After I click the windows prompt to close the running script it prompts me that the command is finished but it procuded no output. Below is a screenshot of the issues.

enter image description here

  • Issue is fixed with help of the following post: gis.stackexchange.com/questions/71919/…. It was the case that my layers were of different sizes. I thought it was fine by using the DEM, which set the boundaries of the sample area, as a mask. Though I had to set g.region to do so apparrently. – Tins Sep 30 '16 at 6:35
1

Issue is fixed with the help of the following post: Solar irradiation calculation using r.sun.

It was the case that my layers had different sizes. I thought it was fine by using the DEM, which set the boundaries of the sample area, as a mask. Though I had to set g.region to do so apparrently.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.