Changeset 787 for trunk/src/series
- Timestamp:
- Jun 26, 2014, 7:41:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series/aver_synchro.m
r784 r787 229 229 230 230 %%%%%%%%%%%%%%%%%%%%%%%% 231 Data.ListVarName={' X','Y','MeanU','MeanV','cos1_U','cos1_V','a1_U','a1_V','a2_U','a2_V','a3_U','a3_V','asub_U','asub_V',...231 Data.ListVarName={'coord_x','coord_y','MeanU','MeanV','cos1_U','cos1_V','a1_U','a1_V','a2_U','a2_V','a3_U','a3_V','asub_U','asub_V',... 232 232 'phase1_U','phase1_V','phase2_U','phase2_V','phase3_U','phase3_V'}; 233 233 %Data.ListVarName=[{'coord_y','coord_x'} Data.ListVarName]; 234 234 %Data.VarDimName={'coord_y', 'coord_x'}; 235 for ilist=1:numel(Data.ListVarName) 236 %Data.VarDimName{ilist+2}={'coord_y','coord_x'};237 Data.VarDimName{ilist}='nb_vectors';235 for ilist=1:numel(Data.ListVarName)-2 236 Data.VarDimName{ilist+2}={'coord_y','coord_x'}; 237 % Data.VarDimName{ilist}='nb_vectors'; 238 238 end 239 239 Data.MeanU=MeanU/nbfield; … … 275 275 %% write the results 276 276 OutputFile=fullfile_uvmat(RootPath{1},OutputDir,RootFile{1},'.nc','',1); 277 errormsg=struct2nc(OutputFile,Data)% write the output file 277 errormsg=struct2nc(OutputFile,Data);% write the output file 278 if isempty(errormsg) 279 disp_uvmat('CONFIRMATION',[OutputFile ' successfully written'],checkrun) 280 else 281 disp_uvmat('ERROR',errormsg,checkrun) 282 end 283 278 284 279 285 %% open the result file with uvmat (in RUN mode)
Note: See TracChangeset
for help on using the changeset viewer.