[GRASS-dev] r.cva output file missing

Rebecca Mayer rebecca.mayer at yahoo.com
Thu Apr 3 12:19:03 EDT 2008


> What is the size and x-y resolution of your mapset?

nsres:      86.08807728
ewres:      86.08807728
rows:       3793
cols:       3719
cells:      14106167

> Try adjusting the cell sizes so that you have
> integer cell extents.

r.cva works in this mapset when set to 'random' but
not 'sites' type of analysis. Would the cell extents
still be the problem?

Below are the terminal outputs for three runs using
the same the dem file. In the first run I used a
binary raster map to define 1 viewpoint for a 'sites'
analysis and got a segfault. In the second run I used
a vector map to define 1 viewpoint for a 'sites'
analysis and got a segfault. The third run was set to
'random' with a sample frequency designed to produce
one viewpoint. This run completed successfully.  

Terminal output:
-----------------------------------------------------
GRASS 6.2.2 (Lambert):~ > r.cva -f input=sle_demp_5pt
viewpt_mask=sle_unc3_1pt output=sle_view13 obs_elev=60
target_elev=1.6 max_dist=2000 type=sites curvc=0.13 

Segmentation fault
GRASS 6.2.2 (Lambert):~ > r.cva -f input=sle_demp_5pt
sites=sle_unc3_1pt output=sle_view14 obs_elev=60
target_elev=1.6 max_dist=2000 type=sites curvc=0.13 

 100%
Creating raster map 'sle_view14' 
Writing raster map 'sle_view14': 
 100%


Sample: requested = 10.00000%  attempted =  0.00001% 
actual =  0.00001%

Creating support files WARNING: unable to find
[sle_view14] in [viewtest]
WARNING: category support for [sle_view14] in mapset
[viewtest] missing
Segmentation fault
GRASS 6.2.2 (Lambert):~ > r.cva -f input=sle_demp_5pt
output=sle_view151 obs_elev=60 target_elev=1.6
max_dist=2000 seed=1 sample=.00001 type=random
curvc=0.13 

Creating raster map 'sle_view151' 
Percentage complete:
 100%

Writing raster map 'sle_view151': 
 100%


Sample: requested =  0.00001%  attempted =  0.00001% 
actual =  0.00001%

Creating support files 
Job finished
----------------------------------------------------




More information about the grass-dev mailing list