Changeset 233 for trunk/src/read_field.m


Ignore:
Timestamp:
Apr 6, 2011, 11:54:15 PM (13 years ago)
Author:
sommeria
Message:

small bug corrections, and improved display of image correlations (Testcvi1)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/read_field.m

    r227 r233  
    4141    end
    4242    test_civx=0;
    43     ParamIn
    4443    if ~strcmp(ParamIn.FieldName,'get_field...')% if get_field is not requested, look for Civx data
    4544        FieldList=calc_field;%list of possible fields for Civx data
     
    4746        field_index=strcmp(ParamOut.FieldName,FieldList);%look for ParamOut.FieldName in the list
    4847        if isempty(find(field_index,1))% ParamOut.FieldName is not in the list, check whether Civx data exist
    49             'TESTnc1'
    50             Data=nc2struct(ObjectName,'ListGlobalAttribute','absolut_time_T0','civ')
     48            Data=nc2struct(ObjectName,'ListGlobalAttribute','absolut_time_T0','civ');
    5149            if ~isempty(Data.absolut_time_T0)&& ~isequal(Data.civ,0)
    5250                ParamOut.FieldName='velocity';%Civx data found, set .FieldName='velocity' by default
Note: See TracChangeset for help on using the changeset viewer.