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

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@geog.uni-hannover.de with
subject 'unsubscribe grass5'

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?

Hi Panoot,

your sites have to be in x|y|z|%w format (see s.vol.rst man page).

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?

s.vol.rst will use w-value automatically, there is no option to use other column.
Such option exists for s.surf.rst only for variable smoothing parameter "smatt".

Best regards,

Jaro

4. the option field value in s.vol.rst is refer to what column eg. field =
2 (what does it mean)?

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

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@geog.uni-hannover.de with
subject 'unsubscribe grass5'

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

Helena,

On Mon, Apr 23, 2001 at 07:09:59PM -0500, Helena wrote:

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)

Yes, I have updated the page. Please check the page:

http://www.geog.uni-hannover.de/grass/gdp/html_grass5/html/s.vol.rst.html
(it includes Jaro's today's updates).

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.

Shall I change above not now for 5.0.0? When you reply, please keep
above in the mail for me :slight_smile: I suggest to change now.

Regards

Markus

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