#!/bin/csh -f
set echo
foreach domain (d01 d02)
#   foreach var (co slp integratedQCLOUD Q2 PBLH WSP10m T2 no geoHeight_900 WSP_900) 
#   foreach var (co slp integratedQCLOUD Q2 PBLH WSP10m T2 no geoHeight_900 WSP_900 o3 geoHeight_500) 
   foreach var (slp integratedQCLOUD Q2 PBLH WSP10m T2 no geoHeight_900 WSP_900 o3 geoHeight_500) 
     @ i = 0  
     foreach file (  wrfout_${domain}*${var}.png )
         ln -s ${file} wrfout_${domain}_${var}_${i}.png
         @ i ++ 
       end  # foreach file 
   end  # foreach var
end  # foreach domain

