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

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

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


Revision 1.5 - (show annotations) (download)
Fri Mar 26 00:40:00 2004 UTC (20 years, 1 month ago) by cnh
Branch: MAIN
CVS Tags: HEAD
Changes since 1.4: +0 -0 lines
FILE REMOVED
These all came back and so we are deleting them again. Fingers crossed!

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 exp1_path='../input/';
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([exp1_path 'AREAtave.0000010950.data'],[20 16 1],1);
14 heff=readbin([exp1_path 'HEFFtave.0000010950.data'],[20 16 1],1);
15 uice=readbin([exp1_path 'UICEtave.0000010950.data'],[20 16 1],1);
16 vice=readbin([exp1_path 'VICEtave.0000010950.data'],[20 16 1],1);
17
18 % compute ice speed and direction
19 udir=0*uice; vdir=0*vice;
20 icespeed=100*sqrt(uice.^2+vice.^2);
21 in=find(icespeed);
22 udir(in)=uice(in)./icespeed(in);
23 vdir(in)=vice(in)./icespeed(in);
24
25 % plot comparison figures
26 clf
27 subplot(221)
28 mypcolor(lon,lat,SSMI(:,:,4)'/100); caxis([0 1]), colorbar
29 title('Observed March sea-ice concentration')
30 subplot(222), mypcolor(lon,lat,area'); caxis([0 1]), colorbar
31 title('Modeled March sea-ice concentration')
32 subplot(223), mypcolor(lon,lat,heff'); caxis([0 1]), colorbar
33 title('Effective thickness in m')
34 subplot(224)
35 mypcolor(Blon,Blat,icespeed'); caxis([0 10]), colorbar
36 hold on,myquiver(Blon,Blat,udir',vdir','k');
37 title('Sea-ice velocity (cm/s)')

  ViewVC Help
Powered by ViewVC 1.1.22