/[MITgcm]/MITgcm_contrib/gael/comm/course-idma2016/matlab/mitgcm_plot_adju_cs32.m
ViewVC logotype

Annotation of /MITgcm_contrib/gael/comm/course-idma2016/matlab/mitgcm_plot_adju_cs32.m

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


Revision 1.1 - (hide annotations) (download)
Fri Jan 22 15:15:53 2016 UTC (9 years, 6 months ago) by gforget
Branch: MAIN
- display results from extended runs of adjustment.cs-32x32x1, tutorial_held_suarez_cs, and tutorial_plume_on_slope

1 gforget 1.1 function []=mitgcm_plot_adju_cs32(fil,cc);
2     %Example:
3     % cd MITgcm/verification/adjustment.cs-32x32x1/run;
4     % fprintf('\n\n grid files answer is: ''tile*.mitgrid''\n\n');
5     % grid_load('./',6,'cube');
6     % cc=[-1000:100:1000]/500; suf='dynDiag'; num=3;
7     % figureL; set(gcf,'Renderer','zbuffer');
8     % for tt=22:24:190;
9     % fil={sprintf('%s.%010d',suf,tt),num};
10     % mitgcm_plot_adju_cs32(fil,cc);
11     % pause(1);
12     % end;
13    
14     gcmfaces_global;
15    
16     m=squeeze(mygrid.mskC(:,:,1));
17    
18     if ~iscell(fil);
19     c=rdmds2gcmfaces(fil);
20     else;
21     c=rdmds2gcmfaces(fil{1},'rec',fil{2});
22     end;
23     c=c(:,:,1);
24    
25     clf;
26     if isempty(whos('cc')); cc=[]; end;
27     %gcmfaces_sphere(c.*m,cc,[],{100,20},1)
28     qwckplot(c.*m); gcmfaces_cmap_cbar(cc);
29     title(fil);
30    

  ViewVC Help
Powered by ViewVC 1.1.22