r.out.sites

Tom Nelson tom%alla at [155.84.92.2]
Tue Oct 26 13:49:50 EDT 1993


:
if test $# -ne 2
then
        echo Usage: $0 input_cell_file,  output_sites_list >& 2
        exit 1
fi
if test ! -d $LOCATION/site_lists
then
    mkdir $LOCATION/site_lists
fi
input="$1"
output="$2"
r.stats -1gz "$input" | awk '{printf "%f|%f|#%d\n" , $1,$2,$3}' > $LOCATION/site_lists/"$output"



More information about the grass-user mailing list