- Location:
- /trunk/src
- Files:
-
- 1 added
- 196 edited
Legend:
- Unmodified
- Added
- Removed
-
/trunk/src/SIMULS_IRCAAM/anomalies_olr_AFR_1979_2000.m
r20 r30 111 111 olr1(:,:,:,1:64)=olr(:,:,:,65:128); 112 112 olr1(:,:,:,65:128)=olr(:,:,:,1:64); 113 clear olr 113 clear olr; 114 114 olr=olr1; 115 115 clear olr1; … … 120 120 % 122 30 15 24 121 121 olr1=olr(31:122,:,:,:); 122 clear olr 122 clear olr; 123 123 olr(:,:,:)=mean(olr1); 124 124 clear olr1; … … 151 151 figure(2); 152 152 subplot(3,4,a-12); 153 end 153 end; 154 154 for b=1:15; 155 155 for c=1:24; … … 177 177 178 178 figure(1); 179 print -depsc2 anomalies_OLR_1979_2000_simulAFR_part1.eps;179 print('-depsc2','anomalies_OLR_1979_2000_simulAFR_part1.eps'); 180 180 figure(2); 181 print -depsc2 anomalies_OLR_1979_2000_simulAFR_part2.eps;181 print('-depsc2','anomalies_OLR_1979_2000_simulAFR_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_AFR_annuel.m
r20 r30 2 2 3 3 clear; 4 load eof_annuel_AFR.mat; 4 status=load('eof_annuel_AFR.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 5 8 carte1=C(:,360); 6 9 … … 135 138 for a=1:360; 136 139 vaude=vaude+L(a,a); 137 end 140 end; 138 141 vecteurs=zeros(20,1); 139 142 for a=1:20; 140 143 b=360-(a-1); 141 144 vecteurs(a)=100*(L(b,b)/vaude); 142 end 145 end; 143 146 x=[1:20]'; 144 147 … … 149 152 set (gca,'tickDir','out'); 150 153 151 print -depsc2 resultats_eof_AFR_annuel.eps;154 print('-depsc2','resultats_eof_AFR_annuel.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_1030.m
r20 r30 2 2 3 3 clear; 4 load eof_1030_ircaam.mat 4 status=load('eof_1030_ircaam.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 5 8 carte1=C(:,360); 6 9 … … 133 136 for a=1:360; 134 137 vaude=vaude+L(a,a); 135 end 138 end; 136 139 vecteurs=zeros(20,1); 137 140 for a=1:20; 138 141 b=360-(a-1); 139 142 vecteurs(a)=100*(L(b,b)/vaude); 140 end 143 end; 141 144 x=[1:20]'; 142 145 … … 147 150 set (gca,'tickDir','out'); 148 151 149 print -depsc2 resultats_eof_jjas_2006_1030.eps;152 print('-depsc2','resultats_eof_jjas_2006_1030.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_1030_as.m
r20 r30 2 2 3 3 clear; 4 load eof_1030_ircaam_as.mat 4 status=load('eof_1030_ircaam_as.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 5 8 carte1=C(:,360); 6 9 … … 133 136 for a=1:360; 134 137 vaude=vaude+L(a,a); 135 end 138 end; 136 139 vecteurs=zeros(20,1); 137 140 for a=1:20; 138 141 b=360-(a-1); 139 142 vecteurs(a)=100*(L(b,b)/vaude); 140 end 143 end; 141 144 x=[1:20]'; 142 145 … … 147 150 set (gca,'tickDir','out'); 148 151 149 print -depsc2 carte_eof_simuls_AS_1030.eps;152 print('-depsc2','carte_eof_simuls_AS_1030.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_1030_ctl.m
r20 r30 2 2 3 3 clear; 4 load eof_1030_ircaam_ctl.mat 4 status=load('eof_1030_ircaam_ctl.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 5 8 carte1=C(:,360); 6 9 … … 9 12 10 13 clear carte1; 14 15 ncload('rlut_d.CtIV.197106-09.nc','lat','lon'); 16 11 17 % defintion des lat et lon 12 cd('CTL')13 ncload('rlut_d.CtIV.197106-09.nc','lat','lon');14 cd('..');15 18 lon=lon-180; 16 19 lon=lon(54:77); … … 135 138 for a=1:360; 136 139 vaude=vaude+L(a,a); 137 end 140 end; 138 141 vecteurs=zeros(20,1); 139 142 for a=1:20; 140 143 b=360-(a-1); 141 144 vecteurs(a)=100*(L(b,b)/vaude); 142 end 145 end; 143 146 x=[1:20]'; 144 147 … … 149 152 set (gca,'tickDir','out'); 150 153 151 print -depsc2 eof_ircaam_1030_ctl.eps;154 print('-depsc2','eof_ircaam_1030_ctl.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_1030_ctl_clim.m
r20 r30 1 1 % 2 2 clear; 3 load eof_1030_ircaam_ctl_clim.mat 3 status=load('eof_1030_ircaam_ctl_clim.mat','C','L'); 4 C=status.C; 5 L=status.L; 6 clear status; 4 7 carte1=C(:,360); 5 8 … … 8 11 9 12 clear carte1; 13 ncload('rlut_d.CtCl.197106-09.nc','lat','lon'); 14 10 15 % defintion des lat et lon 11 cd('CTL_CLIM')12 ncload('rlut_d.CtCl.197106-09.nc','lat','lon');13 cd('..');14 16 lon=lon-180; 15 17 lon=lon(54:77); … … 134 136 for a=1:360; 135 137 vaude=vaude+L(a,a); 136 end 138 end; 137 139 vecteurs=zeros(20,1); 138 140 for a=1:20; 139 141 b=360-(a-1); 140 142 vecteurs(a)=100*(L(b,b)/vaude); 141 end 143 end; 142 144 x=[1:20]'; 143 145 … … 148 150 set (gca,'tickDir','out'); 149 151 150 print -depsc2 eof_ircaam_1030_ctl_clim.eps;152 print('-depsc2','eof_ircaam_1030_ctl_clim.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_1030_tr.m
r20 r30 2 2 3 3 clear; 4 load eof_1030_ircaam_tr.mat 4 status=load('eof_1030_ircaam_tr.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 5 8 carte1=C(:,360); 6 9 … … 133 136 for a=1:360; 134 137 vaude=vaude+L(a,a); 135 end 138 end; 136 139 vecteurs=zeros(20,1); 137 140 for a=1:20; 138 141 b=360-(a-1); 139 142 vecteurs(a)=100*(L(b,b)/vaude); 140 end 143 end; 141 144 x=[1:20]'; 142 145 … … 147 150 set (gca,'tickDir','out'); 148 151 149 print -depsc2 carte_eof_simuls_TR_1030.eps;152 print('-depsc2','carte_eof_simuls_TR_1030.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_30100.m
r20 r30 2 2 3 3 clear; 4 load eof_30100_ircaam.mat 4 status=load('eof_30100_ircaam.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 5 8 carte1=C(:,360); 6 9 … … 133 136 for a=1:360; 134 137 vaude=vaude+L(a,a); 135 end 138 end; 136 139 vecteurs=zeros(20,1); 137 140 for a=1:20; 138 141 b=360-(a-1); 139 142 vecteurs(a)=100*(L(b,b)/vaude); 140 end 143 end; 141 144 x=[1:20]'; 142 145 … … 147 150 set (gca,'tickDir','out'); 148 151 149 print -depsc2 resultats_eof_jjas_2006_30100.eps;152 print('-depsc2','resultats_eof_jjas_2006_30100.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_30100_as.m
r20 r30 2 2 3 3 clear; 4 load eof_30100_ircaam_as.mat 4 status=load('eof_30100_ircaam_as.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 5 8 carte1=C(:,360); 6 9 … … 133 136 for a=1:360; 134 137 vaude=vaude+L(a,a); 135 end 138 end; 136 139 vecteurs=zeros(20,1); 137 140 for a=1:20; 138 141 b=360-(a-1); 139 142 vecteurs(a)=100*(L(b,b)/vaude); 140 end 143 end; 141 144 x=[1:20]'; 142 145 … … 147 150 set (gca,'tickDir','out'); 148 151 149 print -depsc2 carte_eof_simuls_AS_30100.eps;152 print('-depsc2','carte_eof_simuls_AS_30100.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_30100_ctl.m
r20 r30 2 2 3 3 clear; 4 load eof_30100_ircaam_ctl.mat 4 status=load('eof_30100_ircaam_ctl.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 5 8 carte1=C(:,360); 6 9 … … 9 12 10 13 clear carte1; 14 15 ncload('rlut_d.CtIV.197106-09.nc','lat','lon'); 16 11 17 % defintion des lat et lon 12 cd('CTL')13 ncload('rlut_d.CtIV.197106-09.nc','lat','lon');14 cd('..');15 18 lon=lon-180; 16 19 lon=lon(54:77); … … 135 138 for a=1:360; 136 139 vaude=vaude+L(a,a); 137 end 140 end; 138 141 vecteurs=zeros(20,1); 139 142 for a=1:20; 140 143 b=360-(a-1); 141 144 vecteurs(a)=100*(L(b,b)/vaude); 142 end 145 end; 143 146 x=[1:20]'; 144 147 … … 149 152 set (gca,'tickDir','out'); 150 153 151 print -depsc2 eof_ircaam_30100_ctl.eps;154 print('-depsc2','eof_ircaam_30100_ctl.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_30100_tr.m
r20 r30 2 2 3 3 clear; 4 load eof_30100_ircaam_tr.mat 4 status=load('eof_30100_ircaam_tr.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 5 8 carte1=C(:,360); 6 9 … … 133 136 for a=1:360; 134 137 vaude=vaude+L(a,a); 135 end 138 end; 136 139 vecteurs=zeros(20,1); 137 140 for a=1:20; 138 141 b=360-(a-1); 139 142 vecteurs(a)=100*(L(b,b)/vaude); 140 end 143 end; 141 144 x=[1:20]'; 142 145 … … 147 150 set (gca,'tickDir','out'); 148 151 149 print -depsc2 carte_eof_simuls_TR_30100.eps;152 print('-depsc2','carte_eof_simuls_TR_30100.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_noaa_1_8.m
r20 r30 2 2 3 3 clear; 4 load eof_noaa_annuel_1_8.mat; 4 status=load('eof_noaa_annuel_1_8.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 5 8 carte1=C(:,425); 6 9 … … 145 148 for a=1:425; 146 149 vaude=vaude+L(a,a); 147 end 150 end; 148 151 vecteurs=zeros(20,1); 149 152 for a=1:20; 150 153 b=425-(a-1); 151 154 vecteurs(a)=100*(L(b,b)/vaude); 152 end 155 end; 153 156 x=[1:20]'; 154 157 … … 160 163 set (gca,'tickDir','out'); 161 164 162 print -depsc2 carte_eofs_noaa_annuel_1_8.eps;165 print('-depsc2','carte_eofs_noaa_annuel_1_8.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_noaa_8_28.m
r20 r30 2 2 3 3 clear; 4 load eof_noaa_annuel_8_28.mat; 4 status=load('eof_noaa_annuel_8_28.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 8 5 9 carte1=C(:,425); 6 10 … … 142 146 143 147 subplot(3,2,4); 144 vaude=0 145 for a=1:4 ;25;148 vaude=0; 149 for a=1:425; 146 150 vaude=vaude+L(a,a); 147 end 151 end; 148 152 vecteurs=zeros(20,1); 149 153 for a=1:20; 150 154 b=425-(a-1); 151 155 vecteurs(a)=100*(L(b,b)/vaude); 152 end 156 end; 153 157 x=[1:20]'; 154 158 … … 160 164 set (gca,'tickDir','out'); 161 165 162 print -depsc2 carte_eofs_noaa_annuel_8_28.eps;166 print('-depsc2','carte_eofs_noaa_annuel_8_28.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_olr_noaa_jas.m
r20 r30 2 2 3 3 clear; 4 cd('/usr/temp/seglod/mode_sahelien/') 5 load eof_olr_annuel.mat; 6 cd('/usr/temp/seglod/SIMULS_IRCAAM/') 4 5 status=load('eof_olr_annuel.mat','C','L'); 6 C=status.C; 7 L=status.L; 8 clear status; 9 7 10 carte1=C(:,425); 8 11 … … 146 149 for a=1:425; 147 150 vaude=vaude+L(a,a); 148 end 151 end; 149 152 vecteurs=zeros(20,1); 150 153 for a=1:20; 151 154 b=425-(a-1); 152 155 vecteurs(a)=100*(L(b,b)/vaude); 153 end 156 end; 154 157 x=[1:20]'; 155 158 … … 160 163 set (gca,'tickDir','out'); 161 164 162 print -depsc2 resultats_eof_jjas_2006_1030.eps;165 print('-depsc2','resultats_eof_jjas_2006_1030.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_olr_noaa_jas_20.m
r20 r30 2 2 3 3 clear; 4 load eof_olr_noaa_annuel_jas_1020.mat; 4 status=load('eof_olr_noaa_annuel_jas_1020.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 8 5 9 carte1=C(:,325); 6 10 … … 145 149 for a=1:325; 146 150 vaude=vaude+L(a,a); 147 end 151 end; 148 152 vecteurs=zeros(20,1); 149 153 for a=1:20; 150 154 b=325-(a-1); 151 155 vecteurs(a)=100*(L(b,b)/vaude); 152 end 156 end; 153 157 x=[1:20]'; 154 158 … … 160 164 set (gca,'tickDir','out'); 161 165 162 print -depsc2 carte_eofs_olr_noaa_annuel_20.eps;166 print('-depsc2','carte_eofs_olr_noaa_annuel_20.eps'); -
/trunk/src/SIMULS_IRCAAM/carte_eof_pluie_AFR_annuel.m
r20 r30 2 2 3 3 clear; 4 load eof_pluie_annuel_AFR.mat; 4 status=load('eof_pluie_annuel_AFR.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 8 5 9 carte1=C(:,360); 6 10 … … 133 137 for a=1:360; 134 138 vaude=vaude+L(a,a); 135 end 139 end; 136 140 vecteurs=zeros(20,1); 137 141 for a=1:20; 138 142 b=360-(a-1); 139 143 vecteurs(a)=100*(L(b,b)/vaude); 140 end 144 end; 141 145 x=[1:20]'; 142 146 … … 147 151 set (gca,'tickDir','out'); 148 152 149 print -depsc2 resultats_eof_AFR_annuel.eps;153 print('-depsc2','resultats_eof_AFR_annuel.eps'); -
/trunk/src/SIMULS_IRCAAM/climato_olr_AFR.m
r20 r30 97 97 olr1(:,:,:,1:64)=olr(:,:,:,65:128); 98 98 olr1(:,:,:,65:128)=olr(:,:,:,1:64); 99 clear olr 99 clear olr; 100 100 olr=olr1; 101 101 clear olr1; … … 136 136 axis([-30 30 -10 30]); 137 137 138 print -depsc2 planel_climato_olr.eps138 print('-depsc2','planel_climato_olr.eps'); -
/trunk/src/SIMULS_IRCAAM/climato_olr_CTL.m
r20 r30 4 4 5 5 olr=zeros(122,29,64,128); 6 cd('CTL') 6 7 7 ncload('rlut_d.CtIV.197106-09.nc','rlut'); 8 8 olr(:,1,:,:)=rlut; clear rlut; … … 92 92 olr(:,29,:,:)=rlut; clear rlut; 93 93 94 cd('..')95 96 94 % selction du domaine geographique 97 95 olr1=zeros(122,29,64,128); 98 96 olr1(:,:,:,1:64)=olr(:,:,:,65:128); 99 97 olr1(:,:,:,65:128)=olr(:,:,:,1:64); 100 clear olr 98 clear olr; 101 99 olr=olr1; 102 100 clear olr1; -
/trunk/src/SIMULS_IRCAAM/climato_olr_noaa.m
r20 r30 4 4 clear; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc'); 8 cd('SIMULS_IRCAAM'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 138 137 olr2(:,:)=mean(olr1); 139 138 clear olr1; 140 cd('..'); 139 141 140 ncload('olr.day.mean.nc','lon','lat'); 142 cd('SIMULS_IRCAAM');143 141 144 142 subplot(3,2,3); -
/trunk/src/SIMULS_IRCAAM/composite_hgt500_AFR_eof1_1030.m
r20 r30 5 5 close all; 6 6 7 load hgt500_afr.mat 8 9 cd('GEOPOT_AFR') 7 status=load('hgt500_afr.mat','hgt500'); 8 hgt500=status.hgt500; 9 clear status; 10 10 11 ncload('zg_d.AfNQIVIV.197106-09.nc'); 11 cd('..')12 12 13 13 % selction du domaine geographique … … 38 38 clear hgt2 hgt4; 39 39 40 load eof1_AFR_1030.txt 40 status=load('eof1_AFR_1030.txt'); 41 eof1_AFR_1030=status; 42 clear status; 41 43 42 44 % on met sous la forme annee mois … … 73 75 if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && hgt500_eof(b,a)>(hgt500bis)); 74 76 compteurmax=compteurmax+1; 75 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:);77 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 76 78 hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 77 79 hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); … … 182 184 end; 183 185 end; 184 end 186 end; 185 187 subplot(7,1,8-e); 186 188 palettecomplet … … 196 198 else 197 199 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 198 end 200 end; 199 201 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 200 202 if e==4; 201 203 co=colorbar; 202 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5);204 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5); 203 205 end; 204 206 hold on; … … 208 210 axis([-180 180 20 80]); 209 211 if e==7; 210 title('HGT500 composite EOF1 1030j simulation AFR 211 end 212 title('HGT500 composite EOF1 1030j simulation AFR','fontsize',8) ; 213 end; 212 214 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 213 215 pos_vert=e/10; 214 216 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 215 217 end; 216 print -depsc2 composite_hgt500_afr_eof1_1030a.eps218 print('-depsc2','composite_hgt500_afr_eof1_1030a.eps'); 217 219 218 220 figure(2); … … 237 239 end; 238 240 end; 239 end 241 end; 240 242 subplot(7,1,8-e); 241 243 palettecomplet … … 251 253 else 252 254 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 253 end 255 end; 254 256 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 255 257 if e==4; 256 258 co=colorbar; 257 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5);259 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5); 258 260 end; 259 261 hold on; … … 263 265 axis([-180 180 20 80]); 264 266 if e==7; 265 266 end 267 title('HGT500 composite EOF1 1030j simulation AFR','fontsize',8) ; 268 end; 267 269 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 268 270 pos_vert=e/10; 269 271 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 270 272 end; 271 print -depsc2 composite_hgt500_afr_eof1_1030b.eps273 print('-depsc2','composite_hgt500_afr_eof1_1030b.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_hgt500_AFR_eof1_30100.m
r20 r30 5 5 close all; 6 6 7 load hgt500_afr.mat 8 9 cd('GEOPOT_AFR') 7 status=load('hgt500_afr.mat','hgt500'); 8 hgt500=status.hgt500; 9 clear status; 10 10 11 ncload('zg_d.AfNQIVIV.197106-09.nc'); 11 cd('..')12 12 13 13 % selction du domaine geographique … … 38 38 clear hgt2 hgt4; 39 39 40 load eof1_AFR_30100.txt 40 status=load('eof1_AFR_30100.txt'); 41 eof1_AFR_30100=status; 42 clear status; 41 43 42 44 % on met sous la forme annee mois … … 73 75 if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && hgt500_eof(b,a)>(hgt500bis)); 74 76 compteurmax=compteurmax+1; 75 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:);77 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 76 78 hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 77 79 hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); … … 182 184 end; 183 185 end; 184 end 186 end; 185 187 subplot(7,1,8-e); 186 188 palettecomplet … … 196 198 else 197 199 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 198 end 200 end; 199 201 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 200 202 if e==4; 201 203 co=colorbar; 202 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5);204 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5); 203 205 end; 204 206 hold on; … … 208 210 axis([-180 180 20 80]); 209 211 if e==7; 210 title('HGT500 composite EOF1 30100j simulation AFR 211 end 212 title('HGT500 composite EOF1 30100j simulation AFR','fontsize',8) ; 213 end; 212 214 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 213 215 pos_vert=e/10; 214 216 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 215 217 end; 216 print -depsc2 composite_hgt500_afr_eof1_30100a.eps218 print('-depsc2','composite_hgt500_afr_eof1_30100a.eps'); 217 219 218 220 figure(2); … … 237 239 end; 238 240 end; 239 end 241 end; 240 242 subplot(7,1,8-e); 241 243 palettecomplet … … 251 253 else 252 254 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 253 end 255 end; 254 256 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 255 257 if e==4; 256 258 co=colorbar; 257 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5);259 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5); 258 260 end; 259 261 hold on; … … 263 265 axis([-180 180 20 80]); 264 266 if e==7; 265 266 end 267 title('HGT500 composite EOF1 30100j simulation AFR','fontsize',8) ; 268 end; 267 269 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 268 270 pos_vert=e/10; 269 271 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 270 272 end; 271 print -depsc2 composite_hgt500_afr_eof1_30100b.eps273 print('-depsc2','composite_hgt500_afr_eof1_30100b.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_hgt500_AFR_eof2_1030.m
r20 r30 5 5 close all; 6 6 7 load hgt500_afr.mat; 8 9 cd('GEOPOT_AFR'); 7 status=load('hgt500_afr.mat','hgt500'); 8 hgt500=status.hgt500; 9 clear status; 10 10 11 ncload('zg_d.AfNQIVIV.197106-09.nc'); 11 cd('..');12 12 13 13 % selction du domaine geographique … … 38 38 clear hgt2 hgt4; 39 39 40 load eof2_AFR_1030.txt 40 status=load('eof2_AFR_1030.txt'); 41 eof2_AFR_1030=status; 42 clear status; 41 43 42 44 % on met sous la forme annee mois … … 73 75 if (delta(b+1)<0 && delta(b)>0 && hgt500_eof(b,a)>(hgt500bis)); 74 76 compteurmax=compteurmax+1; 75 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:);77 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 76 78 hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 77 79 hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); … … 157 159 y=hgt500_filtre_compomax(1:nb_value,a,b,c); 158 160 student1(a,b,c)=ttest(x,y,.1); 159 end 160 end 161 end 161 end; 162 end; 163 end; 162 164 disp(['iii : compteurmin =', int2str(compteurmin)]); 163 165 disp(['iii : compteurmax =', int2str(compteurmax)]); … … 202 204 end; 203 205 end; 204 end 206 end; 205 207 subplot(7,1,8-e); 206 208 palettecomplet … … 216 218 else 217 219 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 218 end 220 end; 219 221 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 220 222 if e==4; 221 223 co=colorbar; 222 set (co,'ytick',[-50:5:50],'yticklabel',[-50:5:50],'fontname','Arial','fontsize',5);224 set (co,'ytick',[-50:5:50],'yticklabel',[-50:5:50],'fontname','Arial','fontsize',5); 223 225 end; 224 226 hold on; … … 228 230 axis([-180 180 20 80]); 229 231 if e==7; 230 title('HGT500 composite EOF2 1030j simulation AFR 231 end 232 title('HGT500 composite EOF2 1030j simulation AFR','fontsize',8) ; 233 end; 232 234 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 233 235 pos_vert=e/10; 234 236 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 235 237 end; 236 print -depsc2 composite_hgt500_afr_eof2_1030a.eps238 print('-depsc2','composite_hgt500_afr_eof2_1030a.eps'); 237 239 238 240 figure(2); … … 262 264 end; 263 265 end; 264 end 266 end; 265 267 subplot(7,1,8-e); 266 268 palettecomplet … … 276 278 else 277 279 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 278 end 280 end; 279 281 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 280 282 if e==4; 281 283 co=colorbar; 282 set (co,'ytick',[-40:20:40],'yticklabel',[-40:20:40],'fontname','Arial','fontsize',5);284 set (co,'ytick',[-40:20:40],'yticklabel',[-40:20:40],'fontname','Arial','fontsize',5); 283 285 end; 284 286 hold on; … … 288 290 axis([-180 180 20 80]); 289 291 if e==7; 290 291 end 292 title('HGT500 composite EOF2 1030j simulation AFR','fontsize',8) ; 293 end; 292 294 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 293 295 pos_vert=e/10; 294 296 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 295 297 end; 296 print -depsc2 composite_hgt500_afr_eof2_1030b.eps298 print('-depsc2','composite_hgt500_afr_eof2_1030b.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_hgt500_AFR_eof2_1030_min.m
r20 r30 5 5 close all; 6 6 7 load hgt500_afr.mat; 8 9 cd('GEOPOT_AFR'); 7 status=load('hgt500_afr.mat','hgt500'); 8 hgt500=status.hgt500; 9 clear status; 10 10 11 ncload('zg_d.AfNQIVIV.197106-09.nc'); 11 cd('..');12 12 13 13 % selction du domaine geographique … … 38 38 clear hgt2 hgt4; 39 39 40 load eof2_AFR_1030.txt 40 status=load('eof2_AFR_1030.txt'); 41 eof2_AFR_1030=status; 42 clear status; 41 43 42 44 % on met sous la forme annee mois … … 161 163 y=hgt500_filtre_compomax(1:nb_value,a,b,c); 162 164 student1(a,b,c)=ttest(x,y,.1); 163 end 164 end 165 end 165 end; 166 end; 167 end; 166 168 disp(['iii : compteurmin =', int2str(compteurmin)]); 167 169 disp(['iii : compteurmax =', int2str(compteurmax)]); … … 208 210 end; 209 211 end; 210 end 212 end; 211 213 subplot(7,1,8-e); 212 214 palettecomplet … … 222 224 else 223 225 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 224 end 226 end; 225 227 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 226 228 if e==4; 227 229 co=colorbar; 228 set (co,'ytick',[-50:5:50],'yticklabel',[-50:5:50],'fontname','Arial','fontsize',5);230 set (co,'ytick',[-50:5:50],'yticklabel',[-50:5:50],'fontname','Arial','fontsize',5); 229 231 end; 230 232 hold on; … … 234 236 axis([-180 180 20 80]); 235 237 if e==7; 236 title('HGT500 composite EOF2 1030j simulation AFR 237 end 238 title('HGT500 composite EOF2 1030j simulation AFR','fontsize',8) ; 239 end; 238 240 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 239 241 pos_vert=e/10; 240 242 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 241 243 end; 242 print -depsc2 composite_hgt500_afr_eof2_1030a.eps244 print('-depsc2','composite_hgt500_afr_eof2_1030a.eps'); 243 245 244 246 figure(2); … … 270 272 end; 271 273 end; 272 end 274 end; 273 275 subplot(7,1,8-e); 274 276 palettecomplet … … 284 286 else 285 287 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 286 end 288 end; 287 289 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 288 290 if e==4; 289 291 co=colorbar; 290 set (co,'ytick',[-40:20:40],'yticklabel',[-40:20:40],'fontname','Arial','fontsize',5);292 set (co,'ytick',[-40:20:40],'yticklabel',[-40:20:40],'fontname','Arial','fontsize',5); 291 293 end; 292 294 hold on; … … 296 298 axis([-180 180 20 80]); 297 299 if e==7; 298 299 end 300 title('HGT500 composite EOF2 1030j simulation AFR','fontsize',8) ; 301 end; 300 302 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 301 303 pos_vert=e/10; 302 304 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 303 305 end; 304 print -depsc2 composite_hgt500_afr_eof2_1030b.eps306 print('-depsc2','composite_hgt500_afr_eof2_1030b.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_hgt500_AFR_eof2_30100.m
r20 r30 5 5 close all; 6 6 7 load hgt500_afr.mat 8 9 cd('GEOPOT_AFR') 7 status=load('hgt500_afr.mat','hgt500'); 8 hgt500=status.hgt500; 9 clear status; 10 10 11 ncload('zg_d.AfNQIVIV.197106-09.nc'); 11 cd('..')12 12 13 13 % selction du domaine geographique … … 38 38 clear hgt2 hgt4; 39 39 40 load eof2_AFR_30100.txt 40 status=load('eof2_AFR_30100.txt'); 41 eof2_AFR_30100=status; 42 clear status; 41 43 42 44 % on met sous la forme annee mois … … 73 75 if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && hgt500_eof(b,a)>(hgt500bis)); 74 76 compteurmax=compteurmax+1; 75 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:);77 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 76 78 hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 77 79 hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); … … 182 184 end; 183 185 end; 184 end 186 end; 185 187 subplot(7,1,8-e); 186 188 palettecomplet … … 196 198 else 197 199 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 198 end 200 end; 199 201 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 200 202 if e==4; 201 203 co=colorbar; 202 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5);204 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5); 203 205 end; 204 206 hold on; … … 208 210 axis([-180 180 20 80]); 209 211 if e==7; 210 title('HGT500 composite EOF2 30100j simulation AFR','fontsize',8) ;211 end 212 title('HGT500 composite EOF2 30100j simulation AFR','fontsize',8) ; 213 end; 212 214 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 213 215 pos_vert=e/10; 214 216 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 215 217 end; 216 print -depsc2 composite_hgt500_afr_eof2_30100a.eps218 print('-depsc2','composite_hgt500_afr_eof2_30100a.eps'); 217 219 218 220 figure(2); … … 237 239 end; 238 240 end; 239 end 241 end; 240 242 subplot(7,1,8-e); 241 243 palettecomplet … … 251 253 else 252 254 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 253 end 255 end; 254 256 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 255 257 if e==4; 256 258 co=colorbar; 257 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5);259 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5); 258 260 end; 259 261 hold on; … … 263 265 axis([-180 180 20 80]); 264 266 if e==7; 265 266 end 267 title('HGT500 composite EOF2 30100j simulation AFR','fontsize',8) ; 268 end; 267 269 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 268 270 pos_vert=e/10; 269 271 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 270 272 end; 271 print -depsc2 composite_hgt500_afr_eof2_30100b.eps273 print('-depsc2','composite_hgt500_afr_eof2_30100b.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_hgt500_TROP_eof1_1030.m
r20 r30 5 5 close all; 6 6 7 load hgt500_trop.mat 8 9 cd('GEOPOT_TROP') 7 status=load('hgt500_trop.mat','hgt500'); 8 hgt500=status.hgt500; 9 clear status; 10 10 11 ncload('zg_d.TrNQIVIV.197106-09.nc'); 11 cd('..')12 12 13 13 % selction du domaine geographique … … 38 38 clear hgt2 hgt4; 39 39 40 load eof1_TR_1030.txt 40 status=load('eof1_TR_1030.txt'); 41 eof2_TR_1030=status; 42 clear status; 41 43 42 44 % on met sous la forme annee mois … … 73 75 if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && hgt500_eof(b,a)>(hgt500bis)); 74 76 compteurmax=compteurmax+1; 75 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:);77 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 76 78 hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 77 79 hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); … … 182 184 end; 183 185 end; 184 end 186 end; 185 187 subplot(7,1,8-e); 186 188 palettecomplet … … 196 198 else 197 199 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 198 end 200 end; 199 201 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 200 202 if e==4; 201 203 co=colorbar; 202 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6);204 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6); 203 205 end; 204 206 hold on; … … 208 210 axis([-180 180 20 80]); 209 211 if e==7; 210 title('HGT500 composite EOF1 1030j simulation TROP','fontsize',8) ;211 end 212 title('HGT500 composite EOF1 1030j simulation TROP','fontsize',8) ; 213 end; 212 214 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 213 215 pos_vert=e/10; 214 216 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 215 217 end; 216 print -depsc2 composite_hgt500_trop_eof1_1030a.eps218 print('-depsc2','composite_hgt500_trop_eof1_1030a.eps'); 217 219 218 220 figure(2); … … 237 239 end; 238 240 end; 239 end 241 end; 240 242 subplot(7,1,8-e); 241 243 palettecomplet … … 251 253 else 252 254 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 253 end 255 end; 254 256 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 255 257 if e==4; 256 258 co=colorbar; 257 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6);259 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6); 258 260 end; 259 261 hold on; … … 263 265 axis([-180 180 20 80]); 264 266 if e==7; 265 266 end 267 title('HGT500 composite EOF1 1030j simulation TROP','fontsize',8) ; 268 end; 267 269 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 268 270 pos_vert=e/10; 269 271 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 270 272 end; 271 print -depsc2 composite_hgt500_trop_eof1_1030b.eps273 print('-depsc2','composite_hgt500_trop_eof1_1030b.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_hgt500_TROP_eof1_30100.m
r20 r30 5 5 close all; 6 6 7 load hgt500_trop.mat 8 9 cd('GEOPOT_TROP') 7 status=load('hgt500_trop.mat','hgt500'); 8 hgt500=status.hgt500; 9 clear status; 10 10 11 ncload('zg_d.TrNQIVIV.197106-09.nc','lon','lat'); 11 cd('..')12 12 13 13 % selction du domaine geographique … … 38 38 clear hgt2 hgt4; 39 39 40 load eof1_TR_30100.txt 40 status=load('eof1_TR_30100.txt'); 41 eof1_TR_30100=status; 42 clear status; 41 43 42 44 % on met sous la forme annee mois … … 73 75 if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && hgt500_eof(b,a)>(hgt500bis)); 74 76 compteurmax=compteurmax+1; 75 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:);77 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 76 78 hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 77 79 hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); … … 182 184 end; 183 185 end; 184 end 186 end; 185 187 subplot(7,1,8-e); 186 188 palettecomplet … … 196 198 else 197 199 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 198 end 200 end; 199 201 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 200 202 if e==4; 201 203 co=colorbar; 202 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5);204 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5); 203 205 end; 204 206 hold on; … … 208 210 axis([-180 180 20 80]); 209 211 if e==7; 210 title('HGT500 composite EOF1 30100j simulation TROP','fontsize',8) ;211 end 212 title('HGT500 composite EOF1 30100j simulation TROP','fontsize',8) ; 213 end; 212 214 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 213 215 pos_vert=e/10; 214 216 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 215 217 end; 216 print -depsc2 composite_hgt500_trop_eof1_30100a.eps218 print('-depsc2','composite_hgt500_trop_eof1_30100a.eps'); 217 219 218 220 figure(2); … … 237 239 end; 238 240 end; 239 end 241 end; 240 242 subplot(7,1,8-e); 241 243 palettecomplet … … 251 253 else 252 254 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 253 end 255 end; 254 256 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 255 257 if e==4; 256 258 co=colorbar; 257 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5);259 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5); 258 260 end; 259 261 hold on; … … 263 265 axis([-180 180 20 80]); 264 266 if e==7; 265 266 end 267 title('HGT500 composite EOF1 30100j simulation TROP','fontsize',8) ; 268 end; 267 269 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 268 270 pos_vert=e/10; 269 271 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 270 272 end; 271 print -depsc2 composite_hgt500_trop_eof1_30100b.eps273 print('-depsc2','composite_hgt500_trop_eof1_30100b.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_hgt500_TROP_eof2_1030.m
r20 r30 5 5 close all; 6 6 7 load hgt500_trop.mat 8 9 cd('GEOPOT_TROP') 7 status=load('hgt500_trop.mat','hgt500'); 8 hgt500=status.hgt500; 9 clear status; 10 10 11 ncload('zg_d.TrNQIVIV.197106-09.nc'); 11 cd('..')12 12 13 13 % selction du domaine geographique … … 38 38 clear hgt2 hgt4; 39 39 40 load eof2_TR_1030.txt 40 status=load('eof2_TR_1030.txt'); 41 eof2_TR_1030=status; 42 clear status; 41 43 42 44 % on met sous la forme annee mois … … 73 75 if (delta(b+1)<0 && delta(b)>0 && hgt500_eof(b,a)>(hgt500bis)); 74 76 compteurmax=compteurmax+1; 75 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:);77 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 76 78 hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 77 79 hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); … … 182 184 end; 183 185 end; 184 end 186 end; 185 187 subplot(7,1,8-e); 186 188 palettecomplet … … 196 198 else 197 199 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 198 end 200 end; 199 201 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 200 202 if e==4; 201 203 co=colorbar; 202 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6);204 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6); 203 205 end; 204 206 hold on; … … 208 210 axis([-180 180 20 80]); 209 211 if e==7; 210 title('HGT500 composite EOF2 1030j simulation TROP','fontsize',8) ;211 end 212 title('HGT500 composite EOF2 1030j simulation TROP','fontsize',8) ; 213 end; 212 214 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 213 215 pos_vert=e/10; 214 216 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 215 217 end; 216 print -depsc2 composite_hgt500_trop_eof2_1030a.eps218 print('-depsc2','composite_hgt500_trop_eof2_1030a.eps'); 217 219 218 220 figure(2); … … 237 239 end; 238 240 end; 239 end 241 end; 240 242 subplot(7,1,8-e); 241 243 palettecomplet … … 251 253 else 252 254 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 253 end 255 end; 254 256 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 255 257 if e==4; 256 258 co=colorbar; 257 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6);259 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6); 258 260 end; 259 261 hold on; … … 263 265 axis([-180 180 20 80]); 264 266 if e==7; 265 266 end 267 title('HGT500 composite EOF2 1030j simulation TROP','fontsize',8) ; 268 end; 267 269 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 268 270 pos_vert=e/10; 269 271 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 270 272 end; 271 print -depsc2 composite_hgt500_trop_eof2_1030b.eps273 print('-depsc2','composite_hgt500_trop_eof2_1030b.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_hgt500_TROP_eof2_30100.m
r20 r30 5 5 close all; 6 6 7 load hgt500_trop.mat 8 9 cd('GEOPOT_TROP') 7 status=load('hgt500_trop.mat','hgt500'); 8 hgt500=status.hgt500; 9 clear status; 10 10 11 ncload('zg_d.TrNQIVIV.197106-09.nc','lon','lat'); 11 cd('..')12 12 13 13 % selction du domaine geographique … … 38 38 clear hgt2 hgt4; 39 39 40 load eof2_TR_30100.txt 40 status=load('eof2_TR_30100.txt'); 41 eof2_TR_30100=status; 42 clear status; 41 43 42 44 % on met sous la forme annee mois … … 73 75 if (delta(b+1)<0 && delta(b)>0 && hgt500_eof(b,a)>(hgt500bis)); 74 76 compteurmax=compteurmax+1; 75 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:);77 hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 76 78 hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 77 79 hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); … … 182 184 end; 183 185 end; 184 end 186 end; 185 187 subplot(7,1,8-e); 186 188 palettecomplet … … 196 198 else 197 199 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 198 end 200 end; 199 201 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 200 202 if e==4; 201 203 co=colorbar; 202 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5);204 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5); 203 205 end; 204 206 hold on; … … 208 210 axis([-180 180 20 80]); 209 211 if e==7; 210 title('HGT500 composite EOF2 30100j simulation TROP','fontsize',8) ;211 end 212 title('HGT500 composite EOF2 30100j simulation TROP','fontsize',8) ; 213 end; 212 214 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 213 215 pos_vert=e/10; 214 216 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 215 217 end; 216 print -depsc2 composite_hgt500_trop_eof2_30100a.eps218 print('-depsc2','composite_hgt500_trop_eof2_30100a.eps'); 217 219 218 220 figure(2); … … 237 239 end; 238 240 end; 239 end 241 end; 240 242 subplot(7,1,8-e); 241 243 palettecomplet … … 251 253 else 252 254 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 253 end 255 end; 254 256 set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 255 257 if e==4; 256 258 co=colorbar; 257 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5);259 set (co,'ytick',[-80:40:80],'yticklabel',[-80:40:80],'fontname','Arial','fontsize',5); 258 260 end; 259 261 hold on; … … 263 265 axis([-180 180 20 80]); 264 266 if e==7; 265 266 end 267 title('HGT500 composite EOF2 30100j simulation TROP','fontsize',8) ; 268 end; 267 269 text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 268 270 pos_vert=e/10; 269 271 set (gca,'position',[0.2 pos_vert 0.5 0.1]) 270 272 end; 271 print -depsc2 composite_hgt500_trop_eof2_30100b.eps273 print('-depsc2','composite_hgt500_trop_eof2_30100b.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_AFR_eof1_1030.m
r20 r30 91 91 92 92 ncload('rlut_d.AfNQIVIV.200006-09.nc','rlut','lat','lon'); 93 olr(:,29,:,:)=rlut; 94 clear rlut; 93 olr(:,29,:,:)=rlut; clear rlut; 95 94 96 95 % selction du domaine geographique … … 100 99 clear olr; 101 100 102 load eof1_AFR_1030.txt 101 status=load('eof1_AFR_1030.txt'); 102 eof1_AFR_1030=status; 103 clear status; 103 104 104 105 % on met sous la forme annee mois … … 135 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 136 137 compteurmax=compteurmax+1; 137 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 138 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 139 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 218 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 219 220 student1(a,b,c)=ttest(x,y,.2); 220 end 221 end 222 end 221 end; 222 end; 223 end; 223 224 224 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 259 260 end; 260 261 end; 261 end 262 end; 262 263 subplot(7,1,8-e); 263 264 palettecomplet … … 273 274 else 274 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 275 end 276 end; 276 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 277 278 if e==4; 278 279 co=colorbar; 279 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6);280 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6); 280 281 end; 281 282 hold on; … … 285 286 axis([-180 180 -20 40]); 286 287 if e==7; 287 title('OLR composite EOF1 1030j simulation AFR 288 end 288 title('OLR composite EOF1 1030j simulation AFR','fontsize',8) ; 289 end; 289 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 290 291 pos_vert=e/10; … … 293 294 294 295 figure(1); 295 print -depsc2 composite_olr_EOF1_1030j_simulation_AFR_part1.eps;296 print('-depsc2','composite_olr_EOF1_1030j_simulation_AFR_part1.eps'); 296 297 297 298 figure(2); … … 321 322 end; 322 323 end; 323 end 324 end; 324 325 subplot(7,1,8-e); 325 326 palettecomplet … … 335 336 else 336 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 337 end 338 end; 338 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 339 340 if e==4; 340 341 co=colorbar; 341 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6);342 set (co,'xtick',[-20:10:20],'xticklabel',[-20:10:20],'fontname','Arial','fontsize',6); 342 343 end; 343 344 hold on; … … 347 348 axis([-180 180 -20 40]); 348 349 if e==7; 349 350 end 350 title('OLR composite EOF1 1030j simulation AFR','fontsize',8) ; 351 end; 351 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 352 353 pos_vert=e/10; … … 355 356 356 357 figure(2); 357 print -depsc2 composite_olr_EOF1_1030j_simulation_AFR_part2.eps;358 print('-depsc2','composite_olr_EOF1_1030j_simulation_AFR_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_AFR_eof1_30100.m
r20 r30 99 99 clear olr; 100 100 101 load eof1_AFR_30100.txt 101 status=load('eof1_AFR_30100.txt'); 102 eof1_AFR_30100=status; 103 clear status; 102 104 103 105 % on met sous la forme annee mois … … 134 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 135 137 compteurmax=compteurmax+1; 136 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 137 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 138 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 217 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 218 220 student1(a,b,c)=ttest(x,y,.2); 219 end 220 end 221 end 221 end; 222 end; 223 end; 222 224 223 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 258 260 end; 259 261 end; 260 end 262 end; 261 263 subplot(7,1,8-e); 262 264 palette … … 272 274 else 273 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 274 end 276 end; 275 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 276 278 if e==4; … … 284 286 axis([-180 180 -20 40]); 285 287 if e==7; 286 title('OLR composite EOF1 30100j simulation AFR','fontsize',8) ;287 end 288 title('OLR composite EOF1 30100j simulation AFR','fontsize',8) ; 289 end; 288 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 289 291 pos_vert=e/10; … … 292 294 293 295 figure(1); 294 print -depsc2 composite_olr_EOF1_30100j_simulation_AFR_part1.eps;296 print('-depsc2','composite_olr_EOF1_30100j_simulation_AFR_part1.eps'); 295 297 296 298 figure(2); … … 320 322 end; 321 323 end; 322 end 324 end; 323 325 subplot(7,1,8-e); 324 326 palette … … 334 336 else 335 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 336 end 338 end; 337 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 338 340 if e==4; … … 346 348 axis([-180 180 -20 40]); 347 349 if e==7; 348 349 end 350 title('OLR composite EOF1 30100j simulation AFR','fontsize',8) ; 351 end; 350 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 351 353 pos_vert=e/10; … … 354 356 355 357 figure(2); 356 print -depsc2 composite_olr_EOF1_30100j_simulation_AFR_part2.eps;358 print('-depsc2','composite_olr_EOF1_30100j_simulation_AFR_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_AFR_eof2_1030.m
r20 r30 99 99 clear olr; 100 100 101 load eof2_AFR_1030.txt 101 status=load('eof2_AFR_1030.txt'); 102 eof2_AFR_1030=status; 103 clear status; 102 104 103 105 % on met sous la forme annee mois … … 134 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 135 137 compteurmax=compteurmax+1; 136 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 137 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 138 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 218 220 y=olr_filtre_compomax(1:nb_value,a,b,c); 219 221 student1(a,b,c)=ttest(x,y,.1); 220 end 221 end 222 end 222 end; 223 end; 224 end; 223 225 224 226 disp(['iii : compteurmin =', int2str(compteurmin)]); … … 262 264 end; 263 265 end; 264 end 266 end; 265 267 subplot(7,1,8-e); 266 268 palettecomplet … … 276 278 else 277 279 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 278 end 280 end; 279 281 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 280 282 if e==4; … … 288 290 axis([-180 180 -20 40]); 289 291 if e==7; 290 title('OLR composite EOF2 1030j simulation AFR','fontsize',8) ;291 end 292 title('OLR composite EOF2 1030j simulation AFR','fontsize',8) ; 293 end; 292 294 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 293 295 pos_vert=e/10; … … 296 298 297 299 figure(1); 298 print -depsc2 composite_olr_EOF2_1030j_simulation_AFR_part1.eps;300 print('-depsc2','composite_olr_EOF2_1030j_simulation_AFR_part1.eps'); 299 301 300 302 figure(2); … … 325 327 end; 326 328 end; 327 end 329 end; 328 330 subplot(7,1,8-e); 329 331 palettecomplet … … 339 341 else 340 342 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 341 end 343 end; 342 344 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 343 345 if e==4; … … 351 353 axis([-180 180 -20 40]); 352 354 if e==7; 353 354 end 355 title('OLR composite EOF2 1030j simulation AFR','fontsize',8) ; 356 end; 355 357 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 356 358 pos_vert=e/10; … … 359 361 360 362 figure(2); 361 print -depsc2 composite_olr_EOF2_1030j_simulation_AFR_part2.eps;363 print('-depsc2','composite_olr_EOF2_1030j_simulation_AFR_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_AFR_eof2_30100.m
r20 r30 99 99 clear olr; 100 100 101 load eof2_AFR_30100.txt 101 status=load('eof2_AFR_30100.txt'); 102 eof2_AFR_30100=status; 103 clear status; 102 104 103 105 % on met sous la forme annee mois … … 134 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 135 137 compteurmax=compteurmax+1; 136 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 137 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 138 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 217 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 218 220 student1(a,b,c)=ttest(x,y,.2); 219 end 220 end 221 end 221 end; 222 end; 223 end; 222 224 223 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 258 260 end; 259 261 end; 260 end 262 end; 261 263 subplot(7,1,8-e); 262 264 palette … … 272 274 else 273 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 274 end 276 end; 275 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 276 278 if e==4; … … 284 286 axis([-180 180 -20 40]); 285 287 if e==7; 286 title('OLR composite EOF2 30100j simulation AFR','fontsize',8) ;287 end 288 title('OLR composite EOF2 30100j simulation AFR','fontsize',8) ; 289 end; 288 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 289 291 pos_vert=e/10; … … 292 294 293 295 figure(1); 294 print -depsc2 composite_olr_EOF2_30100j_simulation_AFR_part1.eps;296 print('-depsc2','composite_olr_EOF2_30100j_simulation_AFR_part1.eps'); 295 297 296 298 figure(2); … … 320 322 end; 321 323 end; 322 end 324 end; 323 325 subplot(7,1,8-e); 324 326 palette … … 334 336 else 335 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 336 end 338 end; 337 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 338 340 if e==4; … … 346 348 axis([-180 180 -20 40]); 347 349 if e==7; 348 349 end 350 title('OLR composite EOF2 30100j simulation AFR','fontsize',8) ; 351 end; 350 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 351 353 pos_vert=e/10; … … 354 356 355 357 figure(2); 356 print -depsc2 composite_olr_EOF2_30100j_simulation_AFR_part2.eps;358 print('-depsc2','composite_olr_EOF2_30100j_simulation_AFR_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_AS_eof1_1030.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,29,64,128); 7 cd('INDE') 7 8 8 ncload('rlut_d.AsNQIVIV.197106-09.nc','rlut'); 9 9 olr(:,1,:,:)=rlut; clear rlut; … … 93 93 olr(:,29,:,:)=rlut; clear rlut; 94 94 95 cd('..');96 95 % selction du domaine geographique 97 96 olr1=zeros(122,29,64,128); … … 100 99 clear olr; 101 100 102 load eof1_AS_1030.txt 101 status=load('eof1_AS_1030.txt'); 102 eof1_AS_1030=status; 103 clear status; 103 104 104 105 % on met sous la forme annee mois … … 218 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 219 220 student1(a,b,c)=ttest(x,y,.2); 220 end 221 end 222 end 221 end; 222 end; 223 end; 223 224 224 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 259 260 end; 260 261 end; 261 end 262 end; 262 263 subplot(7,1,8-e); 263 264 palettecomplet … … 273 274 else 274 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 275 end 276 end; 276 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 277 278 if e==4; … … 285 286 axis([-180 180 -20 40]); 286 287 if e==7; 287 title('OLR composite EOF1 1030j simulation AS','fontsize',8) ;288 end 288 title('OLR composite EOF1 1030j simulation AS','fontsize',8) ; 289 end; 289 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 290 291 pos_vert=e/10; … … 293 294 294 295 figure(1); 295 print -depsc2 composite_olr_EOF1_1030j_simulation_AS_part1.eps;296 print('-depsc2','composite_olr_EOF1_1030j_simulation_AS_part1.eps'); 296 297 297 298 figure(2); … … 321 322 end; 322 323 end; 323 end 324 end; 324 325 subplot(7,1,8-e); 325 326 palettecomplet … … 335 336 else 336 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 337 end 338 end; 338 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 339 340 if e==4; … … 347 348 axis([-180 180 -20 40]); 348 349 if e==7; 349 350 end 350 title('OLR composite EOF1 1030j simulation AS','fontsize',8) ; 351 end; 351 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 352 353 pos_vert=e/10; … … 355 356 356 357 figure(2); 357 print -depsc2 composite_olr_EOF1_1030j_simulation_AS_part2.eps;358 print('-depsc2','composite_olr_EOF1_1030j_simulation_AS_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_AS_eof1_30100.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,29,64,128); 7 cd('INDE') 7 8 8 ncload('rlut_d.AsNQIVIV.197106-09.nc','rlut'); 9 9 olr(:,1,:,:)=rlut; clear rlut; … … 93 93 olr(:,29,:,:)=rlut; clear rlut; 94 94 95 cd('..');96 95 % selction du domaine geographique 97 96 olr1=zeros(122,29,64,128); … … 100 99 clear olr; 101 100 102 load eof1_AS_30100.txt 101 status=load('eof1_AS_30100.txt'); 102 eof1_AS_30100=status; 103 clear status; 103 104 104 105 % on met sous la forme annee mois … … 135 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 136 137 compteurmax=compteurmax+1; 137 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 138 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 139 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 218 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 219 220 student1(a,b,c)=ttest(x,y,.2); 220 end 221 end 222 end 221 end; 222 end; 223 end; 223 224 224 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 259 260 end; 260 261 end; 261 end 262 end; 262 263 subplot(7,1,8-e); 263 264 palette … … 273 274 else 274 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 275 end 276 end; 276 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 277 278 if e==4; … … 285 286 axis([-180 180 -20 40]); 286 287 if e==7; 287 title('OLR composite EOF1 30100j simulation AS','fontsize',8) ;288 end 288 title('OLR composite EOF1 30100j simulation AS','fontsize',8) ; 289 end; 289 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 290 291 pos_vert=e/10; … … 293 294 294 295 figure(1); 295 print -depsc2 composite_olr_EOF1_30100j_simulation_AS_part1.eps;296 print('-depsc2','composite_olr_EOF1_30100j_simulation_AS_part1.eps'); 296 297 297 298 figure(2); … … 321 322 end; 322 323 end; 323 end 324 end; 324 325 subplot(7,1,8-e); 325 326 palette … … 335 336 else 336 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 337 end 338 end; 338 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 339 340 if e==4; … … 347 348 axis([-180 180 -20 40]); 348 349 if e==7; 349 350 end 350 title('OLR composite EOF1 30100j simulation AS','fontsize',8) ; 351 end; 351 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 352 353 pos_vert=e/10; … … 355 356 356 357 figure(2); 357 print -depsc2 composite_olr_EOF1_30100j_simulation_AS_part2.eps;358 print('-depsc2','composite_olr_EOF1_30100j_simulation_AS_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_AS_eof2_1030.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,29,64,128); 7 cd('INDE') 7 8 8 ncload('rlut_d.AsNQIVIV.197106-09.nc','rlut'); 9 9 olr(:,1,:,:)=rlut; clear rlut; … … 93 93 olr(:,29,:,:)=rlut; clear rlut; 94 94 95 cd('..');96 95 % selction du domaine geographique 97 96 olr1=zeros(122,29,64,128); … … 100 99 clear olr; 101 100 102 load eof2_AS_1030.txt 101 status=load('eof2_AS_1030.txt'); 102 eof2_AS_1030=status; 103 clear status; 103 104 104 105 % on met sous la forme annee mois … … 135 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 136 137 compteurmax=compteurmax+1; 137 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 138 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 139 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 218 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 219 220 student1(a,b,c)=ttest(x,y,.2); 220 end 221 end 222 end 221 end; 222 end; 223 end; 223 224 224 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 259 260 end; 260 261 end; 261 end 262 end; 262 263 subplot(7,1,8-e); 263 264 palettecomplet … … 273 274 else 274 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 275 end 276 end; 276 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 277 278 if e==4; … … 285 286 axis([-180 180 -20 40]); 286 287 if e==7; 287 title('OLR composite EOF2 1030j simulation AS','fontsize',8) ;288 end 288 title('OLR composite EOF2 1030j simulation AS','fontsize',8) ; 289 end; 289 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 290 291 pos_vert=e/10; … … 293 294 294 295 figure(1); 295 print -depsc2 composite_olr_EOF2_1030j_simulation_AS_part1.eps;296 print('-depsc2','composite_olr_EOF2_1030j_simulation_AS_part1.eps'); 296 297 297 298 figure(2); … … 321 322 end; 322 323 end; 323 end 324 end; 324 325 subplot(7,1,8-e); 325 326 palettecomplet … … 335 336 else 336 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 337 end 338 end; 338 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 339 340 if e==4; … … 347 348 axis([-180 180 -20 40]); 348 349 if e==7; 349 350 end 350 title('OLR composite EOF2 1030j simulation AS','fontsize',8) ; 351 end; 351 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 352 353 pos_vert=e/10; … … 355 356 356 357 figure(2); 357 print -depsc2 composite_olr_EOF2_1030j_simulation_AS_part2.eps;358 print('-depsc2','composite_olr_EOF2_1030j_simulation_AS_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_AS_eof2_30100.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,29,64,128); 7 cd('INDE') 7 8 8 ncload('rlut_d.AsNQIVIV.197106-09.nc','rlut'); 9 9 olr(:,1,:,:)=rlut; clear rlut; … … 93 93 olr(:,29,:,:)=rlut; clear rlut; 94 94 95 cd('..');96 95 % selction du domaine geographique 97 96 olr1=zeros(122,29,64,128); … … 100 99 clear olr; 101 100 102 load eof2_AS_30100.txt 101 status=load('eof2_AS_30100.txt'); 102 eof2_AS_30100=status; 103 clear status; 103 104 104 105 % on met sous la forme annee mois … … 135 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 136 137 compteurmax=compteurmax+1; 137 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 138 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 139 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 218 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 219 220 student1(a,b,c)=ttest(x,y,.2); 220 end 221 end 222 end 221 end; 222 end; 223 end; 223 224 224 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 259 260 end; 260 261 end; 261 end 262 end; 262 263 subplot(7,1,8-e); 263 264 palette … … 273 274 else 274 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 275 end 276 end; 276 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 277 278 if e==4; … … 285 286 axis([-180 180 -20 40]); 286 287 if e==7; 287 title('OLR composite EOF2 30100j simulation AS 288 end 288 title('OLR composite EOF2 30100j simulation AS','fontsize',8) ; 289 end; 289 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 290 291 pos_vert=e/10; … … 293 294 294 295 figure(1); 295 print -depsc2 composite_olr_EOF2_30100j_simulation_AS_part1.eps;296 print('-depsc2','composite_olr_EOF2_30100j_simulation_AS_part1.eps'); 296 297 297 298 figure(2); … … 321 322 end; 322 323 end; 323 end 324 end; 324 325 subplot(7,1,8-e); 325 326 palette … … 335 336 else 336 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 337 end 338 end; 338 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 339 340 if e==4; … … 347 348 axis([-180 180 -20 40]); 348 349 if e==7; 349 350 end 350 title('OLR composite EOF2 30100j simulation AS','fontsize',8) ; 351 end; 351 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 352 353 pos_vert=e/10; … … 355 356 356 357 figure(2); 357 print -depsc2 composite_olr_EOF2_30100j_simulation_AS_part2.eps;358 print('-depsc2','composite_olr_EOF2_30100j_simulation_AS_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_CTL_eof1_1030.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,29,64,128); 7 cd('CTL')8 7 9 8 ncload('rlut_d.CtIV.197106-09.nc','rlut'); … … 94 93 olr(:,29,:,:)=rlut; clear rlut; 95 94 96 97 cd('..');98 95 % selction du domaine geographique 99 96 olr1=zeros(122,29,64,128); … … 102 99 clear olr; 103 100 104 load eof1_CTL_1030.txt 101 status=load('eof1_CTL_1030.txt'); 102 eof1_CTL_1030=status; 103 clear status; 105 104 106 105 % on met sous la forme annee mois … … 137 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 138 137 compteurmax=compteurmax+1; 139 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 140 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 141 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 220 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 221 220 student1(a,b,c)=ttest(x,y,.2); 222 end 223 end 224 end 221 end; 222 end; 223 end; 225 224 226 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 261 260 end; 262 261 end; 263 end 262 end; 264 263 subplot(7,1,8-e); 265 264 palettecomplet … … 275 274 else 276 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 277 end 276 end; 278 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 279 278 if e==4; … … 287 286 axis([-180 180 -20 40]); 288 287 if e==7; 289 title('OLR composite EOF1 1030j simulation CTL','fontsize',8) ;290 end 288 title('OLR composite EOF1 1030j simulation CTL','fontsize',8) ; 289 end; 291 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 292 291 pos_vert=e/10; … … 295 294 296 295 figure(1); 297 print -depsc2 composite_olr_EOF1_1030j_simulation_CTL_part1.eps;296 print('-depsc2','composite_olr_EOF1_1030j_simulation_CTL_part1.eps'); 298 297 299 298 figure(2); … … 323 322 end; 324 323 end; 325 end 324 end; 326 325 subplot(7,1,8-e); 327 326 palettecomplet … … 337 336 else 338 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 339 end 338 end; 340 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 341 340 if e==4; … … 349 348 axis([-180 180 -20 40]); 350 349 if e==7; 351 352 end 350 title('OLR composite EOF1 1030j simulation CTL','fontsize',8) ; 351 end; 353 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 354 353 pos_vert=e/10; … … 357 356 358 357 figure(2); 359 print -depsc2 composite_olr_EOF1_1030j_simulation_CTL_part2.eps;358 print('-depsc2','composite_olr_EOF1_1030j_simulation_CTL_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_CTL_eof1_30100.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,29,64,128); 7 cd('CTL')8 7 9 8 ncload('rlut_d.CtIV.197106-09.nc','rlut'); … … 94 93 olr(:,29,:,:)=rlut; clear rlut; 95 94 96 cd('..');97 95 % selction du domaine geographique 98 96 olr1=zeros(122,29,64,128); … … 101 99 clear olr; 102 100 103 load eof1_CTL_30100.txt 101 status=load('eof1_CTL_30100.txt'); 102 eof1_CTL_30100=status; 103 clear status; 104 104 105 105 % on met sous la forme annee mois … … 136 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 137 137 compteurmax=compteurmax+1; 138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 139 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 140 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 219 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 220 220 student1(a,b,c)=ttest(x,y,.2); 221 end 222 end 223 end 221 end; 222 end; 223 end; 224 224 225 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 260 260 end; 261 261 end; 262 end 262 end; 263 263 subplot(7,1,8-e); 264 264 palette … … 274 274 else 275 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 276 end 276 end; 277 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 278 278 if e==4; … … 286 286 axis([-180 180 -20 40]); 287 287 if e==7; 288 title('OLR composite EOF1 30100j simulation CTL','fontsize',8) ;289 end 288 title('OLR composite EOF1 30100j simulation CTL','fontsize',8) ; 289 end; 290 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 291 291 pos_vert=e/10; … … 294 294 295 295 figure(1); 296 print -depsc2 composite_olr_EOF1_30100j_simulation_CTL_part1.eps;296 print('-depsc2','composite_olr_EOF1_30100j_simulation_CTL_part1.eps'); 297 297 298 298 figure(2); … … 322 322 end; 323 323 end; 324 end 324 end; 325 325 subplot(7,1,8-e); 326 326 palette … … 336 336 else 337 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 338 end 338 end; 339 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 340 340 if e==4; … … 348 348 axis([-180 180 -20 40]); 349 349 if e==7; 350 351 end 350 title('OLR composite EOF1 30100j simulation CTL','fontsize',8) ; 351 end; 352 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 353 353 pos_vert=e/10; … … 356 356 357 357 figure(2); 358 print -depsc2 composite_olr_EOF1_30100j_simulation_CTL_part2.eps;358 print('-depsc2','composite_olr_EOF1_30100j_simulation_CTL_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_CTL_eof2_1030.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,29,64,128); 7 cd('CTL')8 7 9 8 ncload('rlut_d.CtIV.197106-09.nc','rlut'); … … 94 93 olr(:,29,:,:)=rlut; clear rlut; 95 94 96 cd('..');97 95 % selction du domaine geographique 98 96 olr1=zeros(122,29,64,128); … … 101 99 clear olr; 102 100 103 load eof2_CTL_1030.txt 101 status=load('eof2_CTL_1030.txt'); 102 eof2_CTL_1030=status; 103 clear status; 104 104 105 105 % on met sous la forme annee mois … … 136 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 137 137 compteurmax=compteurmax+1; 138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 139 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 140 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 219 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 220 220 student1(a,b,c)=ttest(x,y,.2); 221 end 222 end 223 end 221 end; 222 end; 223 end; 224 224 225 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 260 260 end; 261 261 end; 262 end 262 end; 263 263 subplot(7,1,8-e); 264 264 palettecomplet … … 274 274 else 275 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 276 end 276 end; 277 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 278 278 if e==4; … … 286 286 axis([-180 180 -20 40]); 287 287 if e==7; 288 title('OLR composite EOF2 1030j simulation CTL','fontsize',8) ;289 end 288 title('OLR composite EOF2 1030j simulation CTL','fontsize',8) ; 289 end; 290 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 291 291 pos_vert=e/10; … … 294 294 295 295 figure(1); 296 print -depsc2 composite_olr_EOF2_1030j_simulation_CTL_part1.eps;296 print('-depsc2','composite_olr_EOF2_1030j_simulation_CTL_part1.eps'); 297 297 298 298 figure(2); … … 322 322 end; 323 323 end; 324 end 324 end; 325 325 subplot(7,1,8-e); 326 326 palettecomplet … … 336 336 else 337 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 338 end 338 end; 339 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 340 340 if e==4; … … 348 348 axis([-180 180 -20 40]); 349 349 if e==7; 350 351 end 350 title('OLR composite EOF2 1030j simulation CTL','fontsize',8) ; 351 end; 352 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 353 353 pos_vert=e/10; … … 356 356 357 357 figure(2); 358 print -depsc2 composite_olr_EOF2_1030j_simulation_CTL_part2.eps;358 print('-depsc2','composite_olr_EOF2_1030j_simulation_CTL_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_CTL_eof2_30100.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,29,64,128); 7 cd('CTL')8 7 9 8 ncload('rlut_d.CtIV.197106-09.nc','rlut'); … … 94 93 olr(:,29,:,:)=rlut; clear rlut; 95 94 96 cd('..');97 95 % selction du domaine geographique 98 96 olr1=zeros(122,29,64,128); … … 101 99 clear olr; 102 100 103 load eof2_CTL_30100.txt 101 status=load('eof2_CTL_30100.txt'); 102 eof2_CTL_30100=status; 103 clear status; 104 104 105 105 % on met sous la forme annee mois … … 136 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 137 137 compteurmax=compteurmax+1; 138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 139 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 140 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 219 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 220 220 student1(a,b,c)=ttest(x,y,.2); 221 end 222 end 223 end 221 end; 222 end; 223 end; 224 224 225 225 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 260 260 end; 261 261 end; 262 end 262 end; 263 263 subplot(7,1,8-e); 264 264 palette … … 274 274 else 275 275 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 276 end 276 end; 277 277 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 278 278 if e==4; … … 286 286 axis([-180 180 -20 40]); 287 287 if e==7; 288 title('OLR composite EOF2 30100j simulation CTL 289 end 288 title('OLR composite EOF2 30100j simulation CTL','fontsize',8) ; 289 end; 290 290 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 291 291 pos_vert=e/10; … … 294 294 295 295 figure(1); 296 print -depsc2 composite_olr_EOF2_30100j_simulation_CTL_part1.eps;296 print('-depsc2','composite_olr_EOF2_30100j_simulation_CTL_part1.eps'); 297 297 298 298 figure(2); … … 322 322 end; 323 323 end; 324 end 324 end; 325 325 subplot(7,1,8-e); 326 326 palette … … 336 336 else 337 337 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 338 end 338 end; 339 339 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 340 340 if e==4; … … 348 348 axis([-180 180 -20 40]); 349 349 if e==7; 350 351 end 350 title('OLR composite EOF2 30100j simulation CTL','fontsize',8) ; 351 end; 352 352 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 353 353 pos_vert=e/10; … … 356 356 357 357 figure(2); 358 print -depsc2 composite_olr_EOF2_30100j_simulation_CTL_part2.eps;358 print('-depsc2','composite_olr_EOF2_30100j_simulation_CTL_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_TR_eof1_1030.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,29,64,128); 7 cd('TROP') 7 8 8 ncload('rlut_d.TrNQIVIV.197106-09.nc','rlut'); 9 9 olr(:,1,:,:)=rlut; clear rlut; … … 93 93 olr(:,29,:,:)=rlut; clear rlut; 94 94 95 cd('..');96 95 % selction du domaine geographique 97 96 olr1=zeros(122,29,64,128); … … 100 99 clear olr; 101 100 102 load eof1_TR_1030.txt 101 status=load('eof1_TR_1030.txt'); 102 eof1_TR_1030=status; 103 clear status; 103 104 104 105 % on met sous la forme annee mois … … 135 136 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 136 137 compteurmax=compteurmax+1; 137 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);138 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 138 139 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 139 140 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 218 219 y=olr_filtre_compomax(1:nb_value,a,b,c); 219 220 student1(a,b,c)=ttest(x,y,.2); 220 end 221 end 222 end 221 end; 222 end; 223 end; 223 224 224 225 olr_filtre_compomin1(:,:,:)=nanmean(olr_filtre_compomin); … … 257 258 end; 258 259 end; 259 end 260 end; 260 261 subplot(7,1,8-e); 261 262 palettecomplet … … 271 272 else 272 273 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 273 end 274 end; 274 275 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 275 276 if e==4; … … 283 284 axis([-180 180 -20 40]); 284 285 if e==7; 285 title('OLR composite EOF1 1030j simulation TR','fontsize',8) ;286 end 286 title('OLR composite EOF1 1030j simulation TR','fontsize',8) ; 287 end; 287 288 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 288 289 pos_vert=e/10; … … 291 292 292 293 figure(1); 293 print -depsc2 composite_olr_EOF1_1030j_simulation_TR_part1.eps;294 print('-depsc2','composite_olr_EOF1_1030j_simulation_TR_part1.eps'); 294 295 295 296 figure(2); … … 319 320 end; 320 321 end; 321 end 322 end; 322 323 subplot(7,1,8-e); 323 324 palettecomplet … … 333 334 else 334 335 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 335 end 336 end; 336 337 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 337 338 if e==4; … … 345 346 axis([-180 180 -20 40]); 346 347 if e==7; 347 348 end 348 title('OLR composite EOF1 1030j simulation TR','fontsize',8) ; 349 end; 349 350 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 350 351 pos_vert=e/10; … … 353 354 354 355 figure(2); 355 print -depsc2 composite_olr_EOF1_1030j_simulation_TR_part2.eps;356 print('-depsc2','composite_olr_EOF1_1030j_simulation_TR_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_TR_eof1_30100.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,30,64,128); 7 cd('TROP') 7 8 8 ncload('rlut_d.TrNQIVIV.197106-09.nc','rlut'); 9 9 olr(:,1,:,:)=rlut; clear rlut; … … 96 96 olr(:,30,:,:)=rlut; clear rlut; 97 97 98 cd('..');99 98 % selction du domaine geographique 100 99 olr1=zeros(122,30,64,128); … … 103 102 clear olr; 104 103 105 load eof1_TR_30100.txt 104 status=load('eof1_TR_30100.txt'); 105 eof1_TR_30100=status; 106 clear status; 106 107 107 108 % on met sous la forme annee mois … … 143 144 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>1); 144 145 compteurmax=compteurmax+1; 145 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);146 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 146 147 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 147 148 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 226 227 y=olr_filtre_compomax(1:nb_value,a,b,c); 227 228 student1(a,b,c)=ttest(x,y,.2); 228 end 229 end 230 end 229 end; 230 end; 231 end; 231 232 232 233 olr_filtre_compomin1(:,:,:)=nanmean(olr_filtre_compomin); … … 265 266 end; 266 267 end; 267 end 268 end; 268 269 subplot(7,1,8-e); 269 270 palette … … 279 280 else 280 281 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 281 end 282 end; 282 283 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 283 284 if e==4; … … 291 292 axis([-180 180 -20 40]); 292 293 if e==7; 293 title('OLR composite EOF1 30100j simulation TR','fontsize',8) ;294 end 294 title('OLR composite EOF1 30100j simulation TR','fontsize',8) ; 295 end; 295 296 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 296 297 pos_vert=e/10; … … 299 300 300 301 figure(1); 301 print -depsc2 composite_olr_EOF1_30100j_simulation_TR_part1.eps;302 print('-depsc2','composite_olr_EOF1_30100j_simulation_TR_part1.eps'); 302 303 303 304 figure(2); … … 327 328 end; 328 329 end; 329 end 330 end; 330 331 subplot(7,1,8-e); 331 332 palette … … 341 342 else 342 343 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 343 end 344 end; 344 345 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 345 346 if e==4; … … 353 354 axis([-180 180 -20 40]); 354 355 if e==7; 355 356 end 356 title('OLR composite EOF1 30100j simulation TR','fontsize',8) ; 357 end; 357 358 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 358 359 pos_vert=e/10; … … 361 362 362 363 figure(2); 363 print -depsc2 composite_olr_EOF1_30100j_simulation_TR_part2.eps;364 print('-depsc2','composite_olr_EOF1_30100j_simulation_TR_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_TR_eof2_1030.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,30,64,128); 7 cd('TROP') 7 8 8 ncload('rlut_d.TrNQIVIV.197106-09.nc','rlut'); 9 9 olr(:,1,:,:)=rlut; clear rlut; … … 96 96 olr(:,30,:,:)=rlut; clear rlut; 97 97 98 cd('..');99 98 % selction du domaine geographique 100 99 olr1=zeros(122,30,64,128); … … 103 102 clear olr; 104 103 105 load eof2_TR_30100.txt 104 status=load('eof2_TR_30100.txt'); 105 eof2_TR_30100=status; 106 clear status; 106 107 107 108 % on met sous la forme annee mois … … 143 144 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>1); 144 145 compteurmax=compteurmax+1; 145 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);146 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 146 147 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 147 148 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 226 227 y=olr_filtre_compomax(1:nb_value,a,b,c); 227 228 student1(a,b,c)=ttest(x,y,.2); 228 end 229 end 230 end 229 end; 230 end; 231 end; 231 232 232 233 olr_filtre_compomin1(:,:,:)=nanmean(olr_filtre_compomin); … … 265 266 end; 266 267 end; 267 end 268 end; 268 269 subplot(7,1,8-e); 269 270 palette … … 279 280 else 280 281 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 281 end 282 end; 282 283 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 283 284 if e==4; … … 291 292 axis([-180 180 -20 40]); 292 293 if e==7; 293 title('OLR composite EOF2 30100j simulation TR','fontsize',8) ;294 end 294 title('OLR composite EOF2 30100j simulation TR','fontsize',8) ; 295 end; 295 296 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 296 297 pos_vert=e/10; … … 299 300 300 301 figure(1); 301 print -depsc2 composite_olr_EOF2_30100j_simulation_TR_part1.eps;302 print('-depsc2','composite_olr_EOF2_30100j_simulation_TR_part1.eps'); 302 303 303 304 figure(2); … … 327 328 end; 328 329 end; 329 end 330 end; 330 331 subplot(7,1,8-e); 331 332 palette … … 341 342 else 342 343 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 343 end 344 end; 344 345 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 345 346 if e==4; … … 353 354 axis([-180 180 -20 40]); 354 355 if e==7; 355 356 end 356 title('OLR composite EOF2 30100j simulation TR','fontsize',8) ; 357 end; 357 358 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 358 359 pos_vert=e/10; … … 361 362 362 363 figure(2); 363 print -depsc2 composite_olr_EOF2_30100j_simulation_TR_part2.eps;364 print('-depsc2','composite_olr_EOF2_30100j_simulation_TR_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/composite_olr_TR_eof2_30100.m
r20 r30 5 5 close all; 6 6 olr=zeros(122,30,64,128); 7 cd('TROP') 7 8 8 ncload('rlut_d.TrNQIVIV.197106-09.nc','rlut'); 9 9 olr(:,1,:,:)=rlut; clear rlut; … … 96 96 olr(:,30,:,:)=rlut; clear rlut; 97 97 98 cd('..');99 98 % selction du domaine geographique 100 99 olr1=zeros(122,30,64,128); … … 103 102 clear olr; 104 103 105 load eof2_TR_30100.txt 104 status=load('eof2_TR_30100.txt'); 105 eof2_TR_30100=status; 106 clear status; 106 107 107 108 % on met sous la forme annee mois … … 143 144 if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>1); 144 145 compteurmax=compteurmax+1; 145 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:);146 olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 146 147 olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 147 148 olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); … … 226 227 y=olr_filtre_compomax(1:nb_value,a,b,c); 227 228 student1(a,b,c)=ttest(x,y,.2); 228 end 229 end 230 end 229 end; 230 end; 231 end; 231 232 232 233 olr_filtre_compomin1(:,:,:)=nanmean(olr_filtre_compomin); … … 265 266 end; 266 267 end; 267 end 268 end; 268 269 subplot(7,1,8-e); 269 270 palette … … 279 280 else 280 281 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 281 end 282 end; 282 283 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 283 284 if e==4; … … 291 292 axis([-180 180 -20 40]); 292 293 if e==7; 293 title('OLR composite EOF2 30100j simulation TR','fontsize',8) ;294 end 294 title('OLR composite EOF2 30100j simulation TR','fontsize',8) ; 295 end; 295 296 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 296 297 pos_vert=e/10; … … 299 300 300 301 figure(1); 301 print -depsc2 composite_olr_EOF2_30100j_simulation_TR_part1.eps;302 print('-depsc2','composite_olr_EOF2_30100j_simulation_TR_part1.eps'); 302 303 303 304 figure(2); … … 327 328 end; 328 329 end; 329 end 330 end; 330 331 subplot(7,1,8-e); 331 332 palette … … 341 342 else 342 343 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 343 end 344 end; 344 345 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 345 346 if e==4; … … 353 354 axis([-180 180 -20 40]); 354 355 if e==7; 355 356 end 356 title('OLR composite EOF2 30100j simulation TR','fontsize',8) ; 357 end; 357 358 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 358 359 pos_vert=e/10; … … 361 362 362 363 figure(2); 363 print -depsc2 composite_olr_EOF2_30100j_simulation_TR_part2.eps;364 print('-depsc2','composite_olr_EOF2_30100j_simulation_TR_part2.eps'); -
/trunk/src/SIMULS_IRCAAM/correlations_eofs_olr_jas.m
r20 r30 4 4 close all; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc','lat','lon','olr'); 8 cd('SIMULS_IRCAAM'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 41 40 for c=1:siz; 42 41 vecteur(c)=olr1(a,b,c); 43 end 42 end; 44 43 std_c=nanmean(vecteur); 45 44 for c=1:siz; 46 45 olr1(a,b,c)=olr1(a,b,c)-std_c; 47 end 48 end 46 end; 47 end; 49 48 end; 50 49 … … 151 150 olr(:,:,:)=nanmean(olr1); 152 151 153 load eof3_noaa_annuel.txt 154 load eof2_noaa_annuel.txt 155 load eof1_noaa_annuel.txt 152 status=load('eof3_noaa_annuel.txt'); 153 eof3_noaa_annuel==status; 154 clear status; 155 status=load('eof2_noaa_annuel.txt'); 156 eof2_noaa_annuel==status; 157 clear status; 158 status=load('eof1_noaa_annuel.txt'); 159 eof1_noaa_annuel==status; 160 clear status; 156 161 157 162 correlations_eof1=zeros(37,144); … … 168 173 for c=1:28; 169 174 y(c)=olr(a,b,c); 170 end 175 end; 171 176 clear coco; 172 177 coco=corrcoef(y,eof1_noaa_annuel); … … 179 184 correlations_eof3(a,b)=coco(2,1); 180 185 181 end 182 end 186 end; 187 end; 183 188 184 189 subplot(3,1,1); … … 235 240 title('Correlations entre EOF3 et OLR NOAA JAS','fontsize',8); 236 241 237 print -depsc2 coco.eps;242 print('-depsc2','coco.eps'); -
/trunk/src/SIMULS_IRCAAM/correlations_eofs_olr_jas_20.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc','lat','lon','olr'); 9 cd('SIMULS_IRCAAM'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 152 151 olr(:,:,:)=nanmean(olr1); 153 152 154 load eof3_noaa_annuel_20.txt 155 load eof2_noaa_annuel_20.txt 156 load eof1_noaa_annuel_20.txt 153 status=load('eof3_noaa_annuel_20.txt'); 154 eof3_noaa_annuel_20=status; 155 clear status; 156 status=load('eof2_noaa_annuel_20.txt'); 157 eof2_noaa_annuel_20=status; 158 clear status; 159 status=load('eof1_noaa_annuel_20.txt'); 160 eof1_noaa_annuel_20=status; 161 clear status; 157 162 158 163 correlations_eof1=zeros(37,144); … … 169 174 for c=1:28; 170 175 y(c)=olr(a,b,c); 171 end 176 end; 172 177 clear coco; 173 178 coco=corrcoef(y,eof1_noaa_annuel_20); … … 179 184 coco=corrcoef(y,eof3_noaa_annuel_20); 180 185 correlations_eof3(a,b)=coco(2,1); 181 end 182 end 186 end; 187 end; 183 188 184 189 subplot(3,1,1); … … 235 240 title('Correlations entre EOF3 et OLR NOAA JAS','fontsize',8); 236 241 237 print -depsc2 coco.eps;242 print('-depsc2','coco.eps'); -
/trunk/src/SIMULS_IRCAAM/eof_olr_noaa_annuel_jas_20.m
r20 r30 3 3 clear; 4 4 close all; 5 cd ('/usr/temp/seglod/mode_sahelien/'); 5 6 6 fid=fopen('olrint.80.dat','r'); 7 7 siz=25*17*10500; … … 10 10 olr1=reshape(v,25,17,10500); 11 11 clear v; 12 13 cd ('/usr/temp/seglod/SIMULS_IRCAAM/');14 12 15 13 % on selectionne les mois d ete (attention aux annees bixestiles!) -
/trunk/src/SIMULS_IRCAAM/prepare_hgt500_tr.m
r20 r30 4 4 clear; 5 5 close all; 6 7 cd('GEOPOT_TROP');8 6 9 7 hgt500=zeros(122,29,64,128); … … 125 123 hgt500(:,29,:,:)=vm; clear vm; 126 124 127 cd('..'); 128 save hgt500_trop.mat hgt500; 125 save('hgt500_trop.mat','hgt500'); -
/trunk/src/SIMULS_IRCAAM/prepare_olr_AFR_annuel.m
r20 r30 1 1 % 2 2 3 % ncload('rlut_d.AfNQIVIV.197106-09.nc') 4 % whos 5 % Name Size Bytes Class Attributes 6 % 7 % ans 1x4 268 cell 8 % lat 64x1 512 double 9 % lon 128x1 1024 double 10 % rlut 122x64x128 7995392 double 11 % time 122x1 976 double 12 % 13 3 % initialisation 14 4 close all; 15 5 clear; … … 131 121 vaude=mean(vaude); 132 122 olr(a,:)=olr(a,:)-vaude; 133 end 123 end; 134 124 135 125 % calcul de la matrice de covariance -
/trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_AFR.m
r20 r30 3 3 % ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 4 4 % pour le programme de filtrage 5 % ncload('rlut_d.AfNQIVIV.197106-09.nc')6 % whos7 % Name Size Bytes Class Attributes8 %9 % ans 1x4 268 cell10 % lat 64x1 512 double11 % lon 128x1 1024 double12 % rlut 122x64x128 7995392 double13 % time 122x1 976 double14 %15 5 6 % initialisation 16 7 close all; 17 8 clear; … … 110 101 olr1(:,:,:,1:64)=olr(:,:,:,65:128); 111 102 olr1(:,:,:,65:128)=olr(:,:,:,1:64); 112 clear olr 103 clear olr; 113 104 olr=olr1; 114 105 clear olr1; … … 127 118 vaude=mean(vaude); 128 119 olr(a,:)=olr(a,:)-vaude; 129 end 120 end; 130 121 fid=fopen('coco.dat','w'); 131 122 fwrite(fid,olr,'float'); -
/trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_AS.m
r20 r30 3 3 % ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 4 4 % pour le programme de filtrage 5 % ncload('rlut_d.AfNQIVIV.197106-09.nc')6 % whos7 % Name Size Bytes Class Attributes8 %9 % ans 1x4 268 cell10 % lat 64x1 512 double11 % lon 128x1 1024 double12 % rlut 122x64x128 7995392 double13 % time 122x1 976 double14 %15 5 6 % initialisation 16 7 close all; 17 8 clear; … … 19 10 olr=zeros(122,29,64,128); 20 11 21 cd('INDE');22 12 ncload('rlut_d.AsNQIVIV.197106-09.nc','rlut'); 23 13 olr(:,1,:,:)=rlut; clear rlut; … … 107 97 olr(:,29,:,:)=rlut; clear rlut; 108 98 109 cd('..');110 99 % selction du domaine geographique 111 100 olr1=zeros(122,29,64,128); … … 129 118 vaude=mean(vaude); 130 119 olr(a,:)=olr(a,:)-vaude; 131 end 120 end; 132 121 fid=fopen('olr_nofiltre_as.dat','w'); 133 122 fwrite(fid,olr,'float'); -
/trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_CTL.m
r20 r30 3 3 % ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 4 4 % pour le programme de filtrage 5 % ncload('rlut_d.AfNQIVIV.197106-09.nc')6 % whos7 % Name Size Bytes Class Attributes8 %9 % ans 1x4 268 cell10 % lat 64x1 512 double11 % lon 128x1 1024 double12 % rlut 122x64x128 7995392 double13 % time 122x1 976 double14 %15 5 6 % initialisation 16 7 close all; 17 8 clear; 18 9 19 10 olr=zeros(122,29,64,128); 20 cd('CTL') 11 21 12 ncload('rlut_d.CtIV.197106-09.nc','rlut'); 22 13 olr(:,1,:,:)=rlut; clear rlut; … … 106 97 olr(:,29,:,:)=rlut; clear rlut; 107 98 108 cd('..')109 110 99 % selction du domaine geographique 111 100 olr1=zeros(122,29,64,128); 112 101 olr1(:,:,:,1:64)=olr(:,:,:,65:128); 113 102 olr1(:,:,:,65:128)=olr(:,:,:,1:64); 114 clear olr 103 clear olr; 115 104 olr=olr1; 116 105 clear olr1; -
/trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_CTL_clim.m
r20 r30 3 3 % ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 4 4 % pour le programme de filtrage 5 % ncload('rlut_d.AfNQClCl.197106-09.nc')6 % whos7 % Name Size Bytes Class Attributes8 %9 % ans 1x4 268 cell10 % lat 64x1 512 double11 % lon 128x1 1024 double12 % rlut 122x64x128 7995392 double13 % time 122x1 976 double14 %15 5 6 % initialisation 16 7 close all; 17 8 clear; 18 9 19 10 olr=zeros(122,29,64,128); 20 cd('CTL_sst_clim') 11 21 12 ncload('rlut_d.CtCl.197106-09.nc','rlut'); 22 13 olr(:,1,:,:)=rlut; clear rlut; … … 106 97 olr(:,29,:,:)=rlut; clear rlut; 107 98 108 cd('..')109 110 99 % selction du domaine geographique 111 100 olr1=zeros(122,29,64,128); 112 101 olr1(:,:,:,1:64)=olr(:,:,:,65:128); 113 102 olr1(:,:,:,65:128)=olr(:,:,:,1:64); 114 clear olr 103 clear olr; 115 104 olr=olr1; 116 105 clear olr1; -
/trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_TR.m
r20 r30 3 3 % ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 4 4 % pour le programme de filtrage 5 % whos6 % Name Size Bytes Class Attributes7 %8 % ans 1x4 268 cell9 % lat 64x1 512 double10 % lon 128x1 1024 double11 % rlut 122x64x128 7995392 double12 % time 122x1 976 double13 %14 5 6 % initialisation 15 7 close all; 16 8 clear; … … 18 10 olr=zeros(122,29,64,128); 19 11 20 cd('TROP');21 12 ncload('rlut_d.TrNQIVIV.197106-09.nc','rlut'); 22 13 olr(:,1,:,:)=rlut; clear rlut; … … 106 97 olr(:,29,:,:)=rlut; clear rlut; 107 98 108 cd('..');109 99 % selction du domaine geographique 110 100 olr1=zeros(122,29,64,128); … … 128 118 vaude=mean(vaude); 129 119 olr(a,:)=olr(a,:)-vaude; 130 end 120 end; 131 121 fid=fopen('olr_nofiltre_tr.dat','w'); 132 122 fwrite(fid,olr,'float'); -
/trunk/src/SIMULS_IRCAAM/prepare_pluie_AFR_annuel.m
r20 r30 1 1 % 2 2 3 % ncload('pr_d.AfNQIVIV.197106-09.nc') 4 % whos 5 % Name Size Bytes Class Attributes 6 % 7 % ans 1x4 268 cell 8 % lat 64x1 512 double 9 % lon 128x1 1024 double 10 % pr 122x64x128 7995392 double 11 % time 122x1 976 double 12 % 13 3 % initialisation 14 4 close all; 15 5 clear; … … 131 121 vaude=mean(vaude); 132 122 pluie(a,:)=pluie(a,:)-vaude; 133 end 123 end; 134 124 135 125 % calcul de la matrice de covariance -
/trunk/src/SIMULS_IRCAAM/time_serie_afr_1030.m
r20 r30 4 4 close all; 5 5 6 load eof_1030_ircaam.mat 6 status=load('eof_1030_ircaam.mat','C','olr'); 7 C=status.C; 8 olr=status.olr; 9 clear status; 10 7 11 olr=olr'; 8 12 PC1=olr*C; … … 18 22 time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 19 23 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 20 end 24 end; 21 25 22 save eof1_AFR_1030.txt time_serie_olr1 -ascii;23 save eof2_AFR_1030.txt time_serie_olr2 -ascii;26 save('eof1_AFR_1030.txt','time_serie_olr1','-ASCII'); 27 save('eof2_AFR_1030.txt','time_serie_olr2','-ASCII'); 24 28 25 29 x=[1:3538]'; … … 34 38 figure(3); 35 39 subplot(4,3,a-22); 36 end 37 clear koro1 40 end; 41 clear koro1; 38 42 debut=(a-1)*122+1; 39 43 fin=a*122; … … 50 54 if a==2; 51 55 text(0,5.5,'serie temporelle eof AFR 1030'); 52 56 elseif a==13; 53 57 text(0,5.5,'serie temporelle eof AFR 1030'); 54 58 elseif a==24; … … 63 67 64 68 figure(1); 65 print -depsc2 time_serie_eof_afr_1030a.eps;69 print('-depsc2','time_serie_eof_afr_1030a.eps'); 66 70 figure(2); 67 print -depsc2 time_serie_eof_afr_1030b.eps;71 print('-depsc2','time_serie_eof_afr_1030b.eps'); 68 72 figure(3); 69 print -depsc2 time_serie_eof_afr_1030c.eps;73 print('-depsc2','time_serie_eof_afr_1030c.eps'); -
/trunk/src/SIMULS_IRCAAM/time_serie_afr_30100.m
r20 r30 2 2 3 3 clear; 4 close all; 4 5 5 load eof_30100_ircaam.mat 6 status=load('eof_30100_ircaam.mat','C','olr'); 7 C=status.C; 8 olr=status.olr; 9 clear status; 6 10 olr=olr'; 7 11 PC1=olr*C; … … 17 21 time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 18 22 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 19 end 23 end; 20 24 21 save eof1_AFR_30100.txt time_serie_olr1 -ascii;22 save eof2_AFR_30100.txt time_serie_olr2 -ascii;25 save('eof1_AFR_30100.txt','time_serie_olr1','-ASCII'); 26 save('eof2_AFR_30100.txt','time_serie_olr2','-ASCII'); 23 27 24 28 x=[1:3538]'; … … 33 37 figure(3); 34 38 subplot(4,3,a-22); 35 end 36 clear koro1 39 end; 40 clear koro1; 37 41 debut=(a-1)*122+1; 38 42 fin=a*122; … … 49 53 if a==2; 50 54 text(0,5.5,'serie temporelle eof AFR 30100'); 51 55 elseif a==13; 52 56 text(0,5.5,'serie temporelle eof AFR 30100'); 53 57 elseif a==24; … … 62 66 63 67 figure(1); 64 print -depsc2 time_serie_eof_afr_30100a.eps;68 print('-depsc2','time_serie_eof_afr_30100a.eps'); 65 69 figure(2); 66 print -depsc2 time_serie_eof_afr_30100b.eps;70 print('-depsc2','time_serie_eof_afr_30100b.eps'); 67 71 figure(3); 68 print -depsc2 time_serie_eof_afr_30100c.eps;72 print('-depsc2','time_serie_eof_afr_30100c.eps'); -
/trunk/src/SIMULS_IRCAAM/time_serie_as_1030.m
r20 r30 4 4 close all; 5 5 6 load eof_1030_ircaam_as.mat 6 status=load('eof_1030_ircaam_as.mat','C','olr'); 7 C=status.C; 8 olr=status.olr; 9 clear status; 7 10 8 11 olr=olr'; … … 19 22 time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 20 23 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 21 end 24 end; 22 25 23 save eof1_AS_1030.txt time_serie_olr1 -ascii;24 save eof2_AS_1030.txt time_serie_olr2 -ascii;26 save('eof1_AS_1030.txt','time_serie_olr1','-ASCII'); 27 save('eof2_AS_1030.txt','time_serie_olr2','-ASCII'); 25 28 26 29 x=[1:3538]'; … … 35 38 figure(3); 36 39 subplot(4,3,a-22); 37 end 40 end; 38 41 clear koro1; 39 42 debut=(a-1)*122+1; … … 51 54 if a==2; 52 55 text(0,5.5,'serie temporelle eof AS 1030'); 53 56 elseif a==13; 54 57 text(0,5.5,'serie temporelle eof AS 1030'); 55 58 elseif a==24; … … 64 67 65 68 figure(1); 66 print -depsc2 time_serie_eof_as_1030a.eps;69 print('-depsc2','time_serie_eof_as_1030a.eps'); 67 70 figure(2); 68 print -depsc2 time_serie_eof_as_1030b.eps;71 print('-depsc2','time_serie_eof_as_1030b.eps'); 69 72 figure(3); 70 print -depsc2 time_serie_eof_as_1030c.eps;73 print('-depsc2','time_serie_eof_as_1030c.eps'); -
/trunk/src/SIMULS_IRCAAM/time_serie_as_30100.m
r20 r30 4 4 close all; 5 5 6 load eof_30100_ircaam_as.mat 6 status=load('eof_30100_ircaam_as.mat','C','olr'); 7 C=status.C; 8 olr=status.olr; 9 clear status; 7 10 8 11 olr=olr'; … … 19 22 time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 20 23 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 21 end 24 end; 22 25 23 save eof1_AS_30100.txt time_serie_olr1 -ascii;24 save eof2_AS_30100.txt time_serie_olr2 -ascii;26 save('eof1_AS_30100.txt','time_serie_olr1','-ASCII'); 27 save('eof2_AS_30100.txt','time_serie_olr2','-ASCII'); 25 28 26 29 x=[1:3538]'; … … 35 38 figure(3); 36 39 subplot(4,3,a-22); 37 end 38 clear koro1 40 end; 41 clear koro1; 39 42 debut=(a-1)*122+1; 40 43 fin=a*122; … … 51 54 if a==2; 52 55 text(0,5.5,'serie temporelle eof AS 30100'); 53 56 elseif a==13; 54 57 text(0,5.5,'serie temporelle eof AS 30100'); 55 58 elseif a==24; … … 64 67 65 68 figure(1); 66 print -depsc2 time_serie_eof_as_30100a.eps;69 print('-depsc2','time_serie_eof_as_30100a.eps'); 67 70 figure(2); 68 print -depsc2 time_serie_eof_as_30100b.eps;71 print('-depsc2','time_serie_eof_as_30100b.eps'); 69 72 figure(3); 70 print -depsc2 time_serie_eof_as_30100c.eps;73 print('-depsc2','time_serie_eof_as_30100c.eps'); -
/trunk/src/SIMULS_IRCAAM/time_serie_ctl_1030.m
r20 r30 4 4 close all; 5 5 6 load eof_1030_ircaam_ctl.mat 6 status=load('eof_1030_ircaam_ctl.mat','C','olr'); 7 C=status.C; 8 olr=status.olr; 9 clear status; 10 7 11 olr=olr'; 8 12 PC1=olr*C; … … 18 22 time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 19 23 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 20 end 24 end; 21 25 22 save eof1_CTL_1030.txt time_serie_olr1 -ascii;23 save eof2_CTL_1030.txt time_serie_olr2 -ascii;26 save('eof1_CTL_1030.txt','time_serie_olr1','-ASCII'); 27 save('eof2_CTL_1030.txt','time_serie_olr2','-ASCII'); 24 28 25 29 x=[1:3538]'; … … 34 38 figure(3); 35 39 subplot(4,3,a-22); 36 end 37 clear koro1 40 end; 41 clear koro1; 38 42 debut=(a-1)*122+1; 39 43 fin=a*122; … … 50 54 if a==2; 51 55 text(0,5.5,'serie temporelle eof CTL 1030'); 52 56 elseif a==13; 53 57 text(0,5.5,'serie temporelle eof CTL 1030'); 54 58 elseif a==24; … … 63 67 64 68 figure(1); 65 print -depsc2 time_serie_eof_ctl_1030a.eps;69 print('-depsc2','time_serie_eof_ctl_1030a.eps'); 66 70 figure(2); 67 print -depsc2 time_serie_eof_ctl_1030b.eps;71 print('-depsc2','time_serie_eof_ctl_1030b.eps'); 68 72 figure(3); 69 print -depsc2 time_serie_eof_ctl_1030c.eps;73 print('-depsc2','time_serie_eof_ctl_1030c.eps'); -
/trunk/src/SIMULS_IRCAAM/time_serie_ctl_30100.m
r20 r30 4 4 close all; 5 5 6 load eof_30100_ircaam_ctl.mat 6 status=load('eof_30100_ircaam_ctl.mat','C','olr'); 7 C=status.C; 8 olr=status.olr; 9 clear status; 7 10 olr=olr'; 8 11 PC1=olr*C; … … 18 21 time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 19 22 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 20 end 23 end; 21 24 22 save eof1_CTL_30100.txt time_serie_olr1 -ascii;23 save eof2_CTL_30100.txt time_serie_olr2 -ascii;25 save('eof1_CTL_30100.txt','time_serie_olr1','-ASCII'); 26 save('eof2_CTL_30100.txt','time_serie_olr2','-ASCII'); 24 27 25 28 x=[1:3538]'; … … 34 37 figure(3); 35 38 subplot(4,3,a-22); 36 end 37 clear koro1 39 end; 40 clear koro1; 38 41 debut=(a-1)*122+1; 39 42 fin=a*122; … … 50 53 if a==2; 51 54 text(0,5.5,'serie temporelle eof CTL 30100'); 52 55 elseif a==13; 53 56 text(0,5.5,'serie temporelle eof CTL 30100'); 54 57 elseif a==24; … … 63 66 64 67 figure(1); 65 print -depsc2 time_serie_eof_ctl_30100a.eps;68 print('-depsc2','time_serie_eof_ctl_30100a.eps'); 66 69 figure(2); 67 print -depsc2 time_serie_eof_ctl_30100b.eps;70 print('-depsc2','time_serie_eof_ctl_30100b.eps'); 68 71 figure(3); 69 print -depsc2 time_serie_eof_ctl_30100c.eps;72 print('-depsc2','time_serie_eof_ctl_30100c.eps'); -
/trunk/src/SIMULS_IRCAAM/time_serie_noaa_annuel.m
r20 r30 3 3 clear; 4 4 close all; 5 cd('/usr/temp/seglod/mode_sahelien'); 6 load eof_olr_annuel.mat; 7 cd('/usr/temp/seglod/SIMULS_IRCAAM/'); 5 6 status=load('eof_olr_annuel.mat','C','olr'); 7 C=status.C; 8 olr=status.olr; 9 clear status; 10 8 11 olr=olr'; 9 12 PC1=olr*C; … … 28 31 time_serie_olr2(a)=(time_serie_olr2(a)-moy_olr2)/dt_olr2; 29 32 time_serie_olr3(a)=(time_serie_olr3(a)-moy_olr3)/dt_olr3; 30 end 33 end; 31 34 32 save eof1_noaa_annuel.txt time_serie_olr1 -ascii;33 save eof2_noaa_annuel.txt time_serie_olr2 -ascii;34 save eof3_noaa_annuel.txt time_serie_olr3 -ascii;35 save('eof1_noaa_annuel.txt','time_serie_olr1','-ASCII'); 36 save('eof2_noaa_annuel.txt','time_serie_olr2','-ASCII'); 37 save('eof3_noaa_annuel.txt','time_serie_olr3','-ASCII'); 35 38 36 39 x=[1:28]'; … … 55 58 set (gca,'XTick',[1980:5:2005],'XTickLabel',[1980:5:2005],'fontname','Arial','fontsize',6); 56 59 set (gca,'tickDir','out'); 57 print -depsc2 time_serie_eof_noaa_annuel.eps;60 print('-depsc2','time_serie_eof_noaa_annuel.eps'); -
/trunk/src/SIMULS_IRCAAM/time_serie_noaa_annuel_20.m
r20 r30 1 1 % 2 2 3 clear; 3 4 close all; 4 load eof_olr_noaa_annuel_jas_1020.mat 5 6 status=load('eof_olr_noaa_annuel_jas_1020.mat','C','olr'); 7 C=status.C; 8 olr=status.olr; 9 clear status; 5 10 6 11 olr=olr'; … … 26 31 time_serie_olr2(a)=(time_serie_olr2(a)-moy_olr2)/dt_olr2; 27 32 time_serie_olr3(a)=(time_serie_olr3(a)-moy_olr3)/dt_olr3; 28 end 33 end; 29 34 30 save eof1_noaa_annuel_20.txt time_serie_olr1 -ascii;31 save eof2_noaa_annuel_20.txt time_serie_olr2 -ascii;32 save eof3_noaa_annuel_20.txt time_serie_olr3 -ascii;35 save('eof1_noaa_annuel_20.txt','time_serie_olr1','-ASCII'); 36 save('eof2_noaa_annuel_20.txt','time_serie_olr2','-ASCII'); 37 save('eof3_noaa_annuel_20.txt','time_serie_olr3','-ASCII'); 33 38 34 39 x=[1:28]'; … … 53 58 set (gca,'XTick',[1980:5:2005],'XTickLabel',[1980:5:2005],'fontname','Arial','fontsize',6); 54 59 set (gca,'tickDir','out'); 55 print -depsc2 time_serie_eof_noaa_annuel_20.eps;60 print('-depsc2','time_serie_eof_noaa_annuel_20.eps'); -
/trunk/src/SIMULS_IRCAAM/time_serie_tr_1030.m
r20 r30 1 1 % 2 2 3 clear; 3 4 close all; 4 5 5 load eof_1030_ircaam_tr.mat 6 status=load('eof_1030_ircaam_tr.mat','C','olr'); 7 C=status.C; 8 olr=status.olr; 9 clear status; 10 6 11 olr=olr'; 7 12 PC1=olr*C; … … 17 22 time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 18 23 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 19 end 24 end; 20 25 21 save eof1_TR_1030.txt time_serie_olr1 -ascii;22 save eof2_TR_1030.txt time_serie_olr2 -ascii;26 save('eof1_TR_1030.txt','time_serie_olr1','-ASCII'); 27 save('eof2_TR_1030.txt','time_serie_olr2','-ASCII'); 23 28 24 29 x=[1:3538]'; … … 33 38 figure(3); 34 39 subplot(4,3,a-22); 35 end 36 clear koro1 40 end; 41 clear koro1; 37 42 debut=(a-1)*122+1; 38 43 fin=a*122; … … 49 54 if a==2; 50 55 text(0,5.5,'serie temporelle eof TR 1030'); 51 56 elseif a==13; 52 57 text(0,5.5,'serie temporelle eof TR 1030'); 53 58 elseif a==24; … … 62 67 63 68 figure(1); 64 print -depsc2 time_serie_eof_tr_1030a.eps;69 print('-depsc2','time_serie_eof_tr_1030a.eps'); 65 70 figure(2); 66 print -depsc2 time_serie_eof_tr_1030b.eps;71 print('-depsc2','time_serie_eof_tr_1030b.eps'); 67 72 figure(3); 68 print -depsc2 time_serie_eof_tr_1030c.eps;73 print('-depsc2','time_serie_eof_tr_1030c.eps'); -
/trunk/src/SIMULS_IRCAAM/time_serie_tr_30100.m
r20 r30 4 4 close all; 5 5 6 load eof_30100_ircaam_tr.mat 6 status=load('eof_30100_ircaam_tr.mat','C','olr'); 7 C=status.C; 8 olr=status.olr; 9 clear status; 10 7 11 olr=olr'; 8 12 PC1=olr*C; … … 18 22 time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 19 23 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 20 end 24 end; 21 25 22 save eof1_TR_30100.txt time_serie_olr1 -ascii;23 save eof2_TR_30100.txt time_serie_olr2 -ascii;26 save('eof1_TR_30100.txt','time_serie_olr1','-ASCII'); 27 save('eof2_TR_30100.txt','time_serie_olr2','-ASCII'); 24 28 25 29 x=[1:3538]'; … … 34 38 figure(3); 35 39 subplot(4,3,a-22); 36 end 37 clear koro1 40 end; 41 clear koro1; 38 42 debut=(a-1)*122+1; 39 43 fin=a*122; … … 50 54 if a==2; 51 55 text(0,5.5,'serie temporelle eof TR 30100'); 52 56 elseif a==13; 53 57 text(0,5.5,'serie temporelle eof TR 30100'); 54 58 elseif a==24; … … 63 67 64 68 figure(1); 65 print -depsc2 time_serie_eof_tr_30100a.eps;69 print('-depsc2','time_serie_eof_tr_30100a.eps'); 66 70 figure(2); 67 print -depsc2 time_serie_eof_tr_30100b.eps;71 print('-depsc2','time_serie_eof_tr_30100b.eps'); 68 72 figure(3); 69 print -depsc2 time_serie_eof_tr_30100c.eps;73 print('-depsc2','time_serie_eof_tr_30100c.eps'); -
/trunk/src/cartemonde.m
r20 r30 51 51 % (contenu : conti, npconti, fronti, npfronti) 52 52 53 load monde.mat 53 status=load('monde.mat','conti','npconti'); 54 conti=status.conti; 55 npconti=status.npconti; 56 clear status; 54 57 55 58 % trace fond de carte continents -
/trunk/src/cartemonde1.m
r20 r30 50 50 % (contenu : conti, npconti, fronti, npfronti) 51 51 52 load monde.mat 52 status=load('monde.mat','conti','npconti','fronti','npfronti'); 53 conti=status.conti; 54 npconti=status.npconti; 55 fronti=status.fronti; 56 npfronti=status.npfronti; 57 clear status; 53 58 54 59 % trace fond de carte continents … … 77 82 bb=npfronti(iii); 78 83 end 79 -
/trunk/src/indice_flore/time_serie_histog.m
r20 r30 26 26 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 27 27 % on ouvre le fichier 28 load occu.txt 28 status=load('occu.txt'); 29 occu=status; 30 clear status; 29 31 30 32 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 147 149 if a==1; 148 150 bar(jour,diff,'r'); 149 c=[1 0.55 0];150 bar(jour,diff),colormap(c);151 c=[1 0.55 0]; 152 bar(jour,diff),colormap(c); 151 153 elseif a==2; 152 154 bar(jour,diff,'g'); … … 155 157 else 156 158 bar(jour,diff,'r'); 157 end 159 end; 158 160 set (gca,'XTick',[-10:10],'XTickLabel',[-10:10],'fontname','Arial','fontsize',6); 159 161 set (gca,'YTick',[-40:20:40],'YTickLabel',[-40:20:40],'fontname','Arial','fontsize',6); … … 169 171 title('Blocking','Fontsize',8,'Fontname','Arial'); 170 172 end; 171 end 173 end; 172 174 173 175 figure(1); 174 print -depsc2 time_serie_type_tps_pb.eps; 175 176 print('-depsc2','time_serie_type_tps_pb.eps'); -
/trunk/src/indice_flore/time_serie_histog3.m
r20 r30 21 21 22 22 for a=1:3538; 23 ind_olr(a)=(ind_olr(a)-olr_moy)/olr_std;23 ind_olr(a)=(ind_olr(a)-olr_moy)/olr_std; 24 24 end; 25 25 ind_olr=reshape(ind_olr,122,29); … … 27 27 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 28 28 % on ouvre le fichier 29 load occu.txt 29 status=load('occu.txt'); 30 occu=status; 31 clear status; 30 32 31 33 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 44 46 45 47 % boucle sur les annees 46 for a=1:29 48 for a=1:29; 47 49 clear delta; 48 50 delta=zeros(122,1); 49 51 % boucle sur les jours 50 for b=1:122 52 for b=1:122; 51 53 if b>1; 52 54 delta(b)=ind_olr(b,a)-ind_olr(b-1,a); … … 55 57 for b=1:122; 56 58 % 1ere condition (laisser une marge de 10) 57 if (b>11 && b<112) ;59 if (b>11 && b<112) 58 60 % condition 1 on est a un maximum deltas apres sont negetifs et 59 61 % delta avant postifs … … 218 220 y=type_temps_compomax(1:sizemax,a,b); 219 221 student1(a,b)=ttest(x,y); 220 end 221 end 222 223 222 end; 223 end; 224 224 225 225 % on fait la somme des types de temps sur toute la periode de temps … … 256 256 table_ttest(a,b)=NaN; 257 257 end; 258 end 259 end 258 end; 259 end; 260 260 for a=1:4; 261 261 subplot(2,2,a); … … 280 280 hold on; 281 281 plot(jour,diff2,'k*'); 282 end 282 end; 283 283 set (gca,'XTick',[-10:10],'XTickLabel',[-10:10],'fontname','Arial','fontsize',6); 284 284 set (gca,'YTick',[-40:20:40],'YTickLabel',[-40:20:40],'fontname','Arial','fontsize',6); … … 294 294 title('Frequence Blocking (filtre PB) Differences min - max Seuil 1.5','Fontsize',8,'Fontname','Arial'); 295 295 end; 296 end 296 end; 297 297 298 298 figure(1); 299 print -depsc2 time_serie_type_tps_pb.eps; 300 299 print('-depsc2','time_serie_type_tps_pb.eps'); -
/trunk/src/indice_flore/time_serie_histog3_max_moy.m
r20 r30 24 24 25 25 for a=1:3538; 26 ind_olr(a)=(ind_olr(a)-olr_moy)/olr_std;26 ind_olr(a)=(ind_olr(a)-olr_moy)/olr_std; 27 27 end; 28 28 ind_olr=reshape(ind_olr,122,29); 29 29 30 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 30 31 % on ouvre le fichier 31 load occu.txt 32 status=load('occu.txt'); 33 occu=status; 34 clear status; 32 35 33 36 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 46 49 47 50 % boucle sur les annees 48 for a=1:29 51 for a=1:29; 49 52 clear delta; 50 53 delta=zeros(122,1); 51 54 % boucle sur les jours 52 for b=1:122 55 for b=1:122; 53 56 if b>1; 54 57 delta(b)=ind_olr(b,a)-ind_olr(b-1,a); … … 223 226 y=type_temps_compomax(1:sizemax,a,b); 224 227 student1(a,b)=ttest(x,y); 225 end 226 end 227 228 end; 229 end; 228 230 229 231 % on fait la somme des types de temps sur toute la periode de temps … … 258 260 for b=1:4 259 261 kara_diff(a,b)=-kara_max(a,b)+kara_moy(b); 260 end 261 end 262 end; 263 end; 262 264 263 265 table_ttest=zeros(21,4); … … 269 271 table_ttest(a,b)=NaN; 270 272 end; 271 end 272 end 273 end; 274 end; 273 275 274 276 for a=1:4; … … 282 284 hold on; 283 285 plot(jour,diff2,'k*'); 284 286 elseif a==2; 285 287 bar(jour,diff,'g'); 286 287 288 hold on; 289 plot(jour,diff2,'k*'); 288 290 elseif a==3; 289 291 bar(jour,diff,'b'); … … 294 296 hold on; 295 297 plot(jour,diff2,'k*'); 296 end 298 end; 297 299 set (gca,'XTick',[-10:10],'XTickLabel',[-10:10],'fontname','Arial','fontsize',6); 298 300 set (gca,'YTick',[-20:5:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); … … 308 310 title('Blocking','Fontsize',8,'Fontname','Arial'); 309 311 end; 310 end 312 end; 311 313 312 314 figure(1); 313 print -depsc2 time_serie_type_tps_max_moy_pb.eps; 314 315 print('-depsc2','time_serie_type_tps_max_moy_pb.eps'); -
/trunk/src/indice_flore/time_serie_histog3_min_moy.m
r20 r30 25 25 for a=1:3538; 26 26 ind_olr(a)=(ind_olr(a)-olr_moy)/olr_std; 27 end 27 end; 28 28 ind_olr=reshape(ind_olr,122,29); 29 29 30 30 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 31 31 % on ouvre le fichier 32 load occu.txt 32 status=load('occu.txt'); 33 occu=status; 34 clear status; 33 35 34 36 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 58 60 for b=1:122; 59 61 % 1ere condition (laisser une marge de 10) 60 if (b>11 && b<112) ;62 if (b>11 && b<112) 61 63 % condition 1 on est a un maximum deltas apres sont negetifs et 62 64 % delta avant postifs … … 239 241 for b=1:4 240 242 kara_diff(a,b)=kara_min(a,b)-kara_moy(b); 241 end 242 end 243 end; 244 end; 243 245 244 246 for a=1:4; … … 256 258 else 257 259 bar(jour,diff,'r'); 258 end 260 end; 259 261 set (gca,'XTick',[-10:10],'XTickLabel',[-10:10],'fontname','Arial','fontsize',6); 260 262 set (gca,'YTick',[-20:5:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); … … 270 272 title('Blocking','Fontsize',8,'Fontname','Arial'); 271 273 end; 272 end 274 end; 273 275 274 276 figure(1); 275 print -depsc2 time_serie_type_tps_min_moy_pb.eps; 276 277 print('-depsc2','time_serie_type_tps_min_moy_pb.eps'); -
/trunk/src/ircaam_profile.sh
r20 r30 1 #! /bin/sh -x1 #! /bin/sh 2 2 #+ 3 3 # NAME -
/trunk/src/ircaam_startup.m
r20 r30 22 22 % 23 23 % 24 % If linked or copy to ${HOME}/startup.m, it will be automaticaly24 % If linked or copy to ./startup.m, it will be automaticaly 25 25 % run by matlab at start. 26 26 % … … 39 39 % 40 40 % $Id$ 41 % 42 % - fplod 2009-01-07T11:12:31Z aedon.locean-ipsl.upmc.fr (Darwin) 43 % 44 % * add indice_flore directory to path 45 % * more elegant way to know if eithe octave or matlab is running 46 % thanks to http://enacit1.epfl.ch/cours_matlab/mfiles.html#scripts 41 47 % 42 48 % - fplod 2008-12-22T13:24:38Z aedon.locean-ipsl.upmc.fr (Darwin) … … 69 75 addpath([ircaam '/mode_sahelien/']); 70 76 addpath([ircaam '/SIMULS_IRCAAM/']); 77 addpath([ircaam '/indice_flore/']); 71 78 % 72 79 % IO directories … … 84 91 % 85 92 % detect if either octave or matlab running 86 cversion=version(); 87 if cversion(1:1) < '7' 93 if ~ exist('OCTAVE_VERSION') 94 run_octave=0; 95 else 88 96 run_octave=1; 89 else90 run_octave=0;91 97 end 92 98 % -
/trunk/src/mode_sahelien/carte_eof234_jjas_1025.m
r20 r30 2 2 3 3 clear; 4 load eof_1025_jjas.mat 4 status=load('eof_1025_jjas.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 8 5 9 carte1=C(:,425); 6 10 … … 141 145 for a=1:425; 142 146 vaude=vaude+L(a,a); 143 end 147 end; 144 148 vecteurs=zeros(20,1); 145 149 for a=1:20; 146 150 b=425-(a-1); 147 151 vecteurs(a)=100*(L(b,b)/vaude); 148 end 152 end; 149 153 x=[1:20]'; 150 154 … … 155 159 set (gca,'tickDir','out'); 156 160 157 print -depsc2 resultats_eof_jjas_2006_1025.eps;161 print('-depsc2','resultats_eof_jjas_2006_1025.eps'); -
/trunk/src/mode_sahelien/carte_eof234_jjas_1030.m
r20 r30 1 1 % 2 2 clear; 3 load eof_1030_jjas.mat 3 status=load('eof_1030_jjas.mat','C','L'); 4 C=status.C; 5 L=status.L; 6 clear status; 7 4 8 carte1=C(:,425); 5 9 … … 144 148 for a=1:425; 145 149 vaude=vaude+L(a,a); 146 end 150 end; 147 151 vecteurs=zeros(20,1); 148 152 for a=1:20; 149 153 b=425-(a-1); 150 154 vecteurs(a)=100*(L(b,b)/vaude); 151 end 155 end; 152 156 x=[1:20]'; 153 157 154 158 bar(x,vecteurs,'LineStyle','none') 155 save vecteurs_eof_1030.txt vecteurs -ascii;159 save('vecteurs_eof_1030.txt','vecteurs','-ASCII'); 156 160 157 161 axis([0.5 20.5 0 25]); … … 160 164 set (gca,'tickDir','out'); 161 165 162 print -depsc2 resultats_eof_jjas_2006_1030.eps;166 print('-depsc2','resultats_eof_jjas_2006_1030.eps'); -
/trunk/src/mode_sahelien/carte_eof23_jjas_30100.m
r20 r30 1 1 % 2 2 clear; 3 load eof_30100_jjas.mat 3 status=load('eof_30100_jjas.mat','C','L'); 4 C=status.C; 5 L=status.L; 6 clear status; 7 4 8 carte1=C(:,425); 5 9 … … 140 144 for a=1:425; 141 145 vaude=vaude+L(a,a); 142 end 146 end; 143 147 vecteurs=zeros(20,1); 144 148 for a=1:20; 145 149 b=425-(a-1); 146 150 vecteurs(a)=100*(L(b,b)/vaude); 147 end 151 end; 148 152 x=[1:20]'; 149 save vecteurs_eof_30100.txt vecteurs -ascii;153 save('vecteurs_eof_30100.txt','vecteurs','-ASCII'); 150 154 bar(x,vecteurs,'LineStyle','none') 151 155 … … 155 159 set (gca,'tickDir','out'); 156 160 157 print -depsc2 resultats_eof_jjas_30100.eps;161 print('-depsc2','resultats_eof_jjas_30100.eps'); -
/trunk/src/mode_sahelien/carte_eofER_1030_article.m
r20 r30 2 2 clear; 3 3 close all; 4 load eof_rossby_jjas_2006_1030.mat 4 status=load('eof_rossby_jjas_2006_1030.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 8 5 9 carte1=C(:,425); 6 10 … … 93 97 for a=1:425; 94 98 vaude=vaude+L(a,a); 95 end 99 end; 96 100 vecteurs=zeros(20,1); 97 101 for a=1:20; … … 100 104 end; 101 105 x=[1:20]'; 102 save variance_expliquee_filtre_ER_1030j.txt vecteurs -ascii; 103 copyfile('variance_expliquee_filtre_ER_1030j.txt','/usr/home/seglod/') 106 save('variance_expliquee_filtre_ER_1030j.txt','vecteurs','-ASCII'); 104 107 delete('variance_expliquee_filtre_ER_1030j.txt'); 105 108 … … 113 116 time_serie_ER_rossby_1030 114 117 set (gca,'position',[0.13 0.05 0.335 0.15]) ; 115 print -depsc2 figure_article_serge_1030_bis.eps;118 print('-depsc2','figure_article_serge_1030_bis.eps'); -
/trunk/src/mode_sahelien/carte_eofER_30100_article.m
r20 r30 2 2 clear; 3 3 close all; 4 load eof_rossby_jjas_2006_30100.mat 4 status=load('eof_rossby_jjas_2006_30100.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 8 5 9 carte1=C(:,425); 6 10 … … 17 21 subplot(4,2,1); 18 22 for a=1:17; 19 20 21 22 23 24 25 23 for b=1:25; 24 if carte(a,b)>0.2; 25 carte(a,b)=0.2; 26 elseif carte(a,b)<-0.2; 27 carte(a,b)=-0.2; 28 end; 29 end; 26 30 end; 27 31 carte(1,1)=-0.2001; … … 62 66 palette; 63 67 for a=1:17; 64 65 66 67 68 69 70 68 for b=1:25; 69 if carte(a,b)>0.2; 70 carte(a,b)=0.2; 71 elseif carte(a,b)<-0.2; 72 carte(a,b)=-0.2; 73 end; 74 end; 71 75 end; 72 76 carte(1,1)=-0.2001; … … 94 98 vaude=0; 95 99 for a=1:425; 96 97 end 100 vaude=vaude+L(a,a); 101 end; 98 102 vecteurs=zeros(20,1); 99 103 for a=1:20; 100 101 104 b=425-(a-1); 105 vecteurs(a)=100*(L(b,b)/vaude); 102 106 end; 103 107 x=[1:20]'; 104 save variance_expliquee_filtre_ER_30100j.txt vecteurs -ascii; 105 copyfile('variance_expliquee_filtre_ER_30100j.txt','/usr/home/seglod/') 108 save('variance_expliquee_filtre_ER_30100j.txt','vecteurs','-ASCII'); 106 109 delete('variance_expliquee_filtre_ER_30100j.txt'); 107 110 108 111 subplot(4,2,5); 109 112 composite_pluie_ird_rossby30100b; 110 113 composite_olr_ER30100_filtre; 111 114 set (gca,'position',[0.13 0.31 0.385 0.15]) ; 112 115 … … 115 118 time_serie_ER_rossby_30100 116 119 set (gca,'position',[0.13 0.05 0.335 0.15]) ; 117 print -depsc2 figure_article_serge_30100_bis.eps;120 print('-depsc2','figure_article_serge_30100_bis.eps'); -
/trunk/src/mode_sahelien/carte_eof_ER_jjas_1030.m
r20 r30 2 2 3 3 clear; 4 load eof_rossby_jjas_2006_1030.mat 4 status=load('eof_rossby_jjas_2006_1030.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 8 5 9 carte1=C(:,425); 6 10 … … 108 112 for a=1:425; 109 113 vaude=vaude+L(a,a); 110 end 114 end; 111 115 vecteurs=zeros(20,1); 112 116 for a=1:20; 113 117 b=425-(a-1); 114 118 vecteurs(a)=100*(L(b,b)/vaude); 115 end 119 end; 116 120 x=[1:20]'; 117 121 118 122 bar(x,vecteurs,'LineStyle','none') 119 save vecteurs_eof_ER1030.txt vecteurs -ascii;123 save('vecteurs_eof_ER1030.txt','vecteurs','-ASCII'); 120 124 axis([0.5 20.5 0 25]); 121 125 set (gca,'YTick',[0:5:25],'YTickLabel',[0:5:25],'fontname','Arial','fontsize',6); … … 123 127 set (gca,'tickDir','out'); 124 128 125 print -depsc2 resultats_eof_jjas_2006_1030.eps;129 print('-depsc2','resultats_eof_jjas_2006_1030.eps'); -
/trunk/src/mode_sahelien/carte_eof_ER_jjas_30100.m
r20 r30 1 1 % 2 2 clear; 3 load eof_rossby_jjas_2006_30100.mat 3 status=load('eof_rossby_jjas_2006_30100.mat','C','L'); 4 C=status.C; 5 L=status.L; 6 clear status; 7 4 8 carte1=C(:,425); 5 9 … … 107 111 for a=1:425; 108 112 vaude=vaude+L(a,a); 109 end 113 end; 110 114 vecteurs=zeros(20,1); 111 115 for a=1:20; 112 116 b=425-(a-1); 113 117 vecteurs(a)=100*(L(b,b)/vaude); 114 end 118 end; 115 119 x=[1:20]'; 116 120 117 121 bar(x,vecteurs,'LineStyle','none') 118 save vecteurs_eof_ER30100.txt vecteurs -ascii;122 save('vecteurs_eof_ER30100.txt','vecteurs','-ASCII'); 119 123 axis([0.5 20.5 0 25]); 120 124 set (gca,'YTick',[0:5:25],'YTickLabel',[0:5:25],'fontname','Arial','fontsize',6); … … 122 126 set (gca,'tickDir','out'); 123 127 124 print -depsc2 resultats_eof_jjas_2006_30100.eps;128 print('-depsc2','resultats_eof_jjas_2006_30100.eps'); -
/trunk/src/mode_sahelien/carte_eof_jja_2006.m
r20 r30 2 2 3 3 clear; 4 load eof_rossby_jjas_2006.mat 4 status=load('eof_rossby_jjas_2006.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 8 5 9 carte1=C(:,425); 6 10 … … 108 112 for a=1:425; 109 113 vaude=vaude+L(a,a); 110 end 114 end; 111 115 vecteurs=zeros(20,1); 112 116 for a=1:20; 113 117 b=425-(a-1); 114 118 vecteurs(a)=100*(L(b,b)/vaude); 115 end 119 end; 116 120 x=[1:20]'; 117 121 … … 122 126 set (gca,'tickDir','out'); 123 127 124 print -depsc2 resultats_eof_jjas_2006.eps;128 print('-depsc2','resultats_eof_jjas_2006.eps'); -
/trunk/src/mode_sahelien/carte_eof_jja_2006_1025.m
r20 r30 2 2 3 3 clear; 4 load eof_rossby_jjas_2006_1025.mat; 4 status=load('eof_rossby_jjas_2006_1025.mat','C','L'); 5 C=status.C; 6 L=status.L; 7 clear status; 8 5 9 carte1=C(:,425); 6 10 … … 108 112 for a=1:425; 109 113 vaude=vaude+L(a,a); 110 end 114 end; 111 115 vecteurs=zeros(20,1); 112 116 for a=1:20; 113 117 b=425-(a-1); 114 118 vecteurs(a)=100*(L(b,b)/vaude); 115 end 119 end; 116 120 x=[1:20]'; 117 121 … … 122 126 set (gca,'tickDir','out'); 123 127 124 print -depsc2 resultats_eof_jjas_2006_1025.eps;128 print('-depsc2','resultats_eof_jjas_2006_1025.eps'); -
/trunk/src/mode_sahelien/carte_eof_jja_2006_2590.m
r20 r30 3 3 close all; 4 4 5 load eof_rossby_jjas_2006_2590.mat 5 status=load('eof_rossby_jjas_2006_2590.mat','C','L'); 6 C=status.C; 7 L=status.L; 8 clear status; 9 6 10 carte1=C(:,425); 7 11 … … 109 113 for a=1:425; 110 114 vaude=vaude+L(a,a); 111 end 115 end; 112 116 vecteurs=zeros(20,1); 113 117 for a=1:20; 114 118 b=425-(a-1); 115 119 vecteurs(a)=100*(L(b,b)/vaude); 116 end 120 end; 117 121 x=[1:20]'; 118 122 … … 123 127 set (gca,'tickDir','out'); 124 128 125 print -depsc2 resultats_eof_jjas_2006_2590.eps;129 print('-depsc2','resultats_eof_jjas_2006_2590.eps'); -
/trunk/src/mode_sahelien/carte_eof_mjj_2590.m
r20 r30 1 1 % 2 2 clear; 3 load eof_2590_mjj.mat 3 status=load('eof_2590_mjj.mat','C','L'); 4 C=status.C; 5 L=status.L; 6 clear status; 7 4 8 carte1=C(:,425); 5 9 … … 140 144 for a=1:425; 141 145 vaude=vaude+L(a,a); 142 end 146 end; 143 147 vecteurs=zeros(20,1); 144 148 for a=1:20; 145 149 b=425-(a-1); 146 150 vecteurs(a)=100*(L(b,b)/vaude); 147 end 151 end; 148 152 x=[1:20]'; 149 153 … … 154 158 set (gca,'tickDir','out'); 155 159 156 print -depsc2 resultats_eof_mjj_2590.eps;160 print('-depsc2','resultats_eof_mjj_2590.eps'); -
/trunk/src/mode_sahelien/composite_hgt500_eof12_ER1030.m
r20 r30 52 52 if hgt500(a,b,c,d)==31265; 53 53 hgt500(a,b,c,d)=NaN; 54 end 55 end 56 end 57 end 58 end 54 end; 55 end; 56 end; 57 end; 58 end; 59 59 60 60 hgt1=zeros(122,28,49,144); … … 84 84 85 85 %%%%%%%%%%%%%%% FICHIER OLR 86 load eof12_rossby_1030.txt 86 status=load('eof12_rossby_1030.txt'); 87 eof12_rossby_1030=status; 88 clear status; 87 89 ind_olr=reshape(eof12_rossby_1030,122,28); 88 90 clear eof12_rossby_1030 … … 226 228 end; 227 229 end; 228 end 230 end; 229 231 subplot(7,1,8-e); 230 232 palettejerome30 … … 257 259 end; 258 260 259 print -depsc2 compo_hgt500_eof12_ER1030a.eps;261 print('-depsc2','compo_hgt500_eof12_ER1030a.eps'); 260 262 261 263 figure(2); … … 280 282 end; 281 283 end; 282 end 284 end; 283 285 subplot(7,1,8-e); 284 286 palettejerome30; … … 311 313 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 312 314 end; 313 print -depsc2 compo_hgt500_eof12_ER1030b.eps;315 print('-depsc2','compo_hgt500_eof12_ER1030b.eps'); -
/trunk/src/mode_sahelien/composite_hgt500_eof12_ER30100.m
r20 r30 51 51 if hgt500(a,b,c,d)==31265; 52 52 hgt500(a,b,c,d)=NaN; 53 end 54 end 55 end 56 end 57 end 53 end; 54 end; 55 end; 56 end; 57 end; 58 58 59 59 hgt1=zeros(122,28,49,144); … … 83 83 84 84 %%%%%%%%%%%%%%% FICHIER OLR 85 load eof12_rossby_30100.txt 85 status=load('eof12_rossby_30100.txt'); 86 eof12_rossby_30100=status; 87 clear status; 86 88 ind_olr=reshape(eof12_rossby_30100,122,28); 87 89 clear eof12_rossby_30100 … … 225 227 end; 226 228 end; 227 end 229 end; 228 230 subplot(7,1,8-e); 229 231 palettejerome30 … … 256 258 end; 257 259 258 print -depsc2 compo_hgt500_eof12_ER30100a.eps;260 print('-depsc2','compo_hgt500_eof12_ER30100a.eps'); 259 261 260 262 figure(2); … … 279 281 end; 280 282 end; 281 end 283 end; 282 284 subplot(7,1,8-e); 283 285 palettejerome30; … … 310 312 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 311 313 end; 312 print -depsc2 compo_hgt500_eof12_ER30100b.eps;314 print('-depsc2','compo_hgt500_eof12_ER30100b.eps'); -
/trunk/src/mode_sahelien/composite_hgt500_eof1_1030.m
r20 r30 51 51 if hgt500(a,b,c,d)==31265; 52 52 hgt500(a,b,c,d)=NaN; 53 end 54 end 55 end 56 end 57 end 53 end; 54 end; 55 end; 56 end; 57 end; 58 58 59 59 hgt1=zeros(122,28,49,144); … … 83 83 84 84 %%%%%%%%%%%%%%% FICHIER OLR 85 load eof1_1030.txt; 85 status=load('eof1_1030.txt'); 86 eof1_1030=status; 87 clear status; 86 88 ind_olr=reshape(eof1_1030,122,28); 87 89 clear eof1_1030; … … 204 206 y=hgt500_filtre_compomax(1:nb_value,a,b,c); 205 207 student1(a,b,c)=ttest(x,y,.1); 206 end 207 end 208 end 208 end; 209 end; 210 end; 209 211 210 212 % on fait la somme des valeurs de hgt500_filtreentiel sur le nbre d occurences … … 244 246 end; 245 247 end; 246 end 248 end; 247 249 subplot(7,1,8-e); 248 250 palettejerome30 … … 275 277 end; 276 278 277 print -depsc2 compo_hgt500_eof1_1030a.eps;279 print('-depsc2','compo_hgt500_eof1_1030a.eps'); 278 280 279 281 figure(2); … … 303 305 end; 304 306 end; 305 end 307 end; 306 308 subplot(7,1,8-e); 307 309 palettejerome30; … … 334 336 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 335 337 end; 336 print -depsc2 compo_hgt500_eof1_1030b.eps;338 print('-depsc2','compo_hgt500_eof1_1030b.eps'); -
/trunk/src/mode_sahelien/composite_hgt500_eof1_30100.m
r20 r30 52 52 if hgt500(a,b,c,d)==31265; 53 53 hgt500(a,b,c,d)=NaN; 54 end 55 end 56 end 57 end 58 end 54 end; 55 end; 56 end; 57 end; 58 end; 59 59 60 60 hgt1=zeros(122,28,49,144); … … 84 84 85 85 %%%%%%%%%%%%%%% FICHIER OLR 86 load eof1_30100.txt; 86 status=load('eof1_30100.txt'); 87 eof1_30100=status; 88 clear status; 87 89 ind_olr=reshape(eof1_30100,122,28); 88 90 clear eof1_30100; … … 205 207 y=hgt500_filtre_compomax(1:nb_value,a,b,c); 206 208 student1(a,b,c)=ttest(x,y,.1); 207 end 208 end 209 end 209 end; 210 end; 211 end; 210 212 211 213 % on fait la somme des valeurs de hgt500_filtreentiel sur le nbre d occurences … … 245 247 end; 246 248 end; 247 end 249 end; 248 250 subplot(7,1,8-e); 249 251 palettejerome30 … … 276 278 end; 277 279 278 print -depsc2 compo_hgt500_eof1_30100a.eps;280 print('-depsc2','compo_hgt500_eof1_30100a.eps'); 279 281 280 282 figure(2); … … 304 306 end; 305 307 end; 306 end 308 end; 307 309 subplot(7,1,8-e); 308 310 palettejerome30; … … 335 337 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 336 338 end; 337 print -depsc2 compo_hgt500_eof1_30100b.eps;339 print('-depsc2','compo_hgt500_eof1_30100b.eps'); -
/trunk/src/mode_sahelien/composite_hgt500_eof234_1025.m
r20 r30 51 51 if hgt500(a,b,c,d)==31265; 52 52 hgt500(a,b,c,d)=NaN; 53 end 54 end 55 end 56 end 57 end 53 end; 54 end; 55 end; 56 end; 57 end; 58 58 59 59 hgt1=zeros(122,28,49,144); … … 97 97 ind_olr=ind_olr1; 98 98 clear ind_olr1; 99 100 %load eof24_1025.txt;101 %ind_olr=reshape(eof24_1025,122,28);102 %clear eof24_1025;103 %k=122*28;104 99 105 100 % on calcule l ecart type sur la serie entiere de l OLR … … 242 237 end; 243 238 end; 244 end 239 end; 245 240 subplot(7,1,8-e); 246 241 palettejerome30 … … 273 268 end; 274 269 275 print -depsc2 compo_hgt500_eof234_1025a.eps;270 print('-depsc2','compo_hgt500_eof234_1025a.eps'); 276 271 277 272 figure(2); … … 296 291 end; 297 292 end; 298 end 293 end; 299 294 subplot(7,1,8-e); 300 295 palettejerome30; … … 327 322 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 328 323 end; 329 print -depsc2 compo_hgt500_eof234_1025b.eps;324 print('-depsc2','compo_hgt500_eof234_1025b.eps'); -
/trunk/src/mode_sahelien/composite_hgt500_eof234_1025_3j.m
r20 r30 52 52 if hgt500(a,b,c,d)==31265; 53 53 hgt500(a,b,c,d)=NaN; 54 end 55 end 56 end 57 end 58 end 54 end; 55 end; 56 end; 57 end; 58 end; 59 59 60 60 hgt1=zeros(122,28,49,144); … … 103 103 for a=1:3416; 104 104 ind_olr(a)=(ind_olr(a)-olr_moy)/olr_std; 105 end 105 end; 106 106 ind_olr=reshape(ind_olr,122,28); 107 107 … … 338 338 disp(['iii : compteurmin =', int2str(compteurmin)]); 339 339 disp(['iii : compteurmax =', int2str(compteurmax)]); 340 save tablecompteurmin_pb.txt tablecompteurmin -ascii;341 save tablecompteurmax_pb.txt tablecompteurmax -ascii;340 save('tablecompteurmin_pb.txt','tablecompteurmin','-ASCII'); 341 save('tablecompteurmax_pb.txt','tablecompteurmax','-ASCII'); 342 342 343 343 % on fait la somme des valeurs de hgt500_filtreentiel sur le nbre d occurences … … 374 374 end; 375 375 end; 376 end 376 end; 377 377 subplot(7,1,8-e); 378 378 palettejerome30 … … 405 405 end; 406 406 407 print -depsc2 compo_hgt500_eof234_1025_pb1_seuil150.eps;407 print('-depsc2','compo_hgt500_eof234_1025_pb1_seuil150.eps'); 408 408 409 409 figure(2); … … 428 428 end; 429 429 end; 430 end 430 end; 431 431 subplot(7,1,8-e); 432 432 palettejerome30; … … 459 459 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 460 460 end; 461 print -depsc2 compo_hgt500_eof234_1025_pb2_seuil150.eps;461 print('-depsc2','compo_hgt500_eof234_1025_pb2_seuil150.eps'); -
/trunk/src/mode_sahelien/composite_hgt500_eof234_1030.m
r20 r30 52 52 if hgt500(a,b,c,d)==31265; 53 53 hgt500(a,b,c,d)=NaN; 54 end 55 end 56 end 57 end 58 end 54 end; 55 end; 56 end; 57 end; 58 end; 59 59 60 60 hgt1=zeros(122,28,49,144); … … 84 84 85 85 %%%%%%%%%%%%%%% FICHIER OLR 86 load eof24_1030.txt; 86 status=load('eof24_1030.txt'); 87 eof24_1030=status; 88 clear status; 87 89 ind_olr=reshape(eof24_1030,122,28); 88 90 clear eof24_1030; … … 228 230 end; 229 231 end; 230 end 232 end; 231 233 subplot(7,1,8-e); 232 234 palettejerome30 … … 259 261 end; 260 262 261 print -depsc2 compo_hgt500_eof234_1030a.eps;263 print('-depsc2','compo_hgt500_eof234_1030a.eps'); 262 264 263 265 figure(2); … … 282 284 end; 283 285 end; 284 end 286 end; 285 287 subplot(7,1,8-e); 286 288 palettejerome30; … … 313 315 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 314 316 end; 315 print -depsc2 compo_hgt500_eof234_1030b.eps;317 print('-depsc2','compo_hgt500_eof234_1030b.eps'); -
/trunk/src/mode_sahelien/composite_hgt500_eof234_1030_min.m
r20 r30 51 51 if hgt500(a,b,c,d)==31265; 52 52 hgt500(a,b,c,d)=NaN; 53 end 54 end 55 end 56 end 57 end 53 end; 54 end; 55 end; 56 end; 57 end; 58 58 59 59 hgt1=zeros(122,28,49,144); … … 83 83 84 84 %%%%%%%%%%%%%%% FICHIER OLR 85 load eof24_1030.txt; 85 status=load('eof24_1030.txt'); 86 eof24_1030=status; 87 clear status; 86 88 ind_olr=reshape(eof24_1030,122,28); 87 89 clear eof24_1030; … … 232 234 end; 233 235 end; 234 end 236 end; 235 237 subplot(7,1,8-e); 236 238 palettejerome30 … … 263 265 end; 264 266 265 print -depsc2 compo_hgt500_eof234_1030a_min.eps;267 print('-depsc2','compo_hgt500_eof234_1030a_min.eps'); 266 268 267 269 figure(2); … … 288 290 end; 289 291 end; 290 end 292 end; 291 293 subplot(7,1,8-e); 292 294 palettejerome30; … … 319 321 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 320 322 end; 321 print -depsc2 compo_hgt500_eof234_1030b_min.eps;323 print('-depsc2','compo_hgt500_eof234_1030b_min.eps'); -
/trunk/src/mode_sahelien/composite_hgt500_eof23_1030.m
r20 r30 51 51 if hgt500(a,b,c,d)==31265; 52 52 hgt500(a,b,c,d)=NaN; 53 end 54 end 55 end 56 end 57 end 53 end; 54 end; 55 end; 56 end; 57 end; 58 58 59 59 hgt1=zeros(122,28,49,144); … … 83 83 84 84 %%%%%%%%%%%%%%% FICHIER OLR 85 load eof23_1030.txt; 85 status=load('eof23_1030.txt'); 86 eof23_1030=status; 87 clear status; 86 88 ind_olr=reshape(eof23_1030,122,28); 87 89 clear eof23_1030; … … 225 227 end; 226 228 end; 227 end 229 end; 228 230 subplot(7,1,8-e); 229 231 palettejerome30 … … 256 258 end; 257 259 258 print -depsc2 compo_hgt500_eof23_1030a.eps;260 print('-depsc2','compo_hgt500_eof23_1030a.eps'); 259 261 260 262 figure(2); … … 279 281 end; 280 282 end; 281 end 283 end; 282 284 subplot(7,1,8-e); 283 285 palettejerome30; … … 310 312 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 311 313 end; 312 print -depsc2 compo_hgt500_eof23_1030b.eps;314 print('-depsc2','compo_hgt500_eof23_1030b.eps'); -
/trunk/src/mode_sahelien/composite_hgt500_eof23_2590.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load ind_olr_25_90_eof23.txt; 50 status=load('ind_olr_25_90_eof23.txt'); 51 ind_olr_25_90_eof23=status; 52 clear status; 51 53 ind_olr=reshape(ind_olr_25_90_eof23,122,28); 52 54 k=122*28; … … 188 190 end; 189 191 end; 190 end 192 end; 191 193 subplot(7,1,8-e); 192 194 palette … … 221 223 end; 222 224 223 print -depsc2 compo_hgt925_eof2590_part1.eps;225 print('-depsc2','compo_hgt925_eof2590_part1.eps'); 224 226 225 227 figure(2); … … 244 246 end; 245 247 end; 246 end 248 end; 247 249 subplot(7,1,8-e); 248 250 palette … … 277 279 end; 278 280 279 print -depsc2 compo_hgt925_eof2590_part2.eps;280 281 print('-depsc2','compo_hgt925_eof2590_part2.eps'); 282 -
/trunk/src/mode_sahelien/composite_hgt500_eof23_30100.m
r20 r30 52 52 if hgt500(a,b,c,d)==31265; 53 53 hgt500(a,b,c,d)=NaN; 54 end 55 end 56 end 57 end 58 end 54 end; 55 end; 56 end; 57 end; 58 end; 59 59 60 60 hgt1=zeros(122,28,49,144); … … 84 84 85 85 %%%%%%%%%%%%%%% FICHIER OLR 86 load eof23_30100.txt; 86 status=load('eof23_30100.txt'); 87 eof23_30100=status; 88 clear status; 87 89 ind_olr=reshape(eof23_30100,122,28); 88 90 clear eof23_30100; … … 205 207 y=hgt500_filtre_compomax(1:nb_value,a,b,c); 206 208 student1(a,b,c)=ttest(x,y,.1); 207 end 208 end 209 end 209 end; 210 end; 211 end; 210 212 211 213 % on fait la somme des valeurs de hgt500_filtreentiel sur le nbre d occurences … … 245 247 end; 246 248 end; 247 end 249 end; 248 250 subplot(7,1,8-e); 249 251 palettejerome30 … … 276 278 end; 277 279 278 print -depsc2 compo_hgt500_eof23_30100a.eps;280 print('-depsc2','compo_hgt500_eof23_30100a.eps'); 279 281 280 282 figure(2); … … 304 306 end; 305 307 end; 306 end 308 end; 307 309 subplot(7,1,8-e); 308 310 palettejerome30; … … 335 337 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 336 338 end; 337 print -depsc2 compo_hgt500_eof23_30100b.eps;339 print('-depsc2','compo_hgt500_eof23_30100b.eps'); -
/trunk/src/mode_sahelien/composite_hgt700_EOF12_ER1030.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof12_rossby_1030.txt 50 status=load('eof12_rossby_1030.txt'); 51 eof12_rossby_1030=status; 52 clear status; 51 53 ind_olr=reshape(eof12_rossby_1030,122,28); 52 54 k=122*28; … … 189 191 end; 190 192 end; 191 end 193 end; 192 194 subplot(7,1,8-e); 193 195 palette … … 215 217 else 216 218 sauvegrads('composite_hgt700_mode_rossby_1030_moins18',delta_hgt700,[-180 2.5 -10 2.5]); 217 end 219 end; 218 220 219 221 delta_hgt700=flipud(delta_hgt700); … … 242 244 end; 243 245 244 print -depsc2 composite_hgt700_EOF12_ER1030_part1.eps;246 print('-depsc2','composite_hgt700_EOF12_ER1030_part1.eps'); 245 247 246 248 figure(2); … … 265 267 end; 266 268 end; 267 end 269 end; 268 270 subplot(7,1,8-e); 269 271 palette; … … 318 320 end; 319 321 320 print -depsc2 composite_hgt700_EOF12_ER1030_part2.eps;321 322 save pression_eof12_er1030.mat pression;322 print('-depsc2','composite_hgt700_EOF12_ER1030_part2.eps'); 323 324 save('pression_eof12_er1030.mat','pression;'); -
/trunk/src/mode_sahelien/composite_hgt700_EOF12_ER30100_dat.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof12_rossby_30100.txt 50 status=load('eof12_rossby_30100.txt'); 51 eof12_rossby_30100=status; 52 clear status; 51 53 ind_olr=reshape(eof12_rossby_30100,122,28); 52 54 k=122*28; … … 246 248 elseif e==31; 247 249 sauvegrads('composite_hgt700_mode_rossby_30100_plus9',delta_hgt700_filtre_min,[-180 2.5 -10 2.5]); 248 end 250 end; 249 251 delta_hgt700_filtre_min=flipud(delta_hgt700_filtre_min); 250 end 252 end; -
/trunk/src/mode_sahelien/composite_hgt700_EOF24_1030.m
r20 r30 50 50 %%%%%%%%%%%%%%% FICHIER OLR 51 51 % ouverture / lecture du fichier 52 load eof24_1030.txt 52 status=load('eof24_1030.txt'); 53 eof24_1030=status; 54 clear status; 53 55 ind_olr=reshape(eof24_1030,122,28); 54 56 k=122*28; … … 192 194 end; 193 195 end; 194 end 196 end; 195 197 subplot(7,1,8-e); 196 198 palette … … 218 220 else 219 221 sauvegrads('composite_hgt700_mode_sahel_1030_moins18',delta_hgt700,[-180 2.5 -10 2.5]); 220 end 222 end; 221 223 delta_hgt700=flipud(delta_hgt700); 222 224 … … 244 246 end; 245 247 246 print -depsc2 composite_hgt700_EOF234_1030_part1.eps;248 print('-depsc2','composite_hgt700_EOF234_1030_part1.eps'); 247 249 248 250 figure(2); … … 267 269 end; 268 270 end; 269 end 271 end; 270 272 subplot(7,1,8-e); 271 273 palette; … … 320 322 end; 321 323 322 print -depsc2 composite_hgt700_EOF234_1030_part2.eps;324 print('-depsc2','composite_hgt700_EOF234_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_hgt925_EOF12_ER1030.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof12_rossby_1030.txt 50 status=load('eof12_rossby_1030.txt'); 51 eof12_rossby_1030=status; 52 clear status; 51 53 ind_olr=reshape(eof12_rossby_1030,122,28); 52 54 k=122*28; … … 189 191 end; 190 192 end; 191 end 193 end; 192 194 subplot(7,1,8-e); 193 195 palette … … 215 217 else 216 218 sauvegrads('composite_hgt925_mode_rossby_1030_moins18',delta_hgt925,[-180 2.5 -10 2.5]); 217 end 219 end; 218 220 219 221 delta_hgt925=flipud(delta_hgt925); … … 242 244 end; 243 245 244 print -depsc2 composite_hgt925_EOF12_ER1030_part1.eps;246 print('-depsc2','composite_hgt925_EOF12_ER1030_part1.eps'); 245 247 246 248 figure(2); … … 265 267 end; 266 268 end; 267 end 269 end; 268 270 subplot(7,1,8-e); 269 271 palette; … … 318 320 end; 319 321 320 print -depsc2 composite_hgt925_EOF12_ER1030_part2.eps;321 322 save pression_eof12_er1030.mat pression;322 print('-depsc2','composite_hgt925_EOF12_ER1030_part2.eps'); 323 324 save('pression_eof12_er1030.mat','pression;'); -
/trunk/src/mode_sahelien/composite_hgt925_EOF12_ER30100.m
r20 r30 47 47 %%%%%%%%%%%%%%% FICHIER OLR 48 48 % ouverture / lecture du fichier 49 load eof12_rossby_30100.txt 49 status=load('eof12_rossby_30100.txt'); 50 eof12_rossby_30100=status; 51 clear status; 50 52 ind_olr=reshape(eof12_rossby_30100,122,28); 51 53 k=122*28; … … 187 189 end; 188 190 end; 189 end 191 end; 190 192 subplot(7,1,8-e); 191 193 palette … … 212 214 else 213 215 sauvegrads('composite_hgt925_mode_rossby_30100_moins18',delta_hgt925,[-180 2.5 -10 2.5]); 214 end 216 end; 215 217 216 218 delta_hgt925=flipud(delta_hgt925); … … 239 241 end; 240 242 241 print -depsc2 composite_hgt925_EOF12_ER30100_part1.eps;243 print('-depsc2','composite_hgt925_EOF12_ER30100_part1.eps'); 242 244 243 245 figure(2); … … 262 264 end; 263 265 end; 264 end 266 end; 265 267 subplot(7,1,8-e); 266 268 palette; … … 313 315 end; 314 316 315 print -depsc2 composite_hgt925_EOF12_ER30100_part2.eps;316 317 save pression_eof12_er30100.mat pression;317 print('-depsc2','composite_hgt925_EOF12_ER30100_part2.eps'); 318 319 save('pression_eof12_er30100.mat','pression;'); -
/trunk/src/mode_sahelien/composite_hgt925_EOF12_ER30100_dat.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof12_rossby_30100.txt 50 status=load('eof12_rossby_30100.txt'); 51 eof12_rossby_30100=status; 52 clear status; 51 53 ind_olr=reshape(eof12_rossby_30100,122,28); 52 54 k=122*28; … … 245 247 elseif e==31; 246 248 sauvegrads('composite_hgt925_mode_rossby_30100_plus9',delta_hgt925_filtre_min,[-180 2.5 -10 2.5]); 247 end 248 249 end 249 end; 250 251 end; -
/trunk/src/mode_sahelien/composite_hgt925_EOF1_30100.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof1_30100.txt 50 status=load('eof1_30100.txt'); 51 eof1_30100=status; 52 clear status; 51 53 ind_olr=reshape(eof1_30100,122,28); 52 54 k=122*28; … … 189 191 end; 190 192 end; 191 end 193 end; 192 194 subplot(7,1,8-e); 193 195 palette … … 223 225 end; 224 226 225 print -depsc2 composite_hgt925_EOF1_30100_part1.eps;227 print('-depsc2','composite_hgt925_EOF1_30100_part1.eps'); 226 228 227 229 figure(2); … … 246 248 end; 247 249 end; 248 end 250 end; 249 251 subplot(7,1,8-e); 250 252 palette; … … 280 282 end; 281 283 282 print -depsc2 composite_hgt925_EOF1_30100_part2.eps;284 print('-depsc2','composite_hgt925_EOF1_30100_part2.eps'); -
/trunk/src/mode_sahelien/composite_hgt925_EOF23_1030.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof23_1030.txt 50 status=load('eof23_1030.txt'); 51 eof23_1030=status; 52 clear status; 51 53 ind_olr=reshape(eof23_1030,122,28); 52 54 k=122*28; … … 189 191 end; 190 192 end; 191 end 193 end; 192 194 subplot(7,1,8-e); 193 195 palette … … 215 217 else 216 218 sauvegrads('composite_hgt925_mode_sahel_1030_moins18',delta_hgt925,[-180 2.5 -40 2.5]); 217 end 219 end; 218 220 delta_hgt925=flipud(delta_hgt925); 219 221 … … 241 243 end; 242 244 243 print -depsc2 composite_hgt925_EOF23_1030_part1.eps;245 print('-depsc2','composite_hgt925_EOF23_1030_part1.eps'); 244 246 245 247 figure(2); … … 264 266 end; 265 267 end; 266 end 268 end; 267 269 subplot(7,1,8-e); 268 270 palette; … … 316 318 end; 317 319 318 print -depsc2 composite_hgt925_EOF23_1030_part2.eps;320 print('-depsc2','composite_hgt925_EOF23_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_hgt925_EOF23_30100.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof23_30100.txt 50 status=load('eof23_30100.txt'); 51 eof23_30100=status; 52 clear status; 51 53 ind_olr=reshape(eof23_30100,122,28); 52 54 k=122*28; … … 189 191 end; 190 192 end; 191 end 193 end; 192 194 subplot(7,1,8-e); 193 195 palette … … 223 225 end; 224 226 225 print -depsc2 composite_hgt925_EOF23_30100_part1.eps;227 print('-depsc2','composite_hgt925_EOF23_30100_part1.eps'); 226 228 227 229 figure(2); … … 246 248 end; 247 249 end; 248 end 250 end; 249 251 subplot(7,1,8-e); 250 252 palette; … … 280 282 end; 281 283 282 print -depsc2 composite_hgt925_EOF23_30100_part2.eps;283 284 save pression_eof23_30100.mat pression;284 print('-depsc2','composite_hgt925_EOF23_30100_part2.eps'); 285 286 save('pression_eof23_30100.mat','pression;'); -
/trunk/src/mode_sahelien/composite_hgt925_EOF24_1030.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof24_1030.txt 50 status=load('eof24_1030.txt'); 51 eof24_1030=status; 52 clear status; 51 53 ind_olr=reshape(eof24_1030,122,28); 52 54 k=122*28; … … 189 191 end; 190 192 end; 191 end 193 end; 192 194 subplot(7,1,8-e); 193 195 palette … … 215 217 else 216 218 sauvegrads('composite_hgt925_mode_sahel_1030_moins18',delta_hgt925,[-180 2.5 -10 2.5]); 217 end 219 end; 218 220 delta_hgt925=flipud(delta_hgt925); 219 221 … … 241 243 end; 242 244 243 print -depsc2 composite_hgt925_EOF234_1030_part1.eps;245 print('-depsc2','composite_hgt925_EOF234_1030_part1.eps'); 244 246 245 247 figure(2); … … 264 266 end; 265 267 end; 266 end 268 end; 267 269 subplot(7,1,8-e); 268 270 palette; … … 316 318 end; 317 319 318 print -depsc2 composite_hgt925_EOF234_1030_part2.eps;320 print('-depsc2','composite_hgt925_EOF234_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_hgt925_eof23_2590.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load ind_olr_25_90_eof23.txt; 50 status=load('ind_olr_25_90_eof23.txt'); 51 ind_olr_25_90_eof23=status; 52 clear status; 51 53 ind_olr=reshape(ind_olr_25_90_eof23,122,28); 52 54 k=122*28; … … 189 191 end; 190 192 end; 191 end 193 end; 192 194 subplot(7,1,8-e); 193 195 hold on; … … 224 226 end; 225 227 226 print -depsc2 compo_hgt925_eof2590_part1.eps;228 print('-depsc2','compo_hgt925_eof2590_part1.eps'); 227 229 228 230 figure(2); … … 248 250 end; 249 251 end; 250 end 252 end; 251 253 subplot(7,1,8-e); 252 254 hold on; … … 283 285 end; 284 286 285 print -depsc2 compo_hgt925_eof2590_part2.eps;286 287 save pression.mat pression;287 print('-depsc2','compo_hgt925_eof2590_part2.eps'); 288 289 save('pression.mat','pression;'); -
/trunk/src/mode_sahelien/composite_hgt925_eof23_2590_bis.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load ind_olr_25_90_eof23.txt; 50 status=load('ind_olr_25_90_eof23.txt'); 51 ind_olr_25_90_eof23=status; 52 clear status; 51 53 ind_olr=reshape(ind_olr_25_90_eof23,122,28); 52 54 k=122*28; … … 188 190 end; 189 191 end; 190 end 192 end; 191 193 subplot(7,1,8-e); 192 194 palette … … 221 223 end; 222 224 223 print -depsc2 compo_hgt925_eof2590_part1_lat_moy.eps;225 print('-depsc2','compo_hgt925_eof2590_part1_lat_moy.eps'); 224 226 225 227 figure(2); … … 244 246 end; 245 247 end; 246 end 248 end; 247 249 subplot(7,1,8-e); 248 250 palette … … 277 279 end; 278 280 279 print -depsc2 compo_hgt925_eof2590_part2_lat_moy.eps;281 print('-depsc2','compo_hgt925_eof2590_part2_lat_moy.eps'); -
/trunk/src/mode_sahelien/composite_hgt925_rossby.m
r20 r30 40 40 clear hgt700; 41 41 42 load eof2_olr_rossby_jjas.txt; 42 status=load('eof2_olr_rossby_jjas.txt'); 43 eof2_olr_rossby_jjas=status; 44 clear status; 43 45 % on met sous la forme annee mois 44 46 olr_eof=reshape(eof2_olr_rossby_jjas,122,22); … … 181 183 end; 182 184 end; 183 end 185 end; 184 186 subplot(7,1,8-e); 185 187 hold on; … … 256 258 else 257 259 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 258 end 260 end; 259 261 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 260 262 if e==4; … … 269 271 if e==7; 270 272 title('EOF2 filtre Rossby','fontsize',8) ; 271 end 273 end; 272 274 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 273 275 pos_vert=e/10; … … 275 277 end; 276 278 277 save pression.mat pression;279 save('pression.mat','pression;'); -
/trunk/src/mode_sahelien/composite_hgt925_sahel.m
r20 r30 193 193 end; 194 194 end; 195 end 195 end; 196 196 subplot(7,1,8-e); 197 197 hold on; … … 227 227 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 228 228 end; 229 print -depsc2 compo_hgt700_sahel.eps229 print('-depsc2','compo_hgt700_sahel.eps'); 230 230 231 231 figure(2); … … 251 251 end; 252 252 end; 253 end 253 end; 254 254 subplot(7,1,8-e); 255 255 hold on; … … 286 286 end; 287 287 288 print -depsc2 compo_hgt700_sahel.eps289 290 save pression.mat pression;288 print('-depsc2','compo_hgt700_sahel.eps'); 289 290 save('pression.mat','pression;'); -
/trunk/src/mode_sahelien/composite_olr_EOF12_ER1030.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 145 144 clear olr; 146 145 147 load eof12_rossby_1030.txt; 146 status=load('eof12_rossby_1030.txt'); 147 eof12_rossby_1030=status; 148 clear status; 148 149 % on met sous la forme annee mois 149 150 olr_eof=reshape(eof12_rossby_1030,122,28); … … 157 158 for a=1:3416 158 159 olrbis(a)=(olrbis(a)-olr_moy)/olr_std; 159 end 160 end; 160 161 clear olr_eof; 161 162 olr_eof=reshape(olrbis,122,28); … … 275 276 y=olr_filtre_compomax(1:nb_value,a,b,c); 276 277 student1(a,b,c)=ttest(x,y,.2); 277 end 278 end 279 end 278 end; 279 end; 280 end; 280 281 281 282 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 316 317 end; 317 318 end; 318 end 319 end; 319 320 subplot(7,1,8-e); 320 321 palette … … 330 331 else 331 332 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 332 end 333 end; 333 334 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 334 335 if e==4; … … 343 344 if e==7; 344 345 title('OLR composite EOF12 ER 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 345 end 346 end; 346 347 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 347 348 pos_vert=e/10; … … 350 351 351 352 figure(1); 352 print -depsc2 composite_olr_EOF12_ER1030_part1.eps;353 print('-depsc2','composite_olr_EOF12_ER1030_part1.eps'); 353 354 354 355 figure(2); … … 378 379 end; 379 380 end; 380 end 381 end; 381 382 subplot(7,1,8-e); 382 383 palette … … 392 393 else 393 394 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 394 end 395 end; 395 396 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 396 397 if e==4; … … 405 406 if e==7; 406 407 title('OLR composite EOF12 ER 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 407 end 408 end; 408 409 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 409 410 pos_vert=e/10; … … 412 413 413 414 figure(2); 414 print -depsc2 composite_olr_EOF12_ER1030_part2.eps;415 print('-depsc2','composite_olr_EOF12_ER1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_olr_EOF12_ER1030_centre.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 146 145 clear olr; 147 146 148 load eof12_rossby_1030.txt; 147 status=load('eof12_rossby_1030.txt'); 148 eof12_rossby_1030=status; 149 clear status; 149 150 % on met sous la forme annee mois 150 151 olr_eof=reshape(eof12_rossby_1030,122,28); … … 158 159 for a=1:3416 159 160 olrbis(a)=(olrbis(a)-olr_moy)/olr_std; 160 end 161 end; 161 162 clear olr_eof; 162 163 olr_eof=reshape(olrbis,122,28); … … 274 275 y=olr_filtre_compomax(1:nb_value,a,b,c); 275 276 student1(a,b,c)=ttest(x,y,.2); 276 end 277 end 278 end 277 end; 278 end; 279 end; 279 280 280 281 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 315 316 end; 316 317 end; 317 end 318 end; 318 319 subplot(7,1,8-e); 319 320 palette … … 329 330 else 330 331 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 331 end 332 end; 332 333 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 333 334 if e==4; … … 342 343 if e==7; 343 344 title('OLR composite EOF12 ER 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 344 end 345 end; 345 346 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 346 347 pos_vert=e/10; … … 349 350 350 351 figure(1); 351 print -depsc2 composite_olr_EOF12_ER1030_part1.eps;352 print('-depsc2','composite_olr_EOF12_ER1030_part1.eps'); 352 353 353 354 figure(2); … … 377 378 end; 378 379 end; 379 end 380 end; 380 381 subplot(7,1,8-e); 381 382 palette … … 391 392 else 392 393 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 393 end 394 end; 394 395 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 395 396 if e==4; … … 404 405 if e==7; 405 406 title('OLR composite EOF12 ER 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 406 end 407 end; 407 408 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 408 409 pos_vert=e/10; … … 411 412 412 413 figure(2); 413 print -depsc2 composite_olr_EOF12_ER1030_part2.eps;414 print('-depsc2','composite_olr_EOF12_ER1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_olr_EOF12_ER30100.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 146 145 clear olr; 147 146 148 load eof12_rossby_30100.txt; 147 status=load('eof12_rossby_30100.txt'); 148 eof12_rossby_30100=status; 149 clear status; 149 150 % on met sous la forme annee mois 150 151 olr_eof=reshape(eof12_rossby_30100,122,28); … … 159 160 for a=1:3416; 160 161 olrbis(a)=(olrbis(a)-olr_moy)/olr_std; 161 end 162 end; 162 163 olr_eof=reshape(olrbis,122,28); 163 164 % intialisation des tableaux … … 272 273 y=olr_filtre_compomax(1:nb_value,a,b,c); 273 274 student1(a,b,c)=ttest(x,y,.2); 274 end 275 end 276 end 275 end; 276 end; 277 end; 277 278 278 279 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 313 314 end; 314 315 end; 315 end 316 end; 316 317 subplot(7,1,8-e); 317 318 palette … … 338 339 else 339 340 sauvegrads('composite_olr_mode_rossby_30100_moins18',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 340 end 341 end; 341 342 delta_olr_filtre_min=flipud(delta_olr_filtre_min); 342 343 … … 345 346 else 346 347 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 347 end 348 end; 348 349 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 349 350 if e==4; … … 358 359 if e==7; 359 360 title('OLR composite EOF12 ER 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 360 end 361 end; 361 362 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 362 363 pos_vert=e/10; … … 365 366 366 367 figure(1); 367 print -depsc2 composite_olr_EOF12_ER30100_part1.eps;368 print('-depsc2','composite_olr_EOF12_ER30100_part1.eps'); 368 369 369 370 figure(2); … … 393 394 end; 394 395 end; 395 end 396 end; 396 397 subplot(7,1,8-e); 397 398 palette … … 418 419 else 419 420 sauvegrads('composite_olr_mode_rossby_30100_moins4',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 420 end 421 end; 421 422 delta_olr_filtre_min=flipud(delta_olr_filtre_min); 422 423 … … 425 426 else 426 427 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 427 end 428 end; 428 429 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 429 430 if e==4; … … 438 439 if e==7; 439 440 title('OLR composite EOF12 ER 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 440 end 441 end; 441 442 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 442 443 pos_vert=e/10; … … 445 446 446 447 figure(2); 447 print -depsc2 composite_olr_EOF12_ER30100_part2.eps;448 print('-depsc2','composite_olr_EOF12_ER30100_part2.eps'); -
/trunk/src/mode_sahelien/composite_olr_EOF12_ER30100_dat.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 146 145 clear olr; 147 146 148 load eof12_rossby_30100.txt; 147 status=load('eof12_rossby_30100.txt'); 148 eof12_rossby_30100=status; 149 clear status; 149 150 % on met sous la forme annee mois 150 151 olr_eof=reshape(eof12_rossby_30100,122,28); … … 269 270 y=olr_filtre_compomax(1:nb_value,a,b,c); 270 271 student1(a,b,c)=ttest(x,y,.2); 271 end 272 end 273 end 272 end; 273 end; 274 end; 274 275 275 276 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 358 359 elseif e==31; 359 360 sauvegrads('composite_olr_mode_rossby_30100_plus9',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 360 end 361 end; 361 362 delta_olr_filtre_min=flipud(delta_olr_filtre_min); 362 end 363 end; -
/trunk/src/mode_sahelien/composite_olr_EOF1_1030.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 146 145 clear olr; 147 146 148 load eof1_1030.txt 147 status=load('eof1_1030.txt'); 148 eof1_1030=status; 149 clear status; 149 150 % on met sous la forme annee mois 150 151 olr_eof=reshape(eof1_1030,122,28); … … 263 264 y=olr_filtre_compomax(1:nb_value,a,b,c); 264 265 student1(a,b,c)=ttest(x,y,.2); 265 end 266 end 267 end 266 end; 267 end; 268 end; 268 269 269 270 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 304 305 end; 305 306 end; 306 end 307 end; 307 308 subplot(7,1,8-e); 308 309 palette … … 332 333 if e==7; 333 334 title('OLR composite EOF1 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 334 end 335 end; 335 336 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 336 337 pos_vert=e/10; … … 339 340 340 341 figure(1); 341 print -depsc2 composite_olr_EOF1_1030_part1.eps;342 print('-depsc2','composite_olr_EOF1_1030_part1.eps'); 342 343 343 344 figure(2); … … 367 368 end; 368 369 end; 369 end 370 end; 370 371 subplot(7,1,8-e); 371 372 palette … … 395 396 if e==7; 396 397 title('OLR composite EOF1 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 397 end 398 end; 398 399 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 399 400 pos_vert=e/10; … … 402 403 403 404 figure(2); 404 print -depsc2 composite_olr_EOF1_1030_part2.eps;405 print('-depsc2','composite_olr_EOF1_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_olr_EOF1_30100.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 146 145 clear olr; 147 146 148 load eof1_30100.txt 147 status=load('eof1_30100.txt'); 148 eof1_30100=status; 149 clear status; 149 150 % on met sous la forme annee mois 150 151 olr_eof=reshape(eof1_30100,122,28); … … 263 264 y=olr_filtre_compomax(1:nb_value,a,b,c); 264 265 student1(a,b,c)=ttest(x,y,.2); 265 end 266 end 267 end 266 end; 267 end; 268 end; 268 269 269 270 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 304 305 end; 305 306 end; 306 end 307 end; 307 308 subplot(7,1,8-e); 308 309 palette … … 332 333 if e==7; 333 334 title('OLR composite EOF1 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 334 end 335 end; 335 336 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 336 337 pos_vert=e/10; … … 339 340 340 341 figure(1); 341 print -depsc2 composite_olr_EOF1_30100_part1.eps;342 print('-depsc2','composite_olr_EOF1_30100_part1.eps'); 342 343 343 344 figure(2); … … 367 368 end; 368 369 end; 369 end 370 end; 370 371 subplot(7,1,8-e); 371 372 palette … … 395 396 if e==7; 396 397 title('OLR composite EOF1 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 397 end 398 end; 398 399 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 399 400 pos_vert=e/10; … … 402 403 403 404 figure(2); 404 print -depsc2 composite_olr_EOF1_30100_part2.eps;405 print('-depsc2','composite_olr_EOF1_30100_part2.eps'); -
/trunk/src/mode_sahelien/composite_olr_EOF23_1030.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 146 145 clear olr; 147 146 148 load eof23_1030.txt 147 status=load('eof23_1030.txt'); 148 eof23_1030=status; 149 clear status; 149 150 % on met sous la forme annee mois 150 151 olr_eof=reshape(eof23_1030,122,28); … … 271 272 y=olr_filtre_compomax(1:nb_value,a,b,c); 272 273 student1(a,b,c)=ttest(x,y,.2); 273 end 274 end 275 end 274 end; 275 end; 276 end; 276 277 277 278 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 312 313 end; 313 314 end; 314 end 315 end; 315 316 subplot(7,1,8-e); 316 317 palette … … 343 344 else 344 345 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 345 end 346 end; 346 347 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 347 348 if e==4; … … 356 357 if e==7; 357 358 title('OLR composite EOF23 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 358 end 359 end; 359 360 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 360 361 pos_vert=e/10; … … 363 364 364 365 figure(1); 365 print -depsc2 composite_olr_EOF23_1030_part1.eps;366 print('-depsc2','composite_olr_EOF23_1030_part1.eps'); 366 367 367 368 figure(2); … … 391 392 end; 392 393 end; 393 end 394 end; 394 395 subplot(7,1,8-e); 395 396 palette … … 416 417 else 417 418 sauvegrads('composite_olr_eof23_1030_moins4',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 418 end 419 end; 419 420 delta_olr_filtre_min=flipud(delta_olr_filtre_min); 420 421 … … 423 424 else 424 425 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 425 end 426 end; 426 427 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 427 428 if e==4; … … 436 437 if e==7; 437 438 title('OLR composite EOF23 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 438 end 439 end; 439 440 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 440 441 pos_vert=e/10; … … 443 444 444 445 figure(2); 445 print -depsc2 composite_olr_EOF23_1030_part2.eps;446 print('-depsc2','composite_olr_EOF23_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_olr_EOF23_30100.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 146 145 clear olr; 147 146 148 load eof23_30100.txt 147 status=load('eof23_30100.txt'); 148 eof23_30100=status; 149 clear status; 149 150 % on met sous la forme annee mois 150 151 olr_eof=reshape(eof23_30100,122,28); … … 263 264 y=olr_filtre_compomax(1:nb_value,a,b,c); 264 265 student1(a,b,c)=ttest(x,y,.2); 265 end 266 end 267 end 266 end; 267 end; 268 end; 268 269 269 270 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 304 305 end; 305 306 end; 306 end 307 end; 307 308 subplot(7,1,8-e); 308 309 palette … … 332 333 if e==7; 333 334 title('OLR composite EOF23 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 334 end 335 end; 335 336 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 336 337 pos_vert=e/10; … … 339 340 340 341 figure(1); 341 print -depsc2 composite_olr_EOF23_30100_part1.eps;342 print('-depsc2','composite_olr_EOF23_30100_part1.eps'); 342 343 343 344 figure(2); … … 367 368 end; 368 369 end; 369 end 370 end; 370 371 subplot(7,1,8-e); 371 372 palette … … 395 396 if e==7; 396 397 title('OLR composite EOF23 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 397 end 398 end; 398 399 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 399 400 pos_vert=e/10; … … 402 403 403 404 figure(2); 404 print -depsc2 composite_olr_EOF23_30100_part2.eps;405 print('-depsc2','composite_olr_EOF23_30100_part2.eps'); -
/trunk/src/mode_sahelien/composite_olr_EOF24_1030.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 146 145 clear olr; 147 146 148 load eof24_1030.txt 147 status=load('eof24_1030.txt'); 148 eof24_1030=status; 149 clear status; 149 150 % on met sous la forme annee mois 150 151 olr_eof=reshape(eof24_1030,122,28); … … 159 160 for a=1:k; 160 161 olrbis(a)=(olrbis(a)-olr_moy)/olr_std; 161 end 162 end; 162 163 163 164 clear olr_eof; … … 272 273 y=olr_filtre_compomax(1:nb_value,a,b,c); 273 274 student1(a,b,c)=ttest(x,y,.2); 274 end 275 end 275 end; 276 end; 276 277 end; 277 278 … … 313 314 end; 314 315 end; 315 end 316 end; 316 317 subplot(7,1,8-e); 317 318 palette … … 342 343 if e==7; 343 344 title('OLR composite EOF234 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 344 end 345 end; 345 346 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 346 347 pos_vert=e/10; … … 349 350 350 351 figure(1); 351 print -depsc2 composite_olr_EOF234_1030_part1.eps;352 print('-depsc2','composite_olr_EOF234_1030_part1.eps'); 352 353 353 354 figure(2); … … 377 378 end; 378 379 end; 379 end 380 end; 380 381 subplot(7,1,8-e); 381 382 palette … … 406 407 if e==7; 407 408 title('OLR composite EOF234 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 408 end 409 end; 409 410 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 410 411 pos_vert=e/10; … … 413 414 414 415 figure(2); 415 print -depsc2 composite_olr_EOF234_1030_part2.eps;416 print('-depsc2','composite_olr_EOF234_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_olr_EOF24_1030_passbande.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 169 168 for a=1:k; 170 169 olrbis(a)=(olrbis(a)-olr_moy)/olr_std; 171 end 170 end; 172 171 173 172 clear olr_eof; … … 282 281 y=olr_filtre_compomax(1:nb_value,a,b,c); 283 282 student1(a,b,c)=ttest(x,y,.2); 284 end 285 end 283 end; 284 end; 286 285 end; 287 286 … … 323 322 end; 324 323 end; 325 end 324 end; 326 325 subplot(7,1,8-e); 327 326 palette … … 352 351 if e==7; 353 352 title('OLR composite EOF234 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 354 end 353 end; 355 354 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 356 355 pos_vert=e/10; … … 359 358 360 359 figure(1); 361 print -depsc2 composite_olr_EOF234_1030_part1.eps;360 print('-depsc2','composite_olr_EOF234_1030_part1.eps'); 362 361 363 362 figure(2); … … 387 386 end; 388 387 end; 389 end 388 end; 390 389 subplot(7,1,8-e); 391 390 palette … … 416 415 if e==7; 417 416 title('OLR composite EOF234 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 418 end 417 end; 419 418 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 420 419 pos_vert=e/10; … … 423 422 424 423 figure(2); 425 print -depsc2 composite_olr_EOF234_1030_part2.eps;424 print('-depsc2','composite_olr_EOF234_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_olr_ER1030.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 146 145 clear olr; 147 146 148 load eof12_rossby_1030.txt 147 status=load('eof12_rossby_1030.txt'); 148 eof12_rossby_1030=status; 149 clear status; 149 150 150 151 % on met sous la forme annee mois … … 264 265 y=olr_filtre_compomax(1:nb_value,a,b,c); 265 266 student1(a,b,c)=ttest(x,y,.2); 266 end 267 end 268 end 267 end; 268 end; 269 end; 269 270 270 271 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 305 306 end; 306 307 end; 307 end 308 end; 308 309 subplot(7,1,8-e); 309 310 palette … … 330 331 else 331 332 sauvegrads('composite_olr_mode_rossby_moins18',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 332 end 333 end; 333 334 334 335 if e==1; … … 336 337 else 337 338 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 338 end 339 end; 339 340 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 340 341 if e==4; … … 349 350 if e==7; 350 351 title('EOF2 filtre Rossby 10-25j','fontsize',8) ; 351 end 352 end; 352 353 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 353 354 pos_vert=e/10; … … 356 357 357 358 figure(1); 358 print -depsc2 composite_olr_jjas_rossby_1030_eof2a.eps;359 print('-depsc2','composite_olr_jjas_rossby_1030_eof2a.eps'); 359 360 360 361 figure(2); … … 384 385 end; 385 386 end; 386 end 387 end; 387 388 subplot(7,1,8-e); 388 389 palette … … 409 410 else 410 411 sauvegrads('composite_olr_mode_rossby_moins4',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 411 end 412 end; 412 413 delta_olr_filtre_min=flipud(delta_olr_filtre_min); 413 414 if e==1; … … 415 416 else 416 417 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 417 end 418 end; 418 419 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 419 420 if e==4; … … 428 429 if e==7; 429 430 title('EOF2 filtre Rossby 10-25j','fontsize',8) ; 430 end 431 end; 431 432 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 432 433 pos_vert=e/10; … … 435 436 436 437 figure(2); 437 print -depsc2 composite_olr_jjas_rossby_1030_eof2b.eps;438 print('-depsc2','composite_olr_jjas_rossby_1030_eof2b.eps'); -
/trunk/src/mode_sahelien/composite_olr_ER1030_filtre.m
r20 r30 109 109 clear olr; 110 110 111 load eof12_rossby_1030.txt 111 status=load('eof12_rossby_1030.txt'); 112 eof12_rossby_1030=status; 113 clear status; 112 114 113 115 % on met sous la forme annee mois … … 173 175 end; 174 176 end; 175 end 177 end; 176 178 sauvegrads('composite_olr_EOF12_ER1030',delta_olr_filtre_min,[-180 2.5 -30 2.5]); 177 179 delta_olr_filtre_min(1,1)=-25.0001; -
/trunk/src/mode_sahelien/composite_olr_eof234_1030_filtre.m
r20 r30 14 14 clear olr 15 15 16 cd('..');17 16 ncload('olr.day.mean.nc','lon','lat'); 17 18 18 lat=lat(21:45); 19 19 lon=lon-180; 20 cd('mode_sahelien');21 20 22 load eof24_1030.txt 21 status=load('eof24_1030.txt'); 22 eof24_1030=status; 23 clear status; 23 24 24 25 % on met sous la forme annee mois … … 86 87 end; 87 88 end; 88 end 89 end; 89 90 delta_olr_filtre_min=flipud(delta_olr_filtre_min); 90 91 sauvegrads('composite_olr_EOF234_1030',delta_olr_filtre_min,[-180 2.5 -20 2.5]); -
/trunk/src/mode_sahelien/composite_olr_eof23_1030_filtre.m
r20 r30 14 14 clear olr; 15 15 16 cd('..');17 16 ncload('olr.day.mean.nc','lon','lat'); 17 18 18 lat=lat(21:45); 19 19 lon=lon-180; 20 cd('mode_sahelien');21 20 22 load eof23_1030.txt 21 status=load('eof23_1030.txt'); 22 eof23_1030=status; 23 clear status; 23 24 24 25 % on met sous la forme annee mois … … 86 87 end; 87 88 end; 88 end 89 end; 89 90 delta_olr_filtre_min=flipud(delta_olr_filtre_min); 90 91 sauvegrads('composite_olr_EOF23_1030',delta_olr_filtre_min,[-180 2.5 -20 2.5]); … … 114 115 title('Composite t=0 OLR et Pluies IRD indice ITCZ reconstruit EOF23','fontsize',6); 115 116 116 print -depsc2 carte_olr_eof23.eps117 print('-depsc2','carte_olr_eof23.eps'); -
/trunk/src/mode_sahelien/composite_olr_phase.m
r20 r30 33 33 34 34 figure(1); 35 print -depsc2 composite_olr_phase_14.eps;35 print('-depsc2','composite_olr_phase_14.eps'); 36 36 figure(2); 37 print -depsc2 composite_olr_phase_58.eps;37 print('-depsc2','composite_olr_phase_58.eps'); -
/trunk/src/mode_sahelien/composite_olr_phase1.m
r20 r30 4 4 clear; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc'); 8 cd('mode_sahelien'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 41 40 for c=1:siz; 42 41 vecteur(c)=olr1(a,b,c); 43 end 42 end; 44 43 std_c=nanmean(vecteur); 45 44 for c=1:siz; 46 45 olr1(a,b,c)=olr1(a,b,c)-std_c; 47 end 48 end 46 end; 47 end; 49 48 end; 50 49 … … 152 151 clear olr2; 153 152 154 load phase1.txt; 153 status=load('phase1.txt'); 154 phase1=status; 155 clear status; 155 156 phase1=reshape(phase1,122,28,3); 156 157 olr_filtre_compomax=zeros(90,21,144); -
/trunk/src/mode_sahelien/composite_olr_phase1_old.m
r20 r30 4 4 clear; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc'); 8 cd('mode_sahelien'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 41 40 for c=1:siz; 42 41 vecteur(c)=olr1(a,b,c); 43 end 42 end; 44 43 std_c=nanmean(vecteur); 45 44 for c=1:siz; 46 45 olr1(a,b,c)=olr1(a,b,c)-std_c; 47 end 48 end 46 end; 47 end; 49 48 end; 50 49 … … 149 148 150 149 clear; 151 load phase1.txt; 150 status=load('phase1.txt'); 151 phase1=status; 152 clear status; 152 153 phase1=reshape(phase1,122,28,3); 153 154 … … 223 224 end; 224 225 end; 225 end 226 end; 226 227 subplot(7,1,8-e); 227 228 palette … … 248 249 else 249 250 sauvegrads('composite_olr_mode_rossby_moins18',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 250 end 251 end; 251 252 252 253 if e==1; … … 254 255 else 255 256 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 256 end 257 end; 257 258 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 258 259 if e==4; … … 267 268 if e==7; 268 269 title('EOF2 filtre Rossby 10-25j','fontsize',8) ; 269 end 270 end; 270 271 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 271 272 pos_vert=e/10; … … 273 274 274 275 figure(1); 275 print -depsc2 composite_olr_jjas_rossby_1030_eof2a.eps;276 print('-depsc2','composite_olr_jjas_rossby_1030_eof2a.eps'); -
/trunk/src/mode_sahelien/composite_olr_phase2.m
r20 r30 4 4 clear; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc'); 8 cd('mode_sahelien'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 41 40 for c=1:siz; 42 41 vecteur(c)=olr1(a,b,c); 43 end 42 end; 44 43 std_c=nanmean(vecteur); 45 44 for c=1:siz; 46 45 olr1(a,b,c)=olr1(a,b,c)-std_c; 47 end 48 end 46 end; 47 end; 49 48 end; 50 49 … … 149 148 clear olr; 150 149 olr2=reshape(olr1,3416,21,144); 151 olr3(:,:)=mean(olr2); clear olr2; 152 153 load phase2.txt; 150 olr3(:,:)=mean(olr2); 151 clear olr2; 152 153 status=load('phase2.txt'); 154 phase2=status; 155 clear status; 154 156 phase2=reshape(phase2,122,28,3); 155 157 olr_filtre_compomax=zeros(90,21,144); 156 158 compteurmax=0; 157 159 -
/trunk/src/mode_sahelien/composite_olr_phase3.m
r20 r30 4 4 clear; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc'); 8 cd('mode_sahelien'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 41 40 for c=1:siz; 42 41 vecteur(c)=olr1(a,b,c); 43 end 42 end; 44 43 std_c=nanmean(vecteur); 45 44 for c=1:siz; 46 45 olr1(a,b,c)=olr1(a,b,c)-std_c; 47 end 48 end 46 end; 47 end; 49 48 end; 50 49 … … 152 151 clear olr2; 153 152 154 load phase3.txt; 153 status=load('phase3.txt'); 154 phase3=status; 155 clear status; 155 156 phase3=reshape(phase3,122,28,3); 156 157 olr_filtre_compomax=zeros(90,21,144); 157 158 compteurmax=0; 158 159 -
/trunk/src/mode_sahelien/composite_olr_phase4.m
r20 r30 4 4 clear; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc'); 8 cd('mode_sahelien'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 41 40 for c=1:siz; 42 41 vecteur(c)=olr1(a,b,c); 43 end 42 end; 44 43 std_c=nanmean(vecteur); 45 44 for c=1:siz; 46 45 olr1(a,b,c)=olr1(a,b,c)-std_c; 47 end 48 end 46 end; 47 end; 49 48 end; 50 49 … … 149 148 clear olr; 150 149 olr2=reshape(olr1,3416,21,144); 151 olr3(:,:)=mean(olr2); clear olr2; 152 153 load phase4.txt; 150 olr3(:,:)=mean(olr2); 151 clear olr2; 152 153 status=load('phase4.txt'); 154 phase4=status; 155 clear status; 154 156 phase4=reshape(phase4,122,28,3); 155 157 olr_filtre_compomax=zeros(90,21,144); 156 158 compteurmax=0; 157 159 -
/trunk/src/mode_sahelien/composite_olr_phase5.m
r20 r30 4 4 clear; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc'); 8 cd('mode_sahelien'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 41 40 for c=1:siz; 42 41 vecteur(c)=olr1(a,b,c); 43 end 42 end; 44 43 std_c=nanmean(vecteur); 45 44 for c=1:siz; 46 45 olr1(a,b,c)=olr1(a,b,c)-std_c; 47 end 48 end 46 end; 47 end; 49 48 end; 50 49 … … 152 151 clear olr2; 153 152 154 load phase5.txt; 153 status=load('phase5.txt'); 154 phase5=status; 155 clear status; 155 156 phase5=reshape(phase5,122,28,3); 156 157 olr_filtre_compomax=zeros(90,21,144); 157 158 compteurmax=0; 158 159 -
/trunk/src/mode_sahelien/composite_olr_phase6.m
r20 r30 4 4 clear; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc'); 8 cd('mode_sahelien'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 41 40 for c=1:siz; 42 41 vecteur(c)=olr1(a,b,c); 43 end 42 end; 44 43 std_c=nanmean(vecteur); 45 44 for c=1:siz; 46 45 olr1(a,b,c)=olr1(a,b,c)-std_c; 47 end 48 end 46 end; 47 end; 49 48 end; 50 49 … … 152 151 clear olr2; 153 152 154 load phase6.txt; 153 status=load('phase6.txt'); 154 phase6=status; 155 clear status; 155 156 phase6=reshape(phase6,122,28,3); 156 157 olr_filtre_compomax=zeros(90,21,144); 157 158 compteurmax=0; 158 159 -
/trunk/src/mode_sahelien/composite_olr_phase7.m
r20 r30 4 4 clear; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc'); 8 cd('mode_sahelien'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 41 40 for c=1:siz; 42 41 vecteur(c)=olr1(a,b,c); 43 end 42 end; 44 43 std_c=nanmean(vecteur); 45 44 for c=1:siz; 46 45 olr1(a,b,c)=olr1(a,b,c)-std_c; 47 end 48 end 46 end; 47 end; 49 48 end; 50 49 … … 149 148 clear olr; 150 149 olr2=reshape(olr1,3416,21,144); 151 olr3(:,:)=mean(olr2); clear olr2; 152 153 load phase7.txt; 150 olr3(:,:)=mean(olr2); 151 clear olr2; 152 153 status=load('phase7.txt'); 154 phase6=status; 155 clear status; 154 156 phase7=reshape(phase7,122,28,3); 155 157 olr_filtre_compomax=zeros(90,21,144); 156 158 compteurmax=0; 157 159 -
/trunk/src/mode_sahelien/composite_olr_phase8.m
r20 r30 4 4 clear; 5 5 6 cd('..');7 6 ncload('olr.day.mean.nc'); 8 cd('mode_sahelien'); 7 9 8 % taille 12327x73x144 1er juin 1974-31 decembre2007 10 9 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 41 40 for c=1:siz; 42 41 vecteur(c)=olr1(a,b,c); 43 end 42 end; 44 43 std_c=nanmean(vecteur); 45 44 for c=1:siz; 46 45 olr1(a,b,c)=olr1(a,b,c)-std_c; 47 end 48 end 46 end; 47 end; 49 48 end; 50 49 … … 152 151 clear olr2; 153 152 154 load phase8.txt; 153 status=load('phase8.txt'); 154 phase8=status; 155 clear status; 155 156 phase8=reshape(phase8,122,28,3); 156 157 olr_filtre_compomax=zeros(90,21,144); 157 158 compteurmax=0; 158 159 -
/trunk/src/mode_sahelien/composite_olr_sahel_1025.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 146 145 clear olr; 147 146 148 %load ind_olr_10_25_eof234.txt 149 load eof24_1025.txt 147 status=load('eof24_1025.txt'); 148 eof24_1025=status; 149 clear status; 150 150 % on met sous la forme annee mois 151 151 olr_eof=reshape(eof24_1025,122,28); … … 264 264 y=olr_filtre_compomax(1:nb_value,a,b,c); 265 265 student1(a,b,c)=ttest(x,y,.2); 266 end 267 end 268 end 266 end; 267 end; 268 end; 269 269 270 270 % on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences … … 305 305 end; 306 306 end; 307 end 307 end; 308 308 subplot(7,1,8-e); 309 309 palette; … … 319 319 else 320 320 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 321 end 321 end; 322 322 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 323 323 if e==4; … … 332 332 if e==7; 333 333 title('composites OLR filtre 10-25 jours EOF234','fontsize',8) ; 334 end 334 end; 335 335 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 336 336 pos_vert=e/10; … … 339 339 340 340 figure(1); 341 print -depsc2 composite_olr_jjas_sahel_10_25_eof234_part1.eps;341 print('-depsc2','composite_olr_jjas_sahel_10_25_eof234_part1.eps'); 342 342 343 343 figure(2); … … 367 367 end; 368 368 end; 369 end 369 end; 370 370 subplot(7,1,8-e); 371 371 palette … … 381 381 else 382 382 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 383 end 383 end; 384 384 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 385 385 if e==4; … … 394 394 if e==7; 395 395 title('composites OLR filtre 10-25 jours EOF234','fontsize',8) ; 396 end 396 end; 397 397 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 398 398 pos_vert=e/10; … … 401 401 402 402 figure(2); 403 print -depsc2 composite_olr_jjas_sahel_10_25_eof234_part2.eps;403 print('-depsc2','composite_olr_jjas_sahel_10_25_eof234_part2.eps'); -
/trunk/src/mode_sahelien/composite_olr_sahel_pb_3j.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 … … 432 431 end; 433 432 end; 434 end 433 end; 435 434 subplot(7,1,8-e); 436 435 palettejerome30 … … 464 463 end; 465 464 466 print -depsc2 compo_olr_eof234_1025_pb1_seuil_150.eps;465 print('-depsc2','compo_olr_eof234_1025_pb1_seuil_150.eps'); 467 466 468 467 figure(2); … … 487 486 end; 488 487 end; 489 end 488 end; 490 489 subplot(7,1,8-e); 491 490 palettejerome30; … … 518 517 set (gca,'position',[0.2 pos_vert 0.5 0.1]); 519 518 end; 520 print -depsc2 compo_olr_eof234_1025_pb2_seuil_150.eps;519 print('-depsc2','compo_olr_eof234_1025_pb2_seuil_150.eps'); -
/trunk/src/mode_sahelien/composite_pluie_eof234_1030.m
r20 r30 4 4 % ouverture / lecture du fichier 5 5 clear; 6 cd('Pluie_ird_25');7 6 8 7 % on selectionne les mois d ete (attention aux annees bixestiles!) … … 228 227 clear siz sizbis; 229 228 clear v; 230 cd('..'); 231 save pluie.mat pluie; 232 clear 233 234 load pluie.mat; 235 % pluie dimension : lon lat jours annee (41 17 122 12) => jour annee lat lon (17 41 122 12) 236 237 load eof24_1030.txt 229 230 status=load('eof24_1030.txt'); 231 eof24_1030=status; 232 clear status; 238 233 239 234 % on met sous la forme annee mois … … 306 301 end; 307 302 end; 308 end 303 end; 309 304 diff(1,1)=-5.01; 310 305 diff(1,2)=5.01; -
/trunk/src/mode_sahelien/composite_pluie_eof23_1030.m
r20 r30 4 4 % ouverture / lecture du fichier 5 5 clear; 6 cd('Pluie_ird_25');7 6 8 7 % on selectionne les mois d ete (attention aux annees bixestiles!) … … 222 221 clear siz sizbis; 223 222 clear v; 224 cd('..'); 225 save pluie.mat pluie; 226 clear 227 228 load pluie.mat; 229 % pluie dimension : lon lat jours annee (41 17 122 12) => jour annee lat lon (17 41 122 12) 230 231 load eof23_1030.txt 223 224 status=load('eof23_1030.txt'); 225 eof23_1030=status; 226 clear status; 232 227 233 228 % on met sous la forme annee mois … … 299 294 end; 300 295 end; 301 end 296 end; 302 297 diff(1,1)=-5.01; 303 298 diff(1,2)=5.01; -
/trunk/src/mode_sahelien/composite_pluie_ird_rossby.m
r20 r30 5 5 clear; 6 6 close all; 7 cd('Pluie_ird_25');8 7 9 8 % on selectionne les mois d ete (attention aux annees bixestiles!) … … 220 219 clear siz sizbis; 221 220 clear v; 222 cd('..'); 223 save pluie.mat pluie; 224 clear 225 226 load pluie.mat 227 % pluie dimension : lon lat jours annee (41 17 122 12) => jour annee lat lon (17 41 122 12) 228 229 load eof2_olr_rossby_jjas.txt; 221 222 status=load('eof2_olr_rossby_jjas.txt'); 223 eof2_olr_rossby_jjas=status; 224 clear status; 230 225 % on met sous la forme annee mois 231 226 eof2_olr_rossby_jjas=reshape(eof2_olr_rossby_jjas,122,22); … … 369 364 end; 370 365 end; 371 end 366 end; 372 367 pluie_min(1,1)=-0.0001; 373 368 pluie_min(1,2)=10.0001; … … 460 455 end; 461 456 figure(1); 462 print -depsc2 composite_pluie_min_eof2a.eps;457 print('-depsc2','composite_pluie_min_eof2a.eps'); 463 458 figure(2); 464 print -depsc2 composite_pluie_max_eof2a.eps;459 print('-depsc2','composite_pluie_max_eof2a.eps'); 465 460 figure(3); 466 print -depsc2 composite_pluie_diff_eof2a.eps;461 print('-depsc2','composite_pluie_diff_eof2a.eps'); 467 462 close all 468 463 … … 496 491 end; 497 492 end; 498 end 493 end; 499 494 pluie_min(1,1)=-0.0001; 500 495 pluie_min(1,2)=10.0001; … … 586 581 end; 587 582 figure(1); 588 print -depsc2 composite_pluie_min_eof2b.eps;583 print('-depsc2','composite_pluie_min_eof2b.eps'); 589 584 figure(2); 590 print -depsc2 composite_pluie_max_eof2b.eps;585 print('-depsc2','composite_pluie_max_eof2b.eps'); 591 586 figure(3); 592 print -depsc2 composite_pluie_diff_eof2b.eps;587 print('-depsc2','composite_pluie_diff_eof2b.eps'); -
/trunk/src/mode_sahelien/composite_pluie_ird_rossby1030.m
r20 r30 5 5 clear; 6 6 close all; 7 cd('Pluie_ird_25');8 7 9 8 % on selectionne les mois d ete (attention aux annees bixestiles!) … … 220 219 clear siz sizbis; 221 220 clear v; 222 cd('..'); 223 save pluie.mat pluie; 224 clear 225 226 load pluie.mat; 227 % pluie dimension : lon lat jours annee (41 17 122 12) => jour annee lat lon (17 41 122 12) 228 229 load eof12_rossby_1030.txt; 221 222 status=load('eof12_rossby_1030.txt'); 223 eof12_rossby_1030=status; 224 clear status; 230 225 231 226 % on met sous la forme annee mois … … 371 366 end; 372 367 end; 373 end 368 end; 374 369 pluie_min(1,1)=-0.0001; 375 370 pluie_min(1,2)=10.0001; … … 462 457 end; 463 458 figure(1); 464 print -depsc2 composite_pluie_min_eof2a.eps;459 print('-depsc2','composite_pluie_min_eof2a.eps'); 465 460 figure(2); 466 print -depsc2 composite_pluie_max_eof2a.eps;461 print('-depsc2','composite_pluie_max_eof2a.eps'); 467 462 figure(3); 468 print -depsc2 composite_pluie_diff_eof2a.eps;463 print('-depsc2','composite_pluie_diff_eof2a.eps'); 469 464 close all; 470 465 … … 498 493 end; 499 494 end; 500 end 495 end; 501 496 pluie_min(1,1)=-0.0001; 502 497 pluie_min(1,2)=10.0001; … … 588 583 end; 589 584 figure(1); 590 print -depsc2 composite_pluie_min_eof2b.eps;585 print('-depsc2','composite_pluie_min_eof2b.eps'); 591 586 figure(2); 592 print -depsc2 composite_pluie_max_eof2b.eps;587 print('-depsc2','composite_pluie_max_eof2b.eps'); 593 588 figure(3); 594 print -depsc2 composite_pluie_diff_eof2b.eps;589 print('-depsc2','composite_pluie_diff_eof2b.eps'); -
/trunk/src/mode_sahelien/composite_pluie_ird_rossby1030b.m
r20 r30 4 4 % ouverture / lecture du fichier 5 5 clear; 6 cd('Pluie_ird_25');7 6 8 7 % on selectionne les mois d ete (attention aux annees bixestiles!) … … 219 218 clear siz sizbis; 220 219 clear v; 221 cd('..'); 222 save pluie.mat pluie; 223 clear 224 225 load pluie.mat; 226 % pluie dimension : lon lat jours annee (41 17 122 12) => jour annee lat lon (17 41 122 12) 227 228 load eof12_rossby_1030.txt; 220 221 status=load('eof12_rossby_1030.txt'); 222 eof12_rossby_1030=status; 223 clear status; 229 224 230 225 % on met sous la forme annee mois … … 297 292 end; 298 293 end; 299 end 294 end; 300 295 diff(1,1)=-5.01; 301 296 diff(1,2)=5.01; -
/trunk/src/mode_sahelien/composite_pluie_ird_rossby30100b.m
r20 r30 4 4 % ouverture / lecture du fichier 5 5 clear; 6 cd('Pluie_ird_25');7 6 8 7 % on selectionne les mois d ete (attention aux annees bixestiles!) … … 219 218 clear siz sizbis; 220 219 clear v; 221 cd('..'); 222 save pluie.mat pluie; 223 clear 224 225 load pluie.mat; 226 % pluie dimension : lon lat jours annee (41 17 122 12) => jour annee lat lon (17 41 122 12) 227 228 load eof12_rossby_30100.txt; 220 221 status=load('eof12_rossby_30100.txt'); 222 eof12_rossby_30100=status; 223 clear status; 229 224 230 225 % on met sous la forme annee mois … … 297 292 end; 298 293 end; 299 end 294 end; 300 295 diff(1,1)=-5.01; 301 296 diff(1,2)=5.01; -
/trunk/src/mode_sahelien/composite_pluie_ird_sahel.m
r20 r30 5 5 clear; 6 6 close all; 7 cd('Pluie_ird_25');8 7 9 8 % on selectionne les mois d ete (attention aux annees bixestiles!) … … 220 219 clear siz sizbis; 221 220 clear v; 222 cd('..'); 223 save pluie.mat pluie; 224 clear 225 226 load pluie.mat 227 % pluie dimension : lon lat jours annee (41 17 122 12) => jour annee lat lon (17 41 122 12) 228 229 load eof24_1030.txt; 221 222 status=load('eof24_1030.txt'); 223 eof24_1030=status; 224 clear status; 230 225 231 226 % on met sous la forme annee mois … … 377 372 end; 378 373 end; 379 end 374 end; 380 375 pluie_min(1,1)=-0.0001; 381 376 pluie_min(1,2)=10.0001; … … 468 463 end; 469 464 figure(1); 470 print -depsc2 composite_pluie_min_mode_sahel1.eps;465 print('-depsc2','composite_pluie_min_mode_sahel1.eps'); 471 466 figure(2); 472 print -depsc2 composite_pluie_max_mode_sahel1.eps;467 print('-depsc2','composite_pluie_max_mode_sahel1.eps'); 473 468 figure(3); 474 print -depsc2 composite_pluie_diff_mode_sahel1.eps;469 print('-depsc2','composite_pluie_diff_mode_sahel1.eps'); 475 470 close all 476 471 … … 505 500 end; 506 501 end; 507 end 502 end; 508 503 pluie_min(1,1)=-0.0001; 509 504 pluie_min(1,2)=10.0001; … … 596 591 end; 597 592 figure(1); 598 print -depsc2 composite_pluie_min_mode_sahel2.eps;593 print('-depsc2','composite_pluie_min_mode_sahel2.eps'); 599 594 figure(2); 600 print -depsc2 composite_pluie_max_mode_sahel2.eps;595 print('-depsc2','composite_pluie_max_mode_sahel2.eps'); 601 596 figure(3); 602 print -depsc2 composite_pluie_diff_mode_sahel2.eps;597 print('-depsc2','composite_pluie_diff_mode_sahel2.eps'); -
/trunk/src/mode_sahelien/composite_uwnd700_EOF12_ER1030.m
r20 r30 50 50 %%%%%%%%%%%%%%% FICHIER OLR 51 51 % ouverture / lecture du fichier 52 load eof12_rossby_1030.txt 52 status=load('eof12_rossby_1030.txt'); 53 eof12_rossby_1030=status; 54 clear status; 53 55 ind_olr=reshape(eof12_rossby_1030,122,28); 54 56 k=122*28; … … 190 192 end; 191 193 end; 192 end 194 end; 193 195 subplot(7,1,8-e); 194 196 palette … … 243 245 end; 244 246 245 print -depsc2 composite_vwnd700_EOF12_ER1030_part1.eps;247 print('-depsc2','composite_vwnd700_EOF12_ER1030_part1.eps'); 246 248 247 249 figure(2); … … 266 268 end; 267 269 end; 268 end 270 end; 269 271 subplot(7,1,8-e); 270 272 palette; … … 318 320 end; 319 321 320 print -depsc2 composite_vwnd700_EOF12_ER1030_part2.eps;322 print('-depsc2','composite_vwnd700_EOF12_ER1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_uwnd700_EOF12_ER30100_dat.m
r20 r30 50 50 %%%%%%%%%%%%%%% FICHIER OLR 51 51 % ouverture / lecture du fichier 52 load eof12_rossby_30100.txt 52 status=load('eof12_rossby_30100.txt'); 53 eof12_rossby_30100=status; 54 clear status; 53 55 ind_olr=reshape(eof12_rossby_30100,122,28); 54 56 k=122*28; … … 248 250 elseif e==31; 249 251 sauvegrads('composite_uwnd700_mode_rossby_30100_plus9',delta_uwnd700_filtre_min,[-180 2.5 -10 2.5]); 250 end 251 252 end 252 end; 253 254 end; -
/trunk/src/mode_sahelien/composite_uwnd700_EOF24_1030.m
r20 r30 50 50 %%%%%%%%%%%%%%% FICHIER OLR 51 51 % ouverture / lecture du fichier 52 load eof24_1030.txt 52 status=load('eof24_1030.txt'); 53 eof24_1030=status; 54 clear status; 53 55 ind_olr=reshape(eof24_1030,122,28); 54 56 k=122*28; … … 191 193 end; 192 194 end; 193 end 195 end; 194 196 subplot(7,1,8-e); 195 197 palette … … 217 219 else 218 220 sauvegrads('composite_uwnd700_mode_sahel_1030_moins18',delta_uwnd700,[-180 2.5 -10 2.5]); 219 end 221 end; 220 222 delta_uwnd700=flipud(delta_uwnd700); 221 223 … … 243 245 end; 244 246 245 print -depsc2 composite_uwnd700_EOF234_1030_part1.eps;247 print('-depsc2','composite_uwnd700_EOF234_1030_part1.eps'); 246 248 247 249 figure(2); … … 266 268 end; 267 269 end; 268 end 270 end; 269 271 subplot(7,1,8-e); 270 272 palette; … … 318 320 end; 319 321 320 print -depsc2 composite_uwnd700_EOF234_1030_part2.eps;322 print('-depsc2','composite_uwnd700_EOF234_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_uwnd925_EOF12_ER1030.m
r20 r30 50 50 %%%%%%%%%%%%%%% FICHIER OLR 51 51 % ouverture / lecture du fichier 52 load eof12_rossby_1030.txt 52 status=load('eof12_rossby_1030.txt'); 53 eof12_rossby_1030=status; 54 clear status; 53 55 ind_olr=reshape(eof12_rossby_1030,122,28); 54 56 k=122*28; … … 190 192 end; 191 193 end; 192 end 194 end; 193 195 subplot(7,1,8-e); 194 196 palette … … 243 245 end; 244 246 245 print -depsc2 composite_vwnd925_EOF12_ER1030_part1.eps;247 print('-depsc2','composite_vwnd925_EOF12_ER1030_part1.eps'); 246 248 247 249 figure(2); … … 266 268 end; 267 269 end; 268 end 270 end; 269 271 subplot(7,1,8-e); 270 272 palette; … … 318 320 end; 319 321 320 print -depsc2 composite_vwnd925_EOF12_ER1030_part2.eps;322 print('-depsc2','composite_vwnd925_EOF12_ER1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_uwnd925_EOF12_ER30100_dat.m
r20 r30 51 51 %%%%%%%%%%%%%%% FICHIER OLR 52 52 % ouverture / lecture du fichier 53 load eof12_rossby_30100.txt 53 status=load('eof12_rossby_30100.txt'); 54 eof12_rossby_30100=status; 55 clear status; 54 56 ind_olr=reshape(eof12_rossby_30100,122,28); 55 57 k=122*28; … … 248 250 elseif e==31; 249 251 sauvegrads('composite_uwnd925_mode_rossby_30100_plus9',delta_uwnd925_filtre_min,[-180 2.5 -10 2.5]); 250 end 252 end; 251 253 delta_uwnd925_filtre_min=flipud(delta_uwnd925_filtre_min); 252 end 254 end; -
/trunk/src/mode_sahelien/composite_uwnd925_EOF23_1030.m
r20 r30 50 50 %%%%%%%%%%%%%%% FICHIER OLR 51 51 % ouverture / lecture du fichier 52 load eof23_1030.txt 52 status=load('eof23_1030.txt'); 53 eof23_1030=status; 54 clear status; 53 55 ind_olr=reshape(eof23_1030,122,28); 54 56 k=122*28; … … 191 193 end; 192 194 end; 193 end 195 end; 194 196 subplot(7,1,8-e); 195 197 palette … … 217 219 else 218 220 sauvegrads('composite_uwnd925_mode_sahel_1030_moins18',delta_uwnd925,[-180 2.5 -40 2.5]); 219 end 221 end; 220 222 delta_uwnd925=flipud(delta_uwnd925); 221 223 … … 243 245 end; 244 246 245 print -depsc2 composite_uwnd925_EOF23_1030_part1.eps;247 print('-depsc2','composite_uwnd925_EOF23_1030_part1.eps'); 246 248 247 249 figure(2); … … 266 268 end; 267 269 end; 268 end 270 end; 269 271 subplot(7,1,8-e); 270 272 palette; … … 318 320 end; 319 321 320 print -depsc2 composite_uwnd925_EOF23_1030_part2.eps;322 print('-depsc2','composite_uwnd925_EOF23_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_uwnd925_EOF24_1030.m
r20 r30 50 50 %%%%%%%%%%%%%%% FICHIER OLR 51 51 % ouverture / lecture du fichier 52 load eof24_1030.txt 52 status=load('eof24_1030.txt'); 53 eof24_1030=status; 54 clear status; 53 55 ind_olr=reshape(eof24_1030,122,28); 54 56 k=122*28; … … 191 193 end; 192 194 end; 193 end 195 end; 194 196 subplot(7,1,8-e); 195 197 palette … … 217 219 else 218 220 sauvegrads('composite_vwnd925_mode_sahel_1030_moins18',delta_vwnd925,[-180 2.5 -10 2.5]); 219 end 221 end; 220 222 delta_vwnd925=flipud(delta_vwnd925); 221 223 … … 243 245 end; 244 246 245 print -depsc2 composite_vwnd925_EOF234_1030_part1.eps;247 print('-depsc2','composite_vwnd925_EOF234_1030_part1.eps'); 246 248 247 249 figure(2); … … 266 268 end; 267 269 end; 268 end 270 end; 269 271 subplot(7,1,8-e); 270 272 palette; … … 318 320 end; 319 321 320 print -depsc2 composite_vwnd925_EOF234_1030_part2.eps;322 print('-depsc2','composite_vwnd925_EOF234_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_vwnd700_EOF12_ER30100_dat.m
r20 r30 50 50 %%%%%%%%%%%%%%% FICHIER OLR 51 51 % ouverture / lecture du fichier 52 load eof12_rossby_30100.txt 52 status=load('eof12_rossby_30100.txt'); 53 eof12_rossby_30100=status; 54 clear status; 53 55 ind_olr=reshape(eof12_rossby_30100,122,28); 54 56 k=122*28; … … 248 250 elseif e==31; 249 251 sauvegrads('composite_vwnd700_mode_rossby_30100_plus9',delta_vwnd700_filtre_min,[-180 2.5 -10 2.5]); 250 end 252 end; 251 253 delta_vwnd700_filtre_min=flipud(delta_vwnd700_filtre_min); 252 end 254 end; -
/trunk/src/mode_sahelien/composite_vwnd925_EOF12_ER30100_dat.m
r20 r30 49 49 %%%%%%%%%%%%%%% FICHIER OLR 50 50 % ouverture / lecture du fichier 51 load eof12_rossby_30100.txt 51 status=load('eof12_rossby_30100.txt'); 52 eof12_rossby_30100=status; 53 clear status; 52 54 ind_olr=reshape(eof12_rossby_30100,122,28); 53 55 k=122*28; … … 246 248 elseif e==31; 247 249 sauvegrads('composite_vwnd925_mode_rossby_30100_plus9',delta_vwnd925_filtre_min,[-180 2.5 -10 2.5]); 248 end 250 end; 249 251 delta_vwnd925_filtre_min=flipud(delta_vwnd925_filtre_min); 250 end 252 end; -
/trunk/src/mode_sahelien/composite_vwnd925_EOF23_1030.m
r20 r30 49 49 %%%%%%%%%%%%%%% FICHIER OLR 50 50 % ouverture / lecture du fichier 51 load eof23_1030.txt 51 status=load('eof23_1030.txt'); 52 eof23_1030=status; 53 clear status; 52 54 ind_olr=reshape(eof23_1030,122,28); 53 55 k=122*28; … … 190 192 end; 191 193 end; 192 end 194 end; 193 195 subplot(7,1,8-e); 194 196 palette … … 216 218 else 217 219 sauvegrads('composite_vwnd925_mode_sahel_1030_moins18',delta_vwnd925,[-180 2.5 -40 2.5]); 218 end 220 end; 219 221 delta_vwnd925=flipud(delta_vwnd925); 220 222 … … 242 244 end; 243 245 244 print -depsc2 composite_vwnd925_EOF23_1030_part1.eps;246 print('-depsc2','composite_vwnd925_EOF23_1030_part1.eps'); 245 247 246 248 figure(2); … … 265 267 end; 266 268 end; 267 end 269 end; 268 270 subplot(7,1,8-e); 269 271 palette; … … 317 319 end; 318 320 319 print -depsc2 composite_vwnd925_EOF23_1030_part2.eps;321 print('-depsc2','composite_vwnd925_EOF23_1030_part2.eps'); -
/trunk/src/mode_sahelien/composite_wind200_rossby.m
r20 r30 39 39 clear uwnd200; 40 40 41 load eof2_olr_rossby_jjas.txt; 41 status=load('eof2_olr_rossby_jjas.txt'); 42 eof2_olr_rossby_jjas=status; 43 clear status; 42 44 % on met sous la forme annee mois 43 45 olr_eof=reshape(eof2_olr_rossby_jjas,122,22); … … 189 191 clear vwnd200; 190 192 191 load eof2_olr_rossby_jjas.txt;193 status=load('eof2_olr_rossby_jjas.txt'); 192 194 % on met sous la forme annee mois 193 195 olr_eof=reshape(eof2_olr_rossby_jjas,122,22); … … 307 309 figure(1) 308 310 orient('landscape') 309 load pression.mat; 311 status=load('pression.mat','pression'); 312 pression=status.pression; 313 clear status; 310 314 311 315 for e=1:7; … … 349 353 else 350 354 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 351 end 355 end; 352 356 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 353 357 cartemonde1; … … 362 366 if e==7; 363 367 title('Composite geopotential + winds 200 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 364 end 368 end; 365 369 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 366 370 pos_vert=e/10; … … 368 372 end; 369 373 370 print -depsc2 composite_rossby_eof2a_u200_hgt.eps;374 print('-depsc2','composite_rossby_eof2a_u200_hgt.eps'); 371 375 372 376 figure(2); 373 377 orient('landscape') 374 load pression.mat; 378 status=load('pression.mat','pression'); 379 pression=status.pression; 380 clear status; 375 381 376 382 for e=1:7; … … 412 418 else 413 419 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 414 end 420 end; 415 421 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 416 422 cartemonde1; … … 426 432 title('Composite geopotential + winds 200 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 427 433 428 end 434 end; 429 435 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 430 436 pos_vert=e/10; … … 432 438 end; 433 439 434 print -depsc2 composite_rossby_eof2b_u200_hgt.eps;440 print('-depsc2','composite_rossby_eof2b_u200_hgt.eps'); -
/trunk/src/mode_sahelien/composite_wind200_sahel.m
r20 r30 331 331 figure(1) 332 332 orient('landscape') 333 load pression.mat; 333 status=load('pression.mat','pression'); 334 pression=status.pression; 335 clear status; 334 336 335 337 for e=1:7; … … 373 375 else 374 376 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 375 end 377 end; 376 378 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 377 379 cartemonde1; … … 386 388 if e==7; 387 389 title('Geopotential and winds at 200 Hpa - Sahelian mode','fontsize',8) ; 388 end 390 end; 389 391 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 390 392 pos_vert=e/10; … … 392 394 end; 393 395 394 print -depsc2 composite_sahel_1_u200_hgt.eps;396 print('-depsc2','composite_sahel_1_u200_hgt.eps'); 395 397 396 398 figure(2) 397 399 orient('landscape') 398 load pression.mat; 400 status=load('pression.mat','pression'); 401 pression=status.pression; 402 clear status; 399 403 400 404 for e=1:7; … … 438 442 else 439 443 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 440 end 444 end; 441 445 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 442 446 cartemonde1; … … 451 455 if e==7; 452 456 title('Geopotential and winds at 200 Hpa - Sahelian mode','fontsize',8) ; 453 end 457 end; 454 458 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 455 459 pos_vert=e/10; … … 457 461 end; 458 462 459 print -depsc2 composite_sahel_2_u200_hgt.eps;463 print('-depsc2','composite_sahel_2_u200_hgt.eps'); -
/trunk/src/mode_sahelien/composite_wind500_rossby_europe.m
r20 r30 39 39 clear uwnd500; 40 40 41 load eof2_olr_rossby_jjas.txt; 41 status=load('eof2_olr_rossby_jjas.txt'); 42 eof2_olr_rossby_jjas=status; 43 clear status; 42 44 % on met sous la forme annee mois 43 45 olr_eof=reshape(eof2_olr_rossby_jjas,122,22); … … 189 191 clear vwnd500; 190 192 191 load eof2_olr_rossby_jjas.txt;193 status=load('eof2_olr_rossby_jjas.txt'); 192 194 % on met sous la forme annee mois 193 195 olr_eof=reshape(eof2_olr_rossby_jjas,122,22); … … 307 309 figure(1) 308 310 orient('landscape') 309 load pression.mat; 311 status=load('pression.mat','pression'); 312 pression=status.pression; 313 clear status; 310 314 311 315 for e=1:7; … … 349 353 else 350 354 set (gca,'XTick',[-80:20:20],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 351 end 355 end; 352 356 set (gca,'YTick',[20:20:80],'YTickLabel',['20N';'40N';'60N';'80N'],'fontname','Arial','fontsize',6); 353 357 cartemonde1; … … 362 366 if e==7; 363 367 title('Composite geopotential + winds 500 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 364 end 368 end; 365 369 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 366 370 pos_vert=e/10; … … 368 372 end; 369 373 370 print -depsc2 composite_rossby_eof2a_u500_hgt.eps;374 print('-depsc2','composite_rossby_eof2a_u500_hgt.eps'); 371 375 372 376 for e=1:7; … … 410 414 else 411 415 set (gca,'XTick',[-80:20:20],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 412 end 416 end; 413 417 set (gca,'YTick',[20:20:80],'YTickLabel',['20N';'40N';'60N';'80N'],'fontname','Arial','fontsize',6); 414 418 cartemonde1; … … 423 427 if e==7; 424 428 title('Composite geopotential + winds 500 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 425 end 429 end; 426 430 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 427 431 pos_vert=e/10; … … 429 433 end; 430 434 431 print -depsc2 composite_rossby_eof2b_u500_hgt.eps;435 print('-depsc2','composite_rossby_eof2b_u500_hgt.eps'); -
/trunk/src/mode_sahelien/composite_wind925_EOF12_ER1030.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof12_rossby_1030.txt; 50 status=load('eof12_rossby_1030.txt'); 51 eof12_rossby_1030=status; 52 clear status; 51 53 ind_olr=reshape(eof12_rossby_1030,122,28); 52 54 clear eof12_rossby_1030; … … 208 210 %%%%%%%%%%%%%% FICHIER OLR 209 211 % ouverture / lecture du fichier 210 load eof12_rossby_1030.txt;212 status=load('eof12_rossby_1030.txt'); 211 213 ind_olr=reshape(eof12_rossby_1030,122,28); 212 214 clear eof12_rossby_1030 … … 361 363 else 362 364 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 363 end 365 end; 364 366 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 365 367 cartemonde1; … … 370 372 if e==4; 371 373 title('Geopotential winds 925hPa -EOF12 ER1030d - ITCZ 7.5-12.5','fontsize',8) ; 372 end 374 end; 373 375 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 374 376 pos_vert=e/6.1; … … 377 379 end; 378 380 379 print -depsc2 composite_wind925_EOF12_ER1030_part1.eps;381 print('-depsc2','composite_wind925_EOF12_ER1030_part1.eps'); 380 382 381 383 figure(2); … … 416 418 else 417 419 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 418 end 420 end; 419 421 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 420 422 cartemonde1; … … 425 427 if e==4; 426 428 title('Geopotential winds 925hPa -EOF12 ER1030d - ITCZ 7.5-12.5','fontsize',8) ; 427 end 429 end; 428 430 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 429 431 pos_vert=e/6.1; … … 431 433 end; 432 434 433 print -depsc2 composite_wind925_EOF12_ER1030_part2.eps;435 print('-depsc2','composite_wind925_EOF12_ER1030_part2.eps'); 434 436 435 437 figure(3); … … 470 472 else 471 473 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 472 end 474 end; 473 475 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 474 476 cartemonde1; … … 479 481 if e==4; 480 482 title('Geopotential winds 925hPa -EOF12 ER1030d - ITCZ 7.5-12.5','fontsize',8) ; 481 end 483 end; 482 484 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 483 485 pos_vert=e/6.1; … … 485 487 end; 486 488 487 print -depsc2 composite_wind925_EOF12_ER1030_part3.eps;489 print('-depsc2','composite_wind925_EOF12_ER1030_part3.eps'); 488 490 489 491 figure(4); … … 524 526 else 525 527 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 526 end 528 end; 527 529 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 528 530 cartemonde1; … … 533 535 if e==4; 534 536 title('Geopotential winds 925hPa -EOF12 ER1030d - ITCZ 7.5-12.5','fontsize',8) ; 535 end 537 end; 536 538 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 537 539 pos_vert=e/6.1; … … 539 541 end; 540 542 541 print -depsc2 composite_wind925_EOF12_ER1030_part4.eps;543 print('-depsc2','composite_wind925_EOF12_ER1030_part4.eps'); -
/trunk/src/mode_sahelien/composite_wind925_EOF12_ER30100.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof12_rossby_30100.txt; 50 status=load('eof12_rossby_30100.txt'); 51 eof12_rossby_30100=status; 52 clear status; 51 53 ind_olr=reshape(eof12_rossby_30100,122,28); 52 54 clear eof12_rossby_30100; … … 208 210 %%%%%%%%%%%%%% FICHIER OLR 209 211 % ouverture / lecture du fichier 210 load eof12_rossby_30100.txt; 212 status=load('eof12_rossby_30100.txt'); 213 eof12_rossby_30100=status; 214 clear status; 211 215 ind_olr=reshape(eof12_rossby_30100,122,28); 212 216 clear eof12_rossby_30100 … … 327 331 figure(1); 328 332 orient('landscape'); 329 load pression_eof12_er30100.mat; 333 status=load('pression_eof12_er30100.mat','pression'); 334 pression=status; 335 clear status; 330 336 331 337 for e=1:4; … … 370 376 else 371 377 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 372 end 378 end; 373 379 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 374 380 cartemonde1; … … 383 389 if e==4; 384 390 title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 385 end 391 end; 386 392 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 387 393 pos_vert=e/6.1; … … 390 396 end; 391 397 392 print -depsc2 composite_wind925_EOF12_ER30100_part1.eps;398 print('-depsc2','composite_wind925_EOF12_ER30100_part1.eps'); 393 399 394 400 figure(2); 395 401 orient('landscape'); 396 load pression_eof12_er30100.mat; 402 status=load('pression_eof12_er30100.mat','pression'); 403 pression=status; 404 clear status; 397 405 398 406 for e=1:4; … … 437 445 else 438 446 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 439 end 447 end; 440 448 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 441 449 … … 451 459 if e==4; 452 460 title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 453 end 461 end; 454 462 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 455 463 pos_vert=e/6.1; … … 458 466 459 467 460 print -depsc2 composite_wind925_EOF12_ER30100_part2.eps;468 print('-depsc2','composite_wind925_EOF12_ER30100_part2.eps'); 461 469 462 470 figure(3); 463 471 orient('landscape'); 464 load pression_eof12_er30100.mat; 472 status=load('pression_eof12_er30100.mat','pression'); 473 pression=status; 474 clear status; 475 465 476 for e=1:4; 466 477 a=4-(e-1)+1+8; … … 504 515 else 505 516 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 506 end 517 end; 507 518 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 508 519 … … 518 529 if e==4; 519 530 title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 520 end 531 end; 521 532 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 522 533 pos_vert=e/6.1; … … 525 536 526 537 527 print -depsc2 composite_wind925_EOF12_ER30100_part3.eps;538 print('-depsc2','composite_wind925_EOF12_ER30100_part3.eps'); 528 539 529 540 figure(4); 530 541 orient('landscape'); 531 load pression_eof12_er30100.mat; 542 status=load('pression_eof12_er30100.mat','pression'); 543 pression=status; 544 clear status; 532 545 for e=1:4; 533 546 a=4-(e-1)+1+10; … … 571 584 else 572 585 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 573 end 586 end; 574 587 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 575 588 … … 585 598 if e==4; 586 599 title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 587 end 600 end; 588 601 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 589 602 pos_vert=e/6.1; … … 591 604 end; 592 605 593 print -depsc2 composite_wind925_EOF12_ER30100_part4.eps;606 print('-depsc2','composite_wind925_EOF12_ER30100_part4.eps'); -
/trunk/src/mode_sahelien/composite_wind925_EOF1_30100.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof1_30100.txt; 50 status=load('eof1_30100.txt'); 51 eof1_30100=status; 52 clear status; 51 53 ind_olr=reshape(eof1_30100,122,28); 52 54 clear eof1_30100; … … 208 210 %%%%%%%%%%%%%% FICHIER OLR 209 211 % ouverture / lecture du fichier 210 load eof1_30100.txt;212 status=load('eof1_30100.txt'); 211 213 ind_olr=reshape(eof1_30100,122,28); 212 214 clear eof1_30100 … … 363 365 else 364 366 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 365 end 367 end; 366 368 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 367 369 cartemonde1; … … 372 374 if e==4; 373 375 title('Winds 925hPa -EOF1 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 374 end 376 end; 375 377 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 376 378 pos_vert=e/6.1; … … 379 381 end; 380 382 381 print -depsc2 composite_wind925_EOF1_ER30100_part1.eps;383 print('-depsc2','composite_wind925_EOF1_ER30100_part1.eps'); 382 384 383 385 figure(2); … … 418 420 else 419 421 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 420 end 422 end; 421 423 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 422 424 cartemonde1; … … 427 429 if e==4; 428 430 title('Winds 925hPa -EOF1 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 429 end 431 end; 430 432 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 431 433 pos_vert=e/6.1; … … 433 435 end; 434 436 435 print -depsc2 composite_wind925_EOF1_ER30100_part2.eps;437 print('-depsc2','composite_wind925_EOF1_ER30100_part2.eps'); 436 438 437 439 figure(3); … … 472 474 else 473 475 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 474 end 476 end; 475 477 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 476 478 cartemonde1; … … 481 483 if e==4; 482 484 title('Winds 925hPa -EOF1 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 483 end 485 end; 484 486 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 485 487 pos_vert=e/6.1; … … 487 489 end; 488 490 489 print -depsc2 composite_wind925_EOF1_ER30100_part3.eps;491 print('-depsc2','composite_wind925_EOF1_ER30100_part3.eps'); 490 492 491 493 figure(4); … … 526 528 else 527 529 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 528 end 530 end; 529 531 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 530 532 cartemonde1; … … 535 537 if e==4; 536 538 title('Winds 925hPa EOF1 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 537 end 539 end; 538 540 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 539 541 pos_vert=e/6.1; … … 541 543 end; 542 544 543 print -depsc2 composite_wind925_EOF1_ER30100_part4.eps;545 print('-depsc2','composite_wind925_EOF1_ER30100_part4.eps'); -
/trunk/src/mode_sahelien/composite_wind925_EOF234_1030.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load eof24_1030.txt; 50 status=load('eof24_1030.txt'); 51 eof24_1030=status; 52 clear status; 51 53 ind_olr=reshape(eof24_1030,122,28); 52 54 clear eof24_1030; … … 208 210 %%%%%%%%%%%%%% FICHIER OLR 209 211 % ouverture / lecture du fichier 210 load eof24_1030.txt;212 status=load('eof24_1030.txt'); 211 213 ind_olr=reshape(eof24_1030,122,28); 212 214 clear eof24_1030 … … 362 364 else 363 365 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 364 end 366 end; 365 367 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 366 368 cartemonde1; … … 371 373 if e==4; 372 374 title('Winds 925hPa -EOF234 1030d - ITCZ 7.5-12.5','fontsize',8) ; 373 end 375 end; 374 376 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 375 377 pos_vert=e/6.1; … … 378 380 end; 379 381 380 print -depsc2 composite_wind925_EOF234_1030_part1.eps;382 print('-depsc2','composite_wind925_EOF234_1030_part1.eps'); 381 383 382 384 figure(2); … … 417 419 else 418 420 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 419 end 421 end; 420 422 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 421 423 cartemonde1; … … 426 428 if e==4; 427 429 title('Winds 925hPa -EOF234 1030d - ITCZ 7.5-12.5','fontsize',8) ; 428 end 430 end; 429 431 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 430 432 pos_vert=e/6.1; … … 432 434 end; 433 435 434 print -depsc2 composite_wind925_EOF234_1030_part2.eps;436 print('-depsc2','composite_wind925_EOF234_1030_part2.eps'); 435 437 436 438 figure(3); … … 471 473 else 472 474 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 473 end 475 end; 474 476 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 475 477 cartemonde1; … … 480 482 if e==4; 481 483 title('Winds 925hPa -EOF234 1030d - ITCZ 7.5-12.5','fontsize',8) ; 482 end 484 end; 483 485 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 484 486 pos_vert=e/6.1; … … 486 488 end; 487 489 488 print -depsc2 composite_wind925_EOF234_1030_part3.eps;490 print('-depsc2','composite_wind925_EOF234_1030_part3.eps'); 489 491 490 492 figure(4); … … 525 527 else 526 528 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 527 end 529 end; 528 530 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 529 531 cartemonde1; … … 534 536 if e==4; 535 537 title('Winds 925hPa EOF234 1030d - ITCZ 7.5-12.5','fontsize',8) ; 536 end 538 end; 537 539 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 538 540 pos_vert=e/6.1; … … 540 542 end; 541 543 542 print -depsc2 composite_wind925_EOF234_1030_part4.eps;544 print('-depsc2','composite_wind925_EOF234_1030_part4.eps'); -
/trunk/src/mode_sahelien/composite_wind925_EOF23_30100.m
r20 r30 48 48 %%%%%%%%%%%%%%% OLR 49 49 % ouverture / lecture du fichier 50 load eof23_30100.txt; 50 status=load('eof23_30100.txt'); 51 eof23_30100=status; 52 clear status; 51 53 ind_olr=reshape(eof23_30100,122,28); 52 54 clear eof23_30100; … … 208 210 %%%%%%%%%%%%%% OLR 209 211 % ouverture / lecture du fichier 210 load eof23_30100.txt;212 status=load('eof23_30100.txt'); 211 213 ind_olr=reshape(eof23_30100,122,28); 212 214 clear eof23_30100 … … 362 364 else 363 365 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 364 end 366 end; 365 367 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 366 368 cartemonde1; … … 371 373 if e==4; 372 374 title('Winds 925hPa -EOF23 30100d - ITCZ 7.5-12.5','fontsize',8) ; 373 end 375 end; 374 376 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 375 377 pos_vert=e/6.1; … … 378 380 end; 379 381 380 print -depsc2 composite_wind925_EOF23_30100_part1.eps;382 print('-depsc2','composite_wind925_EOF23_30100_part1.eps'); 381 383 382 384 figure(2); … … 417 419 else 418 420 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 419 end 421 end; 420 422 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 421 423 cartemonde1; … … 426 428 if e==4; 427 429 title('Winds 925hPa -EOF23 30100d - ITCZ 7.5-12.5','fontsize',8) ; 428 end 430 end; 429 431 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 430 432 pos_vert=e/6.1; … … 432 434 end; 433 435 434 print -depsc2 composite_wind925_EOF23_30100_part2.eps;436 print('-depsc2','composite_wind925_EOF23_30100_part2.eps'); 435 437 436 438 figure(3); … … 471 473 else 472 474 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 473 end 475 end; 474 476 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 475 477 cartemonde1; … … 480 482 if e==4; 481 483 title('Winds 925hPa -EOF23 30100d - ITCZ 7.5-12.5','fontsize',8) ; 482 end 484 end; 483 485 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 484 486 pos_vert=e/6.1; … … 486 488 end; 487 489 488 print -depsc2 composite_wind925_EOF23_30100_part3.eps;490 print('-depsc2','composite_wind925_EOF23_30100_part3.eps'); 489 491 490 492 figure(4); … … 525 527 else 526 528 set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 527 end 529 end; 528 530 set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 529 531 cartemonde1; … … 534 536 if e==4; 535 537 title('Winds 925hPa EOF23 30100d - ITCZ 7.5-12.5','fontsize',8) ; 536 end 538 end; 537 539 text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 538 540 pos_vert=e/6.1; … … 540 542 end; 541 543 542 print -depsc2 composite_wind925_EOF23_30100_part4.eps;544 print('-depsc2','composite_wind925_EOF23_30100_part4.eps'); -
/trunk/src/mode_sahelien/composite_wind925_eof23_2590.m
r20 r30 48 48 %%%%%%%%%%%%%%% FICHIER OLR 49 49 % ouverture / lecture du fichier 50 load ind_olr_25_90_eof23.txt; 50 status=load('ind_olr_25_90_eof23.txt'); 51 ind_olr_25_90_eof23=status; 52 clear status; 51 53 ind_olr=reshape(ind_olr_25_90_eof23,122,28); 52 54 … … 207 209 %%%%%%%%%%%%%% FICHIER OLR 208 210 % ouverture / lecture du fichier 209 load ind_olr_25_90_eof23.txt; 211 status=load('ind_olr_25_90_eof23.txt'); 212 ind_olr_25_90_eof23=status; 213 clear status; 214 210 215 ind_olr=reshape(ind_olr_25_90_eof23,122,28); 211 216 k=122*28; … … 324 329 figure(1); 325 330 orient('landscape'); 326 load pression.mat; 331 status=load('pression.mat','pression'); 332 pression=status.pression; 333 clear status; 327 334 328 335 for e=1:4; … … 366 373 else 367 374 set (gca,'XTick',[-60:20:60],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontsize',6); 368 end 375 end; 369 376 370 377 set (gca,'YTick',[-40:20:40],'YTickLabel',[' ';'20S';' 0 ';'20N';' '],'fontname','Arial','fontsize',6); … … 380 387 if e==4; 381 388 title('Geopotential and winds at 925 Hpa - EOF23 25-90days','fontsize',8) ; 382 end 389 end; 383 390 text(-180,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 384 391 pos_vert=e/6.1; … … 386 393 end; 387 394 388 print -depsc2 composite_eof23_2090_u925_hgt_part1.eps;395 print('-depsc2','composite_eof23_2090_u925_hgt_part1.eps'); 389 396 390 397 figure(2); 391 398 orient('landscape'); 392 load pression.mat; 399 status=load('pression.mat','pression'); 400 pression=status.pression; 401 clear status; 393 402 394 403 for e=1:4; … … 432 441 else 433 442 set (gca,'XTick',[-60:20:60],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontsize',6); 434 end 443 end; 435 444 436 445 set (gca,'YTick',[-40:20:40],'YTickLabel',[' ';'20S';' 0 ';'20N';' '],'fontname','Arial','fontsize',6); … … 446 455 if e==4; 447 456 title('Geopotential and winds at 925 Hpa - EOF23 25-90days','fontsize',8) ; 448 end 457 end; 449 458 text(-180,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 450 459 pos_vert=e/6.1; … … 452 461 end; 453 462 454 print -depsc2 composite_eof23_2090_u925_hgt_part2.eps;463 print('-depsc2','composite_eof23_2090_u925_hgt_part2.eps'); 455 464 456 465 figure(3); 457 466 orient('landscape'); 458 load pression.mat; 467 status=load('pression.mat','pression'); 468 pression=status.pression; 469 clear status; 459 470 460 471 for e=1:4; … … 498 509 else 499 510 set (gca,'XTick',[-60:20:60],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontsize',6); 500 end 511 end; 501 512 502 513 set (gca,'YTick',[-40:20:40],'YTickLabel',[' ';'20S';' 0 ';'20N';' '],'fontname','Arial','fontsize',6); … … 512 523 if e==4; 513 524 title('Geopotential and winds at 925 Hpa - EOF23 25-90days','fontsize',8) ; 514 end 525 end; 515 526 text(-180,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 516 527 pos_vert=e/6.1; … … 518 529 end; 519 530 520 print -depsc2 composite_eof23_2090_u925_hgt_part3.eps;531 print('-depsc2','composite_eof23_2090_u925_hgt_part3.eps'); 521 532 522 533 figure(4); 523 534 orient('landscape'); 524 load pression.mat; 535 status=load('pression.mat','pression'); 536 pression=status.pression; 537 clear status; 525 538 526 539 for e=1:4; … … 564 577 else 565 578 set (gca,'XTick',[-60:20:60],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontsize',6); 566 end 579 end; 567 580 568 581 set (gca,'YTick',[-40:20:40],'YTickLabel',[' ';'20S';' 0 ';'20N';' '],'fontname','Arial','fontsize',6); … … 578 591 if e==4; 579 592 title('Geopotential and winds at 925 Hpa - EOF23 25-90days','fontsize',8) ; 580 end 593 end; 581 594 text(-180,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 582 595 pos_vert=e/6.1; … … 584 597 end; 585 598 586 print -depsc2 composite_eof23_2090_u925_hgt_part4.eps;599 print('-depsc2','composite_eof23_2090_u925_hgt_part4.eps'); -
/trunk/src/mode_sahelien/composite_wind925_rossby.m
r20 r30 39 39 clear uwnd925; 40 40 41 load eof12_rossby_1030.txt; 41 status=load('eof12_rossby_1030.txt'); 42 eof12_rossby_1030=status; 43 clear status; 42 44 % on met sous la forme annee mois 43 45 olr_eof=reshape(eof12_rossby_1030,122,22); … … 189 191 clear vwnd925; 190 192 191 load eof2_olr_rossby_jjas.txt; 193 status=load('eof2_olr_rossby_jjas.txt'); 194 eof2_olr_rossby_jjas=status; 195 clear status; 192 196 % on met sous la forme annee mois 193 197 olr_eof=reshape(eof2_olr_rossby_jjas,122,22); … … 307 311 figure(1) 308 312 orient('landscape') 309 load pression.mat; 313 status=load('pression.mat','pression'); 314 pression=status.pression; 315 clear status; 310 316 311 317 for e=1:7; … … 349 355 else 350 356 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 351 end 357 end; 352 358 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 353 359 cartemonde1; … … 362 368 if e==7; 363 369 title('Composite geopotential + winds 925 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 364 end 370 end; 365 371 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 366 372 pos_vert=e/10; … … 368 374 end; 369 375 370 print -depsc2 composite_rossby_eof2a_u925_hgt.eps;376 print('-depsc2','composite_rossby_eof2a_u925_hgt.eps'); 371 377 372 378 figure(2); 373 379 orient('landscape') 374 load pression.mat; 380 status=load('pression.mat','pression'); 381 pression=status.pression; 382 clear status; 375 383 376 384 for e=1:7; … … 412 420 else 413 421 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 414 end 422 end; 415 423 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 416 424 cartemonde1; … … 425 433 if e==7; 426 434 title('Composite geopotential + winds 925 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 427 end 435 end; 428 436 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 429 437 pos_vert=e/10; … … 431 439 end; 432 440 433 print -depsc2 composite_rossby_eof2b_u925_hgt.eps;441 print('-depsc2','composite_rossby_eof2b_u925_hgt.eps'); -
/trunk/src/mode_sahelien/composite_wind925_sahel.m
r20 r30 331 331 figure(1) 332 332 orient('landscape') 333 load pression.mat; 333 status=load('pression.mat','pression'); 334 pression=status.pression; 335 clear status; 334 336 335 337 for e=1:7; … … 373 375 else 374 376 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 375 end 377 end; 376 378 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 377 379 cartemonde1; … … 386 388 if e==7; 387 389 title('Geopotential and winds at 700 Hpa - Sahelian mode','fontsize',8) ; 388 end 390 end; 389 391 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 390 392 pos_vert=e/10; … … 392 394 end; 393 395 394 print -depsc2 composite_sahel_1_u700_hgt.eps;396 print('-depsc2','composite_sahel_1_u700_hgt.eps'); 395 397 396 398 figure(2) 397 399 orient('landscape') 398 load pression.mat; 400 status=load('pression.mat','pression'); 401 pression=status.pression; 402 clear status; 399 403 400 404 for e=1:7; … … 438 442 else 439 443 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 440 end 444 end; 441 445 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 442 446 cartemonde1; … … 451 455 if e==7; 452 456 title('Geopotential and winds at 700 Hpa - Sahelian mode','fontsize',8) ; 453 end 457 end; 454 458 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 455 459 pos_vert=e/10; … … 457 461 end; 458 462 459 print -depsc2 composite_sahel_2_u700_hgt.eps;463 print('-depsc2','composite_sahel_2_u700_hgt.eps'); -
/trunk/src/mode_sahelien/composite_wind925_sahel_1090.m
r20 r30 42 42 %%%%%%%%%%%%%%% FICHIER OLR 43 43 % ouverture / lecture du fichier 44 load ind_olr_10_90_eof23.txt; 44 status=load('ind_olr_10_90_eof23.txt'); 45 ind_olr_10_90_eof23=status; 46 clear status; 45 47 ind_olr=reshape(ind_olr_10_90_eof23,122,28); 46 48 clear ind_olr_10_90_eof23; … … 332 334 figure(1) 333 335 orient('landscape') 334 load pression.mat; 336 status=load('pression.mat','pression'); 337 pression=status.pression; 338 clear status; 335 339 336 340 for e=1:7; … … 374 378 else 375 379 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 376 end 380 end; 377 381 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 378 382 cartemonde1; … … 387 391 if e==7; 388 392 title('Geopotential and winds at 700 Hpa - Sahelian mode','fontsize',8) ; 389 end 393 end; 390 394 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 391 395 pos_vert=e/10; … … 393 397 end; 394 398 395 print -depsc2 composite_sahel_1_u700_hgt.eps;399 print('-depsc2','composite_sahel_1_u700_hgt.eps'); 396 400 397 401 figure(2) 398 402 orient('landscape') 399 load pression.mat; 403 status=load('pression.mat','pression'); 404 pression=status.pression; 405 clear status; 400 406 401 407 for e=1:7; … … 439 445 else 440 446 set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 441 end 447 end; 442 448 set (gca,'YTick',[-10:10:40],'YTickLabel',[' ';' 0';'10N';'20N';'30N';' '],'fontname','Arial','fontsize',6); 443 449 cartemonde1; … … 452 458 if e==7; 453 459 title('Geopotential and winds at 700 Hpa - Sahelian mode','fontsize',8) ; 454 end 460 end; 455 461 text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 456 462 pos_vert=e/10; … … 458 464 end; 459 465 460 print -depsc2 composite_sahel_2_u700_hgt.eps;466 print('-depsc2','composite_sahel_2_u700_hgt.eps'); -
/trunk/src/mode_sahelien/lagged_correlations_eof2_eof3_1030.m
r20 r30 4 4 close all; 5 5 6 load eof3_1030.txt;load eof2_1030.txt; 6 status=load('eof3_1030.txt'); 7 eof3_1030=status; 8 clear status; 9 status=load('eof2_1030.txt'); 10 eof2_1030=status; 11 clear status; 7 12 8 13 eof3_moy=mean(eof3_1030); … … 69 74 XCercle(a)=XCentre+Rayon*cos((2*pi*VTheta(a))/360); 70 75 YCercle(a)=YCentre+Rayon*sin((2*pi*VTheta(a))/360); 71 end 76 end; 72 77 plot(XCercle, YCercle,'k'); 73 78 x=[-0.00001 0]'; … … 94 99 95 100 figure(1); 96 print -depsc2 lag_correlations_eof2_eof3_1030.eps;101 print('-depsc2','lag_correlations_eof2_eof3_1030.eps'); 97 102 figure(2); 98 print -depsc2 phase_space_diagram_eof2_eof3_1030.eps;103 print('-depsc2','phase_space_diagram_eof2_eof3_1030.eps'); 99 104 100 105 phase1=zeros(3416,3); … … 157 162 end; 158 163 159 save phase1.txt phase1 -ascii;160 save phase2.txt phase2 -ascii;161 save phase3.txt phase3 -ascii;162 save phase4.txt phase4 -ascii;164 save('phase1.txt','phase1','-ASCII'); 165 save('phase2.txt','phase2','-ASCII'); 166 save('phase3.txt','phase3','-ASCII'); 167 save('phase4.txt','phase4','-ASCII'); 163 168 164 save phase5.txt phase5 -ascii;165 save phase6.txt phase6 -ascii;166 save phase7.txt phase7 -ascii;167 save phase8.txt phase8 -ascii;169 save('phase5.txt','phase5','-ASCII'); 170 save('phase6.txt','phase6','-ASCII'); 171 save('phase7.txt','phase7','-ASCII'); 172 save('phase8.txt','phase8','-ASCII'); -
/trunk/src/mode_sahelien/prepare_olr_filtre.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 9 cd('mode_sahelien'); 8 10 9 % taille 12327x73x144 1er juin 1974-31 decembre2007 11 10 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 42 41 for c=1:siz; 43 42 vecteur(c)=olr1(a,b,c); 44 end 43 end; 45 44 std_c=nanmean(vecteur); 46 45 for c=1:siz; 47 46 olr1(a,b,c)=olr1(a,b,c)-std_c; 48 end 49 end 47 end; 48 end; 50 49 end; 51 50 -
/trunk/src/mode_sahelien/prepare_olr_total.m
r20 r30 5 5 close all; 6 6 7 cd('..');8 7 ncload('olr.day.mean.nc'); 8 9 9 for a=12327; 10 10 clear coco; … … 12 12 coco=flipud(coco); 13 13 olr(a,:,:)=coco; 14 end 14 end; 15 15 16 cd('mode_sahelien');17 16 % taille 12327x73x144 1er juin 1974-31 decembre2007 18 17 % on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 … … 49 48 for c=1:siz; 50 49 vecteur(c)=olr1(a,b,c); 51 end 50 end; 52 51 std_c=nanmean(vecteur); 53 52 for c=1:siz; 54 53 olr1(a,b,c)=olr1(a,b,c)-std_c; 55 end 56 end 54 end; 55 end; 57 56 end; 58 57 … … 151 150 olr_total=olr; 152 151 clear olr; 153 save olr_total.mat olr_total;152 save('olr_total.mat','olr_total;'); 154 153 clear; -
/trunk/src/mode_sahelien/read_pluie_ird.m
r20 r30 5 5 clear; 6 6 close all; 7 cd('Pluie_ird');8 7 9 8 % on selectionne les mois d ete (attention aux annees bixestiles!) … … 220 219 clear siz sizbis; 221 220 clear v; 222 cd('..'); 221 223 222 % essai de visualisation d'une carte de pluie annuelle 224 223 orient('landscape'); -
/trunk/src/mode_sahelien/read_pluie_ird_25.m
r20 r30 5 5 clear; 6 6 close all; 7 cd('Pluie_ird_25');8 7 9 8 % on selectionne les mois d ete (attention aux annees bixestiles!) … … 220 219 clear siz sizbis; 221 220 clear v; 222 cd('..'); 221 223 222 % essai de visualisation d'une carte de pluie annuelle 224 223 orient('landscape'); … … 236 235 if v1(b,c)>3000; 237 236 v1(b,c)=3000; 238 end 237 end; 239 238 end; 240 239 end; … … 251 250 set (gca,'YTick',[0:10:20],'YTickLabel',[' 0';'10N';'20N'],'fontname','Arial','fontsize',6); 252 251 end; 253 print -depsc2 pluie_ird_25_degres.eps;252 print('-depsc2','pluie_ird_25_degres.eps'); -
/trunk/src/mode_sahelien/reconstitution.m
r20 r30 4 4 close all; 5 5 6 load eof_rossby_jjas.mat 6 status=load('eof_rossby_jjas.mat','C','olr_centre'); 7 C=status.C; 8 olr_centre=status.olr_centre; 9 clear status; 10 7 11 olr_centre=olr_centre'; 8 12 PC1=olr_centre*C; … … 55 59 cosa2=mean(cosa2); 56 60 cosa2=cosa2'; 57 save mode_rossby_jjas.txt cosa2 -ascii;61 save('mode_rossby_jjas.txt','cosa2','-ASCII'); 58 62 59 63 cosa2=reshape(cosa2,122,22); … … 85 89 figure(2); 86 90 subplot(4,3,a-11); 87 end 91 end; 88 92 y1=cosa1(:,a); 89 93 y2=cosa2(:,a); … … 104 108 elseif a==13; 105 109 text(0,65,'OLR 5 - 17.5N et 10W - 10E'); 106 end 110 end; 107 111 set (gca,'tickDir','out'); 108 112 if a==11; … … 128 132 129 133 figure(1); 130 print -depsc2 reconstitution_OLR_JJAS_part1.eps;134 print('-depsc2','reconstitution_OLR_JJAS_part1.eps'); 131 135 figure(2); 132 print -depsc2 reconstitution_OLR_JJAS_part2.eps;136 print('-depsc2','reconstitution_OLR_JJAS_part2.eps'); 133 137 figure(3); 134 print -depsc2 reconstitution_OLR_JJAS_part3.eps;138 print('-depsc2','reconstitution_OLR_JJAS_part3.eps'); -
/trunk/src/mode_sahelien/reconstitution_1025.m
r20 r30 6 6 %lon=[-30:2.5:30], lat=[-10:2.5:30] 7 7 8 load eof_1025_jjas.mat; 8 status=load('eof_1025_jjas.mat','C','olr'); 9 C=status.C; 10 olr=status.olr; 11 clear status; 12 9 13 olr=olr'; 10 14 PC1=olr*C; … … 59 63 cosa23=mean(cosa23); 60 64 cosa23=cosa23'; 61 save eof23_1025.txt cosa23 -ascii;65 save('eof23_1025.txt','cosa23','-ASCII'); 62 66 cosa23=reshape(cosa23,122,28); 63 67 … … 68 72 cosa24=mean(cosa24); 69 73 cosa24=cosa24'; 70 save eof24_1025.txt cosa24 -ascii;74 save('eof24_1025.txt','cosa24','-ASCII'); 71 75 cosa24=reshape(cosa24,122,28); 72 76 … … 92 96 figure(3); 93 97 subplot(4,3,a-23); 94 end 98 end; 95 99 y2=ind_olr(:,a); 96 100 y4=cosa24(:,a); … … 107 111 elseif a==13; 108 112 text(0,65,'OLR 5 -12.5N et 10W - 10E'); 109 end 113 end; 110 114 set (gca,'tickDir','out'); 111 115 if a==11; … … 126 130 127 131 figure(1); 128 print -depsc2 reconstitution1_eof234_1025.eps;132 print('-depsc2','reconstitution1_eof234_1025.eps'); 129 133 figure(2); 130 print -depsc2 reconstitution2_eof234_1025.eps;134 print('-depsc2','reconstitution2_eof234_1025.eps'); 131 135 figure(3); 132 print -depsc2 reconstitution3_eof234_1025.eps;136 print('-depsc2','reconstitution3_eof234_1025.eps'); -
/trunk/src/mode_sahelien/reconstitution_1030.m
r20 r30 6 6 %lon=[-30:2.5:30], lat=[-10:2.5:30] 7 7 8 load eof_1030_jjas.mat; 8 status=load('eof_1030_jjas.mat','C','olr'); 9 C=status.C; 10 olr=status.olr; 11 clear status; 12 9 13 olr=olr'; 10 14 PC1=olr*C; … … 59 63 cosa23=mean(cosa23); 60 64 cosa23=cosa23'; 61 save eof23_1030.txt cosa23 -ascii;65 save('eof23_1030.txt','cosa23','-ASCII'); 62 66 cosa23=reshape(cosa23,122,28); 63 67 … … 68 72 cosa24=mean(cosa24); 69 73 cosa24=cosa24'; 70 save eof24_1030.txt cosa24 -ascii;74 save('eof24_1030.txt','cosa24','-ASCII'); 71 75 cosa24=reshape(cosa24,122,28); 72 76 … … 89 93 figure(2); 90 94 subplot(4,3,a-11); 91 else95 else 92 96 figure(3); 93 97 subplot(4,3,a-23); 94 end 98 end; 95 99 y2=cosa23(:,a); 96 100 y4=cosa4(:,a); … … 107 111 elseif a==13; 108 112 text(0,65,'OLR 7.5 -12.5N et 10W - 10E'); 109 end 113 end; 110 114 set (gca,'tickDir','out'); 111 115 if a==11; … … 126 130 127 131 figure(1); 128 print -depsc2 reconstitution1_eof23_filtreER_1030.eps;132 print('-depsc2','reconstitution1_eof23_filtreER_1030.eps'); 129 133 figure(2); 130 print -depsc2 reconstitution2_eof23_filtreER_1030.eps;134 print('-depsc2','reconstitution2_eof23_filtreER_1030.eps'); 131 135 figure(3); 132 print -depsc2 reconstitution3_eof23_filtreER_1030.eps;136 print('-depsc2','reconstitution3_eof23_filtreER_1030.eps'); -
/trunk/src/mode_sahelien/reconstitution_1030_std.m
r20 r30 6 6 %lon=[-30:2.5:30], lat=[-10:2.5:30] 7 7 8 load eof_1030_jjas.mat; 8 status=load('eof_1030_jjas.mat','C','olr'); 9 C=status.C; 10 olr=status.olr; 11 clear status; 12 9 13 olr=olr'; 10 14 PC1=olr*C; … … 72 76 figure(2); 73 77 subplot(4,3,a-11); 74 else78 else 75 79 figure(3); 76 80 subplot(4,3,a-22); 77 end 81 end; 78 82 y1=cosa1(:,a); 79 83 y2=cosa24(:,a); … … 91 95 elseif a==13; 92 96 text(0,65,'OLR 7.5 -12.5N et 10W - 10E'); 93 end 97 end; 94 98 set (gca,'tickDir','out'); 95 99 if a==11; … … 110 114 111 115 figure(1); 112 print -depsc2 reconstitution1_eof23_filtreER_1030.eps;116 print('-depsc2','reconstitution1_eof23_filtreER_1030.eps'); 113 117 figure(2); 114 print -depsc2 reconstitution2_eof23_filtreER_1030.eps;118 print('-depsc2','reconstitution2_eof23_filtreER_1030.eps'); 115 119 figure(3); 116 print -depsc2 reconstitution3_eof23_filtreER_1030.eps;120 print('-depsc2','reconstitution3_eof23_filtreER_1030.eps'); -
/trunk/src/mode_sahelien/reconstitution_30100_eof1.m
r20 r30 6 6 %lon=[-30:2.5:30], lat=[-10:2.5:30] 7 7 8 load eof_30100_jjas.mat; 8 status=load('eof_30100_jjas.mat','C','olr'); 9 C=status.C; 10 olr=status.olr; 11 clear status; 12 9 13 olr=olr'; 10 14 PC1=olr*C; … … 54 58 cosa1=mean(cosa1); 55 59 cosa1=cosa1'; 56 save eof1_30100.txt cosa1 -ascii;60 save('eof1_30100.txt','cosa1','-ASCII'); 57 61 cosa1=reshape(cosa1,122,28); 58 62 … … 75 79 figure(2); 76 80 subplot(4,3,a-11); 77 else81 else 78 82 figure(3); 79 83 subplot(4,3,a-23); 80 end 84 end; 81 85 y2=cosa1(:,a); 82 86 y4=cosa4(:,a); … … 93 97 elseif a==13; 94 98 text(0,65,'OLR 7.5 -12.5N et 10W - 10E'); 95 end 99 end; 96 100 set (gca,'tickDir','out'); 97 101 if a==11; … … 112 116 113 117 figure(1); 114 print -depsc2 reconstitution1_eof1_filtreER_30100.eps;118 print('-depsc2','reconstitution1_eof1_filtreER_30100.eps'); 115 119 figure(2); 116 print -depsc2 reconstitution2_eof1_filtreER_30100.eps;120 print('-depsc2','reconstitution2_eof1_filtreER_30100.eps'); 117 121 figure(3); 118 print -depsc2 reconstitution3_eof1_filtreER_30100.eps;122 print('-depsc2','reconstitution3_eof1_filtreER_30100.eps'); -
/trunk/src/mode_sahelien/reconstitution_30100_eof23.m
r20 r30 6 6 %lon=[-30:2.5:30], lat=[-10:2.5:30] 7 7 8 load eof_30100_jjas.mat; 8 status=load('eof_30100_jjas.mat','C','olr'); 9 C=status.C; 10 olr=status.olr; 11 clear status; 12 9 13 olr=olr'; 10 14 PC1=olr*C; … … 51 55 cosa23=mean(cosa23); 52 56 cosa23=cosa23'; 53 save eof23_30100.txt cosa23 -ascii;57 save('eof23_30100.txt','cosa23','-ASCII'); 54 58 std23=std(cosa23); 55 59 cosa23=cosa23/std23; … … 76 80 figure(2); 77 81 subplot(4,3,a-11); 78 else82 else 79 83 figure(3); 80 84 subplot(4,3,a-23); 81 end 85 end; 82 86 y1=cosa1(:,a); 83 87 y2=cosa23(:,a); … … 94 98 elseif a==13; 95 99 text(0,65,'OLR 7.5 -12.5N et 10W - 10E'); 96 end 100 end; 97 101 set (gca,'tickDir','out'); 98 102 if a==11; … … 113 117 114 118 figure(1); 115 print -depsc2 reconstitution1_eof23_30100.eps;119 print('-depsc2','reconstitution1_eof23_30100.eps'); 116 120 figure(2); 117 print -depsc2 reconstitution2_eof23_30100.eps;121 print('-depsc2','reconstitution2_eof23_30100.eps'); 118 122 figure(3); 119 print -depsc2 reconstitution3_eof23_30100.eps;123 print('-depsc2','reconstitution3_eof23_30100.eps'); -
/trunk/src/mode_sahelien/reconstitution_ER_rossby_1030.m
r20 r30 6 6 %lon=[-30:2.5:30], lat=[-10:2.5:30] 7 7 8 load eof_rossby_jjas_2006_1030.mat 8 status=load('eof_rossby_jjas_2006_1030.mat','C','olr'); 9 C=status.C; 10 olr=status.olr; 11 clear status; 12 9 13 olr=olr'; 10 14 PC1=olr*C; … … 54 58 cosa12=mean(cosa12); 55 59 cosa12=cosa12'; 56 save eof12_rossby_1030.txt cosa12 -ascii;60 save('eof12_rossby_1030.txt','cosa12','-ASCII'); 57 61 cosa12=reshape(cosa12,122,28); 58 62 … … 75 79 figure(2); 76 80 subplot(4,3,a-11); 77 else81 else 78 82 figure(3); 79 83 subplot(4,3,a-23); 80 end 84 end; 81 85 y2=cosa12(:,a); 82 86 y4=cosa4(:,a); … … 93 97 elseif a==13; 94 98 text(0,65,'OLR 5 - 17.5N et 10W - 10E'); 95 end 99 end; 96 100 set (gca,'tickDir','out'); 97 101 if a==11; … … 112 116 113 117 figure(1); 114 print -depsc2 reconstitution1_eof12_filtreER_1030.eps;118 print('-depsc2','reconstitution1_eof12_filtreER_1030.eps'); 115 119 figure(2); 116 print -depsc2 reconstitution2_eof12_filtreER_1030.eps;120 print('-depsc2','reconstitution2_eof12_filtreER_1030.eps'); 117 121 figure(3); 118 print -depsc2 reconstitution3_eof12_filtreER_1030.eps;122 print('-depsc2','reconstitution3_eof12_filtreER_1030.eps'); -
/trunk/src/mode_sahelien/reconstitution_ER_rossby_30100.m
r20 r30 6 6 %lon=[-30:2.5:30], lat=[-10:2.5:30] 7 7 8 load eof_rossby_jjas_2006_30100.mat 8 status=load('eof_rossby_jjas_2006_30100.mat','C','olr'); 9 C=status.C; 10 olr=status.olr; 11 clear status; 12 9 13 olr=olr'; 10 14 PC1=olr*C; … … 54 58 cosa12=mean(cosa12); 55 59 cosa12=cosa12'; 56 save eof12_rossby_30100.txt cosa12 -ascii;60 save('eof12_rossby_30100.txt','cosa12','-ASCII'); 57 61 cosa12=reshape(cosa12,122,28); 58 62 … … 75 79 figure(2); 76 80 subplot(4,3,a-11); 77 else81 else 78 82 figure(3); 79 83 subplot(4,3,a-23); 80 end 84 end; 81 85 y2=cosa12(:,a); 82 86 y4=cosa4(:,a); … … 93 97 elseif a==13; 94 98 text(0,65,'OLR 5 - 17.5N et 10W - 10E'); 95 end 99 end; 96 100 set (gca,'tickDir','out'); 97 101 if a==11; … … 112 116 113 117 figure(1); 114 print -depsc2 reconstitution1_eof12_filtreER_30100.eps;118 print('-depsc2','reconstitution1_eof12_filtreER_30100.eps'); 115 119 figure(2); 116 print -depsc2 reconstitution2_eof12_filtreER_30100.eps;120 print('-depsc2','reconstitution2_eof12_filtreER_30100.eps'); 117 121 figure(3); 118 print -depsc2 reconstitution3_eof12_filtreER_30100.eps;122 print('-depsc2','reconstitution3_eof12_filtreER_30100.eps'); -
/trunk/src/mode_sahelien/reconstitution_ER_rossby_30100_bis.m
r20 r30 5 5 %lon=[-30:2.5:30], lat=[-10:2.5:30] 6 6 7 load eof_rossby_jjas_2006_30100.mat 7 status=load('eof_rossby_jjas_2006_30100.mat','C','olr'); 8 C=status.C; 9 olr=status.olr; 10 clear status; 11 8 12 olr=olr'; 9 13 PC1=olr*C; … … 64 68 cosa12=mean(cosa12); 65 69 cosa12=cosa12'; 66 save eof12_rossby_30100.txt cosa12 -ascii;70 save('eof12_rossby_30100.txt','cosa12','-ASCII'); 67 71 cosa12=reshape(cosa12,122,28); 68 72 -
/trunk/src/mode_sahelien/time_serie_ER_rossby_1030.m
r20 r30 3 3 clear; 4 4 5 load eof_rossby_jjas_2006_1030.mat 5 status=load('eof_rossby_jjas_2006_1030.mat','C','olr'); 6 C=status.C; 7 olr=status.olr; 8 clear status; 9 6 10 olr=olr'; 7 11 PC1=olr*C; … … 13 17 for b=1:28; 14 18 year(a,b)=1979+(b-1); 15 end 16 end 19 end; 20 end; 17 21 year=reshape(year,3416,1); 18 22 … … 21 25 for b=1:28; 22 26 day(a,b)=31+28+31+30+31+a; 23 end 24 end 27 end; 28 end; 25 29 day=reshape(day,3416,1); 26 30 … … 35 39 end; 36 40 37 save table_ER_1030.txt table_ER_1030 -ascii;41 save('table_ER_1030.txt','table_ER_1030','-ASCII'); 38 42 39 43 a=1; … … 58 62 set (gca,'YTick',[-100:20:100],'YTickLabel',[-100:20:100],'fontname','Arial','fontsize',6); 59 63 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); 60 -
/trunk/src/mode_sahelien/time_serie_ER_rossby_1030_complet.m
r20 r30 11 11 orient('landscape') 12 12 13 load eof_rossby_jjas_2006_1030.mat 13 status=load('eof_rossby_jjas_2006_1030.mat','C','olr'); 14 C=status.C; 15 olr=status.olr; 16 clear status; 17 14 18 olr=olr'; 15 19 PC1=olr*C; … … 28 32 figure(3); 29 33 subplot(4,3,a-22); 30 end 34 end; 31 35 clear koro1 32 36 debut=(a-1)*122+1; … … 45 49 if a==2; 46 50 text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); 47 51 elseif a==13; 48 52 text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); 49 53 elseif a==24; 50 54 text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); 51 end 55 end; 52 56 title(a+1978,'FontSize',8); 53 57 set (gca,'tickDir','out'); … … 56 60 set (gca,'YTick',[-100:20:100],'YTickLabel',[-100:20:100],'fontname','Arial','fontsize',6); 57 61 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); 58 end 62 end; 59 63 60 64 figure(1); 61 print -depsc2 time_serie_eof_ER_10-30j_part1.eps;65 print('-depsc2','time_serie_eof_ER_10-30j_part1.eps'); 62 66 figure(2); 63 print -depsc2 time_serie_eof_ER_10-30j_part2.eps;67 print('-depsc2','time_serie_eof_ER_10-30j_part2.eps'); 64 68 figure(3); 65 print -depsc2 time_serie_eof_ER_10-30j_part3.eps;69 print('-depsc2','time_serie_eof_ER_10-30j_part3.eps'); -
/trunk/src/mode_sahelien/time_serie_ER_rossby_30100.m
r20 r30 3 3 clear; 4 4 5 load eof_rossby_jjas_2006_30100.mat 5 status=load('eof_rossby_jjas_2006_30100.mat','C','olr'); 6 C=status.C; 7 olr=status.olr; 8 clear status; 9 6 10 olr=olr'; 7 11 PC1=olr*C; … … 13 17 for b=1:28; 14 18 year(a,b)=1979+(b-1); 15 end 16 end 19 end; 20 end; 17 21 year=reshape(year,3416,1); 18 22 … … 21 25 for b=1:28; 22 26 day(a,b)=31+28+31+30+31+a; 23 end 24 end 27 end; 28 end; 25 29 day=reshape(day,3416,1); 26 30 … … 35 39 end; 36 40 37 save table_ER_30100.txt table_ER_30100 -ascii;41 save('table_ER_30100.txt','table_ER_30100','-ASCII'); 38 42 39 43 a=1; -
/trunk/src/mode_sahelien/time_serie_ER_rossby_30100_complet.m
r20 r30 11 11 orient('landscape') 12 12 13 load eof_rossby_jjas_2006_30100.mat 13 status=load('eof_rossby_jjas_2006_30100.mat','C','olr'); 14 C=status.C; 15 olr=status.olr; 16 clear status; 17 14 18 olr=olr'; 15 19 PC1=olr*C; … … 28 32 figure(3); 29 33 subplot(4,3,a-22); 30 end 34 end; 31 35 clear koro1 32 36 debut=(a-1)*122+1; … … 45 49 if a==2; 46 50 text(0,183,'time series EOF1 and EOF2 OLR ER 30-100d'); 47 51 elseif a==13; 48 52 text(0,183,'time series EOF1 and EOF2 OLR ER 30-100d'); 49 53 elseif a==24; 50 54 text(0,183,'time series EOF1 and EOF2 OLR ER 30-100d'); 51 end 55 end; 52 56 title(a+1978,'FontSize',8); 53 57 set (gca,'tickDir','out'); … … 56 60 set (gca,'YTick',[-100:20:100],'YTickLabel',[-100:20:100],'fontname','Arial','fontsize',6); 57 61 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); 58 end 62 end; 59 63 60 64 figure(1); 61 print -depsc2 time_serie_eof_ER_30-100j_part1.eps;65 print('-depsc2','time_serie_eof_ER_30-100j_part1.eps'); 62 66 figure(2); 63 print -depsc2 time_serie_eof_ER_30-100j_part2.eps;67 print('-depsc2','time_serie_eof_ER_30-100j_part2.eps'); 64 68 figure(3); 65 print -depsc2 time_serie_eof_ER_30-100j_part3.eps;69 print('-depsc2','time_serie_eof_ER_30-100j_part3.eps'); -
/trunk/src/mode_sahelien/time_serie_histog_phase.m
r20 r30 17 17 18 18 figure(1); 19 print -depsc2 time_serie_type_tps_phase14.eps;19 print('-depsc2','time_serie_type_tps_phase14.eps'); 20 20 figure(2); 21 print -depsc2 time_serie_type_tps_phase58.eps;21 print('-depsc2','time_serie_type_tps_phase58.eps'); -
/trunk/src/mode_sahelien/time_serie_histog_phase1.m
r20 r30 2 2 3 3 clear; 4 load phase1.txt; 4 status=load('phase1.txt'); 5 phase1=status; 6 clear status; 5 7 phase1=reshape(phase1,122,28,3); 6 8 7 9 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 8 10 % on ouvre le fichier 9 load occu.txt 11 status=load('occu.txt'); 12 occu=status; 13 clear status; 10 14 11 15 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 88 92 for b=1:4 89 93 kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 90 end 91 end 94 end; 95 end; 92 96 93 97 for a=1:4; … … 105 109 else 106 110 bar(jour,diff,'r'); 107 end 111 end; 108 112 set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 109 113 set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); … … 120 124 title('Blocking','Fontsize',8,'Fontname','Arial'); 121 125 end; 122 end 126 end; -
/trunk/src/mode_sahelien/time_serie_histog_phase2.m
r20 r30 2 2 3 3 clear; 4 load phase2.txt; 4 status=load('phase2.txt'); 5 phase2=status; 6 clear status; 5 7 phase2=reshape(phase2,122,28,3); 6 8 7 9 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 8 10 % on ouvre le fichier 9 load occu.txt 11 status=load('occu.txt'); 12 occu=status; 13 clear status; 10 14 11 15 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 88 92 for b=1:4 89 93 kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 90 end 91 end 94 end; 95 end; 92 96 93 97 for a=1:4; … … 105 109 else 106 110 bar(jour,diff,'r'); 107 end 111 end; 108 112 set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 109 113 set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); … … 120 124 title('Blocking','Fontsize',8,'Fontname','Arial'); 121 125 end; 122 end 126 end; -
/trunk/src/mode_sahelien/time_serie_histog_phase3.m
r20 r30 2 2 3 3 clear; 4 load phase3.txt; 4 status=load('phase3.txt'); 5 phase3=status; 6 clear status; 5 7 phase3=reshape(phase3,122,28,3); 6 8 7 9 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 8 10 % on ouvre le fichier 9 load occu.txt 11 status=load('occu.txt'); 12 occu=status; 13 clear status; 10 14 11 15 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 23 27 % boucle sur les annees 24 28 for a=1:28; 25 % 1ere condition (laisser une marge de 10)26 29 for b=1:122; 30 % 1ere condition (laisser une marge de 10) 27 31 if (b>11 && b<112); 28 32 % condition 1 on est a un maximum deltas apres sont negetifs et … … 88 92 for b=1:4 89 93 kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 90 end 91 end 94 end; 95 end; 92 96 93 97 for a=1:4; … … 105 109 else 106 110 bar(jour,diff,'r'); 107 end 111 end; 108 112 set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 109 113 set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); -
/trunk/src/mode_sahelien/time_serie_histog_phase4.m
r20 r30 2 2 3 3 clear; 4 load phase4.txt; 4 status=load('phase4.txt'); 5 phase4=status; 6 clear status; 5 7 phase4=reshape(phase4,122,28,3); 6 8 7 9 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 8 10 % on ouvre le fichier 9 load occu.txt 11 status=load('occu.txt'); 12 occu=status; 13 clear status; 10 14 11 15 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 88 92 for b=1:4 89 93 kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 90 end 91 end 94 end; 95 end; 92 96 93 97 for a=1:4; … … 105 109 else 106 110 bar(jour,diff,'r'); 107 end 111 end; 108 112 set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 109 113 set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); … … 120 124 title('Blocking','Fontsize',8,'Fontname','Arial'); 121 125 end; 122 end 126 end; -
/trunk/src/mode_sahelien/time_serie_histog_phase5.m
r20 r30 2 2 3 3 clear; 4 load phase5.txt; 4 status=load('phase5.txt'); 5 phase5=status; 6 clear status; 5 7 phase5=reshape(phase5,122,28,3); 6 8 7 9 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 8 10 % on ouvre le fichier 9 load occu.txt 11 status=load('occu.txt'); 12 occu=status; 13 clear status; 10 14 11 15 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 88 92 for b=1:4 89 93 kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 90 end 91 end 94 end; 95 end; 92 96 93 97 for a=1:4; … … 105 109 else 106 110 bar(jour,diff,'r'); 107 end 111 end; 108 112 set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 109 113 set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); … … 120 124 title('Blocking','Fontsize',8,'Fontname','Arial'); 121 125 end; 122 end 126 end; -
/trunk/src/mode_sahelien/time_serie_histog_phase6.m
r20 r30 2 2 3 3 clear; 4 load phase6.txt; 4 status=load('phase6.txt'); 5 phase6=status; 6 clear status; 5 7 phase6=reshape(phase6,122,28,3); 6 8 7 9 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 8 10 % on ouvre le fichier 9 load occu.txt 11 status=load('occu.txt'); 12 occu=status; 13 clear status; 10 14 11 15 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 88 92 for b=1:4 89 93 kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 90 end 91 end 94 end; 95 end; 92 96 93 97 for a=1:4; … … 105 109 else 106 110 bar(jour,diff,'r'); 107 end 111 end; 108 112 set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 109 113 set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); … … 120 124 title('Blocking','Fontsize',8,'Fontname','Arial'); 121 125 end; 122 end 126 end; -
/trunk/src/mode_sahelien/time_serie_histog_phase7.m
r20 r30 2 2 3 3 clear; 4 load phase7.txt; 4 status=load('phase7.txt'); 5 phase7=status; 6 clear status; 5 7 phase7=reshape(phase7,122,28,3); 6 8 7 9 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 8 10 % on ouvre le fichier 9 load occu.txt 11 status=load('occu.txt'); 12 occu=status; 13 clear status; 10 14 11 15 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 88 92 for b=1:4 89 93 kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 90 end 91 end 94 end; 95 end; 92 96 93 97 for a=1:4; … … 105 109 else 106 110 bar(jour,diff,'r'); 107 end 111 end; 108 112 set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 109 113 set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); … … 120 124 title('Blocking','Fontsize',8,'Fontname','Arial'); 121 125 end; 122 end 126 end; -
/trunk/src/mode_sahelien/time_serie_histog_phase8.m
r20 r30 2 2 3 3 clear; 4 load phase8.txt; 4 status=load('phase8.txt'); 5 phase8=status; 6 clear status; 5 7 phase8=reshape(phase8,122,28,3); 6 8 7 9 %%%%%%%%%%%% FICHIER TYPE DE TEMPS 8 10 % on ouvre le fichier 9 load occu.txt 11 status=load('occu.txt'); 12 occu=status; 13 clear status; 10 14 11 15 % on reorganise le fichier de type de temps (jours,annees,cluster) … … 88 92 for b=1:4 89 93 kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 90 end 91 end 94 end; 95 end; 92 96 93 97 for a=1:4; … … 105 109 else 106 110 bar(jour,diff,'r'); 107 end 111 end; 108 112 set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 109 113 set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); … … 117 121 elseif a==3; 118 122 title('NAO-','Fontsize',8,'Fontname','Arial'); 119 123 else 120 124 title('Blocking','Fontsize',8,'Fontname','Arial'); 121 125 end; 122 end 126 end; -
/trunk/src/mode_sahelien/time_serie_jjas.m
r20 r30 3 3 clear; 4 4 5 load eof_1030_jjas.mat 5 status=load('eof_1030_jjas.mat','C','olr'); 6 C=status.C; 7 olr=status.olr; 8 clear status; 9 6 10 olr=olr'; 7 11 PC1=olr*C; … … 20 24 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 21 25 time_serie_olr3(a)=time_serie_olr3(a)/dt_olr3; 22 end 26 end; 23 27 24 save eof1_1030.txt time_serie_olr1 -ascii;25 save eof2_1030.txt time_serie_olr2 -ascii;26 save eof3_1030.txt time_serie_olr3 -ascii;28 save('eof1_1030.txt','time_serie_olr1','-ASCII'); 29 save('eof2_1030.txt','time_serie_olr2','-ASCII'); 30 save('eof3_1030.txt','time_serie_olr3','-ASCII'); 27 31 28 32 x=[1:3416]'; … … 37 41 figure(3); 38 42 subplot(4,3,a-22); 39 end 40 clear koro1 43 end; 44 clear koro1; 41 45 debut=(a-1)*122+1; 42 46 fin=a*122; … … 49 53 y=zeros(122,1); 50 54 plot(x,y,'k:'); 51 title(a+1978,'FontSize',8) 55 title(a+1978,'FontSize',8); 52 56 if a==2; 53 57 text(0,5.5,'serie temporelle VP1'); 54 58 elseif a==13; 55 59 text(0,5.5,'serie temporelle VP1'); 56 60 elseif a==24; 57 61 text(0,5.5,'serie temporelle VP1'); 58 end 62 end; 59 63 set (gca,'tickDir','out'); 60 64 axis([1 122 -3 3]); 61 65 62 set (gca,'YTick',[-3:1:3],'YTickLabel',[-3:1:3],'fontname','Arial','fontsize',6);63 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6);66 set (gca,'YTick',[-3:1:3],'YTickLabel',[-3:1:3],'fontname','Arial','fontsize',6); 67 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); 64 68 end; -
/trunk/src/mode_sahelien/time_serie_jjas_10_25.m
r20 r30 3 3 clear; 4 4 5 load eof_1025_jjas.mat; 5 status=load('eof_1025_jjas.mat','C','olr'); 6 C=status.C; 7 olr=status.olr; 8 clear status; 9 6 10 olr=olr'; 7 11 PC1=olr*C; … … 20 24 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 21 25 time_serie_olr3(a)=time_serie_olr3(a)/dt_olr3; 22 end 26 end; 23 27 24 save eof1_olr_rossby_jjas_1025.txt time_serie_olr1 -ascii;25 save eof2_olr_rossby_jjas_1025.txt time_serie_olr2 -ascii;26 save eof3_olr_rossby_jjas_1025.txt time_serie_olr3 -ascii;28 save('eof1_olr_rossby_jjas_1025.txt','time_serie_olr1','-ASCII'); 29 save('eof2_olr_rossby_jjas_1025.txt','time_serie_olr2','-ASCII'); 30 save('eof3_olr_rossby_jjas_1025.txt','time_serie_olr3','-ASCII'); 27 31 28 32 x=[1:3416]'; … … 37 41 figure(3); 38 42 subplot(4,3,a-22); 39 end 40 clear koro1 43 end; 44 clear koro1; 41 45 debut=(a-1)*122+1; 42 46 fin=a*122; … … 51 55 if a==2; 52 56 text(0,5.5,'serie temporelle VP1 filtrage rossby 10-25j'); 53 57 elseif a==13; 54 58 text(0,5.5,'serie temporelle VP1 filtrage rossby 10-25j'); 55 59 elseif a==24; … … 60 64 61 65 set (gca,'YTick',[-3:1:3],'YTickLabel',[-3:1:3],'fontname','Arial','fontsize',6); 62 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6);66 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); 63 67 end; 64 68 65 69 figure(1); 66 print -depsc2 time_serie_rossby_JJAS_2006_10-25j_part1.eps;70 print('-depsc2','time_serie_rossby_JJAS_2006_10-25j_part1.eps'); 67 71 figure(2); 68 print -depsc2 time_serie_rossby_JJAS_2006_10-25j_part2.eps;72 print('-depsc2','time_serie_rossby_JJAS_2006_10-25j_part2.eps'); 69 73 figure(3); 70 print -depsc2 time_serie_rossby_JJAS_2006_10-25j_part3.eps;74 print('-depsc2','time_serie_rossby_JJAS_2006_10-25j_part3.eps'); -
/trunk/src/mode_sahelien/time_serie_jjas_25_90.m
r20 r30 3 3 clear; 4 4 5 load eof_rossby_jjas_2006_2590.mat; 5 status=load('eof_rossby_jjas_2006_2590.mat','C','olr'); 6 C=status.C; 7 olr=status.olr; 8 clear status; 9 6 10 olr=olr'; 7 11 PC1=olr*C; … … 20 24 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 21 25 time_serie_olr3(a)=time_serie_olr3(a)/dt_olr3; 22 end 26 end; 23 27 24 save eof1_olr_rossby_jjas_2590.txt time_serie_olr1 -ascii;25 save eof2_olr_rossby_jjas_2590.txt time_serie_olr2 -ascii;26 save eof3_olr_rossby_jjas_2590.txt time_serie_olr3 -ascii;28 save('eof1_olr_rossby_jjas_2590.txt','time_serie_olr1','-ASCII'); 29 save('eof2_olr_rossby_jjas_2590.txt','time_serie_olr2','-ASCII'); 30 save('eof3_olr_rossby_jjas_2590.txt','time_serie_olr3','-ASCII'); 27 31 28 32 x=[1:3416]'; … … 37 41 figure(3); 38 42 subplot(4,3,a-22); 39 end 40 clear koro1 43 end; 44 clear koro1; 41 45 debut=(a-1)*122+1; 42 46 fin=a*122; … … 52 56 if a==2; 53 57 text(0,5.5,'serie temporelle VP1 filtrage rossby 25-90j'); 54 58 elseif a==13; 55 59 text(0,5.5,'serie temporelle VP1 filtrage rossby 25-90j'); 56 60 elseif a==24; … … 61 65 62 66 set (gca,'YTick',[-3:1:3],'YTickLabel',[-3:1:3],'fontname','Arial','fontsize',6); 63 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6);67 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); 64 68 end; 65 69 66 70 figure(1); 67 print -depsc2 time_serie_rossby_JJAS_2006_25-90j_part1.eps;71 print('-depsc2','time_serie_rossby_JJAS_2006_25-90j_part1.eps'); 68 72 figure(2); 69 print -depsc2 time_serie_rossby_JJAS_2006_25-90j_part2.eps;73 print('-depsc2','time_serie_rossby_JJAS_2006_25-90j_part2.eps'); 70 74 figure(3); 71 print -depsc2 time_serie_rossby_JJAS_2006_25-90j_part3.eps;75 print('-depsc2','time_serie_rossby_JJAS_2006_25-90j_part3.eps'); -
/trunk/src/mode_sahelien/time_serie_jjas_30100.m
r20 r30 3 3 clear; 4 4 5 load eof_30100_jjas.mat 5 status=load('eof_30100_jjas.mat','C','olr'); 6 C=status.C; 7 olr=status.olr; 8 clear status; 9 6 10 olr=olr'; 7 11 PC1=olr*C; … … 20 24 time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 21 25 time_serie_olr3(a)=time_serie_olr3(a)/dt_olr3; 22 end 26 end; 23 27 24 save eof1_30100.txt time_serie_olr1 -ascii;25 save eof2_30100.txt time_serie_olr2 -ascii;26 save eof3_30100.txt time_serie_olr3 -ascii;28 save('eof1_30100.txt','time_serie_olr1','-ASCII'); 29 save('eof2_30100.txt','time_serie_olr2','-ASCII'); 30 save('eof3_30100.txt','time_serie_olr3','-ASCII'); 27 31 28 32 x=[1:3416]'; … … 37 41 figure(3); 38 42 subplot(4,3,a-22); 39 end 40 clear koro1 43 end; 44 clear koro1; 41 45 debut=(a-1)*122+1; 42 46 fin=a*122; … … 49 53 y=zeros(122,1); 50 54 plot(x,y,'k:'); 51 title(a+1978,'FontSize',8) 55 title(a+1978,'FontSize',8); 52 56 if a==2; 53 57 text(0,5.5,'serie temporelle VP1 filtrage 30100'); 54 58 elseif a==13; 55 59 text(0,5.5,'serie temporelle VP1 filtrage 30100'); 56 60 elseif a==24; 57 61 text(0,5.5,'serie temporelle VP1 filtrage 30100'); 58 end 62 end; 59 63 set (gca,'tickDir','out'); 60 64 axis([1 122 -3 3]); 61 65 62 set (gca,'YTick',[-3:1:3],'YTickLabel',[-3:1:3],'fontname','Arial','fontsize',6);63 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6);66 set (gca,'YTick',[-3:1:3],'YTickLabel',[-3:1:3],'fontname','Arial','fontsize',6); 67 set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); 64 68 end; 65 69 66 70 figure(1); 67 print -depsc2 time_serie_JJAS_30100_part1.eps;71 print('-depsc2','time_serie_JJAS_30100_part1.eps'); 68 72 figure(2); 69 print -depsc2 time_serie_JJAS_30100_part2.eps;73 print('-depsc2','time_serie_JJAS_30100_part2.eps'); 70 74 figure(3); 71 print -depsc2 time_serie_JJAS_30100_part3.eps;75 print('-depsc2','time_serie_JJAS_30100_part3.eps'); -
/trunk/src/sauvegrads.m
r20 r30 57 57 % JMG le 10/03/94 58 58 % 59 % - fplod 2009-01-12T16:46:41Z aedon.locean-ipsl.upmc.fr (Darwin) 60 % 61 % * date of day was not ok after 19991231 62 % 59 63 % - fplod 2009-01-05T11:01:41Z aedon.locean-ipsl.upmc.fr (Darwin) 60 64 % … … 105 109 end 106 110 107 % Init date du jour pour enregistrement111 % Init date for record 108 112 date1=date; 109 date2=[date1(1:2),upper(date1(4:6)), '19',date1(8:9)];113 date2=[date1(1:2),upper(date1(4:6)),date1(8:11)]; 110 114 % test sur les arguments 111 115 [dimy dimx]=size(matrice); … … 120 124 texte=['UNDEF -2E5633 ',10]; 121 125 fwrite(fid,texte,'char'); 122 texte=['TITLE Fi chier g??n??r?? par la fonctionsauvegrads de MATLAB ',10];126 texte=['TITLE File generated by sauvegrads de MATLAB ',10]; 123 127 fwrite(fid,texte,'char'); 124 128 texte=['XDEF ',num2str(dimx),' LINEAR ',num2str(lon),' ',num2str(inclon),' ',10];
Note: See TracChangeset
for help on using the changeset viewer.