[Dart-dev] [4250] DART/trunk/models/wrf/shell_scripts/advance_model.csh: Fix from Glen - add missing 'endif' and fix the syntax
nancy at ucar.edu
nancy at ucar.edu
Wed Feb 3 11:02:11 MST 2010
Revision: 4250
Author: nancy
Date: 2010-02-03 11:02:11 -0700 (Wed, 03 Feb 2010)
Log Message:
-----------
Fix from Glen - add missing 'endif' and fix the syntax
on testing a local variable for true.
Modified Paths:
--------------
DART/trunk/models/wrf/shell_scripts/advance_model.csh
-------------- next part --------------
Modified: DART/trunk/models/wrf/shell_scripts/advance_model.csh
===================================================================
--- DART/trunk/models/wrf/shell_scripts/advance_model.csh 2010-02-03 17:42:07 UTC (rev 4249)
+++ DART/trunk/models/wrf/shell_scripts/advance_model.csh 2010-02-03 18:02:11 UTC (rev 4250)
@@ -119,8 +119,9 @@
# if the boundary conditions are specified, we need update_wrf_bc. otherwise, it's ok if it isn't found.
set SPEC_BC = `grep specified ${CENTRALDIR}/namelist.input | grep true | wc -l`
if ( $SPEC_BC > 0 ) then
- echo ABORT\: advance_model.csh could not find required executable dependency ${CENTRALDIR}/update_wrf_bc
- exit 1
+ echo ABORT\: advance_model.csh could not find required executable dependency ${CENTRALDIR}/update_wrf_bc
+ exit 1
+ endif
endif
else
@@ -532,7 +533,7 @@
cd $CENTRALDIR
# delete the temp directory for each member if desired
- if ( $delete_temp_dir == 'true' ) ${REMOVE} ${temp_dir}
+ if ( $delete_temp_dir == true ) ${REMOVE} ${temp_dir}
echo "Ensemble Member $ensemble_member completed"
# and now repeat the entire process for any other ensemble member that
More information about the Dart-dev
mailing list