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

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

CHG: added 26740-27031

File size: 1.8 KB
  • TabularUnified ../trunk-jpl/test/MITgcm/tools/lookat_4004.m

     
    77    subplot(5,1,ts+1), mypcolor(r2-r1); colorbar
    88end
    99
    10 figure(2), orient tall, wysiwyg
    1110for ts=1:5
     11    figure(ts+1), clf, orient tall, wysiwyg
    1212    e=readbin([pn 'Eta.' myint2str(ts,10) '.data'],[3 200]);
    1313    p=readbin([pn 'PHL.' myint2str(ts,10) '.data'],[3 200]);
    1414    f=readbin([pn 'SHICE_fwFlux.' myint2str(ts,10) '.data'],[3 200]);
     
    1919    subplot(513), mypcolor(f); title('SHICE fwFlux'), colorbar
    2020    subplot(514), mypcolor(h); title('SHICE heatFlux'), colorbar
    2121    subplot(515), mypcolor(1:200,-1:-1:-90,squeeze(ph(2,:,:))'); title('PH'), colorbar
    22     pause
    2322end
     23
     24for ts=0:5
     25    figure(ts+7), clf, orient tall, wysiwyg
     26    s =readbin([pn 'S.' myint2str(ts,10) '.data'],[3 200 90]);
     27    t =readbin([pn 'T.' myint2str(ts,10) '.data'],[3 200 90]);
     28    u =readbin([pn 'U.' myint2str(ts,10) '.data'],[3 200 90]);
     29    v =readbin([pn 'V.' myint2str(ts,10) '.data'],[3 200 90]);
     30    w =readbin([pn 'W.' myint2str(ts,10) '.data'],[3 200 90]);
     31    in=find(~s); s(in)=nan; t(in)=nan;
     32    clf, subplot(711), mypcolor(r1); title(['draft @ ts=' int2str(ts)]), colorbar
     33    subplot(712), mypcolor(r2-r1); title('draft change'), colorbar
     34    subplot(713), pcolorcen(1:200,-1:-1:-90,squeeze(s(2,:,:))'); title('S'), colorbar
     35    subplot(714), pcolorcen(1:200,-1:-1:-90,squeeze(t(2,:,:))'); title('T'), colorbar
     36    subplot(715), pcolorcen(1:200,-1:-1:-90,squeeze(u(2,:,:))'); title('U'), colorbar
     37    subplot(716), pcolorcen(1:200,-1:-1:-90,squeeze(v(2,:,:))'); title('V'), colorbar
     38    subplot(717), pcolorcen(1:200,-1:-1:-90,squeeze(w(2,:,:))'); title('W'), colorbar
     39end
Note: See TracBrowser for help on using the repository browser.