[17] | 1 | % |
---|
| 2 | |
---|
| 3 | % initialisation |
---|
| 4 | clear; |
---|
| 5 | close all; |
---|
| 6 | |
---|
| 7 | ncload('olr.day.mean.nc'); |
---|
[22] | 8 | |
---|
[17] | 9 | % taille 12327x73x144 1er juin 1974-31 decembre2007 |
---|
| 10 | % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 |
---|
| 11 | % on enleve les annees 2007 a 2008 nombre de jours a enlever au debut 12327-(365+60) |
---|
| 12 | |
---|
| 13 | debut=214+365+366+365+365; |
---|
| 14 | fin=12327-(365+60); |
---|
| 15 | olr=olr(debut:fin,21:41,:); |
---|
| 16 | siz=fin-debut+1; |
---|
| 17 | for a=1:21; |
---|
| 18 | for b=1:144; |
---|
| 19 | for c=1:siz; |
---|
| 20 | if olr(c,a,b)==32766; |
---|
| 21 | olr(c,a,b)=NaN; |
---|
| 22 | end; |
---|
| 23 | end ; |
---|
| 24 | end; |
---|
| 25 | end; |
---|
| 26 | olr=olr*0.01+327.65; |
---|
| 27 | olr1=zeros(siz,21,144); |
---|
| 28 | olr1(:,:,1:72)=olr(:,:,73:144); |
---|
| 29 | olr1(:,:,73:144)=olr(:,:,1:72); |
---|
| 30 | clear olr; |
---|
| 31 | |
---|
| 32 | % on permture le temps et l'espce |
---|
| 33 | % nouvelles dimentions |
---|
| 34 | % 21 144 siz |
---|
| 35 | olr1=permute(olr1, [2 3 1]); |
---|
| 36 | |
---|
| 37 | for a=1:21; |
---|
| 38 | for b=1:144; |
---|
| 39 | clear vecteur |
---|
| 40 | vecteur=zeros(siz,1); |
---|
| 41 | for c=1:siz; |
---|
| 42 | vecteur(c)=olr1(a,b,c); |
---|
[26] | 43 | end; |
---|
[17] | 44 | std_c=nanmean(vecteur); |
---|
| 45 | for c=1:siz; |
---|
| 46 | olr1(a,b,c)=olr1(a,b,c)-std_c; |
---|
[26] | 47 | end; |
---|
| 48 | end; |
---|
[17] | 49 | end; |
---|
| 50 | |
---|
| 51 | % on met sous la forme longitude latitude jour |
---|
| 52 | |
---|
| 53 | % on selectionne les mois d ete (attention aux annees bixestiles!) |
---|
| 54 | |
---|
| 55 | siz1=31+28+31+30+31+1; |
---|
| 56 | siz1bis=31+28+31+30+31+30+31+31+30; |
---|
| 57 | a=siz1bis-siz1;olr=zeros(21,144,122,28); |
---|
| 58 | siz2=siz1+366; siz2bis=siz2+a; % 1980 |
---|
| 59 | siz3=siz2+365; siz3bis=siz3+a; % 1981 |
---|
| 60 | siz4=siz3+365; siz4bis=siz4+a; % 1982 |
---|
| 61 | siz5=siz4+365; siz5bis=siz5+a; % 1983 |
---|
| 62 | siz6=siz5+366; siz6bis=siz6+a; % 1984 |
---|
| 63 | siz7=siz6+365; siz7bis=siz7+a; % 1985 |
---|
| 64 | siz8=siz7+365; siz8bis=siz8+a; % 1986 |
---|
| 65 | siz9=siz8+365; siz9bis=siz9+a; % 1987 |
---|
| 66 | siz10=siz9+366; siz10bis=siz10+a; % 1988 |
---|
| 67 | siz11=siz10+365; siz11bis=siz11+a; % 1989 |
---|
| 68 | siz12=siz11+365; siz12bis=siz12+a; % 1990 |
---|
| 69 | siz13=siz12+365; siz13bis=siz13+a; % 1991 |
---|
| 70 | siz14=siz13+366; siz14bis=siz14+a; % 1992 |
---|
| 71 | siz15=siz14+365; siz15bis=siz15+a; % 1993 |
---|
| 72 | siz16=siz15+365; siz16bis=siz16+a; % 1994 |
---|
| 73 | siz17=siz16+365; siz17bis=siz17+a; % 1995 |
---|
| 74 | siz18=siz17+366; siz18bis=siz18+a; % 1996 |
---|
| 75 | siz19=siz18+365; siz19bis=siz19+a; % 1997 |
---|
| 76 | siz20=siz19+365; siz20bis=siz20+a; % 1998 |
---|
| 77 | siz21=siz20+365; siz21bis=siz21+a; % 1999 |
---|
| 78 | siz22=siz21+366; siz22bis=siz22+a; % 2000 |
---|
| 79 | siz23=siz22+365; siz23bis=siz23+a; % 2000 |
---|
| 80 | siz24=siz23+365; siz24bis=siz24+a; % 2000 |
---|
| 81 | siz25=siz24+365; siz25bis=siz25+a; % 2000 |
---|
| 82 | siz26=siz25+366; siz26bis=siz26+a; % 2000 |
---|
| 83 | siz27=siz26+365; siz27bis=siz27+a; % 2000 |
---|
| 84 | siz28=siz27+365; siz28bis=siz28+a; % 2000 |
---|
| 85 | |
---|
| 86 | olr(:,:,:,1)=olr1(:,:,siz1:siz1bis); % 1979 |
---|
| 87 | olr(:,:,:,2)=olr1(:,:,siz2:siz2bis); % 1980 |
---|
| 88 | olr(:,:,:,3)=olr1(:,:,siz3:siz3bis); % 1981 |
---|
| 89 | olr(:,:,:,4)=olr1(:,:,siz4:siz4bis); % 1982 |
---|
| 90 | olr(:,:,:,5)=olr1(:,:,siz5:siz5bis); % 1983 |
---|
| 91 | olr(:,:,:,6)=olr1(:,:,siz6:siz6bis); % 1984 |
---|
| 92 | olr(:,:,:,7)=olr1(:,:,siz7:siz7bis); % 1985 |
---|
| 93 | olr(:,:,:,8)=olr1(:,:,siz8:siz8bis); % 1986 |
---|
| 94 | olr(:,:,:,9)=olr1(:,:,siz9:siz9bis); % 1987 |
---|
| 95 | olr(:,:,:,10)=olr1(:,:,siz10:siz10bis); % 1988 |
---|
| 96 | olr(:,:,:,11)=olr1(:,:,siz11:siz11bis); % 1989 |
---|
| 97 | olr(:,:,:,12)=olr1(:,:,siz12:siz12bis); % 1990 |
---|
| 98 | olr(:,:,:,13)=olr1(:,:,siz13:siz13bis); % 1991 |
---|
| 99 | olr(:,:,:,14)=olr1(:,:,siz14:siz14bis); % 1992 |
---|
| 100 | olr(:,:,:,15)=olr1(:,:,siz15:siz15bis); % 1993 |
---|
| 101 | olr(:,:,:,16)=olr1(:,:,siz16:siz16bis); % 1994 |
---|
| 102 | olr(:,:,:,17)=olr1(:,:,siz17:siz17bis); % 1995 |
---|
| 103 | olr(:,:,:,18)=olr1(:,:,siz18:siz18bis); % 1996 |
---|
| 104 | olr(:,:,:,19)=olr1(:,:,siz19:siz19bis); % 1997 |
---|
| 105 | olr(:,:,:,20)=olr1(:,:,siz20:siz20bis); % 1998 |
---|
| 106 | olr(:,:,:,21)=olr1(:,:,siz21:siz21bis); % 1999 |
---|
| 107 | olr(:,:,:,22)=olr1(:,:,siz22:siz22bis); % 2000 |
---|
| 108 | olr(:,:,:,23)=olr1(:,:,siz23:siz23bis); % 2001 |
---|
| 109 | olr(:,:,:,24)=olr1(:,:,siz24:siz24bis); % 2002 |
---|
| 110 | olr(:,:,:,25)=olr1(:,:,siz25:siz25bis); % 2003 |
---|
| 111 | olr(:,:,:,26)=olr1(:,:,siz26:siz26bis); % 2004 |
---|
| 112 | olr(:,:,:,27)=olr1(:,:,siz27:siz27bis); % 2005 |
---|
| 113 | olr(:,:,:,28)=olr1(:,:,siz28:siz28bis); % 2006 |
---|
| 114 | |
---|
| 115 | clear siz1 siz1bis; |
---|
| 116 | clear siz2 siz2bis; |
---|
| 117 | clear siz3 siz3bis; |
---|
| 118 | clear siz4 siz4bis; |
---|
| 119 | clear siz5 siz5bis; |
---|
| 120 | clear siz6 siz6bis; |
---|
| 121 | clear siz7 siz7bis; |
---|
| 122 | clear siz8 siz8bis; |
---|
| 123 | clear siz9 siz9bis; |
---|
| 124 | clear siz10 siz10bis; |
---|
| 125 | clear siz11 siz11bis; |
---|
| 126 | clear siz12 siz12bis; |
---|
| 127 | clear siz13 siz13bis; |
---|
| 128 | clear siz14 siz14bis; |
---|
| 129 | clear siz15 siz15bis; |
---|
| 130 | clear siz16 siz16bis; |
---|
| 131 | clear siz17 siz17bis; |
---|
| 132 | clear siz18 siz18bis; |
---|
| 133 | clear siz19 siz19bis; |
---|
| 134 | clear siz20 siz20bis; |
---|
| 135 | clear siz21 siz21bis; |
---|
| 136 | clear siz22 siz22bis; |
---|
| 137 | clear siz23 siz23bis; |
---|
| 138 | clear siz24 siz24bis; |
---|
| 139 | clear siz25 siz25bis; |
---|
| 140 | clear siz26 siz26bis; |
---|
| 141 | clear siz27 siz27bis; |
---|
| 142 | clear siz28 siz28bis; |
---|
| 143 | |
---|
| 144 | olr1=permute(olr,[3 4 1 2]); |
---|
| 145 | clear olr; |
---|
| 146 | |
---|
[23] | 147 | status=load('eof23_1030.txt'); |
---|
[24] | 148 | eof23_1030=status; |
---|
| 149 | clear status; |
---|
[17] | 150 | % on met sous la forme annee mois |
---|
| 151 | olr_eof=reshape(eof23_1030,122,28); |
---|
| 152 | clear eof23_1030; |
---|
| 153 | |
---|
| 154 | % on calcule l ecart type sur la serie temporelle de l OLR |
---|
| 155 | k=122*28; |
---|
| 156 | olrbis=reshape(olr_eof,k,1); |
---|
| 157 | clear olr_eof; |
---|
| 158 | olr_std=std(olrbis); |
---|
| 159 | olr_moy=mean(olrbis); |
---|
| 160 | |
---|
| 161 | for a=1:3416; |
---|
| 162 | olrbis(a)=(olrbis(a)-olr_moy)/olr_std; |
---|
| 163 | end; |
---|
| 164 | olr_eof=reshape(olrbis,122,28); |
---|
| 165 | clear olrbis; |
---|
| 166 | |
---|
| 167 | % intialisation des tableaux |
---|
| 168 | olr_filtre_compomax=NaN*ones(50,31,21,144); |
---|
| 169 | olr_filtre_compomin=NaN*ones(50,31,21,144); |
---|
| 170 | |
---|
| 171 | compteurmax=0; |
---|
| 172 | compteurmin=0; |
---|
| 173 | |
---|
| 174 | % boucle sur les annees |
---|
| 175 | for a=1:28; |
---|
| 176 | clear delta; |
---|
| 177 | delta=zeros(122,1); |
---|
| 178 | % boucle sur les jours : on prepare avant |
---|
| 179 | for b=1:122; |
---|
| 180 | if b>1; |
---|
| 181 | delta(b)=olr_eof(b,a)-olr_eof(b-1,a); |
---|
| 182 | end; |
---|
| 183 | end; |
---|
| 184 | % boucle sur les jours |
---|
| 185 | for b=1:122; |
---|
| 186 | % 1ere condition (laisser une marge de 10) |
---|
| 187 | if (b>20 && b<112); |
---|
| 188 | % cas 1 : max deltas apres negetifs et deltas avant postifs |
---|
| 189 | if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>1); |
---|
| 190 | compteurmax=compteurmax+1; |
---|
| 191 | olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); |
---|
| 192 | olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); |
---|
| 193 | olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); |
---|
| 194 | olr_filtre_compomax(compteurmax,4,:,:)=olr1(b-17,a,:,:); |
---|
| 195 | olr_filtre_compomax(compteurmax,5,:,:)=olr1(b-16,a,:,:); |
---|
| 196 | olr_filtre_compomax(compteurmax,6,:,:)=olr1(b-15,a,:,:); |
---|
| 197 | olr_filtre_compomax(compteurmax,7,:,:)=olr1(b-14,a,:,:); |
---|
| 198 | olr_filtre_compomax(compteurmax,8,:,:)=olr1(b-13,a,:,:); |
---|
| 199 | olr_filtre_compomax(compteurmax,9,:,:)=olr1(b-12,a,:,:); |
---|
| 200 | olr_filtre_compomax(compteurmax,10,:,:)=olr1(b-11,a,:,:); |
---|
| 201 | |
---|
| 202 | olr_filtre_compomax(compteurmax,11,:,:)=olr1(b-10,a,:,:); |
---|
| 203 | olr_filtre_compomax(compteurmax,12,:,:)=olr1(b-9,a,:,:); |
---|
| 204 | olr_filtre_compomax(compteurmax,13,:,:)=olr1(b-8,a,:,:); |
---|
| 205 | olr_filtre_compomax(compteurmax,14,:,:)=olr1(b-7,a,:,:); |
---|
| 206 | olr_filtre_compomax(compteurmax,15,:,:)=olr1(b-6,a,:,:); |
---|
| 207 | olr_filtre_compomax(compteurmax,16,:,:)=olr1(b-5,a,:,:); |
---|
| 208 | olr_filtre_compomax(compteurmax,17,:,:)=olr1(b-4,a,:,:); |
---|
| 209 | olr_filtre_compomax(compteurmax,18,:,:)=olr1(b-3,a,:,:); |
---|
| 210 | olr_filtre_compomax(compteurmax,19,:,:)=olr1(b-2,a,:,:); |
---|
| 211 | olr_filtre_compomax(compteurmax,20,:,:)=olr1(b-1,a,:,:); |
---|
| 212 | |
---|
| 213 | olr_filtre_compomax(compteurmax,21,:,:)=olr1(b,a,:,:); |
---|
| 214 | olr_filtre_compomax(compteurmax,22,:,:)=olr1(b+1,a,:,:); |
---|
| 215 | olr_filtre_compomax(compteurmax,23,:,:)=olr1(b+2,a,:,:); |
---|
| 216 | olr_filtre_compomax(compteurmax,24,:,:)=olr1(b+3,a,:,:); |
---|
| 217 | olr_filtre_compomax(compteurmax,25,:,:)=olr1(b+4,a,:,:); |
---|
| 218 | olr_filtre_compomax(compteurmax,26,:,:)=olr1(b+5,a,:,:); |
---|
| 219 | olr_filtre_compomax(compteurmax,27,:,:)=olr1(b+6,a,:,:); |
---|
| 220 | olr_filtre_compomax(compteurmax,28,:,:)=olr1(b+7,a,:,:); |
---|
| 221 | olr_filtre_compomax(compteurmax,29,:,:)=olr1(b+8,a,:,:); |
---|
| 222 | olr_filtre_compomax(compteurmax,30,:,:)=olr1(b+9,a,:,:); |
---|
| 223 | olr_filtre_compomax(compteurmax,31,:,:)=olr1(b+10,a,:,:); |
---|
| 224 | % cas 2 : min deltas apres positifs et deltas avant negatifs |
---|
| 225 | elseif (delta(b+1)>0 && delta(b)<0 && olr_eof(b,a)<-1); |
---|
| 226 | compteurmin=compteurmin+1; |
---|
| 227 | |
---|
| 228 | olr_filtre_compomin(compteurmin,1,:,:)=olr1(b-20,a,:,:); |
---|
| 229 | olr_filtre_compomin(compteurmin,2,:,:)=olr1(b-19,a,:,:); |
---|
| 230 | olr_filtre_compomin(compteurmin,3,:,:)=olr1(b-18,a,:,:); |
---|
| 231 | olr_filtre_compomin(compteurmin,4,:,:)=olr1(b-17,a,:,:); |
---|
| 232 | olr_filtre_compomin(compteurmin,5,:,:)=olr1(b-16,a,:,:); |
---|
| 233 | olr_filtre_compomin(compteurmin,6,:,:)=olr1(b-15,a,:,:); |
---|
| 234 | olr_filtre_compomin(compteurmin,7,:,:)=olr1(b-14,a,:,:); |
---|
| 235 | olr_filtre_compomin(compteurmin,8,:,:)=olr1(b-13,a,:,:); |
---|
| 236 | olr_filtre_compomin(compteurmin,9,:,:)=olr1(b-12,a,:,:); |
---|
| 237 | olr_filtre_compomin(compteurmin,10,:,:)=olr1(b-11,a,:,:); |
---|
| 238 | |
---|
| 239 | olr_filtre_compomin(compteurmin,11,:,:)=olr1(b-10,a,:,:); |
---|
| 240 | olr_filtre_compomin(compteurmin,12,:,:)=olr1(b-9,a,:,:); |
---|
| 241 | olr_filtre_compomin(compteurmin,13,:,:)=olr1(b-8,a,:,:); |
---|
| 242 | olr_filtre_compomin(compteurmin,14,:,:)=olr1(b-7,a,:,:); |
---|
| 243 | olr_filtre_compomin(compteurmin,15,:,:)=olr1(b-6,a,:,:); |
---|
| 244 | olr_filtre_compomin(compteurmin,16,:,:)=olr1(b-5,a,:,:); |
---|
| 245 | olr_filtre_compomin(compteurmin,17,:,:)=olr1(b-4,a,:,:); |
---|
| 246 | olr_filtre_compomin(compteurmin,18,:,:)=olr1(b-3,a,:,:); |
---|
| 247 | olr_filtre_compomin(compteurmin,19,:,:)=olr1(b-2,a,:,:); |
---|
| 248 | olr_filtre_compomin(compteurmin,20,:,:)=olr1(b-1,a,:,:); |
---|
| 249 | |
---|
| 250 | olr_filtre_compomin(compteurmin,21,:,:)=olr1(b,a,:,:); |
---|
| 251 | olr_filtre_compomin(compteurmin,22,:,:)=olr1(b+1,a,:,:); |
---|
| 252 | olr_filtre_compomin(compteurmin,23,:,:)=olr1(b+2,a,:,:); |
---|
| 253 | olr_filtre_compomin(compteurmin,24,:,:)=olr1(b+3,a,:,:); |
---|
| 254 | olr_filtre_compomin(compteurmin,25,:,:)=olr1(b+4,a,:,:); |
---|
| 255 | olr_filtre_compomin(compteurmin,26,:,:)=olr1(b+5,a,:,:); |
---|
| 256 | olr_filtre_compomin(compteurmin,27,:,:)=olr1(b+6,a,:,:); |
---|
| 257 | olr_filtre_compomin(compteurmin,28,:,:)=olr1(b+7,a,:,:); |
---|
| 258 | olr_filtre_compomin(compteurmin,29,:,:)=olr1(b+8,a,:,:); |
---|
| 259 | olr_filtre_compomin(compteurmin,30,:,:)=olr1(b+9,a,:,:); |
---|
| 260 | olr_filtre_compomin(compteurmin,31,:,:)=olr1(b+10,a,:,:); |
---|
| 261 | end; |
---|
| 262 | end; |
---|
| 263 | end; |
---|
| 264 | end; |
---|
| 265 | % on fait le test de Student |
---|
| 266 | nb_value=min(compteurmin,compteurmax); |
---|
| 267 | student1=zeros(31,21,144); |
---|
| 268 | for a=1:31; |
---|
| 269 | for b=1:21; |
---|
| 270 | for c=1:144; |
---|
| 271 | x=olr_filtre_compomin(1:nb_value,a,b,c); |
---|
| 272 | y=olr_filtre_compomax(1:nb_value,a,b,c); |
---|
| 273 | student1(a,b,c)=ttest(x,y,.2); |
---|
[26] | 274 | end; |
---|
| 275 | end; |
---|
| 276 | end; |
---|
[17] | 277 | |
---|
| 278 | % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences |
---|
| 279 | % on obtent un tableau de la forme (jours-avant-apres,lon,lat) |
---|
| 280 | olr_filtre_compomin1(:,:,:)=nanmean(olr_filtre_compomin); |
---|
| 281 | clear olr_filtre_compomin; |
---|
| 282 | olr_filtre_compomax1(:,:,:)=nanmean(olr_filtre_compomax); |
---|
| 283 | clear olr_filtre_compomax; |
---|
| 284 | |
---|
| 285 | x=[-10:1:10]'; |
---|
| 286 | |
---|
| 287 | figure(1); |
---|
| 288 | orient('landscape'); |
---|
| 289 | |
---|
| 290 | lat=lat(21:41)'; |
---|
| 291 | lon=lon-180; |
---|
| 292 | for e=1:7; |
---|
| 293 | a=7-(e-1)+1; |
---|
| 294 | f=2*(a-1)+1+1; |
---|
| 295 | clear delta_olr_filtre_min; |
---|
| 296 | delta_olr_filtre_min=zeros(21,144); |
---|
| 297 | for b=1:21; |
---|
| 298 | for c=1:144; |
---|
| 299 | delta_olr_filtre_min(b,c)=olr_filtre_compomin1(f,b,c)-olr_filtre_compomax1(f,b,c); |
---|
| 300 | if student1(f,b,c)==1; |
---|
| 301 | delta_olr_filtre_min(b,c)=delta_olr_filtre_min(b,c); |
---|
| 302 | else |
---|
| 303 | % delta_olr_filtre_min(b,c)=NaN; |
---|
| 304 | end; |
---|
| 305 | end; |
---|
| 306 | end; |
---|
| 307 | for b=1:21; |
---|
| 308 | for c=1:144; |
---|
| 309 | if delta_olr_filtre_min(b,c)<-50; |
---|
| 310 | delta_olr_filtre_min(b,c)=-50; |
---|
| 311 | elseif delta_olr_filtre_min(b,c)>50; |
---|
| 312 | delta_olr_filtre_min(b,c)=50; |
---|
| 313 | end; |
---|
| 314 | end; |
---|
[26] | 315 | end; |
---|
[17] | 316 | subplot(7,1,8-e); |
---|
| 317 | palette |
---|
| 318 | delta_olr_filtre_min(1,1)=-50.0001; |
---|
| 319 | delta_olr_filtre_min(1,2)=50.0001; |
---|
| 320 | fin=-30+24*2.5; |
---|
| 321 | |
---|
| 322 | clear fin |
---|
| 323 | fin=-10+16*2.5; |
---|
| 324 | aa=contourf(lon,lat,delta_olr_filtre_min,[-50:5:50],'LineStyle','none'); |
---|
| 325 | delta_olr_filtre_min=flipud(delta_olr_filtre_min); |
---|
| 326 | if e==1; |
---|
| 327 | sauvegrads('composite_olr_eof23_1030_moins6',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 328 | elseif e==2; |
---|
| 329 | sauvegrads('composite_olr_eof23_1030_moins8',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 330 | elseif e==3; |
---|
| 331 | sauvegrads('composite_olr_eof23_1030_moins10',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 332 | elseif e==4; |
---|
| 333 | sauvegrads('composite_olr_eof23_1030_moins12',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 334 | elseif e==5; |
---|
| 335 | sauvegrads('composite_olr_eof23_1030_moins14',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 336 | elseif e==6; |
---|
| 337 | sauvegrads('composite_olr_eof23_1030_moins16',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 338 | else |
---|
| 339 | sauvegrads('composite_olr_eof23_1030_moins18',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 340 | end; |
---|
| 341 | delta_olr_filtre_min=flipud(delta_olr_filtre_min); |
---|
| 342 | if e==1; |
---|
| 343 | set (gca,'XTick',[-180:60:180],'XTickLabel',[' 180';'120W';' 60W';' 0';' 60E';'120E';' 180'],'fontname','Arial','fontsize',6); |
---|
| 344 | else |
---|
| 345 | set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); |
---|
[26] | 346 | end; |
---|
[17] | 347 | set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); |
---|
| 348 | if e==4; |
---|
| 349 | co=colorbar; |
---|
| 350 | set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6); |
---|
| 351 | end; |
---|
| 352 | hold on; |
---|
| 353 | cartemonde1; |
---|
| 354 | set (gca,'tickDir','out'); |
---|
| 355 | axis equal |
---|
| 356 | axis([-180 180 -20 40]); |
---|
| 357 | if e==7; |
---|
| 358 | title('OLR composite EOF23 1030j ITCZ 7.5-12.5 ','fontsize',8) ; |
---|
[26] | 359 | end; |
---|
[17] | 360 | text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); |
---|
| 361 | pos_vert=e/10; |
---|
| 362 | set (gca,'position',[0.2 pos_vert 0.5 0.1]) |
---|
| 363 | end; |
---|
| 364 | |
---|
| 365 | figure(1); |
---|
[24] | 366 | print('-depsc2','composite_olr_EOF23_1030_part1.eps'); |
---|
[17] | 367 | |
---|
| 368 | figure(2); |
---|
| 369 | orient('landscape'); |
---|
| 370 | |
---|
| 371 | for e=1:7; |
---|
| 372 | a=7-(e-1)+1+7; |
---|
| 373 | f=2*(a-1)+1+1; |
---|
| 374 | clear delta_olr_filtre_min; |
---|
| 375 | delta_olr_filtre_min=zeros(21,144); |
---|
| 376 | for b=1:21; |
---|
| 377 | for c=1:144; |
---|
| 378 | delta_olr_filtre_min(b,c)=olr_filtre_compomin1(f,b,c)-olr_filtre_compomax1(f,b,c); |
---|
| 379 | if student1(f,b,c)==1; |
---|
| 380 | delta_olr_filtre_min(b,c)=delta_olr_filtre_min(b,c); |
---|
| 381 | else |
---|
| 382 | % delta_olr_filtre_min(b,c)=NaN; |
---|
| 383 | end; |
---|
| 384 | end; |
---|
| 385 | end; |
---|
| 386 | for b=1:21; |
---|
| 387 | for c=1:144; |
---|
| 388 | if delta_olr_filtre_min(b,c)<-50; |
---|
| 389 | delta_olr_filtre_min(b,c)=-50; |
---|
| 390 | elseif delta_olr_filtre_min(b,c)>50; |
---|
| 391 | delta_olr_filtre_min(b,c)=50; |
---|
| 392 | end; |
---|
| 393 | end; |
---|
[26] | 394 | end; |
---|
[17] | 395 | subplot(7,1,8-e); |
---|
| 396 | palette |
---|
| 397 | delta_olr_filtre_min(1,1)=-50.0001; |
---|
| 398 | delta_olr_filtre_min(1,2)=50.0001; |
---|
| 399 | fin=-30+24*2.5; |
---|
| 400 | |
---|
| 401 | clear fin |
---|
| 402 | fin=-10+16*2.5; |
---|
| 403 | aa=contourf(lon,lat,delta_olr_filtre_min,[-50:5:50],'LineStyle','none'); |
---|
| 404 | delta_olr_filtre_min=flipud(delta_olr_filtre_min); |
---|
| 405 | if e==1; |
---|
| 406 | sauvegrads('composite_olr_eof23_1030_plus8',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 407 | elseif e==2; |
---|
| 408 | sauvegrads('composite_olr_eof23_1030_plus6',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 409 | elseif e==3; |
---|
| 410 | sauvegrads('composite_olr_eof23_1030_plus4',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 411 | elseif e==4; |
---|
| 412 | sauvegrads('composite_olr_eof23_1030_plus2',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 413 | elseif e==5; |
---|
| 414 | sauvegrads('composite_olr_eof23_1030_0',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 415 | elseif e==6; |
---|
| 416 | sauvegrads('composite_olr_eof23_1030_moins2',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
| 417 | else |
---|
| 418 | sauvegrads('composite_olr_eof23_1030_moins4',delta_olr_filtre_min,[-180 2.5 -10 2.5]); |
---|
[26] | 419 | end; |
---|
[17] | 420 | delta_olr_filtre_min=flipud(delta_olr_filtre_min); |
---|
| 421 | |
---|
| 422 | if e==1; |
---|
| 423 | set (gca,'XTick',[-180:60:180],'XTickLabel',[' 180';'120W';' 60W';' 0';' 60E';'120E';' 180'],'fontname','Arial','fontsize',6); |
---|
| 424 | else |
---|
| 425 | set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); |
---|
[26] | 426 | end; |
---|
[17] | 427 | set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); |
---|
| 428 | if e==4; |
---|
| 429 | co=colorbar; |
---|
| 430 | set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6); |
---|
| 431 | end; |
---|
| 432 | hold on; |
---|
| 433 | cartemonde1; |
---|
| 434 | set (gca,'tickDir','out'); |
---|
| 435 | axis equal |
---|
| 436 | axis([-180 180 -20 40]); |
---|
| 437 | if e==7; |
---|
| 438 | title('OLR composite EOF23 1030j ITCZ 7.5-12.5 ','fontsize',8) ; |
---|
[26] | 439 | end; |
---|
[17] | 440 | text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); |
---|
| 441 | pos_vert=e/10; |
---|
| 442 | set (gca,'position',[0.2 pos_vert 0.5 0.1]) |
---|
| 443 | end; |
---|
| 444 | |
---|
| 445 | figure(2); |
---|
[24] | 446 | print('-depsc2','composite_olr_EOF23_1030_part2.eps'); |
---|