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