[GRASS5] 5.4 scripts

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
In 5.4 there are several useful scripts not present in 5.7. Apparently, at
least some of them work also in 5.7 (e.g. we have tried shade.rel.sh). Would
it be possible to merge that code in 6.0?
All the best.
pc
- --
Paolo Cavallini
cavallini@faunalia.it www.faunalia.it www.faunalia.com
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB2Wgb/NedwLUzIr4RAmtdAJ9pyV/4BAWBLvFUqc8a1/C6M5S5KACdF+J3
zQR+EJswDtGbwF8v74Sv5r8=
=v+Jf
-----END PGP SIGNATURE-----

Paolo,

Virtually all of the working scripts have been ported to 5.7 You can check
the porting list on the GRASS Wiki for details.

When I ported shade.rel.sh, I renamed it r.shaded.relief to make it easier
to recognize what the script does.

On 1/3/05 8:43 AM, "Paolo Cavallini" <cavallini@faunalia.it> wrote:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
In 5.4 there are several useful scripts not present in 5.7. Apparently, at
least some of them work also in 5.7 (e.g. we have tried shade.rel.sh). Would
it be possible to merge that code in 6.0?
All the best.
pc
- --
Paolo Cavallini
cavallini@faunalia.it www.faunalia.it www.faunalia.com
Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)348-3801953
http://pkg-grass.alioth.debian.org/cgi-bin/wiki.pl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFB2Wgb/NedwLUzIr4RAmtdAJ9pyV/4BAWBLvFUqc8a1/C6M5S5KACdF+J3
zQR+EJswDtGbwF8v74Sv5r8=
=v+Jf
-----END PGP SIGNATURE-----

____________________
C. Michael Barton, Professor of Anthropology
School of Human Evolution and Social Change
PO Box 872402
Arizona State University
Tempe, AZ 85287-2402
USA

Phone: 480-965-6262
Fax: 480-965-7671
www: <www.public.asu.edu/~cmbarton>

Just a notice to developers - I have substantial updates for v.vol.rst
but I need few days to test them before submitting. Please do not change
anything in v.vol.rst until I submit and let me know if you plan to
do anything with rst modules (v.surf.rst, v.vol.rst and r.resamp.rst) for 6.0 release.

thank you,

Helena

while testing v.vol.rst I also tried r3.mapcalc and it probably needs update
due to the merge of WIND3 into WIND, it does not seem to find the correct value
for depths and it is giving a fatal error - here is an example from the
test location slovakia provided for testing of the 3D stuff

GRASS 5.7.cvs:~/grasscvs57/grass57_exp_2003_10_18/vector/v.vol.rst > g.region -p3
projection: 0 (x,y)
zone: 0
north: 5530000
south: 5275000
west: 4186000
east: 4631000
top: 3000.00000000
bottom: 0.00000000
nsres: 500
nsres3: 500
ewres: 500
ewres3: 500
tbres: 500
rows: 510
rows3: 510
cols: 890
cols3: 890
depths: 6
[Raster MASK present]
GRASS 5.7.cvs:~/grasscvs57/grass57_exp_2003_10_18/vector/v.vol.rst > r3.mapcalc "test=precip3d.500z50*1."
FATAL ERROR: G3d_adjustRegion: depths <= 0

Helena

I have submitted fixes and updates for v.vol.rst - writing of deviation file in vector format,
addition of variable smoothing and crossvalidation. It should run, but I could not test all combinations
of options, so let me know if something does not work.
Thanks to Jaro for the updates.

Helena

There were probably other bugs, but the real problem is, I believe, that
setup_region() in map3.c is not called before map_type() which is calling G3d_openCellOld(). I think that setup_region should be
added somewhere in the beginning of r.mapcalc, but I don't want to touch the r.mapcalc, for now I just added setup_region() before G3d_openCellOld().

Radim

Helena wrote:

while testing v.vol.rst I also tried r3.mapcalc and it probably needs update
due to the merge of WIND3 into WIND, it does not seem to find the correct value
for depths and it is giving a fatal error - here is an example from the
test location slovakia provided for testing of the 3D stuff

GRASS 5.7.cvs:~/grasscvs57/grass57_exp_2003_10_18/vector/v.vol.rst > g.region -p3
projection: 0 (x,y)
zone: 0
north: 5530000
south: 5275000
west: 4186000
east: 4631000
top: 3000.00000000
bottom: 0.00000000
nsres: 500
nsres3: 500
ewres: 500
ewres3: 500
tbres: 500
rows: 510
rows3: 510
cols: 890
cols3: 890
depths: 6
[Raster MASK present]
GRASS 5.7.cvs:~/grasscvs57/grass57_exp_2003_10_18/vector/v.vol.rst > r3.mapcalc "test=precip3d.500z50*1."
FATAL ERROR: G3d_adjustRegion: depths <= 0

Helena

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5