[Dart-dev] [4656] DART/trunk/diagnostics/matlab/plot_wind_vectors.m: fixed code block reserved for future use

nancy at ucar.edu nancy at ucar.edu
Wed Jan 19 11:58:34 MST 2011


Revision: 4656
Author:   thoar
Date:     2011-01-19 11:58:34 -0700 (Wed, 19 Jan 2011)
Log Message:
-----------
fixed code block reserved for future use

Modified Paths:
--------------
    DART/trunk/diagnostics/matlab/plot_wind_vectors.m

-------------- next part --------------
Modified: DART/trunk/diagnostics/matlab/plot_wind_vectors.m
===================================================================
--- DART/trunk/diagnostics/matlab/plot_wind_vectors.m	2011-01-19 16:56:16 UTC (rev 4655)
+++ DART/trunk/diagnostics/matlab/plot_wind_vectors.m	2011-01-19 18:58:34 UTC (rev 4656)
@@ -352,10 +352,12 @@
    Vqc      =      Vqc(inds);
    U        =        U(inds);
    V        =        V(inds);
-   Upr      =      Upr(inds);
-   Vpr      =      Vpr(inds);
-   Upo      =      Upo(inds);
-   Vpo      =      Vpo(inds);
+   if ( size(obsmat,2) > 10 )
+      Upr   =      Upr(inds);
+      Vpr   =      Vpr(inds);
+      Upo   =      Upo(inds);
+      Vpo   =      Vpo(inds);
+   end
    times    =    times(inds);
 end
 


More information about the Dart-dev mailing list