Changeset 1195 for trunk/src/get_file_info.m
- Timestamp:
- Feb 26, 2026, 4:16:03 PM (5 days ago)
- File:
-
- 1 edited
-
trunk/src/get_file_info.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/get_file_info.m
r1191 r1195 151 151 return 152 152 end 153 XmlFile=fullfile(RootPath,[SubDir '.xml']);154 CheckWriteImaDoc=true;153 % XmlFile=fullfile(RootPath,[SubDir '.xml']); 154 % CheckWriteImaDoc=true; 155 155 % if exist(XmlFile,'file') 156 156 % [XmlData,~,errormsg]=xml2struct(XmlFile); … … 207 207 [Data,tild,tild,errormsg]=nc2struct(fileinput,[]); 208 208 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)) 210 210 FileInfo.FileType='civdata'; % test for civ velocity fields 211 211 FileInfo.CivStage=Data.CivStage;
Note: See TracChangeset
for help on using the changeset viewer.
