#!/bin/csh

foreach i (npp.*.hdf.gz)
   echo $i
   set j=$i:r
   set m = $j:r
   set k=$m:e
#   echo $k
   mv $i eppley.$k.hdf.gz
end
