[Dart-dev] [3830] DART/trunk/models/wrf/shell_scripts/advance_global_model.csh: This split off from the original advance_model.csh script before I had
nancy at ucar.edu
nancy at ucar.edu
Mon Apr 27 10:15:11 MDT 2009
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/dart-dev/attachments/20090427/6064cc5a/attachment.html
-------------- next part --------------
Modified: DART/trunk/models/wrf/shell_scripts/advance_global_model.csh
===================================================================
--- DART/trunk/models/wrf/shell_scripts/advance_global_model.csh 2009-04-22 15:14:01 UTC (rev 3829)
+++ DART/trunk/models/wrf/shell_scripts/advance_global_model.csh 2009-04-27 16:15:10 UTC (rev 3830)
@@ -314,12 +314,19 @@
# Set off WRF integration
${ADV_MOD_COMMAND} >>& rsl.out.integration
+ ${COPY} rsl.out.integration ${CENTRALDIR}/wrf.out_${targdays}_${targsecs}_${element}
sleep 1
set SUCCESS = `grep "wrf: SUCCESS COMPLETE WRF" rsl.* | cat | wc -l`
if ($SUCCESS == 0) then
- echo $element >> ${CENTRALDIR}/blown_${targdays}_${targsecs}.out
+ if ($SUCCESS == 0) then
+ echo $element >>! ${CENTRALDIR}/blown_${targdays}_${targsecs}.out
+ echo "Model failure! Check file " ${CENTRALDIR}/blown_${targdays}_${targsecs}.out
+ echo "for a list of failed elements, and check here for the individual output files:"
+ echo " ${CENTRALDIR}/wrf.out_${targdays}_${targsecs}_elementnumber "
+ exit -1
+ endif
endif
if ( -e ${CENTRALDIR}/extract ) then
More information about the Dart-dev
mailing list