G3D modules and s.vol.idw

Markus Neteler neteler at geog.uni-hannover.de
Mon May 22 08:17:13 EDT 2000


On Sun, May 21, 2000 at 12:38:18PM +0200, Bernhard Sturm wrote:
> Hi Markus
> 
> > Which warning did you get? s.in.ascii should accept ASCII files with a
> > structure as follows:
> >
> > x1 y1 z1 attribute1
> > x2 y2 z2 attribute2
> > x3 y3 z3 attribute3
> > [...]
> 
> This works now fine, the problem was, that I wanted to import too many
> attributes (I had also string attributes that I wanted to import, but I
> dropped them, and now it's working alright)
> 
> But whenever I try to run s.vol.idw I get an error message telling me, that
> the module checks for a missing PERMANENT/DEFAULT_WIND3 and then
> PERMANENT/WIND3 file. I assume I have to generate these files when building
> a new mapset database, but I couldn't figure out how and when those files
> are created...
> Any idea?
Of course :-)

You need to write above files. Perhaps I write a script to
create them automatically from WIND and DEFAULT_WIND (or you
write it?). Structure is:

PERMANENT/WIND/ and PERMANENT/DEFAULT_WIND

---------cut here----------
Proj: 0
Zone: 0
North: 10.00000000000000000000000000000000000000000000000000
South: 0.00000000000000000000000000000000000000000000000000
East: 10.00000000000000000000000000000000000000000000000000
West: 0.00000000000000000000000000000000000000000000000000
Top: 10.00000000000000000000000000000000000000000000000000
Bottom: 0.00000000000000000000000000000000000000000000000000
nofRows: 10
nofCols: 10
nofDepths: 10
e-w resol: 1.00000000000000000000000000000000000000000000000000
n-s resol: 1.00000000000000000000000000000000000000000000000000
t-b resol: 1.00000000000000000000000000000000000000000000000000
------ cut again ----------------

Edit and change above file to your projection and coordinates.
Take care: The capital letters are required.

Then run g3.region to re-check it.

> thanks for the help and (I am enjoing GRASS more and more, since I started
> writting my own scripts ;-)
In case of interest for others, I will be happy to include your
script(s). Perhaps we start an own

 "GRASS Scripts page"

on the server? Then scripts could be shared with others.

Best wishes

 Markus

-- 
Dipl.-Geogr. Markus Neteler *  University of Hannover
Institute of Physical Geography and Landscape Ecology
Schneiderberg 50 * D-30167 Hannover * Germany
Tel: ++49-(0)511-762-4494  Fax: -3984




More information about the grass-user mailing list