/[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.6 - (hide annotations) (download)
Thu Mar 3 18:33:11 2016 UTC (9 years, 4 months ago) by gforget
Branch: MAIN
CVS Tags: checkpoint65x, checkpoint65v, checkpoint65w, checkpoint65u, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, HEAD
Changes since 1.5: +4 -4 lines
- add full Argo case; distinguish from the sample case using subset.
- set dataset.addGrid to 1 by default.

1 gforget 1.5
2     MITprof_global;
3 gforget 1.1
4 gforget 1.2 fprintf('strike return after visualizing each plot is 0\n');
5 gforget 1.1
6 gforget 1.6 for ii=1:3;
7     if ii==1; nameSample='argo'; nameFile='argo_sample.nc';
8 gforget 1.2 elseif ii==2; nameSample='wod05'; nameFile='wod05_CTD_1990s.nc';
9 roquet 1.4 elseif ii==3; nameSample='odv'; nameFile='ODVcompact_sample_MITprof.nc';
10 gforget 1.2 end;
11    
12 gforget 1.6 MITprof_ref=MITprof_read([myenv.MITprof_dir 'profiles_samples/reference_results/' nameFile]);
13     MITprof_new=MITprof_read([myenv.MITprof_dir 'profiles_samples/' nameSample '_sample/processed/' nameFile]);
14 gforget 1.1
15 gforget 1.2 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 gforget 1.1

  ViewVC Help
Powered by ViewVC 1.1.22