1 | % |
---|
2 | clear; |
---|
3 | close all; |
---|
4 | status=load('eof_rossby_jjas_2006_30100.mat','C','L'); |
---|
5 | C=status.C; |
---|
6 | L=status.L; |
---|
7 | clear status; |
---|
8 | |
---|
9 | carte1=C(:,425); |
---|
10 | |
---|
11 | carte=reshape(carte1,25,17); |
---|
12 | carte=carte'; |
---|
13 | |
---|
14 | clear carte1; |
---|
15 | % defintion des lat et lon |
---|
16 | lon=[-30:2.5:30]'; |
---|
17 | lat=[-10:2.5:30]; |
---|
18 | sauvegrads('eof1_spatial_ER30100',carte,[-30 2.5 -10 2.5]); |
---|
19 | |
---|
20 | orient('landscape'); |
---|
21 | subplot(4,2,1); |
---|
22 | for a=1:17; |
---|
23 | for b=1:25; |
---|
24 | if carte(a,b)>0.2; |
---|
25 | carte(a,b)=0.2; |
---|
26 | elseif carte(a,b)<-0.2; |
---|
27 | carte(a,b)=-0.2; |
---|
28 | end; |
---|
29 | end; |
---|
30 | end; |
---|
31 | carte(1,1)=-0.2001; |
---|
32 | carte(1,2)=0.2001; |
---|
33 | |
---|
34 | contour(lon,lat,-carte,[0.02:0.02:0.2],'k'); |
---|
35 | hold on; |
---|
36 | |
---|
37 | [cs,h]=contour(lon,lat,-carte,[0.04:0.04:0.2],'k'); |
---|
38 | clabel(cs,h,'color','k','rotation',0,'fontsize',5); |
---|
39 | |
---|
40 | contour(lon,lat,-carte,[-0.2:0.02:-0.02],'k:'); |
---|
41 | |
---|
42 | [cs,h]=contour(lon,lat,-carte,[-0.2:0.04:-0.04],'k:'); |
---|
43 | clabel(cs,h,'color','k','rotation',0,'fontsize',5); |
---|
44 | |
---|
45 | axis equal; |
---|
46 | axis([-30 30 -10 30]); |
---|
47 | title('EOF1 OLR filtre ER 30-100j','Fontsize',8); |
---|
48 | hold on; |
---|
49 | cartemonde1; |
---|
50 | set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); |
---|
51 | set (gca,'XTick',[-30:10:30],'XTickLabel',['30W';'20W';'10W';' 0';'10E';'20E';'30E'],'fontname','Arial','fontsize',6); |
---|
52 | set (gca,'tickDir','out'); |
---|
53 | |
---|
54 | clear carte1 x y a b carte coco; |
---|
55 | carte1=C(:,424); |
---|
56 | carte=reshape(carte1,25,17); |
---|
57 | carte=carte'; |
---|
58 | |
---|
59 | clear carte1; |
---|
60 | lon=[-30:2.5:30]'; |
---|
61 | lat=[-10:2.5:30]; |
---|
62 | |
---|
63 | sauvegrads('eof2_spatial_ER30100',carte,[-30 2.5 -10 2.5]); |
---|
64 | |
---|
65 | subplot(4,2,3); |
---|
66 | palette; |
---|
67 | for a=1:17; |
---|
68 | for b=1:25; |
---|
69 | if carte(a,b)>0.2; |
---|
70 | carte(a,b)=0.2; |
---|
71 | elseif carte(a,b)<-0.2; |
---|
72 | carte(a,b)=-0.2; |
---|
73 | end; |
---|
74 | end; |
---|
75 | end; |
---|
76 | carte(1,1)=-0.2001; |
---|
77 | carte(1,2)=0.2001; |
---|
78 | |
---|
79 | contour(lon,lat,-carte,[0.02:0.02:0.2],'k'); |
---|
80 | hold on; |
---|
81 | |
---|
82 | [cs,h]=contour(lon,lat,-carte,[0.04:0.04:0.2],'k'); |
---|
83 | clabel(cs,h,'color','k','rotation',0,'fontsize',5); |
---|
84 | |
---|
85 | contour(lon,lat,-carte,[-0.2:0.02:-0.02],'k:'); |
---|
86 | |
---|
87 | [cs,h]=contour(lon,lat,-carte,[-0.2:0.04:-0.04],'k:'); |
---|
88 | clabel(cs,h,'color','k','rotation',0,'fontsize',5); |
---|
89 | axis equal; |
---|
90 | axis([-30 30 -10 30]); |
---|
91 | title('EOF2 OLR filtre ER 30-100j','Fontsize',8); |
---|
92 | hold on; |
---|
93 | cartemonde1; |
---|
94 | set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); |
---|
95 | set (gca,'XTick',[-30:10:30],'XTickLabel',['30W';'20W';'10W';' 0';'10E';'20E';'30E'],'fontname','Arial','fontsize',6); |
---|
96 | set (gca,'tickDir','out'); |
---|
97 | |
---|
98 | vaude=0; |
---|
99 | for a=1:425; |
---|
100 | vaude=vaude+L(a,a); |
---|
101 | end; |
---|
102 | vecteurs=zeros(20,1); |
---|
103 | for a=1:20; |
---|
104 | b=425-(a-1); |
---|
105 | vecteurs(a)=100*(L(b,b)/vaude); |
---|
106 | end; |
---|
107 | x=[1:20]'; |
---|
108 | save('variance_expliquee_filtre_ER_30100j.txt','vecteurs','-ASCII'); |
---|
109 | delete('variance_expliquee_filtre_ER_30100j.txt'); |
---|
110 | |
---|
111 | subplot(4,2,5); |
---|
112 | composite_pluie_ird_rossby30100b; |
---|
113 | composite_olr_ER30100_filtre; |
---|
114 | set (gca,'position',[0.13 0.31 0.385 0.15]) ; |
---|
115 | |
---|
116 | subplot(4,2,7); |
---|
117 | %set (gca,'position',[0.13 0.06 0.335 0.15]); |
---|
118 | time_serie_ER_rossby_30100 |
---|
119 | set (gca,'position',[0.13 0.05 0.335 0.15]) ; |
---|
120 | print('-depsc2','figure_article_serge_30100_bis.eps'); |
---|