Changeset 494 for trunk/src/sub_field.m


Ignore:
Timestamp:
Jul 19, 2012, 11:50:39 AM (12 years ago)
Author:
sommeria
Message:

various bugs corrected after testing in Windows OS. Introduction
of filter tps

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sub_field.m

    r428 r494  
    301301    end     
    302302    if ~testX_1% if the second field has structured coordinates
     303        ilist_1=find(strcmp(AName_1,Field_1.ListVarName));
     304        DimCell_1=Field_1.VarDimName{ilist_1};
     305        if numel(DimCell_1)>2
     306             DimCell={XName_1_1,YName_1_1, [{YName_1_1,XName_1_1} DimCell_1(3:end)]};
     307        else
    303308          DimCell={XName_1_1,YName_1_1, {YName_1_1,XName_1_1}};
     309        end
    304310    else
    305311        DimCell=[DimCell Field_1.VarDimName(ivar_C_1)];
Note: See TracChangeset for help on using the changeset viewer.