Ignore:
Timestamp:
Feb 26, 2026, 4:16:03 PM (5 days ago)
Author:
sommeria
Message:

format of PIV data made more compact/4

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/get_file_info.m

    r1191 r1195  
    151151            return
    152152        end
    153         XmlFile=fullfile(RootPath,[SubDir '.xml']);
    154         CheckWriteImaDoc=true;
     153%         XmlFile=fullfile(RootPath,[SubDir '.xml']);
     154%         CheckWriteImaDoc=true;
    155155%         if exist(XmlFile,'file')
    156156%             [XmlData,~,errormsg]=xml2struct(XmlFile);
     
    207207                        [Data,tild,tild,errormsg]=nc2struct(fileinput,[]);
    208208                        if isempty(errormsg)
    209                             if isfield(Data,'Conventions') && strcmp(Data.Conventions,'uvmat/civdata')
     209                            if isfield(Data,'Conventions') && ~isempty(find(strcmp(Data.Conventions,{'uvmat/civdata','uvmat/civdata/compress'}), 1))
    210210                                FileInfo.FileType='civdata'; % test for civ velocity fields
    211211                                FileInfo.CivStage=Data.CivStage;
Note: See TracChangeset for help on using the changeset viewer.