source: issm/oecreview/Archive/26740-27031/ISSM-26962-26963.diff

Last change on this file was 27032, checked in by Mathieu Morlighem, 3 years ago

CHG: added 26740-27031

File size: 1.8 KB
RevLine 
[27032]1Index: ../trunk-jpl/test/MITgcm/tools/lookat_4004.m
2===================================================================
3--- ../trunk-jpl/test/MITgcm/tools/lookat_4004.m (revision 26962)
4+++ ../trunk-jpl/test/MITgcm/tools/lookat_4004.m (revision 26963)
5@@ -7,8 +7,8 @@
6 subplot(5,1,ts+1), mypcolor(r2-r1); colorbar
7 end
8
9-figure(2), orient tall, wysiwyg
10 for ts=1:5
11+ figure(ts+1), clf, orient tall, wysiwyg
12 e=readbin([pn 'Eta.' myint2str(ts,10) '.data'],[3 200]);
13 p=readbin([pn 'PHL.' myint2str(ts,10) '.data'],[3 200]);
14 f=readbin([pn 'SHICE_fwFlux.' myint2str(ts,10) '.data'],[3 200]);
15@@ -19,5 +19,21 @@
16 subplot(513), mypcolor(f); title('SHICE fwFlux'), colorbar
17 subplot(514), mypcolor(h); title('SHICE heatFlux'), colorbar
18 subplot(515), mypcolor(1:200,-1:-1:-90,squeeze(ph(2,:,:))'); title('PH'), colorbar
19- pause
20 end
21+
22+for ts=0:5
23+ figure(ts+7), clf, orient tall, wysiwyg
24+ s =readbin([pn 'S.' myint2str(ts,10) '.data'],[3 200 90]);
25+ t =readbin([pn 'T.' myint2str(ts,10) '.data'],[3 200 90]);
26+ u =readbin([pn 'U.' myint2str(ts,10) '.data'],[3 200 90]);
27+ v =readbin([pn 'V.' myint2str(ts,10) '.data'],[3 200 90]);
28+ w =readbin([pn 'W.' myint2str(ts,10) '.data'],[3 200 90]);
29+ in=find(~s); s(in)=nan; t(in)=nan;
30+ clf, subplot(711), mypcolor(r1); title(['draft @ ts=' int2str(ts)]), colorbar
31+ subplot(712), mypcolor(r2-r1); title('draft change'), colorbar
32+ subplot(713), pcolorcen(1:200,-1:-1:-90,squeeze(s(2,:,:))'); title('S'), colorbar
33+ subplot(714), pcolorcen(1:200,-1:-1:-90,squeeze(t(2,:,:))'); title('T'), colorbar
34+ subplot(715), pcolorcen(1:200,-1:-1:-90,squeeze(u(2,:,:))'); title('U'), colorbar
35+ subplot(716), pcolorcen(1:200,-1:-1:-90,squeeze(v(2,:,:))'); title('V'), colorbar
36+ subplot(717), pcolorcen(1:200,-1:-1:-90,squeeze(w(2,:,:))'); title('W'), colorbar
37+end
Note: See TracBrowser for help on using the repository browser.