[Dart-dev] [3813] DART/trunk/models/wrf/shell_scripts: WRF V2 uses urban_param.tbl, V3 needs URBPARM.TBL.
nancy at ucar.edu
nancy at ucar.edu
Wed Apr 15 14:28:04 MDT 2009
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/dart-dev/attachments/20090415/88b5d633/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-15 20:21:20 UTC (rev 3812)
+++ DART/trunk/models/wrf/shell_scripts/advance_global_model.csh 2009-04-15 20:28:04 UTC (rev 3813)
@@ -103,7 +103,13 @@
ln -s ${CENTRALDIR}/tr49t85 .
ln -s ${CENTRALDIR}/tr67t85 .
# These are needed for use with module_sf_urban.F (I think)
- ln -s ${CENTRALDIR}/urban_param.tbl .
+ # WRF V2 uses urban_param.tbl, V3 uses URBPARM.TBL - do either)
+ if ( -e ${CENTRALDIR}/urban_param.tbl ) then
+ ln -s ${CENTRALDIR}/urban_param.tbl .
+ endif
+ if ( -e ${CENTRALDIR}/URBPARM.TBL ) then
+ ln -s ${CENTRALDIR}/URBPARM.TBL .
+ endif
# nfile is required when using mpi to run wrf.exe
# nfile is machine specific; ideally, it should be
Modified: DART/trunk/models/wrf/shell_scripts/advance_model.csh
===================================================================
--- DART/trunk/models/wrf/shell_scripts/advance_model.csh 2009-04-15 20:21:20 UTC (rev 3812)
+++ DART/trunk/models/wrf/shell_scripts/advance_model.csh 2009-04-15 20:28:04 UTC (rev 3813)
@@ -101,7 +101,13 @@
ln -sf ${CENTRALDIR}/tr49t67 .
ln -sf ${CENTRALDIR}/tr49t85 .
ln -sf ${CENTRALDIR}/tr67t85 .
- ln -sf ${CENTRALDIR}/urban_param.tbl .
+ # WRF V2 uses urban_param.tbl, V3 uses URBPARM.TBL - do either)
+ if ( -e ${CENTRALDIR}/urban_param.tbl ) then
+ ln -sf ${CENTRALDIR}/urban_param.tbl .
+ endif
+ if ( -e ${CENTRALDIR}/URBPARM.TBL ) then
+ ln -sf ${CENTRALDIR}/URBPARM.TBL .
+ endif
ln -sf ${CENTRALDIR}/VEGPARM.TBL .
ln -sf ${CENTRALDIR}/wrf.exe .
More information about the Dart-dev
mailing list