[GRASS5] data format for s.vol.rst?

Helena hmitaso at unity.ncsu.edu
Mon Apr 23 20:09:59 EDT 2001


Markus the field description for s.vol.rst in manual is confusing - field is not

z-field attribute because z is the third dimension
it should be w because the function is w=f(x,y,z) so the data would be
x,y,z,w and the multiplier  is referred to as wmult later.
I also suggest to write for input file that the input is x|y|z|%w
(Jaro, Markus is that right? Was it updated to the new format? can it be
x|y|z|#n %w1 %w2 %w3,
if yes then x,y,z,w should be removed from the manual as it is confusing)

input
    Name of the site file with input x,y,z,w
cellinp
    Name of the surface cell file
field
    Number of z-field attribute to use for calculation
    default: 1
z_orig
    Minimum z-value

Bill used  in s.surf.rst manual the following text:

field=val
decimal attribute to use for elevation (1=first) options (1-100), default is 1.

so Markus if you could change to something like:
field
decimal attribute to use for value w (1=first) options (1-100), default is 1.

On another issue, npmin 100 is not enough if segmax is 50 for heterogeneous
data.
Because the computers are much faster now I suggest to hardcode
segmax as 40 and npmin as 300 for both s.surf.rst and s.vol.rst
and remove those two parameters to reduce their number in GRASS5.1.
I have never changed segmax since 1991 and I stoped experimenting
with npmin in about 1995 and use 300. It is a certain loss of flexibility
but whoever wants to play with those parameters can work with the source.
Let me know what fo you think about such change.

Helena

Panoot Suwanwiwattana wrote:

> hi all,
> I want to use s.vol.rst but i don't understand its module data format, my
> idea should be (x|y|z @catagory %interpolation_value)  but when i import
> site data from postgres, it will be like (x|y @catagory) so
>
> 1.  What is needed data format for s.vol.rst? like my idea?
> 2.  I have to write some script to export data from postgres then import to
> GRASS like ascii file?
> 3.  How can i specify which column is for interpolate in s.vol.rst?
> 4.  the option field value in s.vol.rst is refer to what column eg. field =
> 2 (what does it mean)?
>
> Thanks.
>
> Mr.Panoot  Suwanwiwattana
>         Research Assistance
> Geotechnical Engineering R&D Center.
> Kasetsart University, Thailand.
> ______________________________________________
> FREE Personalized Email at Mail.com
> Sign up at http://www.mail.com/?sr=signup
>
> ----------------------------------------
> If you want to unsubscribe from GRASS Development Team mailing list write to:
> minordomo at geog.uni-hannover.de with
> subject 'unsubscribe grass5'


---------------------------------------- 
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'



More information about the grass-dev mailing list