# This awk program WORKS !!!
# Tim Mitchell, 08.08.03
# awk -f gv.awk -v loc='/cru/tyn1/f014/' stn=6071500 ???.awk
# where 6071500 is the 7-digit code of the stn to plot
# where ??? = abs,ano,adj,all
# it expects 9 .eps files in the given location 
{stem="ghostview '"}
{tip=".eps' &"}
{type=$1}
{dot="."}
{comm=stem loc stn dot type tip}
{system(comm)}
