[Dart-dev] [3854] DART/trunk/ncep_obs/work/create_obs_seq.csh: put the move inside the right if statement

nancy at ucar.edu nancy at ucar.edu
Wed May 6 15:00:07 MDT 2009


An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/dart-dev/attachments/20090506/971fb16c/attachment.html 
-------------- next part --------------
Modified: DART/trunk/ncep_obs/work/create_obs_seq.csh
===================================================================
--- DART/trunk/ncep_obs/work/create_obs_seq.csh	2009-05-06 20:58:33 UTC (rev 3853)
+++ DART/trunk/ncep_obs/work/create_obs_seq.csh	2009-05-06 21:00:07 UTC (rev 3854)
@@ -98,10 +98,10 @@
             echo " fixing $obs pole locations"                     >> create_obs_seq.log
             sed -e 's/ 1.57079632679490/ 1.57079632679488/' \
                 -e 's/-1.57079632679490/-1.57079632679488/' $obs   >! fixed_pole${n}
+            mv -f fixed_pole${n} $obs
          else
             exit
          endif
-         mv -f fixed_pole${n} $obs
       endif
       mv $obs $Obs_base:h &
    end


More information about the Dart-dev mailing list