#!/bin/csh

set month  = $1
set day = $2
set year   = $3
set today = $month$day
set syear = `echo $year | cut -c3-4`
set yymmdd = $syear$month$day

if ($#argv != 3) then
    echo ""
    echo "Usage: "
    echo "     uf_ls_cf Month Day Year "
    echo ""
    echo "     mm = month (ex. 01)"
    echo "     dd = day (ex. 12)"
    echo "     yyyy = year (ex. 2012)"
    echo ""
    exit
endif


cd /data/gpmgv/gv_radar/finalQC_in/

foreach i (/data/gpmgv/gv_radar/finalQC_in/*/1CUF/$year/$today/*.cf.gz)
set file = `echo $i | cut -d '/' -f 10`
set cdate = `date +%D -r $i`
echo $file $cdate
end

