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

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

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


Revision 1.4 - (hide annotations) (download)
Mon Apr 11 22:30:25 2011 UTC (14 years, 3 months ago) by roquet
Branch: MAIN
Changes since 1.3: +2 -1 lines
add odv sample case

1 gforget 1.2 MITprof_path;
2 gforget 1.1
3 gforget 1.2 fprintf('strike return after visualizing each plot is 0\n');
4 gforget 1.1
5 roquet 1.4 for ii=3;
6 gforget 1.2 if ii==1; nameSample='argo'; nameFile='argo_indian.nc';
7     elseif ii==2; nameSample='wod05'; nameFile='wod05_CTD_1990s.nc';
8 roquet 1.4 elseif ii==3; nameSample='odv'; nameFile='ODVcompact_sample_MITprof.nc';
9 gforget 1.2 end;
10    
11 gforget 1.3 MITprof_ref=MITprof_read(['profiles_samples/reference_results/' nameFile]);
12     MITprof_new=MITprof_read(['profiles_samples/' nameSample '_sample/processed/' nameFile]);
13 gforget 1.1
14 gforget 1.2 figureL; imagesc(MITprof_new.prof_T-MITprof_ref.prof_T); colorbar; title('prof_T'); pause; close;
15     figureL; imagesc(MITprof_new.prof_Testim-MITprof_ref.prof_Testim); colorbar; title('prof_Testim'); pause; close;
16     figureL; imagesc((MITprof_new.prof_Tweight-MITprof_ref.prof_Tweight)./MITprof_ref.prof_Tweight); colorbar; title('prof_Tweight'); pause; close;
17     figureL; imagesc(MITprof_new.prof_Tflag-MITprof_ref.prof_Tflag); colorbar; title('prof_Tflag'); pause; close;
18    
19     figureL; imagesc(MITprof_new.prof_S-MITprof_ref.prof_S); colorbar; title('prof_S'); pause; close;
20     figureL; imagesc(MITprof_new.prof_Sestim-MITprof_ref.prof_Sestim); colorbar; title('prof_Sestim'); pause; close;
21     figureL; imagesc((MITprof_new.prof_Sweight-MITprof_ref.prof_Sweight)./MITprof_ref.prof_Sweight); colorbar; title('prof_Sweight'); pause; close;
22     figureL; imagesc(MITprof_new.prof_Sflag-MITprof_ref.prof_Sflag); colorbar; title('prof_Sflag'); pause; close;
23    
24     end;
25 gforget 1.1

  ViewVC Help
Powered by ViewVC 1.1.22