year="2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010"
#ye="00 01 02 03 04 05 06 07 08 09 10"
ye="10"
month="01 02 03 04 05 06 07 08 09 10 11 12"
hour="00 03 06 09 12 15 18 21"
#for yy in $year ; do
#  for mm in $month ; do
#  echo ----- ${yy}_${mm}
# 1. unzip
#  tar -xvf ../${yy}_${mm}/${yy}_${mm}_adjPERS3hr.tar
# 
#  done
#done
# giai nen
number1="0 1 2 3"
number="0 1 2 3 4 5 6 7 8 9"
for y in $ye ; do
mkdir -p 20${y}
  for hh in $hour ; do
    for d1 in $number1 ; do
      for d2 in $number ; do
        for d3 in $number ; do
echo anrf6rr_3h${y}$d1$d2$d3${hh}.bin.gz
#     anrf6rr_3h1036503.bin.gz
gunzip anrf6rr_3h${y}$d1$d2$d3${hh}.bin.gz
mv anrf6rr_3h${y}$d1$d2$d3${hh}.bin 20$y
        done 
      done
    done 
  done
done
