/[MITgcm]/MITgcm_contrib/gael/profilesMatlabProcessing/profiles_process_check.m
ViewVC logotype

Diff of /MITgcm_contrib/gael/profilesMatlabProcessing/profiles_process_check.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1 by gforget, Wed Nov 3 20:45:10 2010 UTC revision 1.5 by gforget, Mon Jul 28 19:34:16 2014 UTC
# Line 1  Line 1 
1    
2  nameSample='argo'; nameFile='argo_indian.nc';  MITprof_global;
 %nameSample='wod05'; nameFile='wod05_CTD_1990s.nc';  
3    
4  MITprof_ref=MITprof_read('profiles_samples/',nameFile);  fprintf('strike return after visualizing each plot is 0\n');
 MITprof_new=MITprof_read(['profiles_samples/' nameSample '_sample/processed/'],nameFile);  
5    
6  figureL; imagesc(MITprof_new.prof_T-MITprof_ref.prof_T); colorbar; title('prof_T');  for ii=3;
7  figureL; imagesc(MITprof_new.prof_Testim-MITprof_ref.prof_Testim); colorbar; title('prof_Testim');  if ii==1; nameSample='argo'; nameFile='argo_indian.nc';
8  figureL; imagesc((MITprof_new.prof_Tweight-MITprof_ref.prof_Tweight)./MITprof_ref.prof_Tweight); colorbar; title('prof_Tweight');  elseif ii==2; nameSample='wod05'; nameFile='wod05_CTD_1990s.nc';
9  figureL; imagesc(MITprof_new.prof_Tflag-MITprof_ref.prof_Tflag); colorbar; title('prof_Tflag');  elseif ii==3; nameSample='odv'; nameFile='ODVcompact_sample_MITprof.nc';
10    end;
11  figureL; imagesc(MITprof_new.prof_S-MITprof_ref.prof_S); colorbar; title('prof_S');  
12  figureL; imagesc(MITprof_new.prof_Sestim-MITprof_ref.prof_Sestim); colorbar; title('prof_Sestim');  MITprof_ref=MITprof_read(['profiles_samples/reference_results/' nameFile]);
13  figureL; imagesc((MITprof_new.prof_Sweight-MITprof_ref.prof_Sweight)./MITprof_ref.prof_Sweight); colorbar; title('prof_Sweight');  MITprof_new=MITprof_read(['profiles_samples/' nameSample '_sample/processed/' nameFile]);
14  figureL; imagesc(MITprof_new.prof_Sflag-MITprof_ref.prof_Sflag); colorbar; title('prof_Sflag');  
15    figureL; imagesc(MITprof_new.prof_T-MITprof_ref.prof_T); colorbar; title('prof_T'); pause; close;
16    figureL; imagesc(MITprof_new.prof_Testim-MITprof_ref.prof_Testim); colorbar; title('prof_Testim'); pause; close;
17    figureL; imagesc((MITprof_new.prof_Tweight-MITprof_ref.prof_Tweight)./MITprof_ref.prof_Tweight); colorbar; title('prof_Tweight'); pause; close;
18    figureL; imagesc(MITprof_new.prof_Tflag-MITprof_ref.prof_Tflag); colorbar; title('prof_Tflag'); pause; close;
19    
20    figureL; imagesc(MITprof_new.prof_S-MITprof_ref.prof_S); colorbar; title('prof_S'); pause; close;
21    figureL; imagesc(MITprof_new.prof_Sestim-MITprof_ref.prof_Sestim); colorbar; title('prof_Sestim'); pause; close;
22    figureL; imagesc((MITprof_new.prof_Sweight-MITprof_ref.prof_Sweight)./MITprof_ref.prof_Sweight); colorbar; title('prof_Sweight'); pause; close;
23    figureL; imagesc(MITprof_new.prof_Sflag-MITprof_ref.prof_Sflag); colorbar; title('prof_Sflag'); pause; close;
24    
25    end;
26    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.22