#!/bin/csh

set month  = $2
set day = $3
set year   = $1
set file = $4

if ($#argv != 4) then
    echo ""
    echo "Usage: "
    echo "     split_rhi_sweeps Year Month Day File"
    echo ""
    echo "     file = NPOL1_2015_1112_211212_rhi.uf.gz"
    echo "     mm = month (ex. 01)"
    echo "     dd = day (ex. 12)"
    echo "     yyyy = year (ex. 2012)"
    echo ""
    exit
endif




idl<<EOF
  split_rhi_sweeps,$year,$month,$day,'$file'
EOF
