[Wrf-users] WPP Error

Chris Franks Chris.Franks at noaa.gov
Wed Jan 5 14:49:16 MST 2011


Greetings All,

I am new to the list...but have seen this error message being discussed 
before in other places.

I'm getting this kind of error:

+ mv WRFPRS001.tm00 WRFPRS_d01.001
mv: cannot stat `WRFPRS001.tm00': No such file or directory
+ ls -l WRFPRS_d01.001
ls: cannot access WRFPRS_d01.001: No such file or directory
+ err1=2
+ test 2 -ne 0
+ echo 'WRF POST FAILED, EXITTING'
WRF POST FAILED, EXITTING
+ exit

Does anyone have a working script that processes 15-min data?

If I have 15-min WRF netCDF output, do I have to use something like this 
post process (found this online):

Thanks, Chris
___________________________________________________________________

*# Specify forecast start date
# fhr is the first forecast hour to be post-processed
# lastfhr is the last forecast hour to be post-processed
# incrementhr is the incement (in hours) between forecast files

export startdate=2010061200
export fhr=00
export lastfhr=48
export incrementhr=01
export incrementmin=15
export lastmin=45

# Path names for WRF_POSTPROC and WRFV3

export WRF_POSTPROC_HOME=${TOP_DIR}/WPPV3
export POSTEXEC=${WRF_POSTPROC_HOME}/exec
export SCRIPTS=${WRF_POSTPROC_HOME}/scripts
export WRFPATH=${TOP_DIR}/WRFV3

# cd to working directory
cd ${DOMAINPATH}/postprd

# Link Ferrier's microphysic's table and WRF-POSTPROC control file,

ln -fs ${WRFPATH}/run/ETAMPNEW_DATA eta_micro_lookup.dat
ln -fs ${DOMAINPATH}/parm/wrf_cntrl.parm .

export tmmark=tm00
export MP_SHARED_MEMORY=yes
export MP_LABELIO=yes

#######################################################
# 1. Run WRF-POSTPROC
#
# The WRF-POSTPROC is used to read native WRF model
# output and put out isobaric state fields and derived fields.
#
#######################################################

pwd
ls -x

export NEWDATE=$startdate

YYi=`echo $NEWDATE | cut -c1-4`
MMi=`echo $NEWDATE | cut -c5-6`
DDi=`echo $NEWDATE | cut -c7-8`
HHi=`echo $NEWDATE | cut -c9-10`

while [ $fhr -le $lastfhr ] ; do

typeset -Z3 fhr

NEWDATE=`${POSTEXEC}/ndate.exe +${fhr} $startdate`

YY=`echo $NEWDATE | cut -c1-4`
MM=`echo $NEWDATE | cut -c5-6`
DD=`echo $NEWDATE | cut -c7-8`
HH=`echo $NEWDATE | cut -c9-10`

echo 'NEWDATE' $NEWDATE
echo 'YY' $YY
export min=00

while [ $min -le $lastmin ] ; do

#for domain in d01 d02 d03
for domain in d02
do

echo '*****-----*****-----*****----*****'

cat > itag <<EOF
../wrfout_${domain}_${YYi}-${MMi}-${DDi}_${HHi}:00:00
netcdf
${YY}-${MM}-${DD}_${HH}:$min:00
${tag}
EOF

#-----------------------------------------------------------------------
#   Run wrfpost.
#-----------------------------------------------------------------------

rm fort.*

ln -sf wrf_cntrl.parm fort.14
ln -sf griddef.out fort.110
${POSTEXEC}/wrfpost.exe < itag >  wrfpost_${domain}.$fhr.out 2>&1

if [ $min = 00 ]; then
mv WRFPRS$fhr.tm00 WRFPRS_${domain}.${fhr}_${min}
else
mv WRFPRS$fhr:$min.tm00 WRFPRS_${domain}.${fhr}_${min}
fi*


More information about the Wrf-users mailing list