shade.rel.sh problem

Markus Neteler neteler at geog.uni-hannover.de
Wed Dec 1 10:36:24 EST 1999


> When using the relief map script shade.rel.sh in GRASS 5, it seems to go
> about half-way and then quit with the error "unable to find temporary null
> file." I've double-check the relevant file paths and permissions and they
> seem ok. Any else run into this and have a suggestion?  Many thanks!
> tom at bluesky.org

Hi there,

the shade.rel.sh script can be fixed as
follows:

Replace $esres and $nsres with ewres() and nsres().

Then update some numbers:

diff shade.rel.sh shade.rel.sh.orig
67c67
<  aspect=if(x||y,if(a,a,360.)), \\
---
>  aspect=if(x||y,if(a,a,360)), \\
69c69
<  if(cang < 0.,0.,100.*cang))
---
>  if(cang < 0,0,100*cang))

Ciao

 Markus Neteler



More information about the grass-user mailing list