[17] | 1 | % |
---|
| 2 | |
---|
| 3 | % initialisation |
---|
| 4 | close all; |
---|
| 5 | clear; |
---|
| 6 | |
---|
| 7 | % etape 1 :on selectionne les mois d ete (attention aux annees bixestiles!) |
---|
| 8 | % on compile sous forme d'un seul fichier |
---|
| 9 | |
---|
| 10 | uwnd925=zeros(122,49,144,28); |
---|
| 11 | |
---|
| 12 | siz=31+28+31+30+31+1; |
---|
| 13 | sizbis=31+28+31+30+31+30+31+31+30; |
---|
| 14 | ncload('uwnd925.1979.nc'); uwnd925(:,:,:,1)=uwnd(siz:sizbis,1,:,:); clear uwnd; |
---|
| 15 | ncload('uwnd925.1980.nc'); uwnd925(:,:,:,2)=uwnd(siz+1:sizbis+1,1,:,:); clear uwnd; |
---|
| 16 | ncload('uwnd925.1981.nc'); uwnd925(:,:,:,3)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 17 | ncload('uwnd925.1982.nc'); uwnd925(:,:,:,4)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 18 | ncload('uwnd925.1983.nc'); uwnd925(:,:,:,5)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 19 | ncload('uwnd925.1984.nc'); uwnd925(:,:,:,6)=uwnd(siz+1:sizbis+1,1,:,:);clear uwnd; |
---|
| 20 | ncload('uwnd925.1985.nc'); uwnd925(:,:,:,7)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 21 | ncload('uwnd925.1986.nc'); uwnd925(:,:,:,8)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 22 | ncload('uwnd925.1987.nc'); uwnd925(:,:,:,9)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 23 | ncload('uwnd925.1988.nc'); uwnd925(:,:,:,10)=uwnd(siz+1:sizbis+1,1,:,:);clear uwnd; |
---|
| 24 | ncload('uwnd925.1989.nc'); uwnd925(:,:,:,11)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 25 | ncload('uwnd925.1990.nc'); uwnd925(:,:,:,12)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 26 | ncload('uwnd925.1991.nc'); uwnd925(:,:,:,13)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 27 | ncload('uwnd925.1992.nc'); uwnd925(:,:,:,14)=uwnd(siz+1:sizbis+1,1,:,:);clear uwnd; |
---|
| 28 | ncload('uwnd925.1993.nc'); uwnd925(:,:,:,15)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 29 | ncload('uwnd925.1994.nc'); uwnd925(:,:,:,16)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 30 | ncload('uwnd925.1995.nc'); uwnd925(:,:,:,17)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 31 | ncload('uwnd925.1996.nc'); uwnd925(:,:,:,18)=uwnd(siz+1:sizbis+1,1,:,:);clear uwnd; |
---|
| 32 | ncload('uwnd925.1997.nc'); uwnd925(:,:,:,19)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 33 | ncload('uwnd925.1998.nc'); uwnd925(:,:,:,20)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 34 | ncload('uwnd925.1999.nc'); uwnd925(:,:,:,21)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 35 | ncload('uwnd925.2000.nc'); uwnd925(:,:,:,22)=uwnd(siz+1:sizbis+1,1,:,:);clear uwnd; |
---|
| 36 | ncload('uwnd925.2001.nc'); uwnd925(:,:,:,23)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 37 | ncload('uwnd925.2002.nc'); uwnd925(:,:,:,24)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 38 | ncload('uwnd925.2003.nc'); uwnd925(:,:,:,25)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 39 | ncload('uwnd925.2004.nc'); uwnd925(:,:,:,26)=uwnd(siz+1:sizbis+1,1,:,:);clear uwnd; |
---|
| 40 | ncload('uwnd925.2005.nc'); uwnd925(:,:,:,27)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 41 | ncload('uwnd925.2006.nc'); uwnd925(:,:,:,28)=uwnd(siz:sizbis,1,:,:);clear uwnd; |
---|
| 42 | |
---|
| 43 | clear siz1 siz1bis; |
---|
| 44 | |
---|
| 45 | uwnd=permute(uwnd925,[1 4 2 3]); |
---|
| 46 | clear uwnd925; |
---|
| 47 | |
---|
| 48 | %%%%%%%%%%%%%%% FICHIER OLR |
---|
| 49 | % ouverture / lecture du fichier |
---|
[23] | 50 | status=load('eof12_rossby_30100.txt'); |
---|
[24] | 51 | eof12_rossby_30100=status; |
---|
| 52 | clear status; |
---|
[17] | 53 | ind_olr=reshape(eof12_rossby_30100,122,28); |
---|
| 54 | clear eof12_rossby_30100; |
---|
| 55 | |
---|
| 56 | k=122*28; |
---|
| 57 | |
---|
| 58 | % on calcule l ecart type sur la serie entiere de l OLR |
---|
| 59 | ind_olr1=reshape(ind_olr, k,1); |
---|
| 60 | ind_olr2=std(ind_olr1); |
---|
| 61 | clear ind_olr1; |
---|
| 62 | |
---|
| 63 | % intialisation des tableaux |
---|
| 64 | uwnd925_filtre_compomax=NaN*ones(60,31,49,144); |
---|
| 65 | uwnd925_filtre_compomin=NaN*ones(60,31,49,144); |
---|
| 66 | |
---|
| 67 | compteurmax=0; |
---|
| 68 | compteurmin=0; |
---|
| 69 | |
---|
| 70 | % boucle sur les annees |
---|
| 71 | for a=1:28; |
---|
| 72 | clear delta; |
---|
| 73 | delta=zeros(122,1); |
---|
| 74 | % boucle sur les jours : on prepare avant |
---|
| 75 | for b=1:122; |
---|
| 76 | if b>1; |
---|
| 77 | delta(b)=ind_olr(b,a)-ind_olr(b-1,a); |
---|
| 78 | end; |
---|
| 79 | end; |
---|
| 80 | % boucle sur les jours |
---|
| 81 | for b=1:122; |
---|
| 82 | % 1ere condition (laisser une marge de 10) |
---|
| 83 | if (b>20 && b<112); |
---|
| 84 | % cas 1 : max deltas apres negetifs et deltas avant postifs |
---|
| 85 | if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && ind_olr(b,a)>ind_olr2); |
---|
| 86 | compteurmax=compteurmax+1; |
---|
| 87 | uwnd925_filtre_compomax(compteurmax,1,:,:)=uwnd(b-20,a,:,:); |
---|
| 88 | uwnd925_filtre_compomax(compteurmax,2,:,:)=uwnd(b-19,a,:,:); |
---|
| 89 | uwnd925_filtre_compomax(compteurmax,3,:,:)=uwnd(b-18,a,:,:); |
---|
| 90 | uwnd925_filtre_compomax(compteurmax,4,:,:)=uwnd(b-17,a,:,:); |
---|
| 91 | uwnd925_filtre_compomax(compteurmax,5,:,:)=uwnd(b-16,a,:,:); |
---|
| 92 | uwnd925_filtre_compomax(compteurmax,6,:,:)=uwnd(b-15,a,:,:); |
---|
| 93 | uwnd925_filtre_compomax(compteurmax,7,:,:)=uwnd(b-14,a,:,:); |
---|
| 94 | uwnd925_filtre_compomax(compteurmax,8,:,:)=uwnd(b-13,a,:,:); |
---|
| 95 | uwnd925_filtre_compomax(compteurmax,9,:,:)=uwnd(b-12,a,:,:); |
---|
| 96 | uwnd925_filtre_compomax(compteurmax,10,:,:)=uwnd(b-11,a,:,:); |
---|
| 97 | |
---|
| 98 | uwnd925_filtre_compomax(compteurmax,11,:,:)=uwnd(b-10,a,:,:); |
---|
| 99 | uwnd925_filtre_compomax(compteurmax,12,:,:)=uwnd(b-9,a,:,:); |
---|
| 100 | uwnd925_filtre_compomax(compteurmax,13,:,:)=uwnd(b-8,a,:,:); |
---|
| 101 | uwnd925_filtre_compomax(compteurmax,14,:,:)=uwnd(b-7,a,:,:); |
---|
| 102 | uwnd925_filtre_compomax(compteurmax,15,:,:)=uwnd(b-6,a,:,:); |
---|
| 103 | uwnd925_filtre_compomax(compteurmax,16,:,:)=uwnd(b-5,a,:,:); |
---|
| 104 | uwnd925_filtre_compomax(compteurmax,17,:,:)=uwnd(b-4,a,:,:); |
---|
| 105 | uwnd925_filtre_compomax(compteurmax,18,:,:)=uwnd(b-3,a,:,:); |
---|
| 106 | uwnd925_filtre_compomax(compteurmax,19,:,:)=uwnd(b-2,a,:,:); |
---|
| 107 | uwnd925_filtre_compomax(compteurmax,20,:,:)=uwnd(b-1,a,:,:); |
---|
| 108 | |
---|
| 109 | uwnd925_filtre_compomax(compteurmax,21,:,:)=uwnd(b,a,:,:); |
---|
| 110 | uwnd925_filtre_compomax(compteurmax,22,:,:)=uwnd(b+1,a,:,:); |
---|
| 111 | uwnd925_filtre_compomax(compteurmax,23,:,:)=uwnd(b+2,a,:,:); |
---|
| 112 | uwnd925_filtre_compomax(compteurmax,24,:,:)=uwnd(b+3,a,:,:); |
---|
| 113 | uwnd925_filtre_compomax(compteurmax,25,:,:)=uwnd(b+4,a,:,:); |
---|
| 114 | uwnd925_filtre_compomax(compteurmax,26,:,:)=uwnd(b+5,a,:,:); |
---|
| 115 | uwnd925_filtre_compomax(compteurmax,27,:,:)=uwnd(b+6,a,:,:); |
---|
| 116 | uwnd925_filtre_compomax(compteurmax,28,:,:)=uwnd(b+7,a,:,:); |
---|
| 117 | uwnd925_filtre_compomax(compteurmax,29,:,:)=uwnd(b+8,a,:,:); |
---|
| 118 | uwnd925_filtre_compomax(compteurmax,30,:,:)=uwnd(b+9,a,:,:); |
---|
| 119 | uwnd925_filtre_compomax(compteurmax,31,:,:)=uwnd(b+10,a,:,:); |
---|
| 120 | % cas 2 : min deltas apres positifs et deltas avant negatifs |
---|
| 121 | elseif (delta(b+1)>0 && delta(b)>0 && delta(b-1)<0 && delta(b-2)<0 && ind_olr(b,a)<(-ind_olr2)); |
---|
| 122 | compteurmin=compteurmin+1; |
---|
| 123 | |
---|
| 124 | uwnd925_filtre_compomin(compteurmin,1,:,:)=uwnd(b-20,a,:,:); |
---|
| 125 | uwnd925_filtre_compomin(compteurmin,2,:,:)=uwnd(b-19,a,:,:); |
---|
| 126 | uwnd925_filtre_compomin(compteurmin,3,:,:)=uwnd(b-18,a,:,:); |
---|
| 127 | uwnd925_filtre_compomin(compteurmin,4,:,:)=uwnd(b-17,a,:,:); |
---|
| 128 | uwnd925_filtre_compomin(compteurmin,5,:,:)=uwnd(b-16,a,:,:); |
---|
| 129 | uwnd925_filtre_compomin(compteurmin,6,:,:)=uwnd(b-15,a,:,:); |
---|
| 130 | uwnd925_filtre_compomin(compteurmin,7,:,:)=uwnd(b-14,a,:,:); |
---|
| 131 | uwnd925_filtre_compomin(compteurmin,8,:,:)=uwnd(b-13,a,:,:); |
---|
| 132 | uwnd925_filtre_compomin(compteurmin,9,:,:)=uwnd(b-12,a,:,:); |
---|
| 133 | uwnd925_filtre_compomin(compteurmin,10,:,:)=uwnd(b-11,a,:,:); |
---|
| 134 | |
---|
| 135 | uwnd925_filtre_compomin(compteurmin,11,:,:)=uwnd(b-10,a,:,:); |
---|
| 136 | uwnd925_filtre_compomin(compteurmin,12,:,:)=uwnd(b-9,a,:,:); |
---|
| 137 | uwnd925_filtre_compomin(compteurmin,13,:,:)=uwnd(b-8,a,:,:); |
---|
| 138 | uwnd925_filtre_compomin(compteurmin,14,:,:)=uwnd(b-7,a,:,:); |
---|
| 139 | uwnd925_filtre_compomin(compteurmin,15,:,:)=uwnd(b-6,a,:,:); |
---|
| 140 | uwnd925_filtre_compomin(compteurmin,16,:,:)=uwnd(b-5,a,:,:); |
---|
| 141 | uwnd925_filtre_compomin(compteurmin,17,:,:)=uwnd(b-4,a,:,:); |
---|
| 142 | uwnd925_filtre_compomin(compteurmin,18,:,:)=uwnd(b-3,a,:,:); |
---|
| 143 | uwnd925_filtre_compomin(compteurmin,19,:,:)=uwnd(b-2,a,:,:); |
---|
| 144 | uwnd925_filtre_compomin(compteurmin,20,:,:)=uwnd(b-1,a,:,:); |
---|
| 145 | |
---|
| 146 | uwnd925_filtre_compomin(compteurmin,21,:,:)=uwnd(b,a,:,:); |
---|
| 147 | uwnd925_filtre_compomin(compteurmin,22,:,:)=uwnd(b+1,a,:,:); |
---|
| 148 | uwnd925_filtre_compomin(compteurmin,23,:,:)=uwnd(b+2,a,:,:); |
---|
| 149 | uwnd925_filtre_compomin(compteurmin,24,:,:)=uwnd(b+3,a,:,:); |
---|
| 150 | uwnd925_filtre_compomin(compteurmin,25,:,:)=uwnd(b+4,a,:,:); |
---|
| 151 | uwnd925_filtre_compomin(compteurmin,26,:,:)=uwnd(b+5,a,:,:); |
---|
| 152 | uwnd925_filtre_compomin(compteurmin,27,:,:)=uwnd(b+6,a,:,:); |
---|
| 153 | uwnd925_filtre_compomin(compteurmin,28,:,:)=uwnd(b+7,a,:,:); |
---|
| 154 | uwnd925_filtre_compomin(compteurmin,29,:,:)=uwnd(b+8,a,:,:); |
---|
| 155 | uwnd925_filtre_compomin(compteurmin,30,:,:)=uwnd(b+9,a,:,:); |
---|
| 156 | uwnd925_filtre_compomin(compteurmin,31,:,:)=uwnd(b+10,a,:,:); |
---|
| 157 | end; |
---|
| 158 | end; |
---|
| 159 | end; |
---|
| 160 | end; |
---|
| 161 | |
---|
| 162 | % on fait la somme des valeurs de uwnd925_filtreentiel sur le nbre d occurences |
---|
| 163 | % on obtent un tableau de la forme (jours-avant-apres,lon,lat) |
---|
| 164 | uwnd925_filtre_compomin1(:,:,:)=nanmean(uwnd925_filtre_compomin); |
---|
| 165 | clear uwnd925_filtre_compomin; |
---|
| 166 | uwnd925_filtre_compomax1(:,:,:)=nanmean(uwnd925_filtre_compomax); |
---|
| 167 | clear uwnd925_filtre_compomax; |
---|
| 168 | |
---|
| 169 | % etape 1 :on selectionne les mois d ete (attention aux annees bixestiles!) |
---|
| 170 | % on compile sous forme d'un seul fichier |
---|
| 171 | |
---|
| 172 | vwnd925=zeros(122,49,144,28); |
---|
| 173 | |
---|
| 174 | siz=31+28+31+30+31+1; |
---|
| 175 | sizbis=31+28+31+30+31+30+31+31+30; |
---|
| 176 | ncload('vwnd925.1979.nc'); vwnd925(:,:,:,1)=vwnd(siz:sizbis,1,:,:); clear vwnd; |
---|
| 177 | ncload('vwnd925.1980.nc'); vwnd925(:,:,:,2)=vwnd(siz+1:sizbis+1,1,:,:); clear vwnd; |
---|
| 178 | ncload('vwnd925.1981.nc'); vwnd925(:,:,:,3)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 179 | ncload('vwnd925.1982.nc'); vwnd925(:,:,:,4)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 180 | ncload('vwnd925.1983.nc'); vwnd925(:,:,:,5)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 181 | ncload('vwnd925.1984.nc'); vwnd925(:,:,:,6)=vwnd(siz+1:sizbis+1,1,:,:);clear vwnd; |
---|
| 182 | ncload('vwnd925.1985.nc'); vwnd925(:,:,:,7)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 183 | ncload('vwnd925.1986.nc'); vwnd925(:,:,:,8)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 184 | ncload('vwnd925.1987.nc'); vwnd925(:,:,:,9)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 185 | ncload('vwnd925.1988.nc'); vwnd925(:,:,:,10)=vwnd(siz+1:sizbis+1,1,:,:);clear vwnd; |
---|
| 186 | ncload('vwnd925.1989.nc'); vwnd925(:,:,:,11)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 187 | ncload('vwnd925.1990.nc'); vwnd925(:,:,:,12)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 188 | ncload('vwnd925.1991.nc'); vwnd925(:,:,:,13)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 189 | ncload('vwnd925.1992.nc'); vwnd925(:,:,:,14)=vwnd(siz+1:sizbis+1,1,:,:);clear vwnd; |
---|
| 190 | ncload('vwnd925.1993.nc'); vwnd925(:,:,:,15)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 191 | ncload('vwnd925.1994.nc'); vwnd925(:,:,:,16)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 192 | ncload('vwnd925.1995.nc'); vwnd925(:,:,:,17)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 193 | ncload('vwnd925.1996.nc'); vwnd925(:,:,:,18)=vwnd(siz+1:sizbis+1,1,:,:);clear vwnd; |
---|
| 194 | ncload('vwnd925.1997.nc'); vwnd925(:,:,:,19)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 195 | ncload('vwnd925.1998.nc'); vwnd925(:,:,:,20)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 196 | ncload('vwnd925.1999.nc'); vwnd925(:,:,:,21)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 197 | ncload('vwnd925.2000.nc'); vwnd925(:,:,:,22)=vwnd(siz+1:sizbis+1,1,:,:);clear vwnd; |
---|
| 198 | ncload('vwnd925.2001.nc'); vwnd925(:,:,:,23)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 199 | ncload('vwnd925.2002.nc'); vwnd925(:,:,:,24)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 200 | ncload('vwnd925.2003.nc'); vwnd925(:,:,:,25)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 201 | ncload('vwnd925.2004.nc'); vwnd925(:,:,:,26)=vwnd(siz+1:sizbis+1,1,:,:);clear vwnd; |
---|
| 202 | ncload('vwnd925.2005.nc'); vwnd925(:,:,:,27)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 203 | ncload('vwnd925.2006.nc'); vwnd925(:,:,:,28)=vwnd(siz:sizbis,1,:,:);clear vwnd; |
---|
| 204 | |
---|
| 205 | clear siz1 siz1bis; |
---|
| 206 | |
---|
| 207 | vwnd=permute(vwnd925,[1 4 2 3]); |
---|
| 208 | clear vwnd925; |
---|
| 209 | |
---|
| 210 | %%%%%%%%%%%%%% FICHIER OLR |
---|
| 211 | % ouverture / lecture du fichier |
---|
[23] | 212 | status=load('eof12_rossby_30100.txt'); |
---|
[24] | 213 | eof12_rossby_30100=status; |
---|
| 214 | clear status; |
---|
[17] | 215 | ind_olr=reshape(eof12_rossby_30100,122,28); |
---|
| 216 | clear eof12_rossby_30100 |
---|
| 217 | k=122*28; |
---|
| 218 | |
---|
| 219 | % on calcule l ecart type sur la serie entiere de l OLR |
---|
| 220 | ind_olr1=reshape(ind_olr, k,1); |
---|
| 221 | ind_olr2=std(ind_olr1); |
---|
| 222 | clear ind_olr1; |
---|
| 223 | |
---|
| 224 | |
---|
| 225 | % intialisation des tableaux |
---|
| 226 | vwnd925_filtre_compomax=NaN*ones(60,31,49,144); |
---|
| 227 | vwnd925_filtre_compomin=NaN*ones(60,31,49,144); |
---|
| 228 | |
---|
| 229 | compteurmax=0; |
---|
| 230 | compteurmin=0; |
---|
| 231 | |
---|
| 232 | % boucle sur les annees |
---|
| 233 | for a=1:28; |
---|
| 234 | clear delta; |
---|
| 235 | delta=zeros(122,1); |
---|
| 236 | % boucle sur les jours : on prepare avant |
---|
| 237 | for b=1:122; |
---|
| 238 | if b>1; |
---|
| 239 | delta(b)=ind_olr(b,a)-ind_olr(b-1,a); |
---|
| 240 | end; |
---|
| 241 | end; |
---|
| 242 | % boucle sur les jours |
---|
| 243 | for b=1:122; |
---|
| 244 | % 1ere condition (laisser une marge de 10) |
---|
| 245 | if (b>20 && b<112); |
---|
| 246 | % cas 1 : max deltas apres negetifs et deltas avant postifs |
---|
| 247 | if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && ind_olr(b,a)>ind_olr2); |
---|
| 248 | compteurmax=compteurmax+1; |
---|
| 249 | vwnd925_filtre_compomax(compteurmax,1,:,:)=vwnd(b-20,a,:,:); |
---|
| 250 | vwnd925_filtre_compomax(compteurmax,2,:,:)=vwnd(b-19,a,:,:); |
---|
| 251 | vwnd925_filtre_compomax(compteurmax,3,:,:)=vwnd(b-18,a,:,:); |
---|
| 252 | vwnd925_filtre_compomax(compteurmax,4,:,:)=vwnd(b-17,a,:,:); |
---|
| 253 | vwnd925_filtre_compomax(compteurmax,5,:,:)=vwnd(b-16,a,:,:); |
---|
| 254 | vwnd925_filtre_compomax(compteurmax,6,:,:)=vwnd(b-15,a,:,:); |
---|
| 255 | vwnd925_filtre_compomax(compteurmax,7,:,:)=vwnd(b-14,a,:,:); |
---|
| 256 | vwnd925_filtre_compomax(compteurmax,8,:,:)=vwnd(b-13,a,:,:); |
---|
| 257 | vwnd925_filtre_compomax(compteurmax,9,:,:)=vwnd(b-12,a,:,:); |
---|
| 258 | vwnd925_filtre_compomax(compteurmax,10,:,:)=vwnd(b-11,a,:,:); |
---|
| 259 | |
---|
| 260 | vwnd925_filtre_compomax(compteurmax,11,:,:)=vwnd(b-10,a,:,:); |
---|
| 261 | vwnd925_filtre_compomax(compteurmax,12,:,:)=vwnd(b-9,a,:,:); |
---|
| 262 | vwnd925_filtre_compomax(compteurmax,13,:,:)=vwnd(b-8,a,:,:); |
---|
| 263 | vwnd925_filtre_compomax(compteurmax,14,:,:)=vwnd(b-7,a,:,:); |
---|
| 264 | vwnd925_filtre_compomax(compteurmax,15,:,:)=vwnd(b-6,a,:,:); |
---|
| 265 | vwnd925_filtre_compomax(compteurmax,16,:,:)=vwnd(b-5,a,:,:); |
---|
| 266 | vwnd925_filtre_compomax(compteurmax,17,:,:)=vwnd(b-4,a,:,:); |
---|
| 267 | vwnd925_filtre_compomax(compteurmax,18,:,:)=vwnd(b-3,a,:,:); |
---|
| 268 | vwnd925_filtre_compomax(compteurmax,19,:,:)=vwnd(b-2,a,:,:); |
---|
| 269 | vwnd925_filtre_compomax(compteurmax,20,:,:)=vwnd(b-1,a,:,:); |
---|
| 270 | |
---|
| 271 | vwnd925_filtre_compomax(compteurmax,21,:,:)=vwnd(b,a,:,:); |
---|
| 272 | vwnd925_filtre_compomax(compteurmax,22,:,:)=vwnd(b+1,a,:,:); |
---|
| 273 | vwnd925_filtre_compomax(compteurmax,23,:,:)=vwnd(b+2,a,:,:); |
---|
| 274 | vwnd925_filtre_compomax(compteurmax,24,:,:)=vwnd(b+3,a,:,:); |
---|
| 275 | vwnd925_filtre_compomax(compteurmax,25,:,:)=vwnd(b+4,a,:,:); |
---|
| 276 | vwnd925_filtre_compomax(compteurmax,26,:,:)=vwnd(b+5,a,:,:); |
---|
| 277 | vwnd925_filtre_compomax(compteurmax,27,:,:)=vwnd(b+6,a,:,:); |
---|
| 278 | vwnd925_filtre_compomax(compteurmax,28,:,:)=vwnd(b+7,a,:,:); |
---|
| 279 | vwnd925_filtre_compomax(compteurmax,29,:,:)=vwnd(b+8,a,:,:); |
---|
| 280 | vwnd925_filtre_compomax(compteurmax,30,:,:)=vwnd(b+9,a,:,:); |
---|
| 281 | vwnd925_filtre_compomax(compteurmax,31,:,:)=vwnd(b+10,a,:,:); |
---|
| 282 | % cas 2 : min deltas apres positifs et deltas avant negatifs |
---|
| 283 | elseif (delta(b+1)>0 && delta(b)>0 && delta(b-1)<0 && delta(b-2)<0 && ind_olr(b,a)<(-ind_olr2)); |
---|
| 284 | compteurmin=compteurmin+1; |
---|
| 285 | |
---|
| 286 | vwnd925_filtre_compomin(compteurmin,1,:,:)=vwnd(b-20,a,:,:); |
---|
| 287 | vwnd925_filtre_compomin(compteurmin,2,:,:)=vwnd(b-19,a,:,:); |
---|
| 288 | vwnd925_filtre_compomin(compteurmin,3,:,:)=vwnd(b-18,a,:,:); |
---|
| 289 | vwnd925_filtre_compomin(compteurmin,4,:,:)=vwnd(b-17,a,:,:); |
---|
| 290 | vwnd925_filtre_compomin(compteurmin,5,:,:)=vwnd(b-16,a,:,:); |
---|
| 291 | vwnd925_filtre_compomin(compteurmin,6,:,:)=vwnd(b-15,a,:,:); |
---|
| 292 | vwnd925_filtre_compomin(compteurmin,7,:,:)=vwnd(b-14,a,:,:); |
---|
| 293 | vwnd925_filtre_compomin(compteurmin,8,:,:)=vwnd(b-13,a,:,:); |
---|
| 294 | vwnd925_filtre_compomin(compteurmin,9,:,:)=vwnd(b-12,a,:,:); |
---|
| 295 | vwnd925_filtre_compomin(compteurmin,10,:,:)=vwnd(b-11,a,:,:); |
---|
| 296 | |
---|
| 297 | vwnd925_filtre_compomin(compteurmin,11,:,:)=vwnd(b-10,a,:,:); |
---|
| 298 | vwnd925_filtre_compomin(compteurmin,12,:,:)=vwnd(b-9,a,:,:); |
---|
| 299 | vwnd925_filtre_compomin(compteurmin,13,:,:)=vwnd(b-8,a,:,:); |
---|
| 300 | vwnd925_filtre_compomin(compteurmin,14,:,:)=vwnd(b-7,a,:,:); |
---|
| 301 | vwnd925_filtre_compomin(compteurmin,15,:,:)=vwnd(b-6,a,:,:); |
---|
| 302 | vwnd925_filtre_compomin(compteurmin,16,:,:)=vwnd(b-5,a,:,:); |
---|
| 303 | vwnd925_filtre_compomin(compteurmin,17,:,:)=vwnd(b-4,a,:,:); |
---|
| 304 | vwnd925_filtre_compomin(compteurmin,18,:,:)=vwnd(b-3,a,:,:); |
---|
| 305 | vwnd925_filtre_compomin(compteurmin,19,:,:)=vwnd(b-2,a,:,:); |
---|
| 306 | vwnd925_filtre_compomin(compteurmin,20,:,:)=vwnd(b-1,a,:,:); |
---|
| 307 | |
---|
| 308 | vwnd925_filtre_compomin(compteurmin,21,:,:)=vwnd(b,a,:,:); |
---|
| 309 | vwnd925_filtre_compomin(compteurmin,22,:,:)=vwnd(b+1,a,:,:); |
---|
| 310 | vwnd925_filtre_compomin(compteurmin,23,:,:)=vwnd(b+2,a,:,:); |
---|
| 311 | vwnd925_filtre_compomin(compteurmin,24,:,:)=vwnd(b+3,a,:,:); |
---|
| 312 | vwnd925_filtre_compomin(compteurmin,25,:,:)=vwnd(b+4,a,:,:); |
---|
| 313 | vwnd925_filtre_compomin(compteurmin,26,:,:)=vwnd(b+5,a,:,:); |
---|
| 314 | vwnd925_filtre_compomin(compteurmin,27,:,:)=vwnd(b+6,a,:,:); |
---|
| 315 | vwnd925_filtre_compomin(compteurmin,28,:,:)=vwnd(b+7,a,:,:); |
---|
| 316 | vwnd925_filtre_compomin(compteurmin,29,:,:)=vwnd(b+8,a,:,:); |
---|
| 317 | vwnd925_filtre_compomin(compteurmin,30,:,:)=vwnd(b+9,a,:,:); |
---|
| 318 | vwnd925_filtre_compomin(compteurmin,31,:,:)=vwnd(b+10,a,:,:); |
---|
| 319 | end; |
---|
| 320 | end; |
---|
| 321 | end; |
---|
| 322 | end; |
---|
| 323 | |
---|
| 324 | % on fait la somme des valeurs de vwnd925_filtreentiel sur le nbre d occurences |
---|
| 325 | % on obtent un tableau de la forme (jours-avant-apres,lon,lat) |
---|
| 326 | vwnd925_filtre_compomin1(:,:,:)=nanmean(vwnd925_filtre_compomin); |
---|
| 327 | clear vwnd925_filtre_compomin; |
---|
| 328 | vwnd925_filtre_compomax1(:,:,:)=nanmean(vwnd925_filtre_compomax); |
---|
| 329 | clear vwnd925_filtre_compomax; |
---|
| 330 | |
---|
| 331 | figure(1); |
---|
| 332 | orient('landscape'); |
---|
[24] | 333 | status=load('pression_eof12_er30100.mat','pression'); |
---|
| 334 | pression=status; |
---|
| 335 | clear status; |
---|
[17] | 336 | |
---|
| 337 | for e=1:4; |
---|
| 338 | a=4-(e-1)+1; |
---|
| 339 | f=2*(a-1)+1; |
---|
| 340 | |
---|
| 341 | clear delta_uwnd925_filtre_min; |
---|
| 342 | clear delta_vwnd925_filtre_min; |
---|
| 343 | delta_uwnd925_filtre_min=zeros(49,144); |
---|
| 344 | delta_vwnd925_filtre_min=zeros(49,144); |
---|
| 345 | for b=1:49; |
---|
| 346 | for c=1:144; |
---|
| 347 | delta_uwnd925_filtre_min(b,c)=uwnd925_filtre_compomin1(f,b,c)-uwnd925_filtre_compomax1(f,b,c); |
---|
| 348 | delta_vwnd925_filtre_min(b,c)=vwnd925_filtre_compomin1(f,b,c)-vwnd925_filtre_compomax1(f,b,c); |
---|
| 349 | |
---|
| 350 | end; |
---|
| 351 | end; |
---|
| 352 | subplot(4,1,5-e); |
---|
| 353 | |
---|
| 354 | delta_uwnd925_filtre=zeros(49,144); |
---|
| 355 | delta_vwnd925_filtre=zeros(49,144); |
---|
| 356 | delta_uwnd925_filtre(:,1:72)=delta_uwnd925_filtre_min(:,73:144); |
---|
| 357 | delta_uwnd925_filtre(:,73:144)=delta_uwnd925_filtre_min(:,1:72); |
---|
| 358 | delta_vwnd925_filtre(:,1:72)=delta_vwnd925_filtre_min(:,73:144); |
---|
| 359 | delta_vwnd925_filtre(:,73:144)=delta_vwnd925_filtre_min(:,1:72); |
---|
| 360 | xi=[-180:3.75:176.25]; |
---|
| 361 | xi=xi'; |
---|
| 362 | yi=[-87.1591:3.708895:87.1591]; |
---|
| 363 | clear carteu cartev; |
---|
| 364 | carteu=interp2(lon-180,lat,delta_uwnd925_filtre,xi,yi); |
---|
| 365 | cartev=interp2(lon-180,lat,delta_vwnd925_filtre,xi,yi); |
---|
| 366 | clear coco ; |
---|
| 367 | coco(:,:)=pression(5-e,:,:); |
---|
| 368 | hgt=interp2(lon-180,lat,coco,xi,yi); |
---|
| 369 | palette |
---|
| 370 | aa=contourf(xi,yi,hgt,[-20:2:20],'LineStyle','none'); |
---|
| 371 | hold on; |
---|
| 372 | caxis([-20 20]); |
---|
| 373 | aa=quiver(xi,yi,carteu,cartev,'k'); |
---|
| 374 | if e==1; |
---|
| 375 | set (gca,'XTick',[-60:20:120],'XTickLabel',[' 60W';' 40W';' 20W';' 0 ';' 20E';' 40E';' 60E'; ' 80E';'100E';'120E'],'fontsize',6); |
---|
| 376 | else |
---|
| 377 | set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); |
---|
[26] | 378 | end; |
---|
[17] | 379 | set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); |
---|
| 380 | cartemonde1; |
---|
| 381 | if e==2; |
---|
| 382 | co=colorbar; |
---|
| 383 | set (co,'ytick',[-20:10:20],'yticklabel',[-20:10:20],'fontname','arial','fontsize',6); |
---|
| 384 | end; |
---|
| 385 | set (gca,'tickDir','out'); |
---|
| 386 | axis equal |
---|
| 387 | axis([-60 120 -20 40]); |
---|
| 388 | |
---|
| 389 | if e==4; |
---|
| 390 | title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; |
---|
[26] | 391 | end; |
---|
[17] | 392 | text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); |
---|
| 393 | pos_vert=e/6.1; |
---|
| 394 | % set (gca,'position',[0.2 pos_vert 0.3 1/6.1]) |
---|
| 395 | set (gca,'position',[0.2 pos_vert 0.4 1/6.1]) |
---|
| 396 | end; |
---|
| 397 | |
---|
[24] | 398 | print('-depsc2','composite_wind925_EOF12_ER30100_part1.eps'); |
---|
[17] | 399 | |
---|
| 400 | figure(2); |
---|
| 401 | orient('landscape'); |
---|
[24] | 402 | status=load('pression_eof12_er30100.mat','pression'); |
---|
| 403 | pression=status; |
---|
| 404 | clear status; |
---|
[17] | 405 | |
---|
| 406 | for e=1:4; |
---|
| 407 | a=4-(e-1)+1+4; |
---|
| 408 | f=2*(a-1)+1; |
---|
| 409 | |
---|
| 410 | clear delta_uwnd925_filtre_min; |
---|
| 411 | clear delta_vwnd925_filtre_min; |
---|
| 412 | delta_uwnd925_filtre_min=zeros(49,144); |
---|
| 413 | delta_vwnd925_filtre_min=zeros(49,144); |
---|
| 414 | for b=1:49; |
---|
| 415 | for c=1:144; |
---|
| 416 | delta_uwnd925_filtre_min(b,c)=uwnd925_filtre_compomin1(f,b,c)-uwnd925_filtre_compomax1(f,b,c); |
---|
| 417 | delta_vwnd925_filtre_min(b,c)=vwnd925_filtre_compomin1(f,b,c)-vwnd925_filtre_compomax1(f,b,c); |
---|
| 418 | |
---|
| 419 | end; |
---|
| 420 | end; |
---|
| 421 | subplot(4,1,5-e); |
---|
| 422 | |
---|
| 423 | delta_uwnd925_filtre=zeros(49,144); |
---|
| 424 | delta_vwnd925_filtre=zeros(49,144); |
---|
| 425 | delta_uwnd925_filtre(:,1:72)=delta_uwnd925_filtre_min(:,73:144); |
---|
| 426 | delta_uwnd925_filtre(:,73:144)=delta_uwnd925_filtre_min(:,1:72); |
---|
| 427 | delta_vwnd925_filtre(:,1:72)=delta_vwnd925_filtre_min(:,73:144); |
---|
| 428 | delta_vwnd925_filtre(:,73:144)=delta_vwnd925_filtre_min(:,1:72); |
---|
| 429 | xi=[-180:3.75:176.25]; |
---|
| 430 | xi=xi'; |
---|
| 431 | yi=[-87.1591:3.708895:87.1591]; |
---|
| 432 | clear carteu cartev; |
---|
| 433 | carteu=interp2(lon-180,lat,delta_uwnd925_filtre,xi,yi); |
---|
| 434 | cartev=interp2(lon-180,lat,delta_vwnd925_filtre,xi,yi); |
---|
| 435 | clear coco ; |
---|
| 436 | coco(:,:)=pression(5-e+4,:,:); |
---|
| 437 | hgt=interp2(lon-180,lat,coco,xi,yi); |
---|
| 438 | palette |
---|
| 439 | aa=contourf(xi,yi,hgt,[-20:2:20],'LineStyle','none'); |
---|
| 440 | caxis([-20 20]); |
---|
| 441 | hold on; |
---|
| 442 | aa=quiver(xi,yi,carteu,cartev,'k'); |
---|
| 443 | if e==1; |
---|
| 444 | set (gca,'XTick',[-60:20:120],'XTickLabel',[' 60W';' 40W';' 20W';' 0 ';' 20E';' 40E';' 60E'; ' 80E';'100E';'120E'],'fontsize',6); |
---|
| 445 | else |
---|
| 446 | set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); |
---|
[26] | 447 | end; |
---|
[17] | 448 | set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); |
---|
| 449 | |
---|
| 450 | cartemonde1; |
---|
| 451 | if e==2; |
---|
| 452 | co=colorbar; |
---|
| 453 | set (co,'ytick',[-20:10:20],'yticklabel',[-20:10:20],'fontname','Arial','fontsize',6); |
---|
| 454 | end; |
---|
| 455 | set (gca,'tickDir','out'); |
---|
| 456 | axis equal |
---|
| 457 | axis([-60 120 -20 40]); |
---|
| 458 | |
---|
| 459 | if e==4; |
---|
| 460 | title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; |
---|
[26] | 461 | end; |
---|
[17] | 462 | text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); |
---|
| 463 | pos_vert=e/6.1; |
---|
| 464 | set (gca,'position',[0.2 pos_vert 0.4 1/6.1]) |
---|
| 465 | end; |
---|
| 466 | |
---|
| 467 | |
---|
[24] | 468 | print('-depsc2','composite_wind925_EOF12_ER30100_part2.eps'); |
---|
[17] | 469 | |
---|
| 470 | figure(3); |
---|
| 471 | orient('landscape'); |
---|
[24] | 472 | status=load('pression_eof12_er30100.mat','pression'); |
---|
| 473 | pression=status; |
---|
| 474 | clear status; |
---|
| 475 | |
---|
[17] | 476 | for e=1:4; |
---|
| 477 | a=4-(e-1)+1+8; |
---|
| 478 | f=2*(a-1)+1; |
---|
| 479 | |
---|
| 480 | clear delta_uwnd925_filtre_min; |
---|
| 481 | clear delta_vwnd925_filtre_min; |
---|
| 482 | delta_uwnd925_filtre_min=zeros(49,144); |
---|
| 483 | delta_vwnd925_filtre_min=zeros(49,144); |
---|
| 484 | for b=1:49; |
---|
| 485 | for c=1:144; |
---|
| 486 | delta_uwnd925_filtre_min(b,c)=uwnd925_filtre_compomin1(f,b,c)-uwnd925_filtre_compomax1(f,b,c); |
---|
| 487 | delta_vwnd925_filtre_min(b,c)=vwnd925_filtre_compomin1(f,b,c)-vwnd925_filtre_compomax1(f,b,c); |
---|
| 488 | |
---|
| 489 | end; |
---|
| 490 | end; |
---|
| 491 | subplot(4,1,5-e); |
---|
| 492 | |
---|
| 493 | delta_uwnd925_filtre=zeros(49,144); |
---|
| 494 | delta_vwnd925_filtre=zeros(49,144); |
---|
| 495 | delta_uwnd925_filtre(:,1:72)=delta_uwnd925_filtre_min(:,73:144); |
---|
| 496 | delta_uwnd925_filtre(:,73:144)=delta_uwnd925_filtre_min(:,1:72); |
---|
| 497 | delta_vwnd925_filtre(:,1:72)=delta_vwnd925_filtre_min(:,73:144); |
---|
| 498 | delta_vwnd925_filtre(:,73:144)=delta_vwnd925_filtre_min(:,1:72); |
---|
| 499 | xi=[-180:3.75:176.25]; |
---|
| 500 | xi=xi'; |
---|
| 501 | yi=[-87.1591:3.708895:87.1591]; |
---|
| 502 | clear carteu cartev; |
---|
| 503 | carteu=interp2(lon-180,lat,delta_uwnd925_filtre,xi,yi); |
---|
| 504 | cartev=interp2(lon-180,lat,delta_vwnd925_filtre,xi,yi); |
---|
| 505 | clear coco ; |
---|
| 506 | coco(:,:)=pression(5-e+8,:,:); |
---|
| 507 | hgt=interp2(lon-180,lat,coco,xi,yi); |
---|
| 508 | palette |
---|
| 509 | aa=contourf(xi,yi,hgt,[-20:2:20],'LineStyle','none'); |
---|
| 510 | caxis([-20 20]); |
---|
| 511 | hold on; |
---|
| 512 | aa=quiver(xi,yi,carteu,cartev,'k'); |
---|
| 513 | if e==1; |
---|
| 514 | set (gca,'XTick',[-60:20:120],'XTickLabel',[' 60W';' 40W';' 20W';' 0 ';' 20E';' 40E';' 60E'; ' 80E';'100E';'120E'],'fontsize',6); |
---|
| 515 | else |
---|
| 516 | set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); |
---|
[26] | 517 | end; |
---|
[17] | 518 | set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); |
---|
| 519 | |
---|
| 520 | cartemonde1; |
---|
| 521 | if e==2; |
---|
| 522 | co=colorbar; |
---|
| 523 | set (co,'ytick',[-20:10:20],'yticklabel',[-20:10:20],'fontname','Arial','fontsize',6); |
---|
| 524 | end; |
---|
| 525 | set (gca,'tickDir','out'); |
---|
| 526 | axis equal |
---|
| 527 | axis([-60 120 -20 40]); |
---|
| 528 | |
---|
| 529 | if e==4; |
---|
| 530 | title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; |
---|
[26] | 531 | end; |
---|
[17] | 532 | text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); |
---|
| 533 | pos_vert=e/6.1; |
---|
| 534 | set (gca,'position',[0.2 pos_vert 0.4 1/6.1]) |
---|
| 535 | end; |
---|
| 536 | |
---|
| 537 | |
---|
[24] | 538 | print('-depsc2','composite_wind925_EOF12_ER30100_part3.eps'); |
---|
[17] | 539 | |
---|
| 540 | figure(4); |
---|
| 541 | orient('landscape'); |
---|
[24] | 542 | status=load('pression_eof12_er30100.mat','pression'); |
---|
| 543 | pression=status; |
---|
| 544 | clear status; |
---|
[17] | 545 | for e=1:4; |
---|
| 546 | a=4-(e-1)+1+10; |
---|
| 547 | f=2*(a-1)+1; |
---|
| 548 | |
---|
| 549 | clear delta_uwnd925_filtre_min; |
---|
| 550 | clear delta_vwnd925_filtre_min; |
---|
| 551 | delta_uwnd925_filtre_min=zeros(49,144); |
---|
| 552 | delta_vwnd925_filtre_min=zeros(49,144); |
---|
| 553 | for b=1:49; |
---|
| 554 | for c=1:144; |
---|
| 555 | delta_uwnd925_filtre_min(b,c)=uwnd925_filtre_compomin1(f,b,c)-uwnd925_filtre_compomax1(f,b,c); |
---|
| 556 | delta_vwnd925_filtre_min(b,c)=vwnd925_filtre_compomin1(f,b,c)-vwnd925_filtre_compomax1(f,b,c); |
---|
| 557 | |
---|
| 558 | end; |
---|
| 559 | end; |
---|
| 560 | subplot(4,1,5-e); |
---|
| 561 | |
---|
| 562 | delta_uwnd925_filtre=zeros(49,144); |
---|
| 563 | delta_vwnd925_filtre=zeros(49,144); |
---|
| 564 | delta_uwnd925_filtre(:,1:72)=delta_uwnd925_filtre_min(:,73:144); |
---|
| 565 | delta_uwnd925_filtre(:,73:144)=delta_uwnd925_filtre_min(:,1:72); |
---|
| 566 | delta_vwnd925_filtre(:,1:72)=delta_vwnd925_filtre_min(:,73:144); |
---|
| 567 | delta_vwnd925_filtre(:,73:144)=delta_vwnd925_filtre_min(:,1:72); |
---|
| 568 | xi=[-180:3.75:176.25]; |
---|
| 569 | xi=xi'; |
---|
| 570 | yi=[-87.1591:3.708895:87.1591]; |
---|
| 571 | clear carteu cartev; |
---|
| 572 | carteu=interp2(lon-180,lat,delta_uwnd925_filtre,xi,yi); |
---|
| 573 | cartev=interp2(lon-180,lat,delta_vwnd925_filtre,xi,yi); |
---|
| 574 | clear coco ; |
---|
| 575 | coco(:,:)=pression(5-e+10,:,:); |
---|
| 576 | hgt=interp2(lon-180,lat,coco,xi,yi); |
---|
| 577 | palette |
---|
| 578 | aa=contourf(xi,yi,hgt,[-20:2:20],'LineStyle','none'); |
---|
| 579 | caxis([-20 20]); |
---|
| 580 | hold on; |
---|
| 581 | aa=quiver(xi,yi,carteu,cartev,'k'); |
---|
| 582 | if e==1; |
---|
| 583 | set (gca,'XTick',[-60:20:120],'XTickLabel',[' 60W';' 40W';' 20W';' 0 ';' 20E';' 40E';' 60E'; ' 80E';'100E';'120E'],'fontsize',6); |
---|
| 584 | else |
---|
| 585 | set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); |
---|
[26] | 586 | end; |
---|
[17] | 587 | set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); |
---|
| 588 | |
---|
| 589 | cartemonde1; |
---|
| 590 | if e==2; |
---|
| 591 | co=colorbar; |
---|
| 592 | set (co,'ytick',[-20:10:20],'yticklabel',[-20:10:20],'fontname','Arial','fontsize',6); |
---|
| 593 | end; |
---|
| 594 | set (gca,'tickDir','out'); |
---|
| 595 | axis equal |
---|
| 596 | axis([-60 120 -20 40]); |
---|
| 597 | |
---|
| 598 | if e==4; |
---|
| 599 | title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; |
---|
[26] | 600 | end; |
---|
[17] | 601 | text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); |
---|
| 602 | pos_vert=e/6.1; |
---|
| 603 | set (gca,'position',[0.2 pos_vert 0.4 1/6.1]) |
---|
| 604 | end; |
---|
| 605 | |
---|
[24] | 606 | print('-depsc2','composite_wind925_EOF12_ER30100_part4.eps'); |
---|