[GRASS-user] r.sun annual radiation

Salvatore Mellino salvatore.mellino at gmail.com
Mon Aug 29 08:08:08 EDT 2011


Dear Markus,

I try to use rsun_crop.sh, but I received same error message, where I make a mistake?

Computing radiation for day 075...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27151 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.075>
Invalid map <d_rad.075>
Invalid map <r_rad.075>
Parse error
ERROR: Map <b_rad.075> not found in current mapset
ERROR: Raster map <b_rad.075> not found
ERROR: Map <d_rad.075> not found in current mapset
ERROR: Raster map <d_rad.075> not found
ERROR: Map <r_rad.075> not found in current mapset
ERROR: Raster map <r_rad.075> not found
Computing radiation for day 076...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27188 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.076>
Invalid map <d_rad.076>
Invalid map <r_rad.076>
Parse error
ERROR: Map <b_rad.076> not found in current mapset
ERROR: Raster map <b_rad.076> not found
ERROR: Map <d_rad.076> not found in current mapset
ERROR: Raster map <d_rad.076> not found
ERROR: Map <r_rad.076> not found in current mapset
ERROR: Raster map <r_rad.076> not found
Computing radiation for day 077...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27214 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.077>
Invalid map <d_rad.077>
Invalid map <r_rad.077>
Parse error
ERROR: Map <b_rad.077> not found in current mapset
ERROR: Raster map <b_rad.077> not found
ERROR: Map <d_rad.077> not found in current mapset
ERROR: Raster map <d_rad.077> not found
ERROR: Map <r_rad.077> not found in current mapset
ERROR: Raster map <r_rad.077> not found
Computing radiation for day 078...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27249 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.078>
Invalid map <d_rad.078>
Invalid map <r_rad.078>
Parse error
ERROR: Map <b_rad.078> not found in current mapset
ERROR: Raster map <b_rad.078> not found
ERROR: Map <d_rad.078> not found in current mapset
ERROR: Raster map <d_rad.078> not found
ERROR: Map <r_rad.078> not found in current mapset
ERROR: Raster map <r_rad.078> not found
Computing radiation for day 079...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27285 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.079>
Invalid map <d_rad.079>
Invalid map <r_rad.079>
Parse error
ERROR: Map <b_rad.079> not found in current mapset
ERROR: Raster map <b_rad.079> not found
ERROR: Map <d_rad.079> not found in current mapset
ERROR: Raster map <d_rad.079> not found
ERROR: Map <r_rad.079> not found in current mapset
ERROR: Raster map <r_rad.079> not found
Computing radiation for day 080...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27320 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.080>
Invalid map <d_rad.080>
Invalid map <r_rad.080>
Parse error
ERROR: Map <b_rad.080> not found in current mapset
ERROR: Raster map <b_rad.080> not found
ERROR: Map <d_rad.080> not found in current mapset
ERROR: Raster map <d_rad.080> not found
ERROR: Map <r_rad.080> not found in current mapset
ERROR: Raster map <r_rad.080> not found
Computing radiation for day 081...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27356 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.081>
Invalid map <d_rad.081>
Invalid map <r_rad.081>
Parse error
ERROR: Map <b_rad.081> not found in current mapset
ERROR: Raster map <b_rad.081> not found
ERROR: Map <d_rad.081> not found in current mapset
ERROR: Raster map <d_rad.081> not found
ERROR: Map <r_rad.081> not found in current mapset
ERROR: Raster map <r_rad.081> not found
Computing radiation for day 082...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27391 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.082>
Invalid map <d_rad.082>
Invalid map <r_rad.082>
Parse error
ERROR: Map <b_rad.082> not found in current mapset
ERROR: Raster map <b_rad.082> not found
ERROR: Map <d_rad.082> not found in current mapset
ERROR: Raster map <d_rad.082> not found
ERROR: Map <r_rad.082> not found in current mapset
ERROR: Raster map <r_rad.082> not found
Computing radiation for day 083...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27420 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.083>
Invalid map <d_rad.083>
Invalid map <r_rad.083>
Parse error
ERROR: Map <b_rad.083> not found in current mapset
ERROR: Raster map <b_rad.083> not found
ERROR: Map <d_rad.083> not found in current mapset
ERROR: Raster map <d_rad.083> not found
ERROR: Map <r_rad.083> not found in current mapset
ERROR: Raster map <r_rad.083> not found
Computing radiation for day 084...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27453 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.084>
Invalid map <d_rad.084>
Invalid map <r_rad.084>
Parse error
ERROR: Map <b_rad.084> not found in current mapset
ERROR: Raster map <b_rad.084> not found
ERROR: Map <d_rad.084> not found in current mapset
ERROR: Raster map <d_rad.084> not found
ERROR: Map <r_rad.084> not found in current mapset
ERROR: Raster map <r_rad.084> not found
Computing radiation for day 085...
Mode 2: integrated daily irradiation for a given day of the year
/Applications/GRASS-6.4.app/Contents/MacOS/scripts/rsun_crop.sh: line 42: 27488 Segmentation fault: 11  r.sun elevin=SOLelev aspin=SOLaspect slopein=SOLslope lat="$lat" day="$i" beam_rad=b_rad.$DAY diff_rad=d_rad.$DAY refl_rad=r_rad.$DAY
Invalid map <b_rad.085>
Invalid map <d_rad.085>
Invalid map <r_rad.085>
Parse error
ERROR: Map <b_rad.085> not found in current mapset
ERROR: Raster map <b_rad.085> not found
ERROR: Map <d_rad.085> not found in current mapset
ERROR: Raster map <d_rad.085> not found
ERROR: Map <r_rad.085> not found in current mapset
ERROR: Raster map <r_rad.085> not found
Computing radiation for day 086...
Mode 2: integrated daily irradiation for a given day of the year
^C 0%
Il giorno 24/ago/2011, alle ore 13:37, Markus Neteler ha scritto:

> On Wed, Aug 24, 2011 at 12:21 PM, Salvatore Mellino
> <salvatore.mellino a gmail.com> wrote:
>> Hi,
>> 
>> I want to generate a cumulative annual map for solar radiation (W/m2/yr). It
>> is possible with r.sun? There is a script to do this?
> 
> You can find a ascript here:
> 
> http://www.grassbook.org/examples_menu2nd.php
> -> rsun_crop.sh
> 
> If you have complex terrain, you will want to add the "-s" flag for the shadow
> correction.
> 
> Markus



More information about the grass-user mailing list