store wind

James Darrell McCauley mccauley at ecn.purdue.edu
Fri Jun 3 04:15:14 EDT 1994


martijn at scanner.frw.uva.nl (martijn at scanner.frw.uva.nl) writes on 3 Jun 94:
>I think JD McCauley misunderstood (deliberately?) that Liu wanted the 
>window boundaries drawn. If I'm not mistaken somebody has already written 
>a script or program to do this. If not, you can use the output of the 
>`g.region -p' command to create a `d.mapgraph' script quite easily.

not deliberately... "draft+current+wind" just made me think "flow
patterns" :)

>On Fri, 3 Jun 1994, James Darrell McCauley wrote:
>
>> Shyh-yuan Liu (syl at imt.ntou.edu.tw) writes on 3 Jun 94:
>> >Can you tell me how to store the wind and draft in grass.
>> 
>> Shyh-yuan Liu (syl at imt.ntou.edu.tw) writes on 3 Jun 94:
>> >Can you tell me How to store the wind and current in GRASS.

if he meant to draw window/region boundaries, the (very useful)
script that you were referring to is appended (thanks Ronald).

--Darrell

#!/bin/sh
# d.region
# by Ronald Wiemer <ronald at archis.nl>
COLOR=$1
if [ "$COLOR" = "" ]
then
        COLOR=white
fi

eval `g.region -g`

d.mapgraph color=$COLOR << EOF
move $w $s
draw $e $s
draw $e $n
draw $w $n
draw $w $s
EOF



More information about the grass-user mailing list