#!/bin/csh -x


foreach month (jan feb mar apr may jun jul aug sep oct nov dec)

set infile = ~mauger/met_data/caor_16d/monthly_summaries/baseflow_monthly_tot_"$month".asc 
set colfile = tmp
set outfile = "$month"_neg

grid2col $infile $colfile

awk '{if($3<0) print $0;}' $colfile >! $outfile


end
