2 echo usage
: $0 wrf.exe or something like
$0 mpirun
-np 5 wrf.exe
for a parallel run
4 setenv DIFFWRF ..
/..
/..
/external
/io_netcdf
/diffwrf
5 setenv NLISTV namelist.input.var
6 setenv DIR _regtest_restart_tmp.dir
7 setenv WRFRST1 wrfrst_d01_0001-01-01_00
:01:00
8 setenv WRFRST5 wrfrst_d01_0001-01-01_00
:02:00
12 cat $NLISTV |
sed 's/RESTART/\.false\./' |
sed 's/START_M/00/g' > namelist.input
14 rm -rf wrfrst_
* wrfout_
* rsl.
* > /dev
/null
23 rm -rf $DIR > /dev
/null
; mkdir
$DIR
24 mv wrfrst_
* wrfout_
* rsl.
* $DIR
28 cat $NLISTV |
sed 's/RESTART/\.true\./' |
sed 's/START_M/01/g' > namelist.input
35 $DIFFWRF $WRFRST5 $DIR/$WRFRST5 |
grep -v '^ *TS_'