#!/bin/csh

set site = $1
set month  = $2
set day = $3
set year   = $4
set scan = $5
set today = $month$day

if ($#argv != 5) then
    echo ""
    echo "Usage: "
    echo "     plot_fields Site Month Day Year scan"
    echo ""
    echo "     ssss = Site (KMLB, KWAJ, NPOL, KDOX, KAKQ, etc)"
    echo "     mm = month (ex. 01)"
    echo "     dd = day (ex. 12)"
    echo "     yyyy = year (ex. 2012)"
    echo "     sss = scan (ex. ppi, rhi, pps)"
    echo ""
    exit
endif

idl<<EOF
	plot_fields,'$site','$month','$day','$year','$scan'
EOF

exit
