#!/bin/csh -vx
# Usage quickscat_uzp.csh Y01 Y02
set echo
#
if ( $#argv < 2) then
  echo "SPecify experiment year1 optional: year 2"
  echo " Usage quickscat_uzp.csh YYYY YYYY"
  exit 1
endif

@ Y = $argv[1]
@ Y2 = $argv[2]

#setenv m 07
setenv D /Net/tholia/ddmitry/QuickScat
setenv CC $cwd

while ( $Y <= $Y2 )
  cd $D/$Y
  #  rm -f $R$nm.$Y*nc
  set nf = `ls -1 qscat_$Y*.gz | wc -l`
  if ( $nf > 0 ) then
    foreach fl (qscat_$Y*.gz)
      gunzip $fl
      wait
    end
  else
    echo "No files ..."
  endif

  @ Y++
end


exit 0
