----------
X-Sun-Data-Type: text
X-Sun-Data-Description: text
X-Sun-Data-Name: text
X-Sun-Content-Lines: 32
Dear xgrass'ers
I support Greg's views on the need to resolve the mismatch between
location/mapsets in xgrass and the shell.
I was reduced to vi'ing the .grassrc when I was caught out. No fun.
A couple of other comments on xgrass, as it appears to be working
for me:
1. in xgdisplay, when I try to load a raster into a "geoframe"
everything exits with
XGRASS DISPLAY LIB ERROR: Sorry, no available colors
So, xgdisplay appears to be useless at present.
2. I wrote a menu (xclip file - appended) to run s.surf.tps
in xgrass, but have stopped using it because
(a) even if I set "Capture output into the XGRASS Output Editor",
this window doesn't appear until s.surf.tps exits, so I still don't
know how far the prog has got (ie % completed) until it has reached
100% or I have killed it!
(b) while running s.surf.tps, if I check on its progress using ps,
I find that cpu time almost equal to that accumulated by tps has
also been accumulated by xgrass. It looks like some continuous calls
to the parent prog are effectively slowing its execution by ~50%!
Are these problems universal?
Simon Cox
----------
X-Sun-Data-Type: default
X-Sun-Data-Description: default
X-Sun-Data-Name: s.surf.tps
X-Sun-Content-Lines: 122
program:"s.surf.tps"
title:"Thin-plate Spline Surface Interpolation"
commandstring:"input=(iname) elev=(oname) [slope=(slname)] [aspect=(asname)]
[pcurv=(pcname)] [tcurv=(tcname)] [mcurv=(mcname)] [maskmap=(mname)]
[dmin=(dval)] [zmult=(zval)] [tension=(tval)] [smooth=(sval)] [segmax=(gval)]
[npmin=(nval)]"
description:"s.surf.tps Interpolates and computes topographic analysis from
site data to GRASS raster format using spline with tension."
help:"Use this command to generate an interpolated surface from a sites list
input
using spline with tension."
helpwidgetref:"10.data.analy/10.02.site:Analyzing Site Data"
{
parameter iname
description:"Existing sites list to base interpolation:"
type:database_element:sites
input:true
help:"Enter the name of the sites list to use for interpolation."
optional:false
;
parameter oname
description:"Name of resulting raster map:"
type:database_element:raster
input:false
help:"Enter the name of the resulting raster map layer."
optional:false
;
dialog "Other outputs ..."
description:"Other outputs"
{
parameter slname
description:"Name of resulting slope map:"
type:database_element:raster
input:false
help:"Enter the name of the resulting slope map layer."
optional:true
;
parameter asname
description:"Name of resulting aspect map:"
type:database_element:raster
input:false
help:"Enter the name of the resulting aspect map layer."
optional:true
;
parameter pcname
description:"Name of resulting profile curvature map:"
type:database_element:raster
input:false
help:"Enter the name of the resulting profile curvature map layer."
optional:true
;
parameter tcname
description:"Name of resulting tangential curvature map:"
type:database_element:raster
input:false
help:"Enter the name of the resulting tangential curvature map layer."
optional:true
;
parameter mcname
description:"Name of resulting mean curvature map:"
type:database_element:raster
input:false
help:"Enter the name of the resulting mean curvature map layer."
optional:true
;
}
dialog "Mask"
description:"Mask"
{
parameter mname
description:"Name of map to use as a mask:"
type:database_element:raster
input:true
help:"Enter the name of the mask map layer."
optional:true
;
}
dialog "Parameters"
description:"Parameters"
{
parameter dval
description:"The minimum distance between points:"
type:float:"1:1000:10:1"
optional:true
help:"Points closer together than this value are skipped."
;
parameter zval
description:"Z-value conversion factor:"
type:float:"1:10000:100:2"
optional:true
help:"Allows scaling of the output values by this factor."
;
parameter tval
description:"Tension value:"
type:float:"10:5000:400:1"
optional:true
help:"Sets how stiff the plate is - low values may lead to overshoots."
;
parameter sval
description:"Smoothing parameter:"
type:float:"0:500:0:2"
optional:true
help:"Zero makes surface fit points exactly."
;
parameter gval
description:"Maximum number of points per segment:"
type:integer:"10:400:40"
optional:true
help:"Number of points per segment for big datasets."
;
parameter nval
description:"Minimum number of points for interpolation:"
type:integer:"50:400:150"
optional:true
help:"Must be greater than number of points per segment."
;
}
}
----
__________________________________________________________________
Dr Simon Cox
__ L
,~' L_|\ Department of Earth Sciences
,-' \ Monash University
( \ Clayton Vic 3168 Australia
\ ___ /
L,~' "\_x/ Phone +61 3 565 5762
u Fax +61 3 565 5062
simon@cerberus.earth.monash.edu.au
__________________________________________________________________