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

Annotation of /MITgcm_contrib/gael/comm/course-idma2016/matlab/mitgcm_plot_held_suarez.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_held_suarez(fil,cc);
2     %Example:
3     % cd MITgcm/verification/tutorial_held_suarez_cs/run;
4     % grid_load('./',6,'cube');
5     % cc=[260:2:310]; suf='T'; num=1;
6     % figureL; set(gcf,'Renderer','zbuffer');
7     % for tt=282240:192*30:345600;
8     % fil={sprintf('%s.%010d',suf,tt),num};
9     % mitgcm_plot_held_suarez(fil,cc);
10     % shading interp;
11     % pause(0.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,[],[],1);
28     qwckplot(c.*m); gcmfaces_cmap_cbar(cc);
29     title(fil);
30    

  ViewVC Help
Powered by ViewVC 1.1.22