/[MITgcm]/MITgcm/verification/lab_sea/matlab/lookat_ice.m
ViewVC logotype

Contents of /MITgcm/verification/lab_sea/matlab/lookat_ice.m

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


Revision 1.3 - (show annotations) (download)
Mon Nov 6 20:37:26 2006 UTC (13 years, 6 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint58u_post, checkpoint58w_post, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint60, checkpoint61, checkpoint62, checkpoint63, checkpoint58r_post, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint58x_post, checkpoint58t_post, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint62g, checkpoint62f, checkpoint62e, checkpoint62d, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint61l, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y, HEAD
Changes since 1.2: +1 -1 lines
o modifications to pkg/seaice/growth.F, which change results of
  lab_sea experiment: fixes pertain to melting snow over open water, to
  masking EVAP under sea ice, and to using the correct AREA variable for
  computations of EVAP, PRECIP, HSNOW, and GHEFF

1 % need to be in verification/lab_sea/matlab directory
2 % and to specify location of exp1 output
3 cd ../../../verification/lab_sea/matlab
4 exp_path='../build/';
5
6 % load monthly-mean SMMR-SSM/I data
7 load SSMI
8
9 % B-grid latitude for uice and vice
10 Blat=lat-1; Blon=lon-1;
11
12 % load model output
13 area =readbin('../results/AREAtave.0000000010.data' ,[20 16 1],1);
14 heff =readbin('../results/HEFFtave.0000000010.data' ,[20 16 1],1);
15 uice =readbin('../results/UICEtave.0000000010.data' ,[20 16 1],1);
16 vice =readbin('../results/VICEtave.0000000010.data' ,[20 16 1],1);
17 area1=readbin([exp_path 'AREAtave.0000000010.data'],[20 16 1],1);
18 heff1=readbin([exp_path 'HEFFtave.0000000010.data'],[20 16 1],1);
19 uice1=readbin([exp_path 'UICEtave.0000000010.data'],[20 16 1],1);
20 vice1=readbin([exp_path 'VICEtave.0000000010.data'],[20 16 1],1);
21
22 % compute ice speed and direction
23 udir=0*uice; vdir=0*vice;
24 udir1=0*uice; vdir1=0*vice;
25 icespeed=100*sqrt(uice.^2+vice.^2);
26 in=find(icespeed);
27 udir(in)=uice(in)./icespeed(in);
28 vdir(in)=vice(in)./icespeed(in);
29 icespeed1=100*sqrt(uice1.^2+vice1.^2);
30 in=find(icespeed1);
31 udir1(in)=uice1(in)./icespeed1(in);
32 vdir1(in)=vice1(in)./icespeed1(in);
33
34 % plot comparison figures
35
36 clf, subplot(321)
37 mypcolor(lon,lat,area1'); caxis([0 1]), colorbar
38 title('Sea-ice concentration, this run')
39 set(gca,'xticklabel',[])
40
41 subplot(322)
42 mypcolor(lon,lat,area'); caxis([0 1]), colorbar
43 title('Sea-ice concentration, checkpoint52l')
44 set(gca,'xticklabel',[])
45
46 subplot(323)
47 mypcolor(lon,lat,heff1'); caxis([0 .6]), colorbar
48 title('Effective sea-ice thickness (m), this run')
49 set(gca,'xticklabel',[])
50
51 subplot(324)
52 mypcolor(lon,lat,heff'); caxis([0 .6]), colorbar
53 title('Effective sea-ice thickness (m), checkpoint52l')
54 set(gca,'xticklabel',[])
55
56 subplot(325)
57 mypcolor(Blon,Blat,icespeed1'); caxis([0 12]), colorbar
58 hold on, myquiver(Blon,Blat,udir1',vdir1','k');
59 title('Sea-ice velocity (cm/s), this run')
60
61 subplot(326)
62 mypcolor(Blon,Blat,icespeed'); caxis([0 12]), colorbar
63 hold on, myquiver(Blon,Blat,udir',vdir','k');
64 title('Sea-ice velocity (cm/s), checkpoint52l')

  ViewVC Help
Powered by ViewVC 1.1.22