[Dart-dev] [4595] DART/trunk/matlab/GetNCindices.m: Fixed a boneheaded error. Tried to

nancy at ucar.edu nancy at ucar.edu
Tue Dec 14 10:59:12 MST 2010


Revision: 4595
Author:   thoar
Date:     2010-12-14 10:59:12 -0700 (Tue, 14 Dec 2010)
Log Message:
-----------
Fixed a boneheaded error. Tried to match a length4 string to a length5 target.
That doesn't work very often. Only affected the low-order models using a
coordinate variable named 'loc1d'

Modified Paths:
--------------
    DART/trunk/matlab/GetNCindices.m

-------------- next part --------------
Modified: DART/trunk/matlab/GetNCindices.m
===================================================================
--- DART/trunk/matlab/GetNCindices.m	2010-12-03 22:17:35 UTC (rev 4594)
+++ DART/trunk/matlab/GetNCindices.m	2010-12-14 17:59:12 UTC (rev 4595)
@@ -150,7 +150,7 @@
            case {'tmpi','west'}
                start(i) = lon1;
                count(i) = lonN;
-           case {'stat','xdim','ydim','loc1d'}
+           case {'stat','xdim','ydim','loc1'}
                % the lorenz_96_2scale has the unfortunate choice of
                % 'Xdim' and 'YDim' for their state variable names.
                start(i) = state1;


More information about the Dart-dev mailing list