/[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.2 by gforget, Thu Nov 4 16:26:27 2010 UTC
# Line 1  Line 1 
1    MITprof_path;
2    
3  nameSample='argo'; nameFile='argo_indian.nc';  fprintf('strike return after visualizing each plot is 0\n');
 %nameSample='wod05'; nameFile='wod05_CTD_1990s.nc';  
4    
5  MITprof_ref=MITprof_read('profiles_samples/',nameFile);  for ii=1:2;
6    if ii==1; nameSample='argo'; nameFile='argo_indian.nc';
7    elseif ii==2; nameSample='wod05'; nameFile='wod05_CTD_1990s.nc';
8    end;
9    
10    MITprof_ref=MITprof_read('profiles_samples/reference_results/',nameFile);
11  MITprof_new=MITprof_read(['profiles_samples/' nameSample '_sample/processed/'],nameFile);  MITprof_new=MITprof_read(['profiles_samples/' nameSample '_sample/processed/'],nameFile);
12    
13  figureL; imagesc(MITprof_new.prof_T-MITprof_ref.prof_T); colorbar; title('prof_T');  figureL; imagesc(MITprof_new.prof_T-MITprof_ref.prof_T); colorbar; title('prof_T'); pause; close;
14  figureL; imagesc(MITprof_new.prof_Testim-MITprof_ref.prof_Testim); colorbar; title('prof_Testim');  figureL; imagesc(MITprof_new.prof_Testim-MITprof_ref.prof_Testim); colorbar; title('prof_Testim'); pause; close;
15  figureL; imagesc((MITprof_new.prof_Tweight-MITprof_ref.prof_Tweight)./MITprof_ref.prof_Tweight); colorbar; title('prof_Tweight');  figureL; imagesc((MITprof_new.prof_Tweight-MITprof_ref.prof_Tweight)./MITprof_ref.prof_Tweight); colorbar; title('prof_Tweight'); pause; close;
16  figureL; imagesc(MITprof_new.prof_Tflag-MITprof_ref.prof_Tflag); colorbar; title('prof_Tflag');  figureL; imagesc(MITprof_new.prof_Tflag-MITprof_ref.prof_Tflag); colorbar; title('prof_Tflag'); pause; close;
17    
18  figureL; imagesc(MITprof_new.prof_S-MITprof_ref.prof_S); colorbar; title('prof_S');  figureL; imagesc(MITprof_new.prof_S-MITprof_ref.prof_S); colorbar; title('prof_S'); pause; close;
19  figureL; imagesc(MITprof_new.prof_Sestim-MITprof_ref.prof_Sestim); colorbar; title('prof_Sestim');  figureL; imagesc(MITprof_new.prof_Sestim-MITprof_ref.prof_Sestim); colorbar; title('prof_Sestim'); pause; close;
20  figureL; imagesc((MITprof_new.prof_Sweight-MITprof_ref.prof_Sweight)./MITprof_ref.prof_Sweight); colorbar; title('prof_Sweight');  figureL; imagesc((MITprof_new.prof_Sweight-MITprof_ref.prof_Sweight)./MITprof_ref.prof_Sweight); colorbar; title('prof_Sweight'); pause; close;
21  figureL; imagesc(MITprof_new.prof_Sflag-MITprof_ref.prof_Sflag); colorbar; title('prof_Sflag');  figureL; imagesc(MITprof_new.prof_Sflag-MITprof_ref.prof_Sflag); colorbar; title('prof_Sflag'); pause; close;
22    
23    end;
24    

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

  ViewVC Help
Powered by ViewVC 1.1.22