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

Annotation of /MITgcm/verification/lab_sea/matlab/lookat_exp1.m

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


Revision 1.5 - (hide annotations) (download)
Fri May 23 20:19:16 2003 UTC (21 years ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint50g_post, checkpoint51e_post, checkpoint51b_post, checkpoint51, checkpoint51b_pre, checkpoint51c_post, checkpoint51d_post, checkpoint50h_post, checkpoint51a_post, checkpoint50i_post
Changes since 1.4: +4 -4 lines
checkpoint50g_post
o merged with release1_p17 (pkg/seaice and verification/lab_sea)
  - added SEAICE_MULTILEVEL for 8-category sea-ice thermodynamics
  - LSR sea-ice dynamic solver moved to SouthWest B-grid location and
    made the default because of faster convergence than ADI

1 heimbach 1.2 % need to be in verification/lab_sea/matlab directory
2     % and to specify location of exp1 output
3     cd ../../../verification/lab_sea/matlab
4 dimitri 1.3 exp1_path='../input/exp1/';
5 heimbach 1.2
6     % load monthly-mean SMMR-SSM/I data
7     load SSMI
8    
9     % B-grid latitude for uice and vice
10 dimitri 1.5 Blat=lat-1; Blon=lon-1;
11 heimbach 1.2
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([exp1_path 'AREAtave.0000000010.data'],[20 16 1],1);
18     heff1=readbin([exp1_path 'HEFFtave.0000000010.data'],[20 16 1],1);
19     uice1=readbin([exp1_path 'UICEtave.0000000010.data'],[20 16 1],1);
20     vice1=readbin([exp1_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 dimitri 1.3
36     clf, subplot(321)
37 heimbach 1.2 mypcolor(lon,lat,area1'); caxis([0 1]), colorbar
38     title('Sea-ice concentration')
39 dimitri 1.3 set(gca,'xticklabel',[])
40    
41 heimbach 1.2 subplot(322)
42     mypcolor(lon,lat,area1'-area'); colorbar
43 dimitri 1.5 title('Difference with release1 patch16')
44 dimitri 1.3 set(gca,'xticklabel',[])
45    
46 heimbach 1.2 subplot(323)
47     mypcolor(lon,lat,heff1'); caxis([0 .3]), colorbar
48     title('Effective sea-ice thickness (m)')
49 dimitri 1.3 set(gca,'xticklabel',[])
50    
51 heimbach 1.2 subplot(324)
52     mypcolor(lon,lat,heff1'-heff'); colorbar
53 dimitri 1.5 title('Difference with release1 patch16')
54 dimitri 1.3 set(gca,'xticklabel',[])
55    
56 heimbach 1.2 subplot(325)
57     mypcolor(Blon,Blat,icespeed1'); caxis([0 10]), colorbar
58 dimitri 1.3 hold on, myquiver(Blon,Blat,udir1',vdir1','k');
59 heimbach 1.2 title('Sea-ice velocity (cm/s)')
60 dimitri 1.3
61 heimbach 1.2 subplot(326)
62     mypcolor(Blon,Blat,icespeed1'-icespeed'); colorbar
63     if mmax(abs(udir1-udir)) | mmax(abs(vdir1-vdir))
64 dimitri 1.3 hold on, myquiver(Blon,Blat,udir1'-udir',vdir1'-vdir','k');
65 heimbach 1.2 end
66 dimitri 1.5 title('Difference with release1 patch16')

  ViewVC Help
Powered by ViewVC 1.1.22