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