m0n0lithic

Corridas Especiales WRF I

Jun 5th, 2014
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.20 KB | None | 0 0
  1. python2 /spoa/scripts/python/gfsdown.py -type wrf -pron 24 -dom=1 -nofetch
  2.  
  3. #Copiar gfs del dia
  4. cp -a /spoa/data/gfs/20140407/gfs.t00z.pgrb2f* ~/WRFV33/WPS/GFS_DATA/
  5.  
  6.  
  7. #Editar Namelists:
  8. vim /home/slonin/WRFV33/WRFV3/run/namelist.input
  9. vim /home/slonin/WRFV33/WPS/namelist.wps
  10.  
  11. cd ../../WPS/
  12.  
  13. hoy=$(date -u '+%b %e')
  14. WRFHOY='2014-04-07'
  15. WRFPATH=/home/slonin/WRFV33
  16. WRFOUTP=$WRFPATH/WRFV3/run
  17. WRFOUT_FNAME=$WRFOUTP'/wrfout_d01_'$WRFHOY'_00:00:00'
  18.  
  19. cd $WRFPATH/WRFV3/run
  20. if [ $NOPREP == "NO" ]; then
  21.     cd ../../WPS
  22.     ./link_grib.csh GFS_DATA/
  23.     ./geogrid.exe
  24.     ./ungrib.exe
  25.     ./metgrid.exe
  26.     # arreglo con archivos metgrid generados
  27.     metem=(`ls -l met_em*.nc | awk '/'"$hoy"'/ {print $9}'`)
  28.     cd ../WRFV3/run
  29.     for i in "${metem[@]}"; do
  30.         ln -s ../../WPS/$i
  31.     done
  32. fi
  33. ./real.exe
  34. rm rsl.*
  35. (time mpirun -np 44 --hostfile /home/slonin/hosts.ompi --mca mpi_leave_pinned 1 --mca btl openib,self ./wrf.exe) 2> /tmp/wrf.out&
  36. #time mpirun -np 44 --hostfile /home/slonin/hosts.ompi --mca mpi_leave_pinned 1 --mca btl openib,self ./wrf.exe < /dev/null 2>&1 | tee /tmp/wrf.out&
  37. rm rsl.* met_em.d01.2014-04-*
  38. cd ../../WPS
  39. rm *FILE\:2014-04-* GRIBFILE.AA* met_em.d01.2014-04-*
Advertisement
Add Comment
Please, Sign In to add comment