/[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.3 - (hide annotations) (download)
Thu Nov 4 18:43:41 2010 UTC (14 years, 8 months ago) by gforget
Branch: MAIN
Changes since 1.2: +2 -2 lines
- remove the step 2 file update from profiles_prep_write_nc.
  It is now done directly in profiles_prep_main.m e.g.
- MITprof_create, MITprof_read, MITprof_write: get
  full filename (not dir,file) as argument.
- MITprof_create: hard-code fillval and length of prof_descr.

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 gforget 1.2 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 gforget 1.3 MITprof_ref=MITprof_read(['profiles_samples/reference_results/' nameFile]);
11     MITprof_new=MITprof_read(['profiles_samples/' nameSample '_sample/processed/' nameFile]);
12 gforget 1.1
13 gforget 1.2 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'); pause; close;
15     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'); pause; close;
17    
18     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'); pause; close;
20     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'); pause; close;
22    
23     end;
24 gforget 1.1

  ViewVC Help
Powered by ViewVC 1.1.22