m0n0lithic icon

Corridas Especiales WRF I

m0n0lithic | PRO | 06/05/14 02:37:30 PM UTC | 0 ⭐ | 386 👁️ | Never ⏰ | []
Bash |

1.2 KB

|

None

|

0 👍

/

0 👎

python2 /spoa/scripts/python/gfsdown.py -type wrf -pron 24 -dom=1 -nofetch
 
#Copiar gfs del dia 
cp -a /spoa/data/gfs/20140407/gfs.t00z.pgrb2f* ~/WRFV33/WPS/GFS_DATA/ 
 
 
#Editar Namelists:
vim /home/slonin/WRFV33/WRFV3/run/namelist.input
vim /home/slonin/WRFV33/WPS/namelist.wps
 
cd ../../WPS/
 
hoy=$(date -u '+%b %e')
WRFHOY='2014-04-07' 
WRFPATH=/home/slonin/WRFV33
WRFOUTP=$WRFPATH/WRFV3/run
WRFOUT_FNAME=$WRFOUTP'/wrfout_d01_'$WRFHOY'_00:00:00'
 
cd $WRFPATH/WRFV3/run
if [ $NOPREP == "NO" ]; then
    cd ../../WPS
    ./link_grib.csh GFS_DATA/
    ./geogrid.exe
    ./ungrib.exe
    ./metgrid.exe
    # arreglo con archivos metgrid generados
    metem=(`ls -l met_em*.nc | awk '/'"$hoy"'/ {print $9}'`)
    cd ../WRFV3/run
    for i in "${metem[@]}"; do
        ln -s ../../WPS/$i
    done
fi
./real.exe
rm rsl.*
(time mpirun -np 44 --hostfile /home/slonin/hosts.ompi --mca mpi_leave_pinned 1 --mca btl openib,self ./wrf.exe) 2> /tmp/wrf.out&
#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&
rm rsl.* met_em.d01.2014-04-*
cd ../../WPS
rm *FILE\:2014-04-* GRIBFILE.AA* met_em.d01.2014-04-*

Comments