#!/bin/csh -f 
set echo
foreach file (wrfout_d01*NOx*.eps)
#convert -density 300 -resize 1000x800 -trim ${file} "${file/.eps}.png"
convert -density 300 -resize 1000x800 -trim ${file} "`basename $file .eps`.png" 
echo "finish ${file}"
rm ${file}
end
