Changes in / [20:30]


Ignore:
Location:
/trunk/src
Files:
1 added
196 edited

Legend:

Unmodified
Added
Removed
  • /trunk/src/SIMULS_IRCAAM/anomalies_olr_AFR_1979_2000.m

    r20 r30  
    111111olr1(:,:,:,1:64)=olr(:,:,:,65:128); 
    112112olr1(:,:,:,65:128)=olr(:,:,:,1:64); 
    113 clear olr 
     113clear olr; 
    114114olr=olr1; 
    115115clear olr1; 
     
    120120% 122 30 15 24 
    121121olr1=olr(31:122,:,:,:); 
    122 clear olr 
     122clear olr; 
    123123olr(:,:,:)=mean(olr1); 
    124124clear olr1; 
     
    151151         figure(2); 
    152152         subplot(3,4,a-12); 
    153      end 
     153     end; 
    154154     for b=1:15; 
    155155         for c=1:24; 
     
    177177 
    178178figure(1); 
    179 print -depsc2 anomalies_OLR_1979_2000_simulAFR_part1.eps; 
     179print('-depsc2','anomalies_OLR_1979_2000_simulAFR_part1.eps'); 
    180180figure(2); 
    181 print -depsc2 anomalies_OLR_1979_2000_simulAFR_part2.eps; 
     181print('-depsc2','anomalies_OLR_1979_2000_simulAFR_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_AFR_annuel.m

    r20 r30  
    22 
    33clear; 
    4 load eof_annuel_AFR.mat; 
     4status=load('eof_annuel_AFR.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
    58carte1=C(:,360); 
    69 
     
    135138for a=1:360; 
    136139   vaude=vaude+L(a,a); 
    137 end 
     140end; 
    138141vecteurs=zeros(20,1); 
    139142for a=1:20; 
    140143   b=360-(a-1); 
    141144   vecteurs(a)=100*(L(b,b)/vaude); 
    142 end 
     145end; 
    143146x=[1:20]'; 
    144147 
     
    149152set (gca,'tickDir','out'); 
    150153 
    151 print -depsc2 resultats_eof_AFR_annuel.eps; 
     154print('-depsc2','resultats_eof_AFR_annuel.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_1030.m

    r20 r30  
    22 
    33clear; 
    4 load eof_1030_ircaam.mat 
     4status=load('eof_1030_ircaam.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
    58carte1=C(:,360); 
    69 
     
    133136for a=1:360; 
    134137   vaude=vaude+L(a,a); 
    135 end 
     138end; 
    136139vecteurs=zeros(20,1); 
    137140for a=1:20; 
    138141   b=360-(a-1); 
    139142   vecteurs(a)=100*(L(b,b)/vaude); 
    140 end 
     143end; 
    141144x=[1:20]'; 
    142145 
     
    147150set (gca,'tickDir','out'); 
    148151 
    149 print -depsc2 resultats_eof_jjas_2006_1030.eps; 
     152print('-depsc2','resultats_eof_jjas_2006_1030.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_1030_as.m

    r20 r30  
    22 
    33clear; 
    4 load eof_1030_ircaam_as.mat 
     4status=load('eof_1030_ircaam_as.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
    58carte1=C(:,360); 
    69 
     
    133136for a=1:360; 
    134137   vaude=vaude+L(a,a); 
    135 end 
     138end; 
    136139vecteurs=zeros(20,1); 
    137140for a=1:20; 
    138141   b=360-(a-1); 
    139142   vecteurs(a)=100*(L(b,b)/vaude); 
    140 end 
     143end; 
    141144x=[1:20]'; 
    142145 
     
    147150set (gca,'tickDir','out'); 
    148151 
    149 print -depsc2 carte_eof_simuls_AS_1030.eps; 
     152print('-depsc2','carte_eof_simuls_AS_1030.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_1030_ctl.m

    r20 r30  
    22 
    33clear; 
    4 load eof_1030_ircaam_ctl.mat 
     4status=load('eof_1030_ircaam_ctl.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
    58carte1=C(:,360); 
    69 
     
    912 
    1013clear carte1; 
     14 
     15ncload('rlut_d.CtIV.197106-09.nc','lat','lon'); 
     16 
    1117% defintion des lat et lon 
    12 cd('CTL') 
    13 ncload('rlut_d.CtIV.197106-09.nc','lat','lon'); 
    14 cd('..'); 
    1518lon=lon-180; 
    1619lon=lon(54:77); 
     
    135138for a=1:360; 
    136139   vaude=vaude+L(a,a); 
    137 end 
     140end; 
    138141vecteurs=zeros(20,1); 
    139142for a=1:20; 
    140143   b=360-(a-1); 
    141144   vecteurs(a)=100*(L(b,b)/vaude); 
    142 end 
     145end; 
    143146x=[1:20]'; 
    144147 
     
    149152set (gca,'tickDir','out'); 
    150153 
    151 print -depsc2 eof_ircaam_1030_ctl.eps; 
     154print('-depsc2','eof_ircaam_1030_ctl.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_1030_ctl_clim.m

    r20 r30  
    11% 
    22clear; 
    3 load eof_1030_ircaam_ctl_clim.mat 
     3status=load('eof_1030_ircaam_ctl_clim.mat','C','L'); 
     4C=status.C; 
     5L=status.L; 
     6clear status; 
    47carte1=C(:,360); 
    58 
     
    811 
    912clear carte1; 
     13ncload('rlut_d.CtCl.197106-09.nc','lat','lon'); 
     14 
    1015% defintion des lat et lon 
    11 cd('CTL_CLIM') 
    12 ncload('rlut_d.CtCl.197106-09.nc','lat','lon'); 
    13 cd('..'); 
    1416lon=lon-180; 
    1517lon=lon(54:77); 
     
    134136for a=1:360; 
    135137   vaude=vaude+L(a,a); 
    136 end 
     138end; 
    137139vecteurs=zeros(20,1); 
    138140for a=1:20; 
    139141   b=360-(a-1); 
    140142   vecteurs(a)=100*(L(b,b)/vaude); 
    141 end 
     143end; 
    142144x=[1:20]'; 
    143145 
     
    148150set (gca,'tickDir','out'); 
    149151 
    150 print -depsc2 eof_ircaam_1030_ctl_clim.eps; 
     152print('-depsc2','eof_ircaam_1030_ctl_clim.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_1030_tr.m

    r20 r30  
    22 
    33clear; 
    4 load eof_1030_ircaam_tr.mat 
     4status=load('eof_1030_ircaam_tr.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
    58carte1=C(:,360); 
    69 
     
    133136for a=1:360; 
    134137   vaude=vaude+L(a,a); 
    135 end 
     138end; 
    136139vecteurs=zeros(20,1); 
    137140for a=1:20; 
    138141   b=360-(a-1); 
    139142   vecteurs(a)=100*(L(b,b)/vaude); 
    140 end 
     143end; 
    141144x=[1:20]'; 
    142145 
     
    147150set (gca,'tickDir','out'); 
    148151 
    149 print -depsc2 carte_eof_simuls_TR_1030.eps; 
     152print('-depsc2','carte_eof_simuls_TR_1030.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_30100.m

    r20 r30  
    22 
    33clear; 
    4 load eof_30100_ircaam.mat 
     4status=load('eof_30100_ircaam.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
    58carte1=C(:,360); 
    69 
     
    133136for a=1:360; 
    134137   vaude=vaude+L(a,a); 
    135 end 
     138end; 
    136139vecteurs=zeros(20,1); 
    137140for a=1:20; 
    138141   b=360-(a-1); 
    139142   vecteurs(a)=100*(L(b,b)/vaude); 
    140 end 
     143end; 
    141144x=[1:20]'; 
    142145 
     
    147150set (gca,'tickDir','out'); 
    148151 
    149 print -depsc2 resultats_eof_jjas_2006_30100.eps; 
     152print('-depsc2','resultats_eof_jjas_2006_30100.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_30100_as.m

    r20 r30  
    22 
    33clear; 
    4 load eof_30100_ircaam_as.mat 
     4status=load('eof_30100_ircaam_as.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
    58carte1=C(:,360); 
    69 
     
    133136for a=1:360; 
    134137   vaude=vaude+L(a,a); 
    135 end 
     138end; 
    136139vecteurs=zeros(20,1); 
    137140for a=1:20; 
    138141   b=360-(a-1); 
    139142   vecteurs(a)=100*(L(b,b)/vaude); 
    140 end 
     143end; 
    141144x=[1:20]'; 
    142145 
     
    147150set (gca,'tickDir','out'); 
    148151 
    149 print -depsc2 carte_eof_simuls_AS_30100.eps; 
     152print('-depsc2','carte_eof_simuls_AS_30100.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_30100_ctl.m

    r20 r30  
    22 
    33clear; 
    4 load eof_30100_ircaam_ctl.mat 
     4status=load('eof_30100_ircaam_ctl.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
    58carte1=C(:,360); 
    69 
     
    912 
    1013clear carte1; 
     14 
     15ncload('rlut_d.CtIV.197106-09.nc','lat','lon'); 
     16 
    1117% defintion des lat et lon 
    12 cd('CTL') 
    13 ncload('rlut_d.CtIV.197106-09.nc','lat','lon'); 
    14 cd('..'); 
    1518lon=lon-180; 
    1619lon=lon(54:77); 
     
    135138for a=1:360; 
    136139   vaude=vaude+L(a,a); 
    137 end 
     140end; 
    138141vecteurs=zeros(20,1); 
    139142for a=1:20; 
    140143   b=360-(a-1); 
    141144   vecteurs(a)=100*(L(b,b)/vaude); 
    142 end 
     145end; 
    143146x=[1:20]'; 
    144147 
     
    149152set (gca,'tickDir','out'); 
    150153 
    151 print -depsc2 eof_ircaam_30100_ctl.eps; 
     154print('-depsc2','eof_ircaam_30100_ctl.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_ircaam_30100_tr.m

    r20 r30  
    22 
    33clear; 
    4 load eof_30100_ircaam_tr.mat 
     4status=load('eof_30100_ircaam_tr.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
    58carte1=C(:,360); 
    69 
     
    133136for a=1:360; 
    134137   vaude=vaude+L(a,a); 
    135 end 
     138end; 
    136139vecteurs=zeros(20,1); 
    137140for a=1:20; 
    138141   b=360-(a-1); 
    139142   vecteurs(a)=100*(L(b,b)/vaude); 
    140 end 
     143end; 
    141144x=[1:20]'; 
    142145 
     
    147150set (gca,'tickDir','out'); 
    148151 
    149 print -depsc2 carte_eof_simuls_TR_30100.eps; 
     152print('-depsc2','carte_eof_simuls_TR_30100.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_noaa_1_8.m

    r20 r30  
    22 
    33clear; 
    4 load eof_noaa_annuel_1_8.mat; 
     4status=load('eof_noaa_annuel_1_8.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
    58carte1=C(:,425); 
    69 
     
    145148for a=1:425; 
    146149   vaude=vaude+L(a,a); 
    147 end 
     150end; 
    148151vecteurs=zeros(20,1); 
    149152for a=1:20; 
    150153   b=425-(a-1); 
    151154   vecteurs(a)=100*(L(b,b)/vaude); 
    152 end 
     155end; 
    153156x=[1:20]'; 
    154157 
     
    160163set (gca,'tickDir','out'); 
    161164 
    162 print -depsc2 carte_eofs_noaa_annuel_1_8.eps; 
     165print('-depsc2','carte_eofs_noaa_annuel_1_8.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_noaa_8_28.m

    r20 r30  
    22 
    33clear; 
    4 load eof_noaa_annuel_8_28.mat; 
     4status=load('eof_noaa_annuel_8_28.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
     8 
    59carte1=C(:,425); 
    610 
     
    142146 
    143147subplot(3,2,4); 
    144 vaude=0 
    145 for a=1:4;25; 
     148vaude=0; 
     149for a=1:425; 
    146150   vaude=vaude+L(a,a); 
    147 end 
     151end; 
    148152vecteurs=zeros(20,1); 
    149153for a=1:20; 
    150154   b=425-(a-1); 
    151155   vecteurs(a)=100*(L(b,b)/vaude); 
    152 end 
     156end; 
    153157x=[1:20]'; 
    154158 
     
    160164set (gca,'tickDir','out'); 
    161165 
    162 print -depsc2 carte_eofs_noaa_annuel_8_28.eps; 
     166print('-depsc2','carte_eofs_noaa_annuel_8_28.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_olr_noaa_jas.m

    r20 r30  
    22 
    33clear; 
    4 cd('/usr/temp/seglod/mode_sahelien/') 
    5 load eof_olr_annuel.mat; 
    6 cd('/usr/temp/seglod/SIMULS_IRCAAM/') 
     4 
     5status=load('eof_olr_annuel.mat','C','L'); 
     6C=status.C; 
     7L=status.L; 
     8clear status; 
     9 
    710carte1=C(:,425); 
    811 
     
    146149for a=1:425; 
    147150   vaude=vaude+L(a,a); 
    148 end 
     151end; 
    149152vecteurs=zeros(20,1); 
    150153for a=1:20; 
    151154   b=425-(a-1); 
    152155   vecteurs(a)=100*(L(b,b)/vaude); 
    153 end 
     156end; 
    154157x=[1:20]'; 
    155158 
     
    160163set (gca,'tickDir','out'); 
    161164 
    162 print -depsc2 resultats_eof_jjas_2006_1030.eps; 
     165print('-depsc2','resultats_eof_jjas_2006_1030.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_olr_noaa_jas_20.m

    r20 r30  
    22 
    33clear; 
    4 load eof_olr_noaa_annuel_jas_1020.mat; 
     4status=load('eof_olr_noaa_annuel_jas_1020.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
     8 
    59carte1=C(:,325); 
    610 
     
    145149for a=1:325; 
    146150   vaude=vaude+L(a,a); 
    147 end 
     151end; 
    148152vecteurs=zeros(20,1); 
    149153for a=1:20; 
    150154   b=325-(a-1); 
    151155   vecteurs(a)=100*(L(b,b)/vaude); 
    152 end 
     156end; 
    153157x=[1:20]'; 
    154158 
     
    160164set (gca,'tickDir','out'); 
    161165 
    162 print -depsc2 carte_eofs_olr_noaa_annuel_20.eps; 
     166print('-depsc2','carte_eofs_olr_noaa_annuel_20.eps'); 
  • /trunk/src/SIMULS_IRCAAM/carte_eof_pluie_AFR_annuel.m

    r20 r30  
    22 
    33clear; 
    4 load eof_pluie_annuel_AFR.mat; 
     4status=load('eof_pluie_annuel_AFR.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
     8 
    59carte1=C(:,360); 
    610 
     
    133137for a=1:360; 
    134138   vaude=vaude+L(a,a); 
    135 end 
     139end; 
    136140vecteurs=zeros(20,1); 
    137141for a=1:20; 
    138142   b=360-(a-1); 
    139143   vecteurs(a)=100*(L(b,b)/vaude); 
    140 end 
     144end; 
    141145x=[1:20]'; 
    142146 
     
    147151set (gca,'tickDir','out'); 
    148152 
    149 print -depsc2 resultats_eof_AFR_annuel.eps; 
     153print('-depsc2','resultats_eof_AFR_annuel.eps'); 
  • /trunk/src/SIMULS_IRCAAM/climato_olr_AFR.m

    r20 r30  
    9797olr1(:,:,:,1:64)=olr(:,:,:,65:128); 
    9898olr1(:,:,:,65:128)=olr(:,:,:,1:64); 
    99 clear olr 
     99clear olr; 
    100100olr=olr1; 
    101101clear olr1; 
     
    136136axis([-30 30 -10 30]); 
    137137 
    138 print -depsc2 planel_climato_olr.eps 
     138print('-depsc2','planel_climato_olr.eps'); 
  • /trunk/src/SIMULS_IRCAAM/climato_olr_CTL.m

    r20 r30  
    44 
    55olr=zeros(122,29,64,128); 
    6 cd('CTL') 
     6 
    77ncload('rlut_d.CtIV.197106-09.nc','rlut'); 
    88olr(:,1,:,:)=rlut; clear rlut; 
     
    9292olr(:,29,:,:)=rlut; clear rlut; 
    9393 
    94 cd('..') 
    95  
    9694% selction du domaine geographique 
    9795olr1=zeros(122,29,64,128); 
    9896olr1(:,:,:,1:64)=olr(:,:,:,65:128); 
    9997olr1(:,:,:,65:128)=olr(:,:,:,1:64); 
    100 clear olr 
     98clear olr; 
    10199olr=olr1; 
    102100clear olr1; 
  • /trunk/src/SIMULS_IRCAAM/climato_olr_noaa.m

    r20 r30  
    44clear; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc'); 
    8 cd('SIMULS_IRCAAM'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    138137olr2(:,:)=mean(olr1); 
    139138clear olr1; 
    140 cd('..'); 
     139 
    141140ncload('olr.day.mean.nc','lon','lat'); 
    142 cd('SIMULS_IRCAAM'); 
    143141 
    144142subplot(3,2,3); 
  • /trunk/src/SIMULS_IRCAAM/composite_hgt500_AFR_eof1_1030.m

    r20 r30  
    55close all; 
    66 
    7 load hgt500_afr.mat 
    8  
    9 cd('GEOPOT_AFR') 
     7status=load('hgt500_afr.mat','hgt500'); 
     8hgt500=status.hgt500; 
     9clear status; 
     10 
    1011ncload('zg_d.AfNQIVIV.197106-09.nc'); 
    11 cd('..') 
    1212 
    1313% selction du domaine geographique 
     
    3838clear hgt2 hgt4; 
    3939 
    40 load eof1_AFR_1030.txt 
     40status=load('eof1_AFR_1030.txt'); 
     41eof1_AFR_1030=status; 
     42clear status; 
    4143 
    4244% on met sous la forme annee mois 
     
    7375         if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && hgt500_eof(b,a)>(hgt500bis)); 
    7476            compteurmax=compteurmax+1; 
    75           hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
     77            hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
    7678            hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 
    7779            hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); 
     
    182184             end; 
    183185          end; 
    184        end 
     186       end; 
    185187       subplot(7,1,8-e); 
    186188       palettecomplet 
     
    196198       else 
    197199      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    198        end 
     200       end; 
    199201       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    200202       if e==4; 
    201203          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); 
    203205       end; 
    204206       hold on; 
     
    208210       axis([-180 180 20 80]); 
    209211       if e==7; 
    210           title('HGT500 composite EOF1 1030j simulation AFR ','fontsize',8) ; 
    211        end 
     212          title('HGT500 composite EOF1 1030j simulation AFR','fontsize',8) ; 
     213       end; 
    212214       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    213215       pos_vert=e/10; 
    214216       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    215217end; 
    216 print -depsc2 composite_hgt500_afr_eof1_1030a.eps 
     218print('-depsc2','composite_hgt500_afr_eof1_1030a.eps'); 
    217219 
    218220figure(2); 
     
    237239             end; 
    238240          end; 
    239        end 
     241       end; 
    240242       subplot(7,1,8-e); 
    241243       palettecomplet 
     
    251253       else 
    252254      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    253        end 
     255       end; 
    254256       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    255257       if e==4; 
    256258          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); 
    258260       end; 
    259261       hold on; 
     
    263265       axis([-180 180 20 80]); 
    264266       if e==7; 
    265            title('HGT500 composite EOF1 1030j simulation AFR','fontsize',8) ; 
    266        end 
     267          title('HGT500 composite EOF1 1030j simulation AFR','fontsize',8) ; 
     268       end; 
    267269       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    268270       pos_vert=e/10; 
    269271       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    270272end; 
    271 print -depsc2 composite_hgt500_afr_eof1_1030b.eps 
     273print('-depsc2','composite_hgt500_afr_eof1_1030b.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_hgt500_AFR_eof1_30100.m

    r20 r30  
    55close all; 
    66 
    7 load hgt500_afr.mat 
    8  
    9 cd('GEOPOT_AFR') 
     7status=load('hgt500_afr.mat','hgt500'); 
     8hgt500=status.hgt500; 
     9clear status; 
     10 
    1011ncload('zg_d.AfNQIVIV.197106-09.nc'); 
    11 cd('..') 
    1212 
    1313% selction du domaine geographique 
     
    3838clear hgt2 hgt4; 
    3939 
    40 load eof1_AFR_30100.txt 
     40status=load('eof1_AFR_30100.txt'); 
     41eof1_AFR_30100=status; 
     42clear status; 
    4143 
    4244% on met sous la forme annee mois 
     
    7375         if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && hgt500_eof(b,a)>(hgt500bis)); 
    7476            compteurmax=compteurmax+1; 
    75           hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
     77            hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
    7678            hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 
    7779            hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); 
     
    182184             end; 
    183185          end; 
    184        end 
     186       end; 
    185187       subplot(7,1,8-e); 
    186188       palettecomplet 
     
    196198       else 
    197199      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    198        end 
     200       end; 
    199201       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    200202       if e==4; 
    201203          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); 
    203205       end; 
    204206       hold on; 
     
    208210       axis([-180 180 20 80]); 
    209211       if e==7; 
    210           title('HGT500 composite EOF1 30100j simulation AFR ','fontsize',8) ; 
    211        end 
     212          title('HGT500 composite EOF1 30100j simulation AFR','fontsize',8) ; 
     213       end; 
    212214       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    213215       pos_vert=e/10; 
    214216       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    215217end; 
    216 print -depsc2 composite_hgt500_afr_eof1_30100a.eps 
     218print('-depsc2','composite_hgt500_afr_eof1_30100a.eps'); 
    217219 
    218220figure(2); 
     
    237239             end; 
    238240          end; 
    239        end 
     241       end; 
    240242       subplot(7,1,8-e); 
    241243       palettecomplet 
     
    251253       else 
    252254      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    253        end 
     255       end; 
    254256       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    255257       if e==4; 
    256258          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); 
    258260       end; 
    259261       hold on; 
     
    263265       axis([-180 180 20 80]); 
    264266       if e==7; 
    265            title('HGT500 composite EOF1 30100j simulation AFR','fontsize',8) ; 
    266        end 
     267          title('HGT500 composite EOF1 30100j simulation AFR','fontsize',8) ; 
     268       end; 
    267269       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    268270       pos_vert=e/10; 
    269271       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    270272end; 
    271 print -depsc2 composite_hgt500_afr_eof1_30100b.eps 
     273print('-depsc2','composite_hgt500_afr_eof1_30100b.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_hgt500_AFR_eof2_1030.m

    r20 r30  
    55close all; 
    66 
    7 load hgt500_afr.mat; 
    8  
    9 cd('GEOPOT_AFR'); 
     7status=load('hgt500_afr.mat','hgt500'); 
     8hgt500=status.hgt500; 
     9clear status; 
     10 
    1011ncload('zg_d.AfNQIVIV.197106-09.nc'); 
    11 cd('..'); 
    1212 
    1313% selction du domaine geographique 
     
    3838clear hgt2 hgt4; 
    3939 
    40 load eof2_AFR_1030.txt 
     40status=load('eof2_AFR_1030.txt'); 
     41eof2_AFR_1030=status; 
     42clear status; 
    4143 
    4244% on met sous la forme annee mois 
     
    7375         if (delta(b+1)<0 && delta(b)>0 && hgt500_eof(b,a)>(hgt500bis)); 
    7476            compteurmax=compteurmax+1; 
    75           hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
     77            hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
    7678            hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 
    7779            hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); 
     
    157159           y=hgt500_filtre_compomax(1:nb_value,a,b,c); 
    158160           student1(a,b,c)=ttest(x,y,.1); 
    159         end 
    160     end 
    161 end 
     161        end; 
     162    end; 
     163end; 
    162164disp(['iii : compteurmin =', int2str(compteurmin)]); 
    163165disp(['iii : compteurmax =', int2str(compteurmax)]); 
     
    202204             end; 
    203205          end; 
    204        end 
     206       end; 
    205207       subplot(7,1,8-e); 
    206208       palettecomplet 
     
    216218       else 
    217219      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    218        end 
     220       end; 
    219221       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    220222       if e==4; 
    221223          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); 
    223225       end; 
    224226       hold on; 
     
    228230       axis([-180 180 20 80]); 
    229231       if e==7; 
    230           title('HGT500 composite EOF2 1030j simulation AFR ','fontsize',8) ; 
    231        end 
     232          title('HGT500 composite EOF2 1030j simulation AFR','fontsize',8) ; 
     233       end; 
    232234       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    233235       pos_vert=e/10; 
    234236       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    235237end; 
    236 print -depsc2 composite_hgt500_afr_eof2_1030a.eps 
     238print('-depsc2','composite_hgt500_afr_eof2_1030a.eps'); 
    237239 
    238240figure(2); 
     
    262264             end; 
    263265          end; 
    264        end 
     266       end; 
    265267       subplot(7,1,8-e); 
    266268       palettecomplet 
     
    276278       else 
    277279      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    278        end 
     280       end; 
    279281       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    280282       if e==4; 
    281283          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); 
    283285       end; 
    284286       hold on; 
     
    288290       axis([-180 180 20 80]); 
    289291       if e==7; 
    290            title('HGT500 composite EOF2 1030j simulation AFR','fontsize',8) ; 
    291        end 
     292          title('HGT500 composite EOF2 1030j simulation AFR','fontsize',8) ; 
     293       end; 
    292294       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    293295       pos_vert=e/10; 
    294296       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    295297end; 
    296 print -depsc2 composite_hgt500_afr_eof2_1030b.eps 
     298print('-depsc2','composite_hgt500_afr_eof2_1030b.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_hgt500_AFR_eof2_1030_min.m

    r20 r30  
    55close all; 
    66 
    7 load hgt500_afr.mat; 
    8  
    9 cd('GEOPOT_AFR'); 
     7status=load('hgt500_afr.mat','hgt500'); 
     8hgt500=status.hgt500; 
     9clear status; 
     10 
    1011ncload('zg_d.AfNQIVIV.197106-09.nc'); 
    11 cd('..'); 
    1212 
    1313% selction du domaine geographique 
     
    3838clear hgt2 hgt4; 
    3939 
    40 load eof2_AFR_1030.txt 
     40status=load('eof2_AFR_1030.txt'); 
     41eof2_AFR_1030=status; 
     42clear status; 
    4143 
    4244% on met sous la forme annee mois 
     
    161163           y=hgt500_filtre_compomax(1:nb_value,a,b,c); 
    162164           student1(a,b,c)=ttest(x,y,.1); 
    163         end 
    164     end 
    165 end 
     165        end; 
     166    end; 
     167end; 
    166168disp(['iii : compteurmin =', int2str(compteurmin)]); 
    167169disp(['iii : compteurmax =', int2str(compteurmax)]); 
     
    208210             end; 
    209211          end; 
    210        end 
     212       end; 
    211213       subplot(7,1,8-e); 
    212214       palettecomplet 
     
    222224       else 
    223225      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    224        end 
     226       end; 
    225227       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    226228       if e==4; 
    227229          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); 
    229231       end; 
    230232       hold on; 
     
    234236       axis([-180 180 20 80]); 
    235237       if e==7; 
    236           title('HGT500 composite EOF2 1030j simulation AFR ','fontsize',8) ; 
    237        end 
     238          title('HGT500 composite EOF2 1030j simulation AFR','fontsize',8) ; 
     239       end; 
    238240       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    239241       pos_vert=e/10; 
    240242       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    241243end; 
    242 print -depsc2 composite_hgt500_afr_eof2_1030a.eps 
     244print('-depsc2','composite_hgt500_afr_eof2_1030a.eps'); 
    243245 
    244246figure(2); 
     
    270272             end; 
    271273          end; 
    272        end 
     274       end; 
    273275       subplot(7,1,8-e); 
    274276       palettecomplet 
     
    284286       else 
    285287      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    286        end 
     288       end; 
    287289       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    288290       if e==4; 
    289291          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); 
    291293       end; 
    292294       hold on; 
     
    296298       axis([-180 180 20 80]); 
    297299       if e==7; 
    298            title('HGT500 composite EOF2 1030j simulation AFR','fontsize',8) ; 
    299        end 
     300          title('HGT500 composite EOF2 1030j simulation AFR','fontsize',8) ; 
     301       end; 
    300302       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    301303       pos_vert=e/10; 
    302304       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    303305end; 
    304 print -depsc2 composite_hgt500_afr_eof2_1030b.eps 
     306print('-depsc2','composite_hgt500_afr_eof2_1030b.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_hgt500_AFR_eof2_30100.m

    r20 r30  
    55close all; 
    66 
    7 load hgt500_afr.mat 
    8  
    9 cd('GEOPOT_AFR') 
     7status=load('hgt500_afr.mat','hgt500'); 
     8hgt500=status.hgt500; 
     9clear status; 
     10 
    1011ncload('zg_d.AfNQIVIV.197106-09.nc'); 
    11 cd('..') 
    1212 
    1313% selction du domaine geographique 
     
    3838clear hgt2 hgt4; 
    3939 
    40 load eof2_AFR_30100.txt 
     40status=load('eof2_AFR_30100.txt'); 
     41eof2_AFR_30100=status; 
     42clear status; 
    4143 
    4244% on met sous la forme annee mois 
     
    7375         if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && hgt500_eof(b,a)>(hgt500bis)); 
    7476            compteurmax=compteurmax+1; 
    75           hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
     77            hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
    7678            hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 
    7779            hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); 
     
    182184             end; 
    183185          end; 
    184        end 
     186       end; 
    185187       subplot(7,1,8-e); 
    186188       palettecomplet 
     
    196198       else 
    197199      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    198        end 
     200       end; 
    199201       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    200202       if e==4; 
    201203          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); 
    203205       end; 
    204206       hold on; 
     
    208210       axis([-180 180 20 80]); 
    209211       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; 
    212214       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    213215       pos_vert=e/10; 
    214216       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    215217end; 
    216 print -depsc2 composite_hgt500_afr_eof2_30100a.eps 
     218print('-depsc2','composite_hgt500_afr_eof2_30100a.eps'); 
    217219 
    218220figure(2); 
     
    237239             end; 
    238240          end; 
    239        end 
     241       end; 
    240242       subplot(7,1,8-e); 
    241243       palettecomplet 
     
    251253       else 
    252254      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    253        end 
     255       end; 
    254256       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    255257       if e==4; 
    256258          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); 
    258260       end; 
    259261       hold on; 
     
    263265       axis([-180 180 20 80]); 
    264266       if e==7; 
    265            title('HGT500 composite EOF2 30100j simulation AFR','fontsize',8) ; 
    266        end 
     267          title('HGT500 composite EOF2 30100j simulation AFR','fontsize',8) ; 
     268       end; 
    267269       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    268270       pos_vert=e/10; 
    269271       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    270272end; 
    271 print -depsc2 composite_hgt500_afr_eof2_30100b.eps 
     273print('-depsc2','composite_hgt500_afr_eof2_30100b.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_hgt500_TROP_eof1_1030.m

    r20 r30  
    55close all; 
    66 
    7 load hgt500_trop.mat 
    8  
    9 cd('GEOPOT_TROP') 
     7status=load('hgt500_trop.mat','hgt500'); 
     8hgt500=status.hgt500; 
     9clear status; 
     10 
    1011ncload('zg_d.TrNQIVIV.197106-09.nc'); 
    11 cd('..') 
    1212 
    1313% selction du domaine geographique 
     
    3838clear hgt2 hgt4; 
    3939 
    40 load eof1_TR_1030.txt 
     40status=load('eof1_TR_1030.txt'); 
     41eof2_TR_1030=status; 
     42clear status; 
    4143 
    4244% on met sous la forme annee mois 
     
    7375         if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && hgt500_eof(b,a)>(hgt500bis)); 
    7476            compteurmax=compteurmax+1; 
    75           hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
     77            hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
    7678            hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 
    7779            hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); 
     
    182184             end; 
    183185          end; 
    184        end 
     186       end; 
    185187       subplot(7,1,8-e); 
    186188       palettecomplet 
     
    196198       else 
    197199      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    198        end 
     200       end; 
    199201       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    200202       if e==4; 
    201203          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); 
    203205       end; 
    204206       hold on; 
     
    208210       axis([-180 180 20 80]); 
    209211       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; 
    212214       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    213215       pos_vert=e/10; 
    214216       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    215217end; 
    216 print -depsc2 composite_hgt500_trop_eof1_1030a.eps 
     218print('-depsc2','composite_hgt500_trop_eof1_1030a.eps'); 
    217219 
    218220figure(2); 
     
    237239             end; 
    238240          end; 
    239        end 
     241       end; 
    240242       subplot(7,1,8-e); 
    241243       palettecomplet 
     
    251253       else 
    252254      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    253        end 
     255       end; 
    254256       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    255257       if e==4; 
    256258          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); 
    258260       end; 
    259261       hold on; 
     
    263265       axis([-180 180 20 80]); 
    264266       if e==7; 
    265            title('HGT500 composite EOF1 1030j simulation TROP','fontsize',8) ; 
    266        end 
     267          title('HGT500 composite EOF1 1030j simulation TROP','fontsize',8) ; 
     268       end; 
    267269       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    268270       pos_vert=e/10; 
    269271       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    270272end; 
    271 print -depsc2 composite_hgt500_trop_eof1_1030b.eps 
     273print('-depsc2','composite_hgt500_trop_eof1_1030b.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_hgt500_TROP_eof1_30100.m

    r20 r30  
    55close all; 
    66 
    7 load hgt500_trop.mat 
    8  
    9 cd('GEOPOT_TROP') 
     7status=load('hgt500_trop.mat','hgt500'); 
     8hgt500=status.hgt500; 
     9clear status; 
     10 
    1011ncload('zg_d.TrNQIVIV.197106-09.nc','lon','lat'); 
    11 cd('..') 
    1212 
    1313% selction du domaine geographique 
     
    3838clear hgt2 hgt4; 
    3939 
    40 load eof1_TR_30100.txt 
     40status=load('eof1_TR_30100.txt'); 
     41eof1_TR_30100=status; 
     42clear status; 
    4143 
    4244% on met sous la forme annee mois 
     
    7375         if (delta(b+1)<0 && delta(b)<0 && delta(b-1)>0 && delta(b-2)>0 && hgt500_eof(b,a)>(hgt500bis)); 
    7476            compteurmax=compteurmax+1; 
    75           hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
     77            hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
    7678            hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 
    7779            hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); 
     
    182184             end; 
    183185          end; 
    184        end 
     186       end; 
    185187       subplot(7,1,8-e); 
    186188       palettecomplet 
     
    196198       else 
    197199      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    198        end 
     200       end; 
    199201       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    200202       if e==4; 
    201203          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); 
    203205       end; 
    204206       hold on; 
     
    208210       axis([-180 180 20 80]); 
    209211       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; 
    212214       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    213215       pos_vert=e/10; 
    214216       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    215217end; 
    216 print -depsc2 composite_hgt500_trop_eof1_30100a.eps 
     218print('-depsc2','composite_hgt500_trop_eof1_30100a.eps'); 
    217219 
    218220figure(2); 
     
    237239             end; 
    238240          end; 
    239        end 
     241       end; 
    240242       subplot(7,1,8-e); 
    241243       palettecomplet 
     
    251253       else 
    252254      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    253        end 
     255       end; 
    254256       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    255257       if e==4; 
    256258          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); 
    258260       end; 
    259261       hold on; 
     
    263265       axis([-180 180 20 80]); 
    264266       if e==7; 
    265            title('HGT500 composite EOF1 30100j simulation TROP','fontsize',8) ; 
    266        end 
     267          title('HGT500 composite EOF1 30100j simulation TROP','fontsize',8) ; 
     268       end; 
    267269       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    268270       pos_vert=e/10; 
    269271       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    270272end; 
    271 print -depsc2 composite_hgt500_trop_eof1_30100b.eps 
     273print('-depsc2','composite_hgt500_trop_eof1_30100b.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_hgt500_TROP_eof2_1030.m

    r20 r30  
    55close all; 
    66 
    7 load hgt500_trop.mat 
    8  
    9 cd('GEOPOT_TROP') 
     7status=load('hgt500_trop.mat','hgt500'); 
     8hgt500=status.hgt500; 
     9clear status; 
     10 
    1011ncload('zg_d.TrNQIVIV.197106-09.nc'); 
    11 cd('..') 
    1212 
    1313% selction du domaine geographique 
     
    3838clear hgt2 hgt4; 
    3939 
    40 load eof2_TR_1030.txt 
     40status=load('eof2_TR_1030.txt'); 
     41eof2_TR_1030=status; 
     42clear status; 
    4143 
    4244% on met sous la forme annee mois 
     
    7375         if (delta(b+1)<0 && delta(b)>0 && hgt500_eof(b,a)>(hgt500bis)); 
    7476            compteurmax=compteurmax+1; 
    75           hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
     77            hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
    7678            hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 
    7779            hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); 
     
    182184             end; 
    183185          end; 
    184        end 
     186       end; 
    185187       subplot(7,1,8-e); 
    186188       palettecomplet 
     
    196198       else 
    197199      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    198        end 
     200       end; 
    199201       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    200202       if e==4; 
    201203          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); 
    203205       end; 
    204206       hold on; 
     
    208210       axis([-180 180 20 80]); 
    209211       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; 
    212214       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    213215       pos_vert=e/10; 
    214216       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    215217end; 
    216 print -depsc2 composite_hgt500_trop_eof2_1030a.eps 
     218print('-depsc2','composite_hgt500_trop_eof2_1030a.eps'); 
    217219 
    218220figure(2); 
     
    237239             end; 
    238240          end; 
    239        end 
     241       end; 
    240242       subplot(7,1,8-e); 
    241243       palettecomplet 
     
    251253       else 
    252254      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    253        end 
     255       end; 
    254256       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    255257       if e==4; 
    256258          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); 
    258260       end; 
    259261       hold on; 
     
    263265       axis([-180 180 20 80]); 
    264266       if e==7; 
    265            title('HGT500 composite EOF2 1030j simulation TROP','fontsize',8) ; 
    266        end 
     267          title('HGT500 composite EOF2 1030j simulation TROP','fontsize',8) ; 
     268       end; 
    267269       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    268270       pos_vert=e/10; 
    269271       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    270272end; 
    271 print -depsc2 composite_hgt500_trop_eof2_1030b.eps 
     273print('-depsc2','composite_hgt500_trop_eof2_1030b.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_hgt500_TROP_eof2_30100.m

    r20 r30  
    55close all; 
    66 
    7 load hgt500_trop.mat 
    8  
    9 cd('GEOPOT_TROP') 
     7status=load('hgt500_trop.mat','hgt500'); 
     8hgt500=status.hgt500; 
     9clear status; 
     10 
    1011ncload('zg_d.TrNQIVIV.197106-09.nc','lon','lat'); 
    11 cd('..') 
    1212 
    1313% selction du domaine geographique 
     
    3838clear hgt2 hgt4; 
    3939 
    40 load eof2_TR_30100.txt 
     40status=load('eof2_TR_30100.txt'); 
     41eof2_TR_30100=status; 
     42clear status; 
    4143 
    4244% on met sous la forme annee mois 
     
    7375         if (delta(b+1)<0 && delta(b)>0 && hgt500_eof(b,a)>(hgt500bis)); 
    7476            compteurmax=compteurmax+1; 
    75           hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
     77            hgt500_filtre_compomax(compteurmax,1,:,:)=hgt500(b-20,a,:,:); 
    7678            hgt500_filtre_compomax(compteurmax,2,:,:)=hgt500(b-19,a,:,:); 
    7779            hgt500_filtre_compomax(compteurmax,3,:,:)=hgt500(b-18,a,:,:); 
     
    182184             end; 
    183185          end; 
    184        end 
     186       end; 
    185187       subplot(7,1,8-e); 
    186188       palettecomplet 
     
    196198       else 
    197199      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    198        end 
     200       end; 
    199201       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    200202       if e==4; 
    201203          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); 
    203205       end; 
    204206       hold on; 
     
    208210       axis([-180 180 20 80]); 
    209211       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; 
    212214       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    213215       pos_vert=e/10; 
    214216       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    215217end; 
    216 print -depsc2 composite_hgt500_trop_eof2_30100a.eps 
     218print('-depsc2','composite_hgt500_trop_eof2_30100a.eps'); 
    217219 
    218220figure(2); 
     
    237239             end; 
    238240          end; 
    239        end 
     241       end; 
    240242       subplot(7,1,8-e); 
    241243       palettecomplet 
     
    251253       else 
    252254      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    253        end 
     255       end; 
    254256       set (gca,'YTick',[30:10:70],'YTickLabel',['30N';'40N';'50N';'60N';'70N'],'fontname','Arial','fontsize',6); 
    255257       if e==4; 
    256258          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); 
    258260       end; 
    259261       hold on; 
     
    263265       axis([-180 180 20 80]); 
    264266       if e==7; 
    265            title('HGT500 composite EOF2 30100j simulation TROP','fontsize',8) ; 
    266        end 
     267          title('HGT500 composite EOF2 30100j simulation TROP','fontsize',8) ; 
     268       end; 
    267269       text(-270,40,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    268270       pos_vert=e/10; 
    269271       set (gca,'position',[0.2 pos_vert 0.5 0.1]) 
    270272end; 
    271 print -depsc2 composite_hgt500_trop_eof2_30100b.eps 
     273print('-depsc2','composite_hgt500_trop_eof2_30100b.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_AFR_eof1_1030.m

    r20 r30  
    9191 
    9292ncload('rlut_d.AfNQIVIV.200006-09.nc','rlut','lat','lon'); 
    93 olr(:,29,:,:)=rlut; 
    94 clear rlut; 
     93olr(:,29,:,:)=rlut; clear rlut; 
    9594 
    9695% selction du domaine geographique 
     
    10099clear olr; 
    101100 
    102 load eof1_AFR_1030.txt 
     101status=load('eof1_AFR_1030.txt'); 
     102eof1_AFR_1030=status; 
     103clear status; 
    103104 
    104105% on met sous la forme annee mois 
     
    135136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    136137            compteurmax=compteurmax+1; 
    137           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    138139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    139140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    218219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    219220           student1(a,b,c)=ttest(x,y,.2); 
    220         end 
    221     end 
    222 end 
     221        end; 
     222    end; 
     223end; 
    223224 
    224225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    259260             end; 
    260261          end; 
    261        end 
     262       end; 
    262263       subplot(7,1,8-e); 
    263264       palettecomplet 
     
    273274       else 
    274275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    275        end 
     276       end; 
    276277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    277278       if e==4; 
    278279          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); 
    280281       end; 
    281282       hold on; 
     
    285286       axis([-180 180 -20 40]); 
    286287       if e==7; 
    287           title('OLR composite EOF1 1030j simulation AFR ','fontsize',8) ; 
    288        end 
     288          title('OLR composite EOF1 1030j simulation AFR','fontsize',8) ; 
     289       end; 
    289290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    290291       pos_vert=e/10; 
     
    293294 
    294295figure(1); 
    295 print -depsc2 composite_olr_EOF1_1030j_simulation_AFR_part1.eps; 
     296print('-depsc2','composite_olr_EOF1_1030j_simulation_AFR_part1.eps'); 
    296297 
    297298figure(2); 
     
    321322             end; 
    322323          end; 
    323        end 
     324       end; 
    324325       subplot(7,1,8-e); 
    325326       palettecomplet 
     
    335336       else 
    336337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    337        end 
     338       end; 
    338339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    339340       if e==4; 
    340341          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); 
    342343       end; 
    343344       hold on; 
     
    347348       axis([-180 180 -20 40]); 
    348349       if e==7; 
    349            title('OLR composite EOF1 1030j simulation AFR','fontsize',8) ; 
    350        end 
     350          title('OLR composite EOF1 1030j simulation AFR','fontsize',8) ; 
     351       end; 
    351352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    352353       pos_vert=e/10; 
     
    355356 
    356357figure(2); 
    357 print -depsc2 composite_olr_EOF1_1030j_simulation_AFR_part2.eps; 
     358print('-depsc2','composite_olr_EOF1_1030j_simulation_AFR_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_AFR_eof1_30100.m

    r20 r30  
    9999clear olr; 
    100100 
    101 load eof1_AFR_30100.txt 
     101status=load('eof1_AFR_30100.txt'); 
     102eof1_AFR_30100=status; 
     103clear status; 
    102104 
    103105% on met sous la forme annee mois 
     
    134136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    135137            compteurmax=compteurmax+1; 
    136           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    137139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    138140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    217219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    218220           student1(a,b,c)=ttest(x,y,.2); 
    219         end 
    220     end 
    221 end 
     221        end; 
     222    end; 
     223end; 
    222224 
    223225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    258260             end; 
    259261          end; 
    260        end 
     262       end; 
    261263       subplot(7,1,8-e); 
    262264       palette 
     
    272274       else 
    273275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    274        end 
     276       end; 
    275277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    276278       if e==4; 
     
    284286       axis([-180 180 -20 40]); 
    285287       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; 
    288290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    289291       pos_vert=e/10; 
     
    292294 
    293295figure(1); 
    294 print -depsc2 composite_olr_EOF1_30100j_simulation_AFR_part1.eps; 
     296print('-depsc2','composite_olr_EOF1_30100j_simulation_AFR_part1.eps'); 
    295297 
    296298figure(2); 
     
    320322             end; 
    321323          end; 
    322        end 
     324       end; 
    323325       subplot(7,1,8-e); 
    324326       palette 
     
    334336       else 
    335337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    336        end 
     338       end; 
    337339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    338340       if e==4; 
     
    346348       axis([-180 180 -20 40]); 
    347349       if e==7; 
    348            title('OLR composite EOF1 30100j simulation AFR','fontsize',8) ; 
    349        end 
     350          title('OLR composite EOF1 30100j simulation AFR','fontsize',8) ; 
     351       end; 
    350352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    351353       pos_vert=e/10; 
     
    354356 
    355357figure(2); 
    356 print -depsc2 composite_olr_EOF1_30100j_simulation_AFR_part2.eps; 
     358print('-depsc2','composite_olr_EOF1_30100j_simulation_AFR_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_AFR_eof2_1030.m

    r20 r30  
    9999clear olr; 
    100100 
    101 load eof2_AFR_1030.txt 
     101status=load('eof2_AFR_1030.txt'); 
     102eof2_AFR_1030=status; 
     103clear status; 
    102104 
    103105% on met sous la forme annee mois 
     
    134136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    135137            compteurmax=compteurmax+1; 
    136           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    137139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    138140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    218220           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    219221           student1(a,b,c)=ttest(x,y,.1); 
    220         end 
    221     end 
    222 end 
     222        end; 
     223    end; 
     224end; 
    223225 
    224226disp(['iii : compteurmin =', int2str(compteurmin)]); 
     
    262264             end; 
    263265          end; 
    264        end 
     266       end; 
    265267       subplot(7,1,8-e); 
    266268       palettecomplet 
     
    276278       else 
    277279      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    278        end 
     280       end; 
    279281       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    280282       if e==4; 
     
    288290       axis([-180 180 -20 40]); 
    289291       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; 
    292294       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    293295       pos_vert=e/10; 
     
    296298 
    297299figure(1); 
    298 print -depsc2 composite_olr_EOF2_1030j_simulation_AFR_part1.eps; 
     300print('-depsc2','composite_olr_EOF2_1030j_simulation_AFR_part1.eps'); 
    299301 
    300302figure(2); 
     
    325327             end; 
    326328          end; 
    327        end 
     329       end; 
    328330       subplot(7,1,8-e); 
    329331       palettecomplet 
     
    339341       else 
    340342      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    341        end 
     343       end; 
    342344       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    343345       if e==4; 
     
    351353       axis([-180 180 -20 40]); 
    352354       if e==7; 
    353            title('OLR composite EOF2 1030j simulation AFR','fontsize',8) ; 
    354        end 
     355          title('OLR composite EOF2 1030j simulation AFR','fontsize',8) ; 
     356       end; 
    355357       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    356358       pos_vert=e/10; 
     
    359361 
    360362figure(2); 
    361 print -depsc2 composite_olr_EOF2_1030j_simulation_AFR_part2.eps; 
     363print('-depsc2','composite_olr_EOF2_1030j_simulation_AFR_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_AFR_eof2_30100.m

    r20 r30  
    9999clear olr; 
    100100 
    101 load eof2_AFR_30100.txt 
     101status=load('eof2_AFR_30100.txt'); 
     102eof2_AFR_30100=status; 
     103clear status; 
    102104 
    103105% on met sous la forme annee mois 
     
    134136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    135137            compteurmax=compteurmax+1; 
    136           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    137139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    138140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    217219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    218220           student1(a,b,c)=ttest(x,y,.2); 
    219         end 
    220     end 
    221 end 
     221        end; 
     222    end; 
     223end; 
    222224 
    223225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    258260             end; 
    259261          end; 
    260        end 
     262       end; 
    261263       subplot(7,1,8-e); 
    262264       palette 
     
    272274       else 
    273275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    274        end 
     276       end; 
    275277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    276278       if e==4; 
     
    284286       axis([-180 180 -20 40]); 
    285287       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; 
    288290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    289291       pos_vert=e/10; 
     
    292294 
    293295figure(1); 
    294 print -depsc2 composite_olr_EOF2_30100j_simulation_AFR_part1.eps; 
     296print('-depsc2','composite_olr_EOF2_30100j_simulation_AFR_part1.eps'); 
    295297 
    296298figure(2); 
     
    320322             end; 
    321323          end; 
    322        end 
     324       end; 
    323325       subplot(7,1,8-e); 
    324326       palette 
     
    334336       else 
    335337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    336        end 
     338       end; 
    337339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    338340       if e==4; 
     
    346348       axis([-180 180 -20 40]); 
    347349       if e==7; 
    348            title('OLR composite EOF2 30100j simulation AFR','fontsize',8) ; 
    349        end 
     350          title('OLR composite EOF2 30100j simulation AFR','fontsize',8) ; 
     351       end; 
    350352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    351353       pos_vert=e/10; 
     
    354356 
    355357figure(2); 
    356 print -depsc2 composite_olr_EOF2_30100j_simulation_AFR_part2.eps; 
     358print('-depsc2','composite_olr_EOF2_30100j_simulation_AFR_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_AS_eof1_1030.m

    r20 r30  
    55close all; 
    66olr=zeros(122,29,64,128); 
    7 cd('INDE') 
     7 
    88ncload('rlut_d.AsNQIVIV.197106-09.nc','rlut'); 
    99olr(:,1,:,:)=rlut; clear rlut; 
     
    9393olr(:,29,:,:)=rlut; clear rlut; 
    9494 
    95 cd('..'); 
    9695% selction du domaine geographique 
    9796olr1=zeros(122,29,64,128); 
     
    10099clear olr; 
    101100 
    102 load eof1_AS_1030.txt 
     101status=load('eof1_AS_1030.txt'); 
     102eof1_AS_1030=status; 
     103clear status; 
    103104 
    104105% on met sous la forme annee mois 
     
    218219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    219220           student1(a,b,c)=ttest(x,y,.2); 
    220         end 
    221     end 
    222 end 
     221        end; 
     222    end; 
     223end; 
    223224 
    224225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    259260             end; 
    260261          end; 
    261        end 
     262       end; 
    262263       subplot(7,1,8-e); 
    263264       palettecomplet 
     
    273274       else 
    274275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    275        end 
     276       end; 
    276277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    277278       if e==4; 
     
    285286       axis([-180 180 -20 40]); 
    286287       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; 
    289290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    290291       pos_vert=e/10; 
     
    293294 
    294295figure(1); 
    295 print -depsc2 composite_olr_EOF1_1030j_simulation_AS_part1.eps; 
     296print('-depsc2','composite_olr_EOF1_1030j_simulation_AS_part1.eps'); 
    296297 
    297298figure(2); 
     
    321322             end; 
    322323          end; 
    323        end 
     324       end; 
    324325       subplot(7,1,8-e); 
    325326       palettecomplet 
     
    335336       else 
    336337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    337        end 
     338       end; 
    338339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    339340       if e==4; 
     
    347348       axis([-180 180 -20 40]); 
    348349       if e==7; 
    349            title('OLR composite EOF1 1030j simulation AS','fontsize',8) ; 
    350        end 
     350          title('OLR composite EOF1 1030j simulation AS','fontsize',8) ; 
     351       end; 
    351352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    352353       pos_vert=e/10; 
     
    355356 
    356357figure(2); 
    357 print -depsc2 composite_olr_EOF1_1030j_simulation_AS_part2.eps; 
     358print('-depsc2','composite_olr_EOF1_1030j_simulation_AS_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_AS_eof1_30100.m

    r20 r30  
    55close all; 
    66olr=zeros(122,29,64,128); 
    7 cd('INDE') 
     7 
    88ncload('rlut_d.AsNQIVIV.197106-09.nc','rlut'); 
    99olr(:,1,:,:)=rlut; clear rlut; 
     
    9393olr(:,29,:,:)=rlut; clear rlut; 
    9494 
    95 cd('..'); 
    9695% selction du domaine geographique 
    9796olr1=zeros(122,29,64,128); 
     
    10099clear olr; 
    101100 
    102 load eof1_AS_30100.txt 
     101status=load('eof1_AS_30100.txt'); 
     102eof1_AS_30100=status; 
     103clear status; 
    103104 
    104105% on met sous la forme annee mois 
     
    135136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    136137            compteurmax=compteurmax+1; 
    137           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    138139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    139140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    218219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    219220           student1(a,b,c)=ttest(x,y,.2); 
    220         end 
    221     end 
    222 end 
     221        end; 
     222    end; 
     223end; 
    223224 
    224225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    259260             end; 
    260261          end; 
    261        end 
     262       end; 
    262263       subplot(7,1,8-e); 
    263264       palette 
     
    273274       else 
    274275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    275        end 
     276       end; 
    276277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    277278       if e==4; 
     
    285286       axis([-180 180 -20 40]); 
    286287       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; 
    289290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    290291       pos_vert=e/10; 
     
    293294 
    294295figure(1); 
    295 print -depsc2 composite_olr_EOF1_30100j_simulation_AS_part1.eps; 
     296print('-depsc2','composite_olr_EOF1_30100j_simulation_AS_part1.eps'); 
    296297 
    297298figure(2); 
     
    321322             end; 
    322323          end; 
    323        end 
     324       end; 
    324325       subplot(7,1,8-e); 
    325326       palette 
     
    335336       else 
    336337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    337        end 
     338       end; 
    338339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    339340       if e==4; 
     
    347348       axis([-180 180 -20 40]); 
    348349       if e==7; 
    349            title('OLR composite EOF1 30100j simulation AS','fontsize',8) ; 
    350        end 
     350          title('OLR composite EOF1 30100j simulation AS','fontsize',8) ; 
     351       end; 
    351352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    352353       pos_vert=e/10; 
     
    355356 
    356357figure(2); 
    357 print -depsc2 composite_olr_EOF1_30100j_simulation_AS_part2.eps; 
     358print('-depsc2','composite_olr_EOF1_30100j_simulation_AS_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_AS_eof2_1030.m

    r20 r30  
    55close all; 
    66olr=zeros(122,29,64,128); 
    7 cd('INDE') 
     7 
    88ncload('rlut_d.AsNQIVIV.197106-09.nc','rlut'); 
    99olr(:,1,:,:)=rlut; clear rlut; 
     
    9393olr(:,29,:,:)=rlut; clear rlut; 
    9494 
    95 cd('..'); 
    9695% selction du domaine geographique 
    9796olr1=zeros(122,29,64,128); 
     
    10099clear olr; 
    101100 
    102 load eof2_AS_1030.txt 
     101status=load('eof2_AS_1030.txt'); 
     102eof2_AS_1030=status; 
     103clear status; 
    103104 
    104105% on met sous la forme annee mois 
     
    135136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    136137            compteurmax=compteurmax+1; 
    137           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    138139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    139140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    218219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    219220           student1(a,b,c)=ttest(x,y,.2); 
    220         end 
    221     end 
    222 end 
     221        end; 
     222    end; 
     223end; 
    223224 
    224225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    259260             end; 
    260261          end; 
    261        end 
     262       end; 
    262263       subplot(7,1,8-e); 
    263264       palettecomplet 
     
    273274       else 
    274275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    275        end 
     276       end; 
    276277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    277278       if e==4; 
     
    285286       axis([-180 180 -20 40]); 
    286287       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; 
    289290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    290291       pos_vert=e/10; 
     
    293294 
    294295figure(1); 
    295 print -depsc2 composite_olr_EOF2_1030j_simulation_AS_part1.eps; 
     296print('-depsc2','composite_olr_EOF2_1030j_simulation_AS_part1.eps'); 
    296297 
    297298figure(2); 
     
    321322             end; 
    322323          end; 
    323        end 
     324       end; 
    324325       subplot(7,1,8-e); 
    325326       palettecomplet 
     
    335336       else 
    336337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    337        end 
     338       end; 
    338339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    339340       if e==4; 
     
    347348       axis([-180 180 -20 40]); 
    348349       if e==7; 
    349            title('OLR composite EOF2 1030j simulation AS','fontsize',8) ; 
    350        end 
     350          title('OLR composite EOF2 1030j simulation AS','fontsize',8) ; 
     351       end; 
    351352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    352353       pos_vert=e/10; 
     
    355356 
    356357figure(2); 
    357 print -depsc2 composite_olr_EOF2_1030j_simulation_AS_part2.eps; 
     358print('-depsc2','composite_olr_EOF2_1030j_simulation_AS_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_AS_eof2_30100.m

    r20 r30  
    55close all; 
    66olr=zeros(122,29,64,128); 
    7 cd('INDE') 
     7 
    88ncload('rlut_d.AsNQIVIV.197106-09.nc','rlut'); 
    99olr(:,1,:,:)=rlut; clear rlut; 
     
    9393olr(:,29,:,:)=rlut; clear rlut; 
    9494 
    95 cd('..'); 
    9695% selction du domaine geographique 
    9796olr1=zeros(122,29,64,128); 
     
    10099clear olr; 
    101100 
    102 load eof2_AS_30100.txt 
     101status=load('eof2_AS_30100.txt'); 
     102eof2_AS_30100=status; 
     103clear status; 
    103104 
    104105% on met sous la forme annee mois 
     
    135136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    136137            compteurmax=compteurmax+1; 
    137           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    138139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    139140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    218219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    219220           student1(a,b,c)=ttest(x,y,.2); 
    220         end 
    221     end 
    222 end 
     221        end; 
     222    end; 
     223end; 
    223224 
    224225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    259260             end; 
    260261          end; 
    261        end 
     262       end; 
    262263       subplot(7,1,8-e); 
    263264       palette 
     
    273274       else 
    274275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    275        end 
     276       end; 
    276277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    277278       if e==4; 
     
    285286       axis([-180 180 -20 40]); 
    286287       if e==7; 
    287           title('OLR composite EOF2 30100j simulation AS ','fontsize',8) ; 
    288        end 
     288          title('OLR composite EOF2 30100j simulation AS','fontsize',8) ; 
     289       end; 
    289290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    290291       pos_vert=e/10; 
     
    293294 
    294295figure(1); 
    295 print -depsc2 composite_olr_EOF2_30100j_simulation_AS_part1.eps; 
     296print('-depsc2','composite_olr_EOF2_30100j_simulation_AS_part1.eps'); 
    296297 
    297298figure(2); 
     
    321322             end; 
    322323          end; 
    323        end 
     324       end; 
    324325       subplot(7,1,8-e); 
    325326       palette 
     
    335336       else 
    336337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    337        end 
     338       end; 
    338339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    339340       if e==4; 
     
    347348       axis([-180 180 -20 40]); 
    348349       if e==7; 
    349            title('OLR composite EOF2 30100j simulation AS','fontsize',8) ; 
    350        end 
     350          title('OLR composite EOF2 30100j simulation AS','fontsize',8) ; 
     351       end; 
    351352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    352353       pos_vert=e/10; 
     
    355356 
    356357figure(2); 
    357 print -depsc2 composite_olr_EOF2_30100j_simulation_AS_part2.eps; 
     358print('-depsc2','composite_olr_EOF2_30100j_simulation_AS_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_CTL_eof1_1030.m

    r20 r30  
    55close all; 
    66olr=zeros(122,29,64,128); 
    7 cd('CTL') 
    87 
    98ncload('rlut_d.CtIV.197106-09.nc','rlut'); 
     
    9493olr(:,29,:,:)=rlut; clear rlut; 
    9594 
    96  
    97 cd('..'); 
    9895% selction du domaine geographique 
    9996olr1=zeros(122,29,64,128); 
     
    10299clear olr; 
    103100 
    104 load eof1_CTL_1030.txt 
     101status=load('eof1_CTL_1030.txt'); 
     102eof1_CTL_1030=status; 
     103clear status; 
    105104 
    106105% on met sous la forme annee mois 
     
    137136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    138137            compteurmax=compteurmax+1; 
    139           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    140139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    141140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    220219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    221220           student1(a,b,c)=ttest(x,y,.2); 
    222         end 
    223     end 
    224 end 
     221        end; 
     222    end; 
     223end; 
    225224 
    226225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    261260             end; 
    262261          end; 
    263        end 
     262       end; 
    264263       subplot(7,1,8-e); 
    265264       palettecomplet 
     
    275274       else 
    276275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    277        end 
     276       end; 
    278277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    279278       if e==4; 
     
    287286       axis([-180 180 -20 40]); 
    288287       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; 
    291290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    292291       pos_vert=e/10; 
     
    295294 
    296295figure(1); 
    297 print -depsc2 composite_olr_EOF1_1030j_simulation_CTL_part1.eps; 
     296print('-depsc2','composite_olr_EOF1_1030j_simulation_CTL_part1.eps'); 
    298297 
    299298figure(2); 
     
    323322             end; 
    324323          end; 
    325        end 
     324       end; 
    326325       subplot(7,1,8-e); 
    327326       palettecomplet 
     
    337336       else 
    338337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    339        end 
     338       end; 
    340339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    341340       if e==4; 
     
    349348       axis([-180 180 -20 40]); 
    350349       if e==7; 
    351            title('OLR composite EOF1 1030j simulation CTL','fontsize',8) ; 
    352        end 
     350          title('OLR composite EOF1 1030j simulation CTL','fontsize',8) ; 
     351       end; 
    353352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    354353       pos_vert=e/10; 
     
    357356 
    358357figure(2); 
    359 print -depsc2 composite_olr_EOF1_1030j_simulation_CTL_part2.eps; 
     358print('-depsc2','composite_olr_EOF1_1030j_simulation_CTL_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_CTL_eof1_30100.m

    r20 r30  
    55close all; 
    66olr=zeros(122,29,64,128); 
    7 cd('CTL') 
    87 
    98ncload('rlut_d.CtIV.197106-09.nc','rlut'); 
     
    9493olr(:,29,:,:)=rlut; clear rlut; 
    9594 
    96 cd('..'); 
    9795% selction du domaine geographique 
    9896olr1=zeros(122,29,64,128); 
     
    10199clear olr; 
    102100 
    103 load eof1_CTL_30100.txt 
     101status=load('eof1_CTL_30100.txt'); 
     102eof1_CTL_30100=status; 
     103clear status; 
    104104 
    105105% on met sous la forme annee mois 
     
    136136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    137137            compteurmax=compteurmax+1; 
    138           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    139139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    140140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    219219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    220220           student1(a,b,c)=ttest(x,y,.2); 
    221         end 
    222     end 
    223 end 
     221        end; 
     222    end; 
     223end; 
    224224 
    225225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    260260             end; 
    261261          end; 
    262        end 
     262       end; 
    263263       subplot(7,1,8-e); 
    264264       palette 
     
    274274       else 
    275275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    276        end 
     276       end; 
    277277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    278278       if e==4; 
     
    286286       axis([-180 180 -20 40]); 
    287287       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; 
    290290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    291291       pos_vert=e/10; 
     
    294294 
    295295figure(1); 
    296 print -depsc2 composite_olr_EOF1_30100j_simulation_CTL_part1.eps; 
     296print('-depsc2','composite_olr_EOF1_30100j_simulation_CTL_part1.eps'); 
    297297 
    298298figure(2); 
     
    322322             end; 
    323323          end; 
    324        end 
     324       end; 
    325325       subplot(7,1,8-e); 
    326326       palette 
     
    336336       else 
    337337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    338        end 
     338       end; 
    339339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    340340       if e==4; 
     
    348348       axis([-180 180 -20 40]); 
    349349       if e==7; 
    350            title('OLR composite EOF1 30100j simulation CTL','fontsize',8) ; 
    351        end 
     350          title('OLR composite EOF1 30100j simulation CTL','fontsize',8) ; 
     351       end; 
    352352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    353353       pos_vert=e/10; 
     
    356356 
    357357figure(2); 
    358 print -depsc2 composite_olr_EOF1_30100j_simulation_CTL_part2.eps; 
     358print('-depsc2','composite_olr_EOF1_30100j_simulation_CTL_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_CTL_eof2_1030.m

    r20 r30  
    55close all; 
    66olr=zeros(122,29,64,128); 
    7 cd('CTL') 
    87 
    98ncload('rlut_d.CtIV.197106-09.nc','rlut'); 
     
    9493olr(:,29,:,:)=rlut; clear rlut; 
    9594 
    96 cd('..'); 
    9795% selction du domaine geographique 
    9896olr1=zeros(122,29,64,128); 
     
    10199clear olr; 
    102100 
    103 load eof2_CTL_1030.txt 
     101status=load('eof2_CTL_1030.txt'); 
     102eof2_CTL_1030=status; 
     103clear status; 
    104104 
    105105% on met sous la forme annee mois 
     
    136136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    137137            compteurmax=compteurmax+1; 
    138           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    139139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    140140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    219219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    220220           student1(a,b,c)=ttest(x,y,.2); 
    221         end 
    222     end 
    223 end 
     221        end; 
     222    end; 
     223end; 
    224224 
    225225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    260260             end; 
    261261          end; 
    262        end 
     262       end; 
    263263       subplot(7,1,8-e); 
    264264       palettecomplet 
     
    274274       else 
    275275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    276        end 
     276       end; 
    277277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    278278       if e==4; 
     
    286286       axis([-180 180 -20 40]); 
    287287       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; 
    290290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    291291       pos_vert=e/10; 
     
    294294 
    295295figure(1); 
    296 print -depsc2 composite_olr_EOF2_1030j_simulation_CTL_part1.eps; 
     296print('-depsc2','composite_olr_EOF2_1030j_simulation_CTL_part1.eps'); 
    297297 
    298298figure(2); 
     
    322322             end; 
    323323          end; 
    324        end 
     324       end; 
    325325       subplot(7,1,8-e); 
    326326       palettecomplet 
     
    336336       else 
    337337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    338        end 
     338       end; 
    339339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    340340       if e==4; 
     
    348348       axis([-180 180 -20 40]); 
    349349       if e==7; 
    350            title('OLR composite EOF2 1030j simulation CTL','fontsize',8) ; 
    351        end 
     350          title('OLR composite EOF2 1030j simulation CTL','fontsize',8) ; 
     351       end; 
    352352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    353353       pos_vert=e/10; 
     
    356356 
    357357figure(2); 
    358 print -depsc2 composite_olr_EOF2_1030j_simulation_CTL_part2.eps; 
     358print('-depsc2','composite_olr_EOF2_1030j_simulation_CTL_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_CTL_eof2_30100.m

    r20 r30  
    55close all; 
    66olr=zeros(122,29,64,128); 
    7 cd('CTL') 
    87 
    98ncload('rlut_d.CtIV.197106-09.nc','rlut'); 
     
    9493olr(:,29,:,:)=rlut; clear rlut; 
    9594 
    96 cd('..'); 
    9795% selction du domaine geographique 
    9896olr1=zeros(122,29,64,128); 
     
    10199clear olr; 
    102100 
    103 load eof2_CTL_30100.txt 
     101status=load('eof2_CTL_30100.txt'); 
     102eof2_CTL_30100=status; 
     103clear status; 
    104104 
    105105% on met sous la forme annee mois 
     
    136136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    137137            compteurmax=compteurmax+1; 
    138           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    139139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    140140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    219219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    220220           student1(a,b,c)=ttest(x,y,.2); 
    221         end 
    222     end 
    223 end 
     221        end; 
     222    end; 
     223end; 
    224224 
    225225% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    260260             end; 
    261261          end; 
    262        end 
     262       end; 
    263263       subplot(7,1,8-e); 
    264264       palette 
     
    274274       else 
    275275      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    276        end 
     276       end; 
    277277       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    278278       if e==4; 
     
    286286       axis([-180 180 -20 40]); 
    287287       if e==7; 
    288           title('OLR composite EOF2 30100j simulation CTL ','fontsize',8) ; 
    289        end 
     288          title('OLR composite EOF2 30100j simulation CTL','fontsize',8) ; 
     289       end; 
    290290       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    291291       pos_vert=e/10; 
     
    294294 
    295295figure(1); 
    296 print -depsc2 composite_olr_EOF2_30100j_simulation_CTL_part1.eps; 
     296print('-depsc2','composite_olr_EOF2_30100j_simulation_CTL_part1.eps'); 
    297297 
    298298figure(2); 
     
    322322             end; 
    323323          end; 
    324        end 
     324       end; 
    325325       subplot(7,1,8-e); 
    326326       palette 
     
    336336       else 
    337337      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    338        end 
     338       end; 
    339339       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    340340       if e==4; 
     
    348348       axis([-180 180 -20 40]); 
    349349       if e==7; 
    350            title('OLR composite EOF2 30100j simulation CTL','fontsize',8) ; 
    351        end 
     350          title('OLR composite EOF2 30100j simulation CTL','fontsize',8) ; 
     351       end; 
    352352       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    353353       pos_vert=e/10; 
     
    356356 
    357357figure(2); 
    358 print -depsc2 composite_olr_EOF2_30100j_simulation_CTL_part2.eps; 
     358print('-depsc2','composite_olr_EOF2_30100j_simulation_CTL_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_TR_eof1_1030.m

    r20 r30  
    55close all; 
    66olr=zeros(122,29,64,128); 
    7 cd('TROP') 
     7 
    88ncload('rlut_d.TrNQIVIV.197106-09.nc','rlut'); 
    99olr(:,1,:,:)=rlut; clear rlut; 
     
    9393olr(:,29,:,:)=rlut; clear rlut; 
    9494 
    95 cd('..'); 
    9695% selction du domaine geographique 
    9796olr1=zeros(122,29,64,128); 
     
    10099clear olr; 
    101100 
    102 load eof1_TR_1030.txt 
     101status=load('eof1_TR_1030.txt'); 
     102eof1_TR_1030=status; 
     103clear status; 
    103104 
    104105% on met sous la forme annee mois 
     
    135136         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>(olrbis)); 
    136137            compteurmax=compteurmax+1; 
    137           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     138            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    138139            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    139140            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    218219           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    219220           student1(a,b,c)=ttest(x,y,.2); 
    220         end 
    221     end 
    222 end 
     221        end; 
     222    end; 
     223end; 
    223224 
    224225olr_filtre_compomin1(:,:,:)=nanmean(olr_filtre_compomin); 
     
    257258             end; 
    258259          end; 
    259        end 
     260       end; 
    260261       subplot(7,1,8-e); 
    261262       palettecomplet 
     
    271272       else 
    272273      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    273        end 
     274       end; 
    274275       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    275276       if e==4; 
     
    283284       axis([-180 180 -20 40]); 
    284285       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; 
    287288       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    288289       pos_vert=e/10; 
     
    291292 
    292293figure(1); 
    293 print -depsc2 composite_olr_EOF1_1030j_simulation_TR_part1.eps; 
     294print('-depsc2','composite_olr_EOF1_1030j_simulation_TR_part1.eps'); 
    294295 
    295296figure(2); 
     
    319320             end; 
    320321          end; 
    321        end 
     322       end; 
    322323       subplot(7,1,8-e); 
    323324       palettecomplet 
     
    333334       else 
    334335      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    335        end 
     336       end; 
    336337       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    337338       if e==4; 
     
    345346       axis([-180 180 -20 40]); 
    346347       if e==7; 
    347            title('OLR composite EOF1 1030j simulation TR','fontsize',8) ; 
    348        end 
     348          title('OLR composite EOF1 1030j simulation TR','fontsize',8) ; 
     349       end; 
    349350       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    350351       pos_vert=e/10; 
     
    353354 
    354355figure(2); 
    355 print -depsc2 composite_olr_EOF1_1030j_simulation_TR_part2.eps; 
     356print('-depsc2','composite_olr_EOF1_1030j_simulation_TR_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_TR_eof1_30100.m

    r20 r30  
    55close all; 
    66olr=zeros(122,30,64,128); 
    7 cd('TROP') 
     7 
    88ncload('rlut_d.TrNQIVIV.197106-09.nc','rlut'); 
    99olr(:,1,:,:)=rlut; clear rlut; 
     
    9696olr(:,30,:,:)=rlut; clear rlut; 
    9797 
    98 cd('..'); 
    9998% selction du domaine geographique 
    10099olr1=zeros(122,30,64,128); 
     
    103102clear olr; 
    104103 
    105 load eof1_TR_30100.txt 
     104status=load('eof1_TR_30100.txt'); 
     105eof1_TR_30100=status; 
     106clear status; 
    106107 
    107108% on met sous la forme annee mois 
     
    143144         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>1); 
    144145            compteurmax=compteurmax+1; 
    145           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     146            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    146147            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    147148            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    226227           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    227228           student1(a,b,c)=ttest(x,y,.2); 
    228         end 
    229     end 
    230 end 
     229        end; 
     230    end; 
     231end; 
    231232 
    232233olr_filtre_compomin1(:,:,:)=nanmean(olr_filtre_compomin); 
     
    265266             end; 
    266267          end; 
    267        end 
     268       end; 
    268269       subplot(7,1,8-e); 
    269270       palette 
     
    279280       else 
    280281      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    281        end 
     282       end; 
    282283       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    283284       if e==4; 
     
    291292       axis([-180 180 -20 40]); 
    292293       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; 
    295296       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    296297       pos_vert=e/10; 
     
    299300 
    300301figure(1); 
    301 print -depsc2 composite_olr_EOF1_30100j_simulation_TR_part1.eps; 
     302print('-depsc2','composite_olr_EOF1_30100j_simulation_TR_part1.eps'); 
    302303 
    303304figure(2); 
     
    327328             end; 
    328329          end; 
    329        end 
     330       end; 
    330331       subplot(7,1,8-e); 
    331332       palette 
     
    341342       else 
    342343      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    343        end 
     344       end; 
    344345       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    345346       if e==4; 
     
    353354       axis([-180 180 -20 40]); 
    354355       if e==7; 
    355            title('OLR composite EOF1 30100j simulation TR','fontsize',8) ; 
    356        end 
     356          title('OLR composite EOF1 30100j simulation TR','fontsize',8) ; 
     357       end; 
    357358       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    358359       pos_vert=e/10; 
     
    361362 
    362363figure(2); 
    363 print -depsc2 composite_olr_EOF1_30100j_simulation_TR_part2.eps; 
     364print('-depsc2','composite_olr_EOF1_30100j_simulation_TR_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_TR_eof2_1030.m

    r20 r30  
    55close all; 
    66olr=zeros(122,30,64,128); 
    7 cd('TROP') 
     7 
    88ncload('rlut_d.TrNQIVIV.197106-09.nc','rlut'); 
    99olr(:,1,:,:)=rlut; clear rlut; 
     
    9696olr(:,30,:,:)=rlut; clear rlut; 
    9797 
    98 cd('..'); 
    9998% selction du domaine geographique 
    10099olr1=zeros(122,30,64,128); 
     
    103102clear olr; 
    104103 
    105 load eof2_TR_30100.txt 
     104status=load('eof2_TR_30100.txt'); 
     105eof2_TR_30100=status; 
     106clear status; 
    106107 
    107108% on met sous la forme annee mois 
     
    143144         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>1); 
    144145            compteurmax=compteurmax+1; 
    145           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     146            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    146147            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    147148            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    226227           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    227228           student1(a,b,c)=ttest(x,y,.2); 
    228         end 
    229     end 
    230 end 
     229        end; 
     230    end; 
     231end; 
    231232 
    232233olr_filtre_compomin1(:,:,:)=nanmean(olr_filtre_compomin); 
     
    265266             end; 
    266267          end; 
    267        end 
     268       end; 
    268269       subplot(7,1,8-e); 
    269270       palette 
     
    279280       else 
    280281      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    281        end 
     282       end; 
    282283       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    283284       if e==4; 
     
    291292       axis([-180 180 -20 40]); 
    292293       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; 
    295296       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    296297       pos_vert=e/10; 
     
    299300 
    300301figure(1); 
    301 print -depsc2 composite_olr_EOF2_30100j_simulation_TR_part1.eps; 
     302print('-depsc2','composite_olr_EOF2_30100j_simulation_TR_part1.eps'); 
    302303 
    303304figure(2); 
     
    327328             end; 
    328329          end; 
    329        end 
     330       end; 
    330331       subplot(7,1,8-e); 
    331332       palette 
     
    341342       else 
    342343      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    343        end 
     344       end; 
    344345       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    345346       if e==4; 
     
    353354       axis([-180 180 -20 40]); 
    354355       if e==7; 
    355            title('OLR composite EOF2 30100j simulation TR','fontsize',8) ; 
    356        end 
     356          title('OLR composite EOF2 30100j simulation TR','fontsize',8) ; 
     357       end; 
    357358       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    358359       pos_vert=e/10; 
     
    361362 
    362363figure(2); 
    363 print -depsc2 composite_olr_EOF2_30100j_simulation_TR_part2.eps; 
     364print('-depsc2','composite_olr_EOF2_30100j_simulation_TR_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/composite_olr_TR_eof2_30100.m

    r20 r30  
    55close all; 
    66olr=zeros(122,30,64,128); 
    7 cd('TROP') 
     7 
    88ncload('rlut_d.TrNQIVIV.197106-09.nc','rlut'); 
    99olr(:,1,:,:)=rlut; clear rlut; 
     
    9696olr(:,30,:,:)=rlut; clear rlut; 
    9797 
    98 cd('..'); 
    9998% selction du domaine geographique 
    10099olr1=zeros(122,30,64,128); 
     
    103102clear olr; 
    104103 
    105 load eof2_TR_30100.txt 
     104status=load('eof2_TR_30100.txt'); 
     105eof2_TR_30100=status; 
     106clear status; 
    106107 
    107108% on met sous la forme annee mois 
     
    143144         if (delta(b+1)<0 && delta(b)>0 && olr_eof(b,a)>1); 
    144145            compteurmax=compteurmax+1; 
    145           olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
     146            olr_filtre_compomax(compteurmax,1,:,:)=olr1(b-20,a,:,:); 
    146147            olr_filtre_compomax(compteurmax,2,:,:)=olr1(b-19,a,:,:); 
    147148            olr_filtre_compomax(compteurmax,3,:,:)=olr1(b-18,a,:,:); 
     
    226227           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    227228           student1(a,b,c)=ttest(x,y,.2); 
    228         end 
    229     end 
    230 end 
     229        end; 
     230    end; 
     231end; 
    231232 
    232233olr_filtre_compomin1(:,:,:)=nanmean(olr_filtre_compomin); 
     
    265266             end; 
    266267          end; 
    267        end 
     268       end; 
    268269       subplot(7,1,8-e); 
    269270       palette 
     
    279280       else 
    280281      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    281        end 
     282       end; 
    282283       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    283284       if e==4; 
     
    291292       axis([-180 180 -20 40]); 
    292293       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; 
    295296       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    296297       pos_vert=e/10; 
     
    299300 
    300301figure(1); 
    301 print -depsc2 composite_olr_EOF2_30100j_simulation_TR_part1.eps; 
     302print('-depsc2','composite_olr_EOF2_30100j_simulation_TR_part1.eps'); 
    302303 
    303304figure(2); 
     
    327328             end; 
    328329          end; 
    329        end 
     330       end; 
    330331       subplot(7,1,8-e); 
    331332       palette 
     
    341342       else 
    342343      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    343        end 
     344       end; 
    344345       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    345346       if e==4; 
     
    353354       axis([-180 180 -20 40]); 
    354355       if e==7; 
    355            title('OLR composite EOF2 30100j simulation TR','fontsize',8) ; 
    356        end 
     356          title('OLR composite EOF2 30100j simulation TR','fontsize',8) ; 
     357       end; 
    357358       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    358359       pos_vert=e/10; 
     
    361362 
    362363figure(2); 
    363 print -depsc2 composite_olr_EOF2_30100j_simulation_TR_part2.eps; 
     364print('-depsc2','composite_olr_EOF2_30100j_simulation_TR_part2.eps'); 
  • /trunk/src/SIMULS_IRCAAM/correlations_eofs_olr_jas.m

    r20 r30  
    44close all; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc','lat','lon','olr'); 
    8 cd('SIMULS_IRCAAM'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4140      for c=1:siz; 
    4241           vecteur(c)=olr1(a,b,c); 
    43       end 
     42      end; 
    4443      std_c=nanmean(vecteur); 
    4544      for c=1:siz; 
    4645          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    47       end 
    48    end 
     46      end; 
     47   end; 
    4948end; 
    5049 
     
    151150olr(:,:,:)=nanmean(olr1); 
    152151 
    153 load eof3_noaa_annuel.txt 
    154 load eof2_noaa_annuel.txt 
    155 load eof1_noaa_annuel.txt 
     152status=load('eof3_noaa_annuel.txt'); 
     153eof3_noaa_annuel==status; 
     154clear status; 
     155status=load('eof2_noaa_annuel.txt'); 
     156eof2_noaa_annuel==status; 
     157clear status; 
     158status=load('eof1_noaa_annuel.txt'); 
     159eof1_noaa_annuel==status; 
     160clear status; 
    156161 
    157162correlations_eof1=zeros(37,144); 
     
    168173        for c=1:28; 
    169174           y(c)=olr(a,b,c); 
    170         end 
     175        end; 
    171176        clear coco; 
    172177        coco=corrcoef(y,eof1_noaa_annuel); 
     
    179184        correlations_eof3(a,b)=coco(2,1); 
    180185 
    181     end 
    182 end 
     186    end; 
     187end; 
    183188 
    184189subplot(3,1,1); 
     
    235240title('Correlations entre EOF3 et OLR NOAA JAS','fontsize',8); 
    236241 
    237 print -depsc2 coco.eps; 
     242print('-depsc2','coco.eps'); 
  • /trunk/src/SIMULS_IRCAAM/correlations_eofs_olr_jas_20.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc','lat','lon','olr'); 
    9 cd('SIMULS_IRCAAM'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    152151olr(:,:,:)=nanmean(olr1); 
    153152 
    154 load eof3_noaa_annuel_20.txt 
    155 load eof2_noaa_annuel_20.txt 
    156 load eof1_noaa_annuel_20.txt 
     153status=load('eof3_noaa_annuel_20.txt'); 
     154eof3_noaa_annuel_20=status; 
     155clear status; 
     156status=load('eof2_noaa_annuel_20.txt'); 
     157eof2_noaa_annuel_20=status; 
     158clear status; 
     159status=load('eof1_noaa_annuel_20.txt'); 
     160eof1_noaa_annuel_20=status; 
     161clear status; 
    157162 
    158163correlations_eof1=zeros(37,144); 
     
    169174        for c=1:28; 
    170175           y(c)=olr(a,b,c); 
    171         end 
     176        end; 
    172177        clear coco; 
    173178        coco=corrcoef(y,eof1_noaa_annuel_20); 
     
    179184        coco=corrcoef(y,eof3_noaa_annuel_20); 
    180185        correlations_eof3(a,b)=coco(2,1); 
    181     end 
    182 end 
     186    end; 
     187end; 
    183188 
    184189subplot(3,1,1); 
     
    235240title('Correlations entre EOF3 et OLR NOAA JAS','fontsize',8); 
    236241 
    237 print -depsc2 coco.eps; 
     242print('-depsc2','coco.eps'); 
  • /trunk/src/SIMULS_IRCAAM/eof_olr_noaa_annuel_jas_20.m

    r20 r30  
    33clear; 
    44close all; 
    5 cd ('/usr/temp/seglod/mode_sahelien/'); 
     5 
    66fid=fopen('olrint.80.dat','r'); 
    77siz=25*17*10500; 
     
    1010olr1=reshape(v,25,17,10500); 
    1111clear v; 
    12  
    13 cd ('/usr/temp/seglod/SIMULS_IRCAAM/'); 
    1412 
    1513% on selectionne les mois d ete (attention aux annees bixestiles!) 
  • /trunk/src/SIMULS_IRCAAM/prepare_hgt500_tr.m

    r20 r30  
    44clear; 
    55close all; 
    6  
    7 cd('GEOPOT_TROP'); 
    86 
    97hgt500=zeros(122,29,64,128); 
     
    125123hgt500(:,29,:,:)=vm; clear vm; 
    126124 
    127 cd('..'); 
    128 save hgt500_trop.mat hgt500; 
     125save('hgt500_trop.mat','hgt500'); 
  • /trunk/src/SIMULS_IRCAAM/prepare_olr_AFR_annuel.m

    r20 r30  
    11% 
    22 
    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 
    144close all; 
    155clear; 
     
    131121    vaude=mean(vaude); 
    132122    olr(a,:)=olr(a,:)-vaude; 
    133 end 
     123end; 
    134124 
    135125% calcul de la matrice de covariance 
  • /trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_AFR.m

    r20 r30  
    33% ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 
    44% pour le programme de filtrage 
    5 % ncload('rlut_d.AfNQIVIV.197106-09.nc') 
    6 % whos 
    7 % Name        Size                  Bytes  Class     Attributes 
    8 % 
    9 % ans         1x4                     268  cell 
    10 % lat        64x1                     512  double 
    11 % lon       128x1                    1024  double 
    12 % rlut      122x64x128            7995392  double 
    13 % time      122x1                     976  double 
    14 % 
    155 
     6% initialisation 
    167close all; 
    178clear; 
     
    110101olr1(:,:,:,1:64)=olr(:,:,:,65:128); 
    111102olr1(:,:,:,65:128)=olr(:,:,:,1:64); 
    112 clear olr 
     103clear olr; 
    113104olr=olr1; 
    114105clear olr1; 
     
    127118    vaude=mean(vaude); 
    128119    olr(a,:)=olr(a,:)-vaude; 
    129 end 
     120end; 
    130121fid=fopen('coco.dat','w'); 
    131122fwrite(fid,olr,'float'); 
  • /trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_AS.m

    r20 r30  
    33% ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 
    44% pour le programme de filtrage 
    5 % ncload('rlut_d.AfNQIVIV.197106-09.nc') 
    6 % whos 
    7 % Name        Size                  Bytes  Class     Attributes 
    8 % 
    9 % ans         1x4                     268  cell 
    10 % lat        64x1                     512  double 
    11 % lon       128x1                    1024  double 
    12 % rlut      122x64x128            7995392  double 
    13 % time      122x1                     976  double 
    14 % 
    155 
     6% initialisation 
    167close all; 
    178clear; 
     
    1910olr=zeros(122,29,64,128); 
    2011 
    21 cd('INDE'); 
    2212ncload('rlut_d.AsNQIVIV.197106-09.nc','rlut'); 
    2313olr(:,1,:,:)=rlut; clear rlut; 
     
    10797olr(:,29,:,:)=rlut; clear rlut; 
    10898 
    109 cd('..'); 
    11099% selction du domaine geographique 
    111100olr1=zeros(122,29,64,128); 
     
    129118    vaude=mean(vaude); 
    130119    olr(a,:)=olr(a,:)-vaude; 
    131 end 
     120end; 
    132121fid=fopen('olr_nofiltre_as.dat','w'); 
    133122fwrite(fid,olr,'float'); 
  • /trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_CTL.m

    r20 r30  
    33% ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 
    44% pour le programme de filtrage 
    5 % ncload('rlut_d.AfNQIVIV.197106-09.nc') 
    6 % whos 
    7 % Name        Size                  Bytes  Class     Attributes 
    8 % 
    9 % ans         1x4                     268  cell 
    10 % lat        64x1                     512  double 
    11 % lon       128x1                    1024  double 
    12 % rlut      122x64x128            7995392  double 
    13 % time      122x1                     976  double 
    14 % 
    155 
     6% initialisation 
    167close all; 
    178clear; 
    189 
    1910olr=zeros(122,29,64,128); 
    20 cd('CTL') 
     11 
    2112ncload('rlut_d.CtIV.197106-09.nc','rlut'); 
    2213olr(:,1,:,:)=rlut; clear rlut; 
     
    10697olr(:,29,:,:)=rlut; clear rlut; 
    10798 
    108 cd('..') 
    109  
    11099% selction du domaine geographique 
    111100olr1=zeros(122,29,64,128); 
    112101olr1(:,:,:,1:64)=olr(:,:,:,65:128); 
    113102olr1(:,:,:,65:128)=olr(:,:,:,1:64); 
    114 clear olr 
     103clear olr; 
    115104olr=olr1; 
    116105clear olr1; 
  • /trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_CTL_clim.m

    r20 r30  
    33% ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 
    44% pour le programme de filtrage 
    5 % ncload('rlut_d.AfNQClCl.197106-09.nc') 
    6 % whos 
    7 % Name        Size                  Bytes  Class     Attributes 
    8 % 
    9 % ans         1x4                     268  cell 
    10 % lat        64x1                     512  double 
    11 % lon       128x1                    1024  double 
    12 % rlut      122x64x128            7995392  double 
    13 % time      122x1                     976  double 
    14 % 
    155 
     6% initialisation 
    167close all; 
    178clear; 
    189 
    1910olr=zeros(122,29,64,128); 
    20 cd('CTL_sst_clim') 
     11 
    2112ncload('rlut_d.CtCl.197106-09.nc','rlut'); 
    2213olr(:,1,:,:)=rlut; clear rlut; 
     
    10697olr(:,29,:,:)=rlut; clear rlut; 
    10798 
    108 cd('..') 
    109  
    11099% selction du domaine geographique 
    111100olr1=zeros(122,29,64,128); 
    112101olr1(:,:,:,1:64)=olr(:,:,:,65:128); 
    113102olr1(:,:,:,65:128)=olr(:,:,:,1:64); 
    114 clear olr 
     103clear olr; 
    115104olr=olr1; 
    116105clear olr1; 
  • /trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_TR.m

    r20 r30  
    33% ce programme prepare les fichiers d'OLR de simulations IRCAAM CNRM 
    44% pour le programme de filtrage 
    5 % whos 
    6 % Name        Size                  Bytes  Class     Attributes 
    7 % 
    8 % ans         1x4                     268  cell 
    9 % lat        64x1                     512  double 
    10 % lon       128x1                    1024  double 
    11 % rlut      122x64x128            7995392  double 
    12 % time      122x1                     976  double 
    13 % 
    145 
     6% initialisation 
    157close all; 
    168clear; 
     
    1810olr=zeros(122,29,64,128); 
    1911 
    20 cd('TROP'); 
    2112ncload('rlut_d.TrNQIVIV.197106-09.nc','rlut'); 
    2213olr(:,1,:,:)=rlut; clear rlut; 
     
    10697olr(:,29,:,:)=rlut; clear rlut; 
    10798 
    108 cd('..'); 
    10999% selction du domaine geographique 
    110100olr1=zeros(122,29,64,128); 
     
    128118    vaude=mean(vaude); 
    129119    olr(a,:)=olr(a,:)-vaude; 
    130 end 
     120end; 
    131121fid=fopen('olr_nofiltre_tr.dat','w'); 
    132122fwrite(fid,olr,'float'); 
  • /trunk/src/SIMULS_IRCAAM/prepare_pluie_AFR_annuel.m

    r20 r30  
    11% 
    22 
    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 
    144close all; 
    155clear; 
     
    131121    vaude=mean(vaude); 
    132122    pluie(a,:)=pluie(a,:)-vaude; 
    133 end 
     123end; 
    134124 
    135125% calcul de la matrice de covariance 
  • /trunk/src/SIMULS_IRCAAM/time_serie_afr_1030.m

    r20 r30  
    44close all; 
    55 
    6 load eof_1030_ircaam.mat 
     6status=load('eof_1030_ircaam.mat','C','olr'); 
     7C=status.C; 
     8olr=status.olr; 
     9clear status; 
     10 
    711olr=olr'; 
    812PC1=olr*C; 
     
    1822   time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 
    1923   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    20 end 
     24end; 
    2125 
    22 save eof1_AFR_1030.txt time_serie_olr1 -ascii; 
    23 save eof2_AFR_1030.txt time_serie_olr2 -ascii; 
     26save('eof1_AFR_1030.txt','time_serie_olr1','-ASCII'); 
     27save('eof2_AFR_1030.txt','time_serie_olr2','-ASCII'); 
    2428 
    2529x=[1:3538]'; 
     
    3438      figure(3); 
    3539      subplot(4,3,a-22); 
    36    end 
    37    clear koro1 
     40   end; 
     41   clear koro1; 
    3842   debut=(a-1)*122+1; 
    3943   fin=a*122; 
     
    5054   if a==2; 
    5155       text(0,5.5,'serie temporelle eof AFR 1030'); 
    52     elseif a==13; 
     56   elseif a==13; 
    5357       text(0,5.5,'serie temporelle eof AFR 1030'); 
    5458   elseif a==24; 
     
    6367 
    6468figure(1); 
    65 print -depsc2 time_serie_eof_afr_1030a.eps; 
     69print('-depsc2','time_serie_eof_afr_1030a.eps'); 
    6670figure(2); 
    67 print -depsc2 time_serie_eof_afr_1030b.eps; 
     71print('-depsc2','time_serie_eof_afr_1030b.eps'); 
    6872figure(3); 
    69 print -depsc2 time_serie_eof_afr_1030c.eps; 
     73print('-depsc2','time_serie_eof_afr_1030c.eps'); 
  • /trunk/src/SIMULS_IRCAAM/time_serie_afr_30100.m

    r20 r30  
    22 
    33clear; 
     4close all; 
    45 
    5 load eof_30100_ircaam.mat 
     6status=load('eof_30100_ircaam.mat','C','olr'); 
     7C=status.C; 
     8olr=status.olr; 
     9clear status; 
    610olr=olr'; 
    711PC1=olr*C; 
     
    1721   time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 
    1822   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    19 end 
     23end; 
    2024 
    21 save eof1_AFR_30100.txt time_serie_olr1 -ascii; 
    22 save eof2_AFR_30100.txt time_serie_olr2 -ascii; 
     25save('eof1_AFR_30100.txt','time_serie_olr1','-ASCII'); 
     26save('eof2_AFR_30100.txt','time_serie_olr2','-ASCII'); 
    2327 
    2428x=[1:3538]'; 
     
    3337      figure(3); 
    3438      subplot(4,3,a-22); 
    35    end 
    36    clear koro1 
     39   end; 
     40   clear koro1; 
    3741   debut=(a-1)*122+1; 
    3842   fin=a*122; 
     
    4953   if a==2; 
    5054       text(0,5.5,'serie temporelle eof AFR 30100'); 
    51     elseif a==13; 
     55   elseif a==13; 
    5256       text(0,5.5,'serie temporelle eof AFR 30100'); 
    5357   elseif a==24; 
     
    6266 
    6367figure(1); 
    64 print -depsc2 time_serie_eof_afr_30100a.eps; 
     68print('-depsc2','time_serie_eof_afr_30100a.eps'); 
    6569figure(2); 
    66 print -depsc2 time_serie_eof_afr_30100b.eps; 
     70print('-depsc2','time_serie_eof_afr_30100b.eps'); 
    6771figure(3); 
    68 print -depsc2 time_serie_eof_afr_30100c.eps; 
     72print('-depsc2','time_serie_eof_afr_30100c.eps'); 
  • /trunk/src/SIMULS_IRCAAM/time_serie_as_1030.m

    r20 r30  
    44close all; 
    55 
    6 load eof_1030_ircaam_as.mat 
     6status=load('eof_1030_ircaam_as.mat','C','olr'); 
     7C=status.C; 
     8olr=status.olr; 
     9clear status; 
    710 
    811olr=olr'; 
     
    1922   time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 
    2023   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    21 end 
     24end; 
    2225 
    23 save eof1_AS_1030.txt time_serie_olr1 -ascii; 
    24 save eof2_AS_1030.txt time_serie_olr2 -ascii; 
     26save('eof1_AS_1030.txt','time_serie_olr1','-ASCII'); 
     27save('eof2_AS_1030.txt','time_serie_olr2','-ASCII'); 
    2528 
    2629x=[1:3538]'; 
     
    3538      figure(3); 
    3639      subplot(4,3,a-22); 
    37    end 
     40   end; 
    3841   clear koro1; 
    3942   debut=(a-1)*122+1; 
     
    5154   if a==2; 
    5255       text(0,5.5,'serie temporelle eof AS 1030'); 
    53     elseif a==13; 
     56   elseif a==13; 
    5457       text(0,5.5,'serie temporelle eof AS 1030'); 
    5558   elseif a==24; 
     
    6467 
    6568figure(1); 
    66 print -depsc2 time_serie_eof_as_1030a.eps; 
     69print('-depsc2','time_serie_eof_as_1030a.eps'); 
    6770figure(2); 
    68 print -depsc2 time_serie_eof_as_1030b.eps; 
     71print('-depsc2','time_serie_eof_as_1030b.eps'); 
    6972figure(3); 
    70 print -depsc2 time_serie_eof_as_1030c.eps; 
     73print('-depsc2','time_serie_eof_as_1030c.eps'); 
  • /trunk/src/SIMULS_IRCAAM/time_serie_as_30100.m

    r20 r30  
    44close all; 
    55 
    6 load eof_30100_ircaam_as.mat 
     6status=load('eof_30100_ircaam_as.mat','C','olr'); 
     7C=status.C; 
     8olr=status.olr; 
     9clear status; 
    710 
    811olr=olr'; 
     
    1922   time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 
    2023   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    21 end 
     24end; 
    2225 
    23 save eof1_AS_30100.txt time_serie_olr1 -ascii; 
    24 save eof2_AS_30100.txt time_serie_olr2 -ascii; 
     26save('eof1_AS_30100.txt','time_serie_olr1','-ASCII'); 
     27save('eof2_AS_30100.txt','time_serie_olr2','-ASCII'); 
    2528 
    2629x=[1:3538]'; 
     
    3538      figure(3); 
    3639      subplot(4,3,a-22); 
    37    end 
    38    clear koro1 
     40   end; 
     41   clear koro1; 
    3942   debut=(a-1)*122+1; 
    4043   fin=a*122; 
     
    5154   if a==2; 
    5255       text(0,5.5,'serie temporelle eof AS 30100'); 
    53     elseif a==13; 
     56   elseif a==13; 
    5457       text(0,5.5,'serie temporelle eof AS 30100'); 
    5558   elseif a==24; 
     
    6467 
    6568figure(1); 
    66 print -depsc2 time_serie_eof_as_30100a.eps; 
     69print('-depsc2','time_serie_eof_as_30100a.eps'); 
    6770figure(2); 
    68 print -depsc2 time_serie_eof_as_30100b.eps; 
     71print('-depsc2','time_serie_eof_as_30100b.eps'); 
    6972figure(3); 
    70 print -depsc2 time_serie_eof_as_30100c.eps; 
     73print('-depsc2','time_serie_eof_as_30100c.eps'); 
  • /trunk/src/SIMULS_IRCAAM/time_serie_ctl_1030.m

    r20 r30  
    44close all; 
    55 
    6 load eof_1030_ircaam_ctl.mat 
     6status=load('eof_1030_ircaam_ctl.mat','C','olr'); 
     7C=status.C; 
     8olr=status.olr; 
     9clear status; 
     10 
    711olr=olr'; 
    812PC1=olr*C; 
     
    1822   time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 
    1923   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    20 end 
     24end; 
    2125 
    22 save eof1_CTL_1030.txt time_serie_olr1 -ascii; 
    23 save eof2_CTL_1030.txt time_serie_olr2 -ascii; 
     26save('eof1_CTL_1030.txt','time_serie_olr1','-ASCII'); 
     27save('eof2_CTL_1030.txt','time_serie_olr2','-ASCII'); 
    2428 
    2529x=[1:3538]'; 
     
    3438      figure(3); 
    3539      subplot(4,3,a-22); 
    36    end 
    37    clear koro1 
     40   end; 
     41   clear koro1; 
    3842   debut=(a-1)*122+1; 
    3943   fin=a*122; 
     
    5054   if a==2; 
    5155       text(0,5.5,'serie temporelle eof CTL 1030'); 
    52     elseif a==13; 
     56   elseif a==13; 
    5357       text(0,5.5,'serie temporelle eof CTL 1030'); 
    5458   elseif a==24; 
     
    6367 
    6468figure(1); 
    65 print -depsc2 time_serie_eof_ctl_1030a.eps; 
     69print('-depsc2','time_serie_eof_ctl_1030a.eps'); 
    6670figure(2); 
    67 print -depsc2 time_serie_eof_ctl_1030b.eps; 
     71print('-depsc2','time_serie_eof_ctl_1030b.eps'); 
    6872figure(3); 
    69 print -depsc2 time_serie_eof_ctl_1030c.eps; 
     73print('-depsc2','time_serie_eof_ctl_1030c.eps'); 
  • /trunk/src/SIMULS_IRCAAM/time_serie_ctl_30100.m

    r20 r30  
    44close all; 
    55 
    6 load eof_30100_ircaam_ctl.mat 
     6status=load('eof_30100_ircaam_ctl.mat','C','olr'); 
     7C=status.C; 
     8olr=status.olr; 
     9clear status; 
    710olr=olr'; 
    811PC1=olr*C; 
     
    1821   time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 
    1922   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    20 end 
     23end; 
    2124 
    22 save eof1_CTL_30100.txt time_serie_olr1 -ascii; 
    23 save eof2_CTL_30100.txt time_serie_olr2 -ascii; 
     25save('eof1_CTL_30100.txt','time_serie_olr1','-ASCII'); 
     26save('eof2_CTL_30100.txt','time_serie_olr2','-ASCII'); 
    2427 
    2528x=[1:3538]'; 
     
    3437      figure(3); 
    3538      subplot(4,3,a-22); 
    36    end 
    37    clear koro1 
     39   end; 
     40   clear koro1; 
    3841   debut=(a-1)*122+1; 
    3942   fin=a*122; 
     
    5053   if a==2; 
    5154       text(0,5.5,'serie temporelle eof CTL 30100'); 
    52     elseif a==13; 
     55   elseif a==13; 
    5356       text(0,5.5,'serie temporelle eof CTL 30100'); 
    5457   elseif a==24; 
     
    6366 
    6467figure(1); 
    65 print -depsc2 time_serie_eof_ctl_30100a.eps; 
     68print('-depsc2','time_serie_eof_ctl_30100a.eps'); 
    6669figure(2); 
    67 print -depsc2 time_serie_eof_ctl_30100b.eps; 
     70print('-depsc2','time_serie_eof_ctl_30100b.eps'); 
    6871figure(3); 
    69 print -depsc2 time_serie_eof_ctl_30100c.eps; 
     72print('-depsc2','time_serie_eof_ctl_30100c.eps'); 
  • /trunk/src/SIMULS_IRCAAM/time_serie_noaa_annuel.m

    r20 r30  
    33clear; 
    44close all; 
    5 cd('/usr/temp/seglod/mode_sahelien'); 
    6 load eof_olr_annuel.mat; 
    7 cd('/usr/temp/seglod/SIMULS_IRCAAM/'); 
     5 
     6status=load('eof_olr_annuel.mat','C','olr'); 
     7C=status.C; 
     8olr=status.olr; 
     9clear status; 
     10 
    811olr=olr'; 
    912PC1=olr*C; 
     
    2831   time_serie_olr2(a)=(time_serie_olr2(a)-moy_olr2)/dt_olr2; 
    2932   time_serie_olr3(a)=(time_serie_olr3(a)-moy_olr3)/dt_olr3; 
    30 end 
     33end; 
    3134 
    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; 
     35save('eof1_noaa_annuel.txt','time_serie_olr1','-ASCII'); 
     36save('eof2_noaa_annuel.txt','time_serie_olr2','-ASCII'); 
     37save('eof3_noaa_annuel.txt','time_serie_olr3','-ASCII'); 
    3538 
    3639x=[1:28]'; 
     
    5558set (gca,'XTick',[1980:5:2005],'XTickLabel',[1980:5:2005],'fontname','Arial','fontsize',6); 
    5659set (gca,'tickDir','out'); 
    57 print -depsc2 time_serie_eof_noaa_annuel.eps; 
     60print('-depsc2','time_serie_eof_noaa_annuel.eps'); 
  • /trunk/src/SIMULS_IRCAAM/time_serie_noaa_annuel_20.m

    r20 r30  
    11% 
     2 
    23clear; 
    34close all; 
    4 load eof_olr_noaa_annuel_jas_1020.mat 
     5 
     6status=load('eof_olr_noaa_annuel_jas_1020.mat','C','olr'); 
     7C=status.C; 
     8olr=status.olr; 
     9clear status; 
    510 
    611olr=olr'; 
     
    2631   time_serie_olr2(a)=(time_serie_olr2(a)-moy_olr2)/dt_olr2; 
    2732   time_serie_olr3(a)=(time_serie_olr3(a)-moy_olr3)/dt_olr3; 
    28 end 
     33end; 
    2934 
    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; 
     35save('eof1_noaa_annuel_20.txt','time_serie_olr1','-ASCII'); 
     36save('eof2_noaa_annuel_20.txt','time_serie_olr2','-ASCII'); 
     37save('eof3_noaa_annuel_20.txt','time_serie_olr3','-ASCII'); 
    3338 
    3439x=[1:28]'; 
     
    5358set (gca,'XTick',[1980:5:2005],'XTickLabel',[1980:5:2005],'fontname','Arial','fontsize',6); 
    5459set (gca,'tickDir','out'); 
    55 print -depsc2 time_serie_eof_noaa_annuel_20.eps; 
     60print('-depsc2','time_serie_eof_noaa_annuel_20.eps'); 
  • /trunk/src/SIMULS_IRCAAM/time_serie_tr_1030.m

    r20 r30  
    11% 
     2 
    23clear; 
    34close all; 
    45 
    5 load eof_1030_ircaam_tr.mat 
     6status=load('eof_1030_ircaam_tr.mat','C','olr'); 
     7C=status.C; 
     8olr=status.olr; 
     9clear status; 
     10 
    611olr=olr'; 
    712PC1=olr*C; 
     
    1722   time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 
    1823   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    19 end 
     24end; 
    2025 
    21 save eof1_TR_1030.txt time_serie_olr1 -ascii; 
    22 save eof2_TR_1030.txt time_serie_olr2 -ascii; 
     26save('eof1_TR_1030.txt','time_serie_olr1','-ASCII'); 
     27save('eof2_TR_1030.txt','time_serie_olr2','-ASCII'); 
    2328 
    2429x=[1:3538]'; 
     
    3338      figure(3); 
    3439      subplot(4,3,a-22); 
    35    end 
    36    clear koro1 
     40   end; 
     41   clear koro1; 
    3742   debut=(a-1)*122+1; 
    3843   fin=a*122; 
     
    4954   if a==2; 
    5055       text(0,5.5,'serie temporelle eof TR 1030'); 
    51     elseif a==13; 
     56   elseif a==13; 
    5257       text(0,5.5,'serie temporelle eof TR 1030'); 
    5358   elseif a==24; 
     
    6267 
    6368figure(1); 
    64 print -depsc2 time_serie_eof_tr_1030a.eps; 
     69print('-depsc2','time_serie_eof_tr_1030a.eps'); 
    6570figure(2); 
    66 print -depsc2 time_serie_eof_tr_1030b.eps; 
     71print('-depsc2','time_serie_eof_tr_1030b.eps'); 
    6772figure(3); 
    68 print -depsc2 time_serie_eof_tr_1030c.eps; 
     73print('-depsc2','time_serie_eof_tr_1030c.eps'); 
  • /trunk/src/SIMULS_IRCAAM/time_serie_tr_30100.m

    r20 r30  
    44close all; 
    55 
    6 load eof_30100_ircaam_tr.mat 
     6status=load('eof_30100_ircaam_tr.mat','C','olr'); 
     7C=status.C; 
     8olr=status.olr; 
     9clear status; 
     10 
    711olr=olr'; 
    812PC1=olr*C; 
     
    1822   time_serie_olr1(a)=time_serie_olr1(a)/dt_olr1; 
    1923   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    20 end 
     24end; 
    2125 
    22 save eof1_TR_30100.txt time_serie_olr1 -ascii; 
    23 save eof2_TR_30100.txt time_serie_olr2 -ascii; 
     26save('eof1_TR_30100.txt','time_serie_olr1','-ASCII'); 
     27save('eof2_TR_30100.txt','time_serie_olr2','-ASCII'); 
    2428 
    2529x=[1:3538]'; 
     
    3438      figure(3); 
    3539      subplot(4,3,a-22); 
    36    end 
    37    clear koro1 
     40   end; 
     41   clear koro1; 
    3842   debut=(a-1)*122+1; 
    3943   fin=a*122; 
     
    5054   if a==2; 
    5155       text(0,5.5,'serie temporelle eof TR 30100'); 
    52     elseif a==13; 
     56   elseif a==13; 
    5357       text(0,5.5,'serie temporelle eof TR 30100'); 
    5458   elseif a==24; 
     
    6367 
    6468figure(1); 
    65 print -depsc2 time_serie_eof_tr_30100a.eps; 
     69print('-depsc2','time_serie_eof_tr_30100a.eps'); 
    6670figure(2); 
    67 print -depsc2 time_serie_eof_tr_30100b.eps; 
     71print('-depsc2','time_serie_eof_tr_30100b.eps'); 
    6872figure(3); 
    69 print -depsc2 time_serie_eof_tr_30100c.eps; 
     73print('-depsc2','time_serie_eof_tr_30100c.eps'); 
  • /trunk/src/cartemonde.m

    r20 r30  
    5151% (contenu : conti, npconti, fronti, npfronti) 
    5252 
    53 load monde.mat 
     53status=load('monde.mat','conti','npconti'); 
     54conti=status.conti; 
     55npconti=status.npconti; 
     56clear status; 
    5457 
    5558% trace fond de carte continents 
  • /trunk/src/cartemonde1.m

    r20 r30  
    5050% (contenu : conti, npconti, fronti, npfronti) 
    5151 
    52 load monde.mat 
     52status=load('monde.mat','conti','npconti','fronti','npfronti'); 
     53conti=status.conti; 
     54npconti=status.npconti; 
     55fronti=status.fronti; 
     56npfronti=status.npfronti; 
     57clear status; 
    5358 
    5459% trace fond de carte continents 
     
    7782   bb=npfronti(iii); 
    7883 end 
    79  
  • /trunk/src/indice_flore/time_serie_histog.m

    r20 r30  
    2626%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    2727% on ouvre le fichier 
    28 load occu.txt 
     28status=load('occu.txt'); 
     29occu=status; 
     30clear status; 
    2931 
    3032% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    147149    if a==1; 
    148150       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); 
    151153    elseif a==2; 
    152154       bar(jour,diff,'g'); 
     
    155157    else 
    156158       bar(jour,diff,'r'); 
    157     end 
     159    end; 
    158160    set (gca,'XTick',[-10:10],'XTickLabel',[-10:10],'fontname','Arial','fontsize',6); 
    159161    set (gca,'YTick',[-40:20:40],'YTickLabel',[-40:20:40],'fontname','Arial','fontsize',6); 
     
    169171       title('Blocking','Fontsize',8,'Fontname','Arial'); 
    170172    end; 
    171 end 
     173end; 
    172174 
    173175figure(1); 
    174 print -depsc2 time_serie_type_tps_pb.eps; 
    175  
     176print('-depsc2','time_serie_type_tps_pb.eps'); 
  • /trunk/src/indice_flore/time_serie_histog3.m

    r20 r30  
    2121 
    2222for 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; 
    2424end; 
    2525ind_olr=reshape(ind_olr,122,29); 
     
    2727%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    2828% on ouvre le fichier 
    29 load occu.txt 
     29status=load('occu.txt'); 
     30occu=status; 
     31clear status; 
    3032 
    3133% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    4446 
    4547% boucle sur les annees 
    46 for a=1:29 
     48for a=1:29; 
    4749   clear delta; 
    4850   delta=zeros(122,1); 
    4951   % boucle sur les jours 
    50    for b=1:122 
     52   for b=1:122; 
    5153        if b>1; 
    5254            delta(b)=ind_olr(b,a)-ind_olr(b-1,a); 
     
    5557   for b=1:122; 
    5658      % 1ere condition (laisser une marge de 10) 
    57       if (b>11 && b<112); 
     59      if (b>11 && b<112) 
    5860%        condition 1 on est a un maximum deltas apres sont negetifs et 
    5961%             delta avant postifs 
     
    218220       y=type_temps_compomax(1:sizemax,a,b); 
    219221       student1(a,b)=ttest(x,y); 
    220     end 
    221 end 
    222  
    223  
     222    end; 
     223end; 
    224224 
    225225% on fait la somme des types de temps sur toute la periode de temps 
     
    256256           table_ttest(a,b)=NaN; 
    257257        end; 
    258     end 
    259 end 
     258    end; 
     259end; 
    260260for a=1:4; 
    261261    subplot(2,2,a); 
     
    280280       hold on; 
    281281       plot(jour,diff2,'k*'); 
    282     end 
     282    end; 
    283283    set (gca,'XTick',[-10:10],'XTickLabel',[-10:10],'fontname','Arial','fontsize',6); 
    284284    set (gca,'YTick',[-40:20:40],'YTickLabel',[-40:20:40],'fontname','Arial','fontsize',6); 
     
    294294       title('Frequence Blocking (filtre PB) Differences min - max  Seuil 1.5','Fontsize',8,'Fontname','Arial'); 
    295295    end; 
    296 end 
     296end; 
    297297 
    298298figure(1); 
    299 print -depsc2 time_serie_type_tps_pb.eps; 
    300  
     299print('-depsc2','time_serie_type_tps_pb.eps'); 
  • /trunk/src/indice_flore/time_serie_histog3_max_moy.m

    r20 r30  
    2424 
    2525for 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; 
    2727end; 
    2828ind_olr=reshape(ind_olr,122,29); 
     29 
    2930%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    3031% on ouvre le fichier 
    31 load occu.txt 
     32status=load('occu.txt'); 
     33occu=status; 
     34clear status; 
    3235 
    3336% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    4649 
    4750% boucle sur les annees 
    48 for a=1:29 
     51for a=1:29; 
    4952   clear delta; 
    5053   delta=zeros(122,1); 
    5154   % boucle sur les jours 
    52    for b=1:122 
     55   for b=1:122; 
    5356        if b>1; 
    5457            delta(b)=ind_olr(b,a)-ind_olr(b-1,a); 
     
    223226       y=type_temps_compomax(1:sizemax,a,b); 
    224227       student1(a,b)=ttest(x,y); 
    225     end 
    226 end 
    227  
     228    end; 
     229end; 
    228230 
    229231% on fait la somme des types de temps sur toute la periode de temps 
     
    258260    for b=1:4 
    259261       kara_diff(a,b)=-kara_max(a,b)+kara_moy(b); 
    260     end 
    261 end 
     262    end; 
     263end; 
    262264 
    263265table_ttest=zeros(21,4); 
     
    269271           table_ttest(a,b)=NaN; 
    270272        end; 
    271     end 
    272 end 
     273    end; 
     274end; 
    273275 
    274276for a=1:4; 
     
    282284       hold on; 
    283285       plot(jour,diff2,'k*'); 
    284      elseif a==2; 
     286    elseif a==2; 
    285287       bar(jour,diff,'g'); 
    286         hold on; 
    287         plot(jour,diff2,'k*'); 
     288       hold on; 
     289       plot(jour,diff2,'k*'); 
    288290    elseif a==3; 
    289291       bar(jour,diff,'b'); 
     
    294296       hold on; 
    295297       plot(jour,diff2,'k*'); 
    296     end 
     298    end; 
    297299    set (gca,'XTick',[-10:10],'XTickLabel',[-10:10],'fontname','Arial','fontsize',6); 
    298300    set (gca,'YTick',[-20:5:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); 
     
    308310       title('Blocking','Fontsize',8,'Fontname','Arial'); 
    309311    end; 
    310 end 
     312end; 
    311313 
    312314figure(1); 
    313 print -depsc2 time_serie_type_tps_max_moy_pb.eps; 
    314  
     315print('-depsc2','time_serie_type_tps_max_moy_pb.eps'); 
  • /trunk/src/indice_flore/time_serie_histog3_min_moy.m

    r20 r30  
    2525for a=1:3538; 
    2626    ind_olr(a)=(ind_olr(a)-olr_moy)/olr_std; 
    27 end 
     27end; 
    2828ind_olr=reshape(ind_olr,122,29); 
    2929 
    3030%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    3131% on ouvre le fichier 
    32 load occu.txt 
     32status=load('occu.txt'); 
     33occu=status; 
     34clear status; 
    3335 
    3436% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    5860   for b=1:122; 
    5961      % 1ere condition (laisser une marge de 10) 
    60       if (b>11 && b<112); 
     62      if (b>11 && b<112) 
    6163%        condition 1 on est a un maximum deltas apres sont negetifs et 
    6264%             delta avant postifs 
     
    239241    for b=1:4 
    240242       kara_diff(a,b)=kara_min(a,b)-kara_moy(b); 
    241     end 
    242 end 
     243    end; 
     244end; 
    243245 
    244246for a=1:4; 
     
    256258    else 
    257259       bar(jour,diff,'r'); 
    258     end 
     260    end; 
    259261    set (gca,'XTick',[-10:10],'XTickLabel',[-10:10],'fontname','Arial','fontsize',6); 
    260262    set (gca,'YTick',[-20:5:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); 
     
    270272       title('Blocking','Fontsize',8,'Fontname','Arial'); 
    271273    end; 
    272 end 
     274end; 
    273275 
    274276figure(1); 
    275 print -depsc2 time_serie_type_tps_min_moy_pb.eps; 
    276  
     277print('-depsc2','time_serie_type_tps_min_moy_pb.eps'); 
  • /trunk/src/ircaam_profile.sh

    r20 r30  
    1 #! /bin/sh -x 
     1#! /bin/sh 
    22#+ 
    33# NAME 
  • /trunk/src/ircaam_startup.m

    r20 r30  
    2222% 
    2323% 
    24 % If linked or copy to ${HOME}/startup.m, it will be automaticaly 
     24% If linked or copy to ./startup.m, it will be automaticaly 
    2525% run by matlab at start. 
    2626% 
     
    3939% 
    4040% $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 
    4147% 
    4248% - fplod 2008-12-22T13:24:38Z aedon.locean-ipsl.upmc.fr (Darwin) 
     
    6975addpath([ircaam '/mode_sahelien/']); 
    7076addpath([ircaam '/SIMULS_IRCAAM/']); 
     77addpath([ircaam '/indice_flore/']); 
    7178% 
    7279% IO directories 
     
    8491% 
    8592% detect if either octave or matlab running 
    86 cversion=version(); 
    87 if cversion(1:1) < '7' 
     93if ~ exist('OCTAVE_VERSION') 
     94 run_octave=0; 
     95else 
    8896 run_octave=1; 
    89 else 
    90  run_octave=0; 
    9197end 
    9298% 
  • /trunk/src/mode_sahelien/carte_eof234_jjas_1025.m

    r20 r30  
    22 
    33clear; 
    4 load eof_1025_jjas.mat 
     4status=load('eof_1025_jjas.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
     8 
    59carte1=C(:,425); 
    610 
     
    141145for a=1:425; 
    142146   vaude=vaude+L(a,a); 
    143 end 
     147end; 
    144148vecteurs=zeros(20,1); 
    145149for a=1:20; 
    146150   b=425-(a-1); 
    147151   vecteurs(a)=100*(L(b,b)/vaude); 
    148 end 
     152end; 
    149153x=[1:20]'; 
    150154 
     
    155159set (gca,'tickDir','out'); 
    156160 
    157 print -depsc2 resultats_eof_jjas_2006_1025.eps; 
     161print('-depsc2','resultats_eof_jjas_2006_1025.eps'); 
  • /trunk/src/mode_sahelien/carte_eof234_jjas_1030.m

    r20 r30  
    11% 
    22clear; 
    3 load eof_1030_jjas.mat 
     3status=load('eof_1030_jjas.mat','C','L'); 
     4C=status.C; 
     5L=status.L; 
     6clear status; 
     7 
    48carte1=C(:,425); 
    59 
     
    144148for a=1:425; 
    145149   vaude=vaude+L(a,a); 
    146 end 
     150end; 
    147151vecteurs=zeros(20,1); 
    148152for a=1:20; 
    149153   b=425-(a-1); 
    150154   vecteurs(a)=100*(L(b,b)/vaude); 
    151 end 
     155end; 
    152156x=[1:20]'; 
    153157 
    154158bar(x,vecteurs,'LineStyle','none') 
    155 save vecteurs_eof_1030.txt vecteurs -ascii; 
     159save('vecteurs_eof_1030.txt','vecteurs','-ASCII'); 
    156160 
    157161axis([0.5 20.5 0 25]); 
     
    160164set (gca,'tickDir','out'); 
    161165 
    162 print -depsc2 resultats_eof_jjas_2006_1030.eps; 
     166print('-depsc2','resultats_eof_jjas_2006_1030.eps'); 
  • /trunk/src/mode_sahelien/carte_eof23_jjas_30100.m

    r20 r30  
    11% 
    22clear; 
    3 load eof_30100_jjas.mat 
     3status=load('eof_30100_jjas.mat','C','L'); 
     4C=status.C; 
     5L=status.L; 
     6clear status; 
     7 
    48carte1=C(:,425); 
    59 
     
    140144for a=1:425; 
    141145   vaude=vaude+L(a,a); 
    142 end 
     146end; 
    143147vecteurs=zeros(20,1); 
    144148for a=1:20; 
    145149   b=425-(a-1); 
    146150   vecteurs(a)=100*(L(b,b)/vaude); 
    147 end 
     151end; 
    148152x=[1:20]'; 
    149 save vecteurs_eof_30100.txt vecteurs -ascii; 
     153save('vecteurs_eof_30100.txt','vecteurs','-ASCII'); 
    150154bar(x,vecteurs,'LineStyle','none') 
    151155 
     
    155159set (gca,'tickDir','out'); 
    156160 
    157 print -depsc2 resultats_eof_jjas_30100.eps; 
     161print('-depsc2','resultats_eof_jjas_30100.eps'); 
  • /trunk/src/mode_sahelien/carte_eofER_1030_article.m

    r20 r30  
    22clear; 
    33close all; 
    4 load eof_rossby_jjas_2006_1030.mat 
     4status=load('eof_rossby_jjas_2006_1030.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
     8 
    59carte1=C(:,425); 
    610 
     
    9397for a=1:425; 
    9498   vaude=vaude+L(a,a); 
    95 end 
     99end; 
    96100vecteurs=zeros(20,1); 
    97101for a=1:20; 
     
    100104end; 
    101105x=[1:20]'; 
    102 save variance_expliquee_filtre_ER_1030j.txt vecteurs -ascii; 
    103 copyfile('variance_expliquee_filtre_ER_1030j.txt','/usr/home/seglod/') 
     106save('variance_expliquee_filtre_ER_1030j.txt','vecteurs','-ASCII'); 
    104107delete('variance_expliquee_filtre_ER_1030j.txt'); 
    105108 
     
    113116time_serie_ER_rossby_1030 
    114117set (gca,'position',[0.13 0.05 0.335 0.15]) ; 
    115 print -depsc2 figure_article_serge_1030_bis.eps; 
     118print('-depsc2','figure_article_serge_1030_bis.eps'); 
  • /trunk/src/mode_sahelien/carte_eofER_30100_article.m

    r20 r30  
    22clear; 
    33close all; 
    4 load eof_rossby_jjas_2006_30100.mat 
     4status=load('eof_rossby_jjas_2006_30100.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
     8 
    59carte1=C(:,425); 
    610 
     
    1721subplot(4,2,1); 
    1822for a=1:17; 
    19     for b=1:25; 
    20         if carte(a,b)>0.2; 
    21             carte(a,b)=0.2; 
    22         elseif carte(a,b)<-0.2; 
    23             carte(a,b)=-0.2; 
    24         end; 
    25     end; 
     23for b=1:25; 
     24if carte(a,b)>0.2; 
     25carte(a,b)=0.2; 
     26elseif carte(a,b)<-0.2; 
     27carte(a,b)=-0.2; 
     28end; 
     29end; 
    2630end; 
    2731carte(1,1)=-0.2001; 
     
    6266palette; 
    6367for a=1:17; 
    64     for b=1:25; 
    65         if carte(a,b)>0.2; 
    66             carte(a,b)=0.2; 
    67         elseif carte(a,b)<-0.2; 
    68             carte(a,b)=-0.2; 
    69         end; 
    70     end; 
     68for b=1:25; 
     69if carte(a,b)>0.2; 
     70carte(a,b)=0.2; 
     71elseif carte(a,b)<-0.2; 
     72carte(a,b)=-0.2; 
     73end; 
     74end; 
    7175end; 
    7276carte(1,1)=-0.2001; 
     
    9498vaude=0; 
    9599for a=1:425; 
    96    vaude=vaude+L(a,a); 
    97 end 
     100vaude=vaude+L(a,a); 
     101end; 
    98102vecteurs=zeros(20,1); 
    99103for a=1:20; 
    100    b=425-(a-1); 
    101    vecteurs(a)=100*(L(b,b)/vaude); 
     104b=425-(a-1); 
     105vecteurs(a)=100*(L(b,b)/vaude); 
    102106end; 
    103107x=[1:20]'; 
    104 save variance_expliquee_filtre_ER_30100j.txt vecteurs -ascii; 
    105 copyfile('variance_expliquee_filtre_ER_30100j.txt','/usr/home/seglod/') 
     108save('variance_expliquee_filtre_ER_30100j.txt','vecteurs','-ASCII'); 
    106109delete('variance_expliquee_filtre_ER_30100j.txt'); 
    107110 
    108111subplot(4,2,5); 
    109112composite_pluie_ird_rossby30100b; 
    110  composite_olr_ER30100_filtre; 
     113composite_olr_ER30100_filtre; 
    111114set (gca,'position',[0.13 0.31 0.385 0.15]) ; 
    112115 
     
    115118time_serie_ER_rossby_30100 
    116119set (gca,'position',[0.13 0.05 0.335 0.15]) ; 
    117 print -depsc2 figure_article_serge_30100_bis.eps; 
     120print('-depsc2','figure_article_serge_30100_bis.eps'); 
  • /trunk/src/mode_sahelien/carte_eof_ER_jjas_1030.m

    r20 r30  
    22 
    33clear; 
    4 load eof_rossby_jjas_2006_1030.mat 
     4status=load('eof_rossby_jjas_2006_1030.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
     8 
    59carte1=C(:,425); 
    610 
     
    108112for a=1:425; 
    109113   vaude=vaude+L(a,a); 
    110 end 
     114end; 
    111115vecteurs=zeros(20,1); 
    112116for a=1:20; 
    113117   b=425-(a-1); 
    114118   vecteurs(a)=100*(L(b,b)/vaude); 
    115 end 
     119end; 
    116120x=[1:20]'; 
    117121 
    118122bar(x,vecteurs,'LineStyle','none') 
    119 save vecteurs_eof_ER1030.txt vecteurs -ascii; 
     123save('vecteurs_eof_ER1030.txt','vecteurs','-ASCII'); 
    120124axis([0.5 20.5 0 25]); 
    121125set (gca,'YTick',[0:5:25],'YTickLabel',[0:5:25],'fontname','Arial','fontsize',6); 
     
    123127set (gca,'tickDir','out'); 
    124128 
    125 print -depsc2 resultats_eof_jjas_2006_1030.eps; 
     129print('-depsc2','resultats_eof_jjas_2006_1030.eps'); 
  • /trunk/src/mode_sahelien/carte_eof_ER_jjas_30100.m

    r20 r30  
    11% 
    22clear; 
    3 load eof_rossby_jjas_2006_30100.mat 
     3status=load('eof_rossby_jjas_2006_30100.mat','C','L'); 
     4C=status.C; 
     5L=status.L; 
     6clear status; 
     7 
    48carte1=C(:,425); 
    59 
     
    107111for a=1:425; 
    108112   vaude=vaude+L(a,a); 
    109 end 
     113end; 
    110114vecteurs=zeros(20,1); 
    111115for a=1:20; 
    112116   b=425-(a-1); 
    113117   vecteurs(a)=100*(L(b,b)/vaude); 
    114 end 
     118end; 
    115119x=[1:20]'; 
    116120 
    117121bar(x,vecteurs,'LineStyle','none') 
    118 save vecteurs_eof_ER30100.txt vecteurs -ascii; 
     122save('vecteurs_eof_ER30100.txt','vecteurs','-ASCII'); 
    119123axis([0.5 20.5 0 25]); 
    120124set (gca,'YTick',[0:5:25],'YTickLabel',[0:5:25],'fontname','Arial','fontsize',6); 
     
    122126set (gca,'tickDir','out'); 
    123127 
    124 print -depsc2 resultats_eof_jjas_2006_30100.eps; 
     128print('-depsc2','resultats_eof_jjas_2006_30100.eps'); 
  • /trunk/src/mode_sahelien/carte_eof_jja_2006.m

    r20 r30  
    22 
    33clear; 
    4 load eof_rossby_jjas_2006.mat 
     4status=load('eof_rossby_jjas_2006.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
     8 
    59carte1=C(:,425); 
    610 
     
    108112for a=1:425; 
    109113   vaude=vaude+L(a,a); 
    110 end 
     114end; 
    111115vecteurs=zeros(20,1); 
    112116for a=1:20; 
    113117   b=425-(a-1); 
    114118   vecteurs(a)=100*(L(b,b)/vaude); 
    115 end 
     119end; 
    116120x=[1:20]'; 
    117121 
     
    122126set (gca,'tickDir','out'); 
    123127 
    124 print -depsc2 resultats_eof_jjas_2006.eps; 
     128print('-depsc2','resultats_eof_jjas_2006.eps'); 
  • /trunk/src/mode_sahelien/carte_eof_jja_2006_1025.m

    r20 r30  
    22 
    33clear; 
    4 load eof_rossby_jjas_2006_1025.mat; 
     4status=load('eof_rossby_jjas_2006_1025.mat','C','L'); 
     5C=status.C; 
     6L=status.L; 
     7clear status; 
     8 
    59carte1=C(:,425); 
    610 
     
    108112for a=1:425; 
    109113   vaude=vaude+L(a,a); 
    110 end 
     114end; 
    111115vecteurs=zeros(20,1); 
    112116for a=1:20; 
    113117   b=425-(a-1); 
    114118   vecteurs(a)=100*(L(b,b)/vaude); 
    115 end 
     119end; 
    116120x=[1:20]'; 
    117121 
     
    122126set (gca,'tickDir','out'); 
    123127 
    124 print -depsc2 resultats_eof_jjas_2006_1025.eps; 
     128print('-depsc2','resultats_eof_jjas_2006_1025.eps'); 
  • /trunk/src/mode_sahelien/carte_eof_jja_2006_2590.m

    r20 r30  
    33close all; 
    44 
    5 load eof_rossby_jjas_2006_2590.mat 
     5status=load('eof_rossby_jjas_2006_2590.mat','C','L'); 
     6C=status.C; 
     7L=status.L; 
     8clear status; 
     9 
    610carte1=C(:,425); 
    711 
     
    109113for a=1:425; 
    110114   vaude=vaude+L(a,a); 
    111 end 
     115end; 
    112116vecteurs=zeros(20,1); 
    113117for a=1:20; 
    114118   b=425-(a-1); 
    115119   vecteurs(a)=100*(L(b,b)/vaude); 
    116 end 
     120end; 
    117121x=[1:20]'; 
    118122 
     
    123127set (gca,'tickDir','out'); 
    124128 
    125 print -depsc2 resultats_eof_jjas_2006_2590.eps; 
     129print('-depsc2','resultats_eof_jjas_2006_2590.eps'); 
  • /trunk/src/mode_sahelien/carte_eof_mjj_2590.m

    r20 r30  
    11% 
    22clear; 
    3 load eof_2590_mjj.mat 
     3status=load('eof_2590_mjj.mat','C','L'); 
     4C=status.C; 
     5L=status.L; 
     6clear status; 
     7 
    48carte1=C(:,425); 
    59 
     
    140144for a=1:425; 
    141145   vaude=vaude+L(a,a); 
    142 end 
     146end; 
    143147vecteurs=zeros(20,1); 
    144148for a=1:20; 
    145149   b=425-(a-1); 
    146150   vecteurs(a)=100*(L(b,b)/vaude); 
    147 end 
     151end; 
    148152x=[1:20]'; 
    149153 
     
    154158set (gca,'tickDir','out'); 
    155159 
    156 print -depsc2 resultats_eof_mjj_2590.eps; 
     160print('-depsc2','resultats_eof_mjj_2590.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt500_eof12_ER1030.m

    r20 r30  
    5252                if hgt500(a,b,c,d)==31265; 
    5353                    hgt500(a,b,c,d)=NaN; 
    54                 end 
    55             end 
    56         end 
    57     end 
    58 end 
     54                end; 
     55            end; 
     56        end; 
     57    end; 
     58end; 
    5959 
    6060hgt1=zeros(122,28,49,144); 
     
    8484 
    8585%%%%%%%%%%%%%%% FICHIER OLR 
    86 load eof12_rossby_1030.txt 
     86status=load('eof12_rossby_1030.txt'); 
     87eof12_rossby_1030=status; 
     88clear status; 
    8789ind_olr=reshape(eof12_rossby_1030,122,28); 
    8890clear eof12_rossby_1030 
     
    226228             end; 
    227229          end; 
    228        end 
     230       end; 
    229231       subplot(7,1,8-e); 
    230232       palettejerome30 
     
    257259end; 
    258260 
    259 print -depsc2 compo_hgt500_eof12_ER1030a.eps; 
     261print('-depsc2','compo_hgt500_eof12_ER1030a.eps'); 
    260262 
    261263figure(2); 
     
    280282             end; 
    281283          end; 
    282        end 
     284       end; 
    283285       subplot(7,1,8-e); 
    284286       palettejerome30; 
     
    311313       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    312314end; 
    313 print -depsc2 compo_hgt500_eof12_ER1030b.eps; 
     315print('-depsc2','compo_hgt500_eof12_ER1030b.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt500_eof12_ER30100.m

    r20 r30  
    5151                if hgt500(a,b,c,d)==31265; 
    5252                    hgt500(a,b,c,d)=NaN; 
    53                 end 
    54             end 
    55         end 
    56     end 
    57 end 
     53                end; 
     54            end; 
     55        end; 
     56    end; 
     57end; 
    5858 
    5959hgt1=zeros(122,28,49,144); 
     
    8383 
    8484%%%%%%%%%%%%%%% FICHIER OLR 
    85 load eof12_rossby_30100.txt 
     85status=load('eof12_rossby_30100.txt'); 
     86eof12_rossby_30100=status; 
     87clear status; 
    8688ind_olr=reshape(eof12_rossby_30100,122,28); 
    8789clear eof12_rossby_30100 
     
    225227             end; 
    226228          end; 
    227        end 
     229       end; 
    228230       subplot(7,1,8-e); 
    229231       palettejerome30 
     
    256258end; 
    257259 
    258 print -depsc2 compo_hgt500_eof12_ER30100a.eps; 
     260print('-depsc2','compo_hgt500_eof12_ER30100a.eps'); 
    259261 
    260262figure(2); 
     
    279281             end; 
    280282          end; 
    281        end 
     283       end; 
    282284       subplot(7,1,8-e); 
    283285       palettejerome30; 
     
    310312       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    311313end; 
    312 print -depsc2 compo_hgt500_eof12_ER30100b.eps; 
     314print('-depsc2','compo_hgt500_eof12_ER30100b.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt500_eof1_1030.m

    r20 r30  
    5151                if hgt500(a,b,c,d)==31265; 
    5252                    hgt500(a,b,c,d)=NaN; 
    53                 end 
    54             end 
    55         end 
    56     end 
    57 end 
     53                end; 
     54            end; 
     55        end; 
     56    end; 
     57end; 
    5858 
    5959hgt1=zeros(122,28,49,144); 
     
    8383 
    8484%%%%%%%%%%%%%%% FICHIER OLR 
    85 load eof1_1030.txt; 
     85status=load('eof1_1030.txt'); 
     86eof1_1030=status; 
     87clear status; 
    8688ind_olr=reshape(eof1_1030,122,28); 
    8789clear eof1_1030; 
     
    204206           y=hgt500_filtre_compomax(1:nb_value,a,b,c); 
    205207           student1(a,b,c)=ttest(x,y,.1); 
    206         end 
    207     end 
    208 end 
     208        end; 
     209    end; 
     210end; 
    209211 
    210212% on fait la somme des valeurs de hgt500_filtreentiel sur le nbre d occurences 
     
    244246             end; 
    245247          end; 
    246        end 
     248       end; 
    247249       subplot(7,1,8-e); 
    248250       palettejerome30 
     
    275277end; 
    276278 
    277 print -depsc2 compo_hgt500_eof1_1030a.eps; 
     279print('-depsc2','compo_hgt500_eof1_1030a.eps'); 
    278280 
    279281figure(2); 
     
    303305             end; 
    304306          end; 
    305        end 
     307       end; 
    306308       subplot(7,1,8-e); 
    307309       palettejerome30; 
     
    334336       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    335337end; 
    336 print -depsc2 compo_hgt500_eof1_1030b.eps; 
     338print('-depsc2','compo_hgt500_eof1_1030b.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt500_eof1_30100.m

    r20 r30  
    5252                if hgt500(a,b,c,d)==31265; 
    5353                    hgt500(a,b,c,d)=NaN; 
    54                 end 
    55             end 
    56         end 
    57     end 
    58 end 
     54                end; 
     55            end; 
     56        end; 
     57    end; 
     58end; 
    5959 
    6060hgt1=zeros(122,28,49,144); 
     
    8484 
    8585%%%%%%%%%%%%%%% FICHIER OLR 
    86 load eof1_30100.txt; 
     86status=load('eof1_30100.txt'); 
     87eof1_30100=status; 
     88clear status; 
    8789ind_olr=reshape(eof1_30100,122,28); 
    8890clear eof1_30100; 
     
    205207           y=hgt500_filtre_compomax(1:nb_value,a,b,c); 
    206208           student1(a,b,c)=ttest(x,y,.1); 
    207         end 
    208     end 
    209 end 
     209        end; 
     210    end; 
     211end; 
    210212 
    211213% on fait la somme des valeurs de hgt500_filtreentiel sur le nbre d occurences 
     
    245247             end; 
    246248          end; 
    247        end 
     249       end; 
    248250       subplot(7,1,8-e); 
    249251       palettejerome30 
     
    276278end; 
    277279 
    278 print -depsc2 compo_hgt500_eof1_30100a.eps; 
     280print('-depsc2','compo_hgt500_eof1_30100a.eps'); 
    279281 
    280282figure(2); 
     
    304306             end; 
    305307          end; 
    306        end 
     308       end; 
    307309       subplot(7,1,8-e); 
    308310       palettejerome30; 
     
    335337       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    336338end; 
    337 print -depsc2 compo_hgt500_eof1_30100b.eps; 
     339print('-depsc2','compo_hgt500_eof1_30100b.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt500_eof234_1025.m

    r20 r30  
    5151                if hgt500(a,b,c,d)==31265; 
    5252                    hgt500(a,b,c,d)=NaN; 
    53                 end 
    54             end 
    55         end 
    56     end 
    57 end 
     53                end; 
     54            end; 
     55        end; 
     56    end; 
     57end; 
    5858 
    5959hgt1=zeros(122,28,49,144); 
     
    9797ind_olr=ind_olr1; 
    9898clear ind_olr1; 
    99  
    100 %load eof24_1025.txt; 
    101 %ind_olr=reshape(eof24_1025,122,28); 
    102 %clear eof24_1025; 
    103 %k=122*28; 
    10499 
    105100% on calcule l ecart type sur la serie entiere de l OLR 
     
    242237             end; 
    243238          end; 
    244        end 
     239       end; 
    245240       subplot(7,1,8-e); 
    246241       palettejerome30 
     
    273268end; 
    274269 
    275 print -depsc2 compo_hgt500_eof234_1025a.eps; 
     270print('-depsc2','compo_hgt500_eof234_1025a.eps'); 
    276271 
    277272figure(2); 
     
    296291             end; 
    297292          end; 
    298        end 
     293       end; 
    299294       subplot(7,1,8-e); 
    300295       palettejerome30; 
     
    327322       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    328323end; 
    329 print -depsc2 compo_hgt500_eof234_1025b.eps; 
     324print('-depsc2','compo_hgt500_eof234_1025b.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt500_eof234_1025_3j.m

    r20 r30  
    5252                if hgt500(a,b,c,d)==31265; 
    5353                    hgt500(a,b,c,d)=NaN; 
    54                 end 
    55             end 
    56         end 
    57     end 
    58 end 
     54                end; 
     55            end; 
     56        end; 
     57    end; 
     58end; 
    5959 
    6060hgt1=zeros(122,28,49,144); 
     
    103103for a=1:3416; 
    104104   ind_olr(a)=(ind_olr(a)-olr_moy)/olr_std; 
    105 end 
     105end; 
    106106ind_olr=reshape(ind_olr,122,28); 
    107107 
     
    338338disp(['iii : compteurmin =', int2str(compteurmin)]); 
    339339disp(['iii : compteurmax =', int2str(compteurmax)]); 
    340 save tablecompteurmin_pb.txt tablecompteurmin -ascii; 
    341 save tablecompteurmax_pb.txt tablecompteurmax -ascii; 
     340save('tablecompteurmin_pb.txt','tablecompteurmin','-ASCII'); 
     341save('tablecompteurmax_pb.txt','tablecompteurmax','-ASCII'); 
    342342 
    343343% on fait la somme des valeurs de hgt500_filtreentiel sur le nbre d occurences 
     
    374374             end; 
    375375          end; 
    376        end 
     376       end; 
    377377       subplot(7,1,8-e); 
    378378       palettejerome30 
     
    405405end; 
    406406 
    407 print -depsc2 compo_hgt500_eof234_1025_pb1_seuil150.eps; 
     407print('-depsc2','compo_hgt500_eof234_1025_pb1_seuil150.eps'); 
    408408 
    409409figure(2); 
     
    428428             end; 
    429429          end; 
    430        end 
     430       end; 
    431431       subplot(7,1,8-e); 
    432432       palettejerome30; 
     
    459459       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    460460end; 
    461 print -depsc2 compo_hgt500_eof234_1025_pb2_seuil150.eps; 
     461print('-depsc2','compo_hgt500_eof234_1025_pb2_seuil150.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt500_eof234_1030.m

    r20 r30  
    5252                if hgt500(a,b,c,d)==31265; 
    5353                    hgt500(a,b,c,d)=NaN; 
    54                 end 
    55             end 
    56         end 
    57     end 
    58 end 
     54                end; 
     55            end; 
     56        end; 
     57    end; 
     58end; 
    5959 
    6060hgt1=zeros(122,28,49,144); 
     
    8484 
    8585%%%%%%%%%%%%%%% FICHIER OLR 
    86 load eof24_1030.txt; 
     86status=load('eof24_1030.txt'); 
     87eof24_1030=status; 
     88clear status; 
    8789ind_olr=reshape(eof24_1030,122,28); 
    8890clear eof24_1030; 
     
    228230             end; 
    229231          end; 
    230        end 
     232       end; 
    231233       subplot(7,1,8-e); 
    232234       palettejerome30 
     
    259261end; 
    260262 
    261 print -depsc2 compo_hgt500_eof234_1030a.eps; 
     263print('-depsc2','compo_hgt500_eof234_1030a.eps'); 
    262264 
    263265figure(2); 
     
    282284             end; 
    283285          end; 
    284        end 
     286       end; 
    285287       subplot(7,1,8-e); 
    286288       palettejerome30; 
     
    313315       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    314316end; 
    315 print -depsc2 compo_hgt500_eof234_1030b.eps; 
     317print('-depsc2','compo_hgt500_eof234_1030b.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt500_eof234_1030_min.m

    r20 r30  
    5151                if hgt500(a,b,c,d)==31265; 
    5252                    hgt500(a,b,c,d)=NaN; 
    53                 end 
    54             end 
    55         end 
    56     end 
    57 end 
     53                end; 
     54            end; 
     55        end; 
     56    end; 
     57end; 
    5858 
    5959hgt1=zeros(122,28,49,144); 
     
    8383 
    8484%%%%%%%%%%%%%%% FICHIER OLR 
    85 load eof24_1030.txt; 
     85status=load('eof24_1030.txt'); 
     86eof24_1030=status; 
     87clear status; 
    8688ind_olr=reshape(eof24_1030,122,28); 
    8789clear eof24_1030; 
     
    232234             end; 
    233235          end; 
    234        end 
     236       end; 
    235237       subplot(7,1,8-e); 
    236238       palettejerome30 
     
    263265end; 
    264266 
    265 print -depsc2 compo_hgt500_eof234_1030a_min.eps; 
     267print('-depsc2','compo_hgt500_eof234_1030a_min.eps'); 
    266268 
    267269figure(2); 
     
    288290             end; 
    289291          end; 
    290        end 
     292       end; 
    291293       subplot(7,1,8-e); 
    292294       palettejerome30; 
     
    319321       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    320322end; 
    321 print -depsc2 compo_hgt500_eof234_1030b_min.eps; 
     323print('-depsc2','compo_hgt500_eof234_1030b_min.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt500_eof23_1030.m

    r20 r30  
    5151                if hgt500(a,b,c,d)==31265; 
    5252                    hgt500(a,b,c,d)=NaN; 
    53                 end 
    54             end 
    55         end 
    56     end 
    57 end 
     53                end; 
     54            end; 
     55        end; 
     56    end; 
     57end; 
    5858 
    5959hgt1=zeros(122,28,49,144); 
     
    8383 
    8484%%%%%%%%%%%%%%% FICHIER OLR 
    85 load eof23_1030.txt; 
     85status=load('eof23_1030.txt'); 
     86eof23_1030=status; 
     87clear status; 
    8688ind_olr=reshape(eof23_1030,122,28); 
    8789clear eof23_1030; 
     
    225227             end; 
    226228          end; 
    227        end 
     229       end; 
    228230       subplot(7,1,8-e); 
    229231       palettejerome30 
     
    256258end; 
    257259 
    258 print -depsc2 compo_hgt500_eof23_1030a.eps; 
     260print('-depsc2','compo_hgt500_eof23_1030a.eps'); 
    259261 
    260262figure(2); 
     
    279281             end; 
    280282          end; 
    281        end 
     283       end; 
    282284       subplot(7,1,8-e); 
    283285       palettejerome30; 
     
    310312       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    311313end; 
    312 print -depsc2 compo_hgt500_eof23_1030b.eps; 
     314print('-depsc2','compo_hgt500_eof23_1030b.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt500_eof23_2590.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load ind_olr_25_90_eof23.txt; 
     50status=load('ind_olr_25_90_eof23.txt'); 
     51ind_olr_25_90_eof23=status; 
     52clear status; 
    5153ind_olr=reshape(ind_olr_25_90_eof23,122,28); 
    5254k=122*28; 
     
    188190             end; 
    189191          end; 
    190        end 
     192       end; 
    191193       subplot(7,1,8-e); 
    192194       palette 
     
    221223end; 
    222224 
    223 print -depsc2 compo_hgt925_eof2590_part1.eps; 
     225print('-depsc2','compo_hgt925_eof2590_part1.eps'); 
    224226 
    225227figure(2); 
     
    244246             end; 
    245247          end; 
    246        end 
     248       end; 
    247249       subplot(7,1,8-e); 
    248250       palette 
     
    277279end; 
    278280 
    279 print -depsc2 compo_hgt925_eof2590_part2.eps; 
    280  
     281print('-depsc2','compo_hgt925_eof2590_part2.eps'); 
     282 
  • /trunk/src/mode_sahelien/composite_hgt500_eof23_30100.m

    r20 r30  
    5252                if hgt500(a,b,c,d)==31265; 
    5353                    hgt500(a,b,c,d)=NaN; 
    54                 end 
    55             end 
    56         end 
    57     end 
    58 end 
     54                end; 
     55            end; 
     56        end; 
     57    end; 
     58end; 
    5959 
    6060hgt1=zeros(122,28,49,144); 
     
    8484 
    8585%%%%%%%%%%%%%%% FICHIER OLR 
    86 load eof23_30100.txt; 
     86status=load('eof23_30100.txt'); 
     87eof23_30100=status; 
     88clear status; 
    8789ind_olr=reshape(eof23_30100,122,28); 
    8890clear eof23_30100; 
     
    205207           y=hgt500_filtre_compomax(1:nb_value,a,b,c); 
    206208           student1(a,b,c)=ttest(x,y,.1); 
    207         end 
    208     end 
    209 end 
     209        end; 
     210    end; 
     211end; 
    210212 
    211213% on fait la somme des valeurs de hgt500_filtreentiel sur le nbre d occurences 
     
    245247             end; 
    246248          end; 
    247        end 
     249       end; 
    248250       subplot(7,1,8-e); 
    249251       palettejerome30 
     
    276278end; 
    277279 
    278 print -depsc2 compo_hgt500_eof23_30100a.eps; 
     280print('-depsc2','compo_hgt500_eof23_30100a.eps'); 
    279281 
    280282figure(2); 
     
    304306             end; 
    305307          end; 
    306        end 
     308       end; 
    307309       subplot(7,1,8-e); 
    308310       palettejerome30; 
     
    335337       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    336338end; 
    337 print -depsc2 compo_hgt500_eof23_30100b.eps; 
     339print('-depsc2','compo_hgt500_eof23_30100b.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt700_EOF12_ER1030.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof12_rossby_1030.txt 
     50status=load('eof12_rossby_1030.txt'); 
     51eof12_rossby_1030=status; 
     52clear status; 
    5153ind_olr=reshape(eof12_rossby_1030,122,28); 
    5254k=122*28; 
     
    189191             end; 
    190192          end; 
    191        end 
     193       end; 
    192194       subplot(7,1,8-e); 
    193195       palette 
     
    215217       else 
    216218            sauvegrads('composite_hgt700_mode_rossby_1030_moins18',delta_hgt700,[-180 2.5 -10 2.5]); 
    217        end 
     219       end; 
    218220 
    219221       delta_hgt700=flipud(delta_hgt700); 
     
    242244end; 
    243245 
    244 print -depsc2 composite_hgt700_EOF12_ER1030_part1.eps; 
     246print('-depsc2','composite_hgt700_EOF12_ER1030_part1.eps'); 
    245247 
    246248figure(2); 
     
    265267             end; 
    266268          end; 
    267        end 
     269       end; 
    268270       subplot(7,1,8-e); 
    269271       palette; 
     
    318320end; 
    319321 
    320 print -depsc2 composite_hgt700_EOF12_ER1030_part2.eps; 
    321  
    322 save pression_eof12_er1030.mat pression; 
     322print('-depsc2','composite_hgt700_EOF12_ER1030_part2.eps'); 
     323 
     324save('pression_eof12_er1030.mat','pression;'); 
  • /trunk/src/mode_sahelien/composite_hgt700_EOF12_ER30100_dat.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof12_rossby_30100.txt 
     50status=load('eof12_rossby_30100.txt'); 
     51eof12_rossby_30100=status; 
     52clear status; 
    5153ind_olr=reshape(eof12_rossby_30100,122,28); 
    5254k=122*28; 
     
    246248       elseif e==31; 
    247249            sauvegrads('composite_hgt700_mode_rossby_30100_plus9',delta_hgt700_filtre_min,[-180 2.5 -10 2.5]); 
    248        end 
     250       end; 
    249251       delta_hgt700_filtre_min=flipud(delta_hgt700_filtre_min); 
    250 end 
     252end; 
  • /trunk/src/mode_sahelien/composite_hgt700_EOF24_1030.m

    r20 r30  
    5050%%%%%%%%%%%%%%% FICHIER OLR 
    5151% ouverture / lecture du fichier 
    52 load eof24_1030.txt 
     52status=load('eof24_1030.txt'); 
     53eof24_1030=status; 
     54clear status; 
    5355ind_olr=reshape(eof24_1030,122,28); 
    5456k=122*28; 
     
    192194             end; 
    193195          end; 
    194        end 
     196       end; 
    195197       subplot(7,1,8-e); 
    196198       palette 
     
    218220       else 
    219221            sauvegrads('composite_hgt700_mode_sahel_1030_moins18',delta_hgt700,[-180 2.5 -10 2.5]); 
    220        end 
     222       end; 
    221223delta_hgt700=flipud(delta_hgt700); 
    222224 
     
    244246end; 
    245247 
    246 print -depsc2 composite_hgt700_EOF234_1030_part1.eps; 
     248print('-depsc2','composite_hgt700_EOF234_1030_part1.eps'); 
    247249 
    248250figure(2); 
     
    267269             end; 
    268270          end; 
    269        end 
     271       end; 
    270272       subplot(7,1,8-e); 
    271273       palette; 
     
    320322end; 
    321323 
    322 print -depsc2 composite_hgt700_EOF234_1030_part2.eps; 
     324print('-depsc2','composite_hgt700_EOF234_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt925_EOF12_ER1030.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof12_rossby_1030.txt 
     50status=load('eof12_rossby_1030.txt'); 
     51eof12_rossby_1030=status; 
     52clear status; 
    5153ind_olr=reshape(eof12_rossby_1030,122,28); 
    5254k=122*28; 
     
    189191             end; 
    190192          end; 
    191        end 
     193       end; 
    192194       subplot(7,1,8-e); 
    193195       palette 
     
    215217       else 
    216218            sauvegrads('composite_hgt925_mode_rossby_1030_moins18',delta_hgt925,[-180 2.5 -10 2.5]); 
    217        end 
     219       end; 
    218220 
    219221       delta_hgt925=flipud(delta_hgt925); 
     
    242244end; 
    243245 
    244 print -depsc2 composite_hgt925_EOF12_ER1030_part1.eps; 
     246print('-depsc2','composite_hgt925_EOF12_ER1030_part1.eps'); 
    245247 
    246248figure(2); 
     
    265267             end; 
    266268          end; 
    267        end 
     269       end; 
    268270       subplot(7,1,8-e); 
    269271       palette; 
     
    318320end; 
    319321 
    320 print -depsc2 composite_hgt925_EOF12_ER1030_part2.eps; 
    321  
    322 save pression_eof12_er1030.mat pression; 
     322print('-depsc2','composite_hgt925_EOF12_ER1030_part2.eps'); 
     323 
     324save('pression_eof12_er1030.mat','pression;'); 
  • /trunk/src/mode_sahelien/composite_hgt925_EOF12_ER30100.m

    r20 r30  
    4747%%%%%%%%%%%%%%% FICHIER OLR 
    4848% ouverture / lecture du fichier 
    49 load eof12_rossby_30100.txt 
     49status=load('eof12_rossby_30100.txt'); 
     50eof12_rossby_30100=status; 
     51clear status; 
    5052ind_olr=reshape(eof12_rossby_30100,122,28); 
    5153k=122*28; 
     
    187189             end; 
    188190          end; 
    189        end 
     191       end; 
    190192       subplot(7,1,8-e); 
    191193       palette 
     
    212214       else 
    213215            sauvegrads('composite_hgt925_mode_rossby_30100_moins18',delta_hgt925,[-180 2.5 -10 2.5]); 
    214        end 
     216       end; 
    215217 
    216218       delta_hgt925=flipud(delta_hgt925); 
     
    239241end; 
    240242 
    241 print -depsc2 composite_hgt925_EOF12_ER30100_part1.eps; 
     243print('-depsc2','composite_hgt925_EOF12_ER30100_part1.eps'); 
    242244 
    243245figure(2); 
     
    262264             end; 
    263265          end; 
    264        end 
     266       end; 
    265267       subplot(7,1,8-e); 
    266268       palette; 
     
    313315end; 
    314316 
    315 print -depsc2 composite_hgt925_EOF12_ER30100_part2.eps; 
    316  
    317 save pression_eof12_er30100.mat pression; 
     317print('-depsc2','composite_hgt925_EOF12_ER30100_part2.eps'); 
     318 
     319save('pression_eof12_er30100.mat','pression;'); 
  • /trunk/src/mode_sahelien/composite_hgt925_EOF12_ER30100_dat.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof12_rossby_30100.txt 
     50status=load('eof12_rossby_30100.txt'); 
     51eof12_rossby_30100=status; 
     52clear status; 
    5153ind_olr=reshape(eof12_rossby_30100,122,28); 
    5254k=122*28; 
     
    245247       elseif e==31; 
    246248            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 
     251end; 
  • /trunk/src/mode_sahelien/composite_hgt925_EOF1_30100.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof1_30100.txt 
     50status=load('eof1_30100.txt'); 
     51eof1_30100=status; 
     52clear status; 
    5153ind_olr=reshape(eof1_30100,122,28); 
    5254k=122*28; 
     
    189191             end; 
    190192          end; 
    191        end 
     193       end; 
    192194       subplot(7,1,8-e); 
    193195       palette 
     
    223225end; 
    224226 
    225 print -depsc2 composite_hgt925_EOF1_30100_part1.eps; 
     227print('-depsc2','composite_hgt925_EOF1_30100_part1.eps'); 
    226228 
    227229figure(2); 
     
    246248             end; 
    247249          end; 
    248        end 
     250       end; 
    249251       subplot(7,1,8-e); 
    250252       palette; 
     
    280282end; 
    281283 
    282 print -depsc2 composite_hgt925_EOF1_30100_part2.eps; 
     284print('-depsc2','composite_hgt925_EOF1_30100_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt925_EOF23_1030.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof23_1030.txt 
     50status=load('eof23_1030.txt'); 
     51eof23_1030=status; 
     52clear status; 
    5153ind_olr=reshape(eof23_1030,122,28); 
    5254k=122*28; 
     
    189191             end; 
    190192          end; 
    191        end 
     193       end; 
    192194       subplot(7,1,8-e); 
    193195       palette 
     
    215217       else 
    216218            sauvegrads('composite_hgt925_mode_sahel_1030_moins18',delta_hgt925,[-180 2.5 -40 2.5]); 
    217        end 
     219       end; 
    218220delta_hgt925=flipud(delta_hgt925); 
    219221 
     
    241243end; 
    242244 
    243 print -depsc2 composite_hgt925_EOF23_1030_part1.eps; 
     245print('-depsc2','composite_hgt925_EOF23_1030_part1.eps'); 
    244246 
    245247figure(2); 
     
    264266             end; 
    265267          end; 
    266        end 
     268       end; 
    267269       subplot(7,1,8-e); 
    268270       palette; 
     
    316318end; 
    317319 
    318 print -depsc2 composite_hgt925_EOF23_1030_part2.eps; 
     320print('-depsc2','composite_hgt925_EOF23_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt925_EOF23_30100.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof23_30100.txt 
     50status=load('eof23_30100.txt'); 
     51eof23_30100=status; 
     52clear status; 
    5153ind_olr=reshape(eof23_30100,122,28); 
    5254k=122*28; 
     
    189191             end; 
    190192          end; 
    191        end 
     193       end; 
    192194       subplot(7,1,8-e); 
    193195       palette 
     
    223225end; 
    224226 
    225 print -depsc2 composite_hgt925_EOF23_30100_part1.eps; 
     227print('-depsc2','composite_hgt925_EOF23_30100_part1.eps'); 
    226228 
    227229figure(2); 
     
    246248             end; 
    247249          end; 
    248        end 
     250       end; 
    249251       subplot(7,1,8-e); 
    250252       palette; 
     
    280282end; 
    281283 
    282 print -depsc2 composite_hgt925_EOF23_30100_part2.eps; 
    283  
    284 save pression_eof23_30100.mat pression; 
     284print('-depsc2','composite_hgt925_EOF23_30100_part2.eps'); 
     285 
     286save('pression_eof23_30100.mat','pression;'); 
  • /trunk/src/mode_sahelien/composite_hgt925_EOF24_1030.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof24_1030.txt 
     50status=load('eof24_1030.txt'); 
     51eof24_1030=status; 
     52clear status; 
    5153ind_olr=reshape(eof24_1030,122,28); 
    5254k=122*28; 
     
    189191             end; 
    190192          end; 
    191        end 
     193       end; 
    192194       subplot(7,1,8-e); 
    193195       palette 
     
    215217       else 
    216218            sauvegrads('composite_hgt925_mode_sahel_1030_moins18',delta_hgt925,[-180 2.5 -10 2.5]); 
    217        end 
     219       end; 
    218220delta_hgt925=flipud(delta_hgt925); 
    219221 
     
    241243end; 
    242244 
    243 print -depsc2 composite_hgt925_EOF234_1030_part1.eps; 
     245print('-depsc2','composite_hgt925_EOF234_1030_part1.eps'); 
    244246 
    245247figure(2); 
     
    264266             end; 
    265267          end; 
    266        end 
     268       end; 
    267269       subplot(7,1,8-e); 
    268270       palette; 
     
    316318end; 
    317319 
    318 print -depsc2 composite_hgt925_EOF234_1030_part2.eps; 
     320print('-depsc2','composite_hgt925_EOF234_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt925_eof23_2590.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load ind_olr_25_90_eof23.txt; 
     50status=load('ind_olr_25_90_eof23.txt'); 
     51ind_olr_25_90_eof23=status; 
     52clear status; 
    5153ind_olr=reshape(ind_olr_25_90_eof23,122,28); 
    5254k=122*28; 
     
    189191             end; 
    190192          end; 
    191        end 
     193       end; 
    192194       subplot(7,1,8-e); 
    193195       hold on; 
     
    224226end; 
    225227 
    226 print -depsc2 compo_hgt925_eof2590_part1.eps; 
     228print('-depsc2','compo_hgt925_eof2590_part1.eps'); 
    227229 
    228230figure(2); 
     
    248250             end; 
    249251          end; 
    250        end 
     252       end; 
    251253       subplot(7,1,8-e); 
    252254       hold on; 
     
    283285end; 
    284286 
    285 print -depsc2 compo_hgt925_eof2590_part2.eps; 
    286  
    287 save pression.mat pression; 
     287print('-depsc2','compo_hgt925_eof2590_part2.eps'); 
     288 
     289save('pression.mat','pression;'); 
  • /trunk/src/mode_sahelien/composite_hgt925_eof23_2590_bis.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load ind_olr_25_90_eof23.txt; 
     50status=load('ind_olr_25_90_eof23.txt'); 
     51ind_olr_25_90_eof23=status; 
     52clear status; 
    5153ind_olr=reshape(ind_olr_25_90_eof23,122,28); 
    5254k=122*28; 
     
    188190             end; 
    189191          end; 
    190        end 
     192       end; 
    191193       subplot(7,1,8-e); 
    192194       palette 
     
    221223end; 
    222224 
    223 print -depsc2 compo_hgt925_eof2590_part1_lat_moy.eps; 
     225print('-depsc2','compo_hgt925_eof2590_part1_lat_moy.eps'); 
    224226 
    225227figure(2); 
     
    244246             end; 
    245247          end; 
    246        end 
     248       end; 
    247249       subplot(7,1,8-e); 
    248250       palette 
     
    277279end; 
    278280 
    279 print -depsc2 compo_hgt925_eof2590_part2_lat_moy.eps; 
     281print('-depsc2','compo_hgt925_eof2590_part2_lat_moy.eps'); 
  • /trunk/src/mode_sahelien/composite_hgt925_rossby.m

    r20 r30  
    4040clear hgt700; 
    4141 
    42 load eof2_olr_rossby_jjas.txt; 
     42status=load('eof2_olr_rossby_jjas.txt'); 
     43eof2_olr_rossby_jjas=status; 
     44clear status; 
    4345% on met sous la forme annee mois 
    4446olr_eof=reshape(eof2_olr_rossby_jjas,122,22);  
     
    181183             end; 
    182184          end; 
    183        end 
     185       end; 
    184186       subplot(7,1,8-e); 
    185187       hold on; 
     
    256258       else 
    257259      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    258        end 
     260       end; 
    259261       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    260262       if e==4; 
     
    269271       if e==7; 
    270272           title('EOF2 filtre Rossby','fontsize',8) ; 
    271        end 
     273       end; 
    272274       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    273275       pos_vert=e/10; 
     
    275277end; 
    276278 
    277 save pression.mat pression; 
     279save('pression.mat','pression;'); 
  • /trunk/src/mode_sahelien/composite_hgt925_sahel.m

    r20 r30  
    193193             end; 
    194194          end; 
    195        end 
     195       end; 
    196196       subplot(7,1,8-e); 
    197197       hold on; 
     
    227227       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    228228end; 
    229 print -depsc2 compo_hgt700_sahel.eps 
     229print('-depsc2','compo_hgt700_sahel.eps'); 
    230230 
    231231figure(2); 
     
    251251             end; 
    252252          end; 
    253        end 
     253       end; 
    254254       subplot(7,1,8-e); 
    255255       hold on; 
     
    286286end; 
    287287 
    288 print -depsc2 compo_hgt700_sahel.eps 
    289  
    290 save pression.mat pression; 
     288print('-depsc2','compo_hgt700_sahel.eps'); 
     289 
     290save('pression.mat','pression;'); 
  • /trunk/src/mode_sahelien/composite_olr_EOF12_ER1030.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    145144clear olr; 
    146145 
    147 load eof12_rossby_1030.txt; 
     146status=load('eof12_rossby_1030.txt'); 
     147eof12_rossby_1030=status; 
     148clear status; 
    148149% on met sous la forme annee mois 
    149150olr_eof=reshape(eof12_rossby_1030,122,28); 
     
    157158for a=1:3416 
    158159   olrbis(a)=(olrbis(a)-olr_moy)/olr_std; 
    159 end 
     160end; 
    160161clear olr_eof; 
    161162olr_eof=reshape(olrbis,122,28); 
     
    275276           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    276277           student1(a,b,c)=ttest(x,y,.2); 
    277         end 
    278     end 
    279 end 
     278        end; 
     279    end; 
     280end; 
    280281 
    281282% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    316317             end; 
    317318          end; 
    318        end 
     319       end; 
    319320       subplot(7,1,8-e); 
    320321       palette 
     
    330331       else 
    331332      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    332        end 
     333       end; 
    333334       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    334335       if e==4; 
     
    343344       if e==7; 
    344345          title('OLR composite EOF12 ER 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    345        end 
     346       end; 
    346347       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    347348       pos_vert=e/10; 
     
    350351 
    351352figure(1); 
    352 print -depsc2 composite_olr_EOF12_ER1030_part1.eps; 
     353print('-depsc2','composite_olr_EOF12_ER1030_part1.eps'); 
    353354 
    354355figure(2); 
     
    378379             end; 
    379380          end; 
    380        end 
     381       end; 
    381382       subplot(7,1,8-e); 
    382383       palette 
     
    392393       else 
    393394      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    394        end 
     395       end; 
    395396       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    396397       if e==4; 
     
    405406       if e==7; 
    406407           title('OLR composite EOF12 ER 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    407        end 
     408       end; 
    408409       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    409410       pos_vert=e/10; 
     
    412413 
    413414figure(2); 
    414 print -depsc2 composite_olr_EOF12_ER1030_part2.eps; 
     415print('-depsc2','composite_olr_EOF12_ER1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_EOF12_ER1030_centre.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    146145clear olr; 
    147146 
    148 load eof12_rossby_1030.txt; 
     147status=load('eof12_rossby_1030.txt'); 
     148eof12_rossby_1030=status; 
     149clear status; 
    149150% on met sous la forme annee mois 
    150151olr_eof=reshape(eof12_rossby_1030,122,28); 
     
    158159for a=1:3416 
    159160   olrbis(a)=(olrbis(a)-olr_moy)/olr_std; 
    160 end 
     161end; 
    161162clear olr_eof; 
    162163olr_eof=reshape(olrbis,122,28); 
     
    274275           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    275276           student1(a,b,c)=ttest(x,y,.2); 
    276         end 
    277     end 
    278 end 
     277        end; 
     278    end; 
     279end; 
    279280 
    280281% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    315316             end; 
    316317          end; 
    317        end 
     318       end; 
    318319       subplot(7,1,8-e); 
    319320       palette 
     
    329330       else 
    330331      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    331        end 
     332       end; 
    332333       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    333334       if e==4; 
     
    342343       if e==7; 
    343344          title('OLR composite EOF12 ER 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    344        end 
     345       end; 
    345346       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    346347       pos_vert=e/10; 
     
    349350 
    350351figure(1); 
    351 print -depsc2 composite_olr_EOF12_ER1030_part1.eps; 
     352print('-depsc2','composite_olr_EOF12_ER1030_part1.eps'); 
    352353 
    353354figure(2); 
     
    377378             end; 
    378379          end; 
    379        end 
     380       end; 
    380381       subplot(7,1,8-e); 
    381382       palette 
     
    391392       else 
    392393      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    393        end 
     394       end; 
    394395       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    395396       if e==4; 
     
    404405       if e==7; 
    405406           title('OLR composite EOF12 ER 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    406        end 
     407       end; 
    407408       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    408409       pos_vert=e/10; 
     
    411412 
    412413figure(2); 
    413 print -depsc2 composite_olr_EOF12_ER1030_part2.eps; 
     414print('-depsc2','composite_olr_EOF12_ER1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_EOF12_ER30100.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    146145clear olr; 
    147146 
    148 load eof12_rossby_30100.txt; 
     147status=load('eof12_rossby_30100.txt'); 
     148eof12_rossby_30100=status; 
     149clear status; 
    149150% on met sous la forme annee mois 
    150151olr_eof=reshape(eof12_rossby_30100,122,28); 
     
    159160for a=1:3416; 
    160161   olrbis(a)=(olrbis(a)-olr_moy)/olr_std; 
    161 end 
     162end; 
    162163olr_eof=reshape(olrbis,122,28); 
    163164% intialisation des tableaux 
     
    272273           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    273274           student1(a,b,c)=ttest(x,y,.2); 
    274         end 
    275     end 
    276 end 
     275        end; 
     276    end; 
     277end; 
    277278 
    278279% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    313314             end; 
    314315          end; 
    315        end 
     316       end; 
    316317       subplot(7,1,8-e); 
    317318       palette 
     
    338339       else 
    339340            sauvegrads('composite_olr_mode_rossby_30100_moins18',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 
    340        end 
     341       end; 
    341342       delta_olr_filtre_min=flipud(delta_olr_filtre_min); 
    342343 
     
    345346       else 
    346347      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    347        end 
     348       end; 
    348349       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    349350       if e==4; 
     
    358359       if e==7; 
    359360      title('OLR composite EOF12 ER 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 
    360        end 
     361       end; 
    361362       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    362363       pos_vert=e/10; 
     
    365366 
    366367figure(1); 
    367 print -depsc2 composite_olr_EOF12_ER30100_part1.eps; 
     368print('-depsc2','composite_olr_EOF12_ER30100_part1.eps'); 
    368369 
    369370figure(2); 
     
    393394             end; 
    394395          end; 
    395        end 
     396       end; 
    396397       subplot(7,1,8-e); 
    397398       palette 
     
    418419       else 
    419420            sauvegrads('composite_olr_mode_rossby_30100_moins4',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 
    420        end 
     421       end; 
    421422       delta_olr_filtre_min=flipud(delta_olr_filtre_min); 
    422423 
     
    425426       else 
    426427      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    427        end 
     428       end; 
    428429       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    429430       if e==4; 
     
    438439       if e==7; 
    439440           title('OLR composite EOF12 ER 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 
    440        end 
     441       end; 
    441442       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    442443       pos_vert=e/10; 
     
    445446 
    446447figure(2); 
    447 print -depsc2 composite_olr_EOF12_ER30100_part2.eps; 
     448print('-depsc2','composite_olr_EOF12_ER30100_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_EOF12_ER30100_dat.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    146145clear olr; 
    147146 
    148 load eof12_rossby_30100.txt; 
     147status=load('eof12_rossby_30100.txt'); 
     148eof12_rossby_30100=status; 
     149clear status; 
    149150% on met sous la forme annee mois 
    150151olr_eof=reshape(eof12_rossby_30100,122,28); 
     
    269270           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    270271           student1(a,b,c)=ttest(x,y,.2); 
    271         end 
    272     end 
    273 end 
     272        end; 
     273    end; 
     274end; 
    274275 
    275276% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    358359       elseif e==31; 
    359360            sauvegrads('composite_olr_mode_rossby_30100_plus9',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 
    360        end 
     361       end; 
    361362       delta_olr_filtre_min=flipud(delta_olr_filtre_min); 
    362 end 
     363end; 
  • /trunk/src/mode_sahelien/composite_olr_EOF1_1030.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    146145clear olr; 
    147146 
    148 load eof1_1030.txt 
     147status=load('eof1_1030.txt'); 
     148eof1_1030=status; 
     149clear status; 
    149150% on met sous la forme annee mois 
    150151olr_eof=reshape(eof1_1030,122,28); 
     
    263264           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    264265           student1(a,b,c)=ttest(x,y,.2); 
    265         end 
    266     end 
    267 end 
     266        end; 
     267    end; 
     268end; 
    268269 
    269270% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    304305             end; 
    305306          end; 
    306        end 
     307       end; 
    307308       subplot(7,1,8-e); 
    308309       palette 
     
    332333       if e==7; 
    333334      title('OLR composite EOF1 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    334        end 
     335       end; 
    335336       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    336337       pos_vert=e/10; 
     
    339340 
    340341figure(1); 
    341 print -depsc2 composite_olr_EOF1_1030_part1.eps; 
     342print('-depsc2','composite_olr_EOF1_1030_part1.eps'); 
    342343 
    343344figure(2); 
     
    367368             end; 
    368369          end; 
    369        end 
     370       end; 
    370371       subplot(7,1,8-e); 
    371372       palette 
     
    395396       if e==7; 
    396397           title('OLR composite EOF1 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    397        end 
     398       end; 
    398399       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    399400       pos_vert=e/10; 
     
    402403 
    403404figure(2); 
    404 print -depsc2 composite_olr_EOF1_1030_part2.eps; 
     405print('-depsc2','composite_olr_EOF1_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_EOF1_30100.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    146145clear olr; 
    147146 
    148 load eof1_30100.txt 
     147status=load('eof1_30100.txt'); 
     148eof1_30100=status; 
     149clear status; 
    149150% on met sous la forme annee mois 
    150151olr_eof=reshape(eof1_30100,122,28); 
     
    263264           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    264265           student1(a,b,c)=ttest(x,y,.2); 
    265         end 
    266     end 
    267 end 
     266        end; 
     267    end; 
     268end; 
    268269 
    269270% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    304305             end; 
    305306          end; 
    306        end 
     307       end; 
    307308       subplot(7,1,8-e); 
    308309       palette 
     
    332333       if e==7; 
    333334      title('OLR composite EOF1 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 
    334        end 
     335       end; 
    335336       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    336337       pos_vert=e/10; 
     
    339340 
    340341figure(1); 
    341 print -depsc2 composite_olr_EOF1_30100_part1.eps; 
     342print('-depsc2','composite_olr_EOF1_30100_part1.eps'); 
    342343 
    343344figure(2); 
     
    367368             end; 
    368369          end; 
    369        end 
     370       end; 
    370371       subplot(7,1,8-e); 
    371372       palette 
     
    395396       if e==7; 
    396397           title('OLR composite EOF1 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 
    397        end 
     398       end; 
    398399       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    399400       pos_vert=e/10; 
     
    402403 
    403404figure(2); 
    404 print -depsc2 composite_olr_EOF1_30100_part2.eps; 
     405print('-depsc2','composite_olr_EOF1_30100_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_EOF23_1030.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    146145clear olr; 
    147146 
    148 load eof23_1030.txt 
     147status=load('eof23_1030.txt'); 
     148eof23_1030=status; 
     149clear status; 
    149150% on met sous la forme annee mois 
    150151olr_eof=reshape(eof23_1030,122,28); 
     
    271272           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    272273           student1(a,b,c)=ttest(x,y,.2); 
    273         end 
    274     end 
    275 end 
     274        end; 
     275    end; 
     276end; 
    276277 
    277278% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    312313             end; 
    313314          end; 
    314        end 
     315       end; 
    315316       subplot(7,1,8-e); 
    316317       palette 
     
    343344       else 
    344345      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    345        end 
     346       end; 
    346347       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    347348       if e==4; 
     
    356357       if e==7; 
    357358      title('OLR composite EOF23 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    358        end 
     359       end; 
    359360       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    360361       pos_vert=e/10; 
     
    363364 
    364365figure(1); 
    365 print -depsc2 composite_olr_EOF23_1030_part1.eps; 
     366print('-depsc2','composite_olr_EOF23_1030_part1.eps'); 
    366367 
    367368figure(2); 
     
    391392             end; 
    392393          end; 
    393        end 
     394       end; 
    394395       subplot(7,1,8-e); 
    395396       palette 
     
    416417       else 
    417418            sauvegrads('composite_olr_eof23_1030_moins4',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 
    418        end 
     419       end; 
    419420       delta_olr_filtre_min=flipud(delta_olr_filtre_min); 
    420421 
     
    423424       else 
    424425      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    425        end 
     426       end; 
    426427       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';'  0';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    427428       if e==4; 
     
    436437       if e==7; 
    437438           title('OLR composite EOF23 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    438        end 
     439       end; 
    439440       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    440441       pos_vert=e/10; 
     
    443444 
    444445figure(2); 
    445 print -depsc2 composite_olr_EOF23_1030_part2.eps; 
     446print('-depsc2','composite_olr_EOF23_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_EOF23_30100.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    146145clear olr; 
    147146 
    148 load eof23_30100.txt 
     147status=load('eof23_30100.txt'); 
     148eof23_30100=status; 
     149clear status; 
    149150% on met sous la forme annee mois 
    150151olr_eof=reshape(eof23_30100,122,28); 
     
    263264           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    264265           student1(a,b,c)=ttest(x,y,.2); 
    265         end 
    266     end 
    267 end 
     266        end; 
     267    end; 
     268end; 
    268269 
    269270% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    304305             end; 
    305306          end; 
    306        end 
     307       end; 
    307308       subplot(7,1,8-e); 
    308309       palette 
     
    332333       if e==7; 
    333334      title('OLR composite EOF23 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 
    334        end 
     335       end; 
    335336       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    336337       pos_vert=e/10; 
     
    339340 
    340341figure(1); 
    341 print -depsc2 composite_olr_EOF23_30100_part1.eps; 
     342print('-depsc2','composite_olr_EOF23_30100_part1.eps'); 
    342343 
    343344figure(2); 
     
    367368             end; 
    368369          end; 
    369        end 
     370       end; 
    370371       subplot(7,1,8-e); 
    371372       palette 
     
    395396       if e==7; 
    396397           title('OLR composite EOF23 30100j ITCZ 7.5-12.5 ','fontsize',8) ; 
    397        end 
     398       end; 
    398399       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    399400       pos_vert=e/10; 
     
    402403 
    403404figure(2); 
    404 print -depsc2 composite_olr_EOF23_30100_part2.eps; 
     405print('-depsc2','composite_olr_EOF23_30100_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_EOF24_1030.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    146145clear olr; 
    147146 
    148 load eof24_1030.txt 
     147status=load('eof24_1030.txt'); 
     148eof24_1030=status; 
     149clear status; 
    149150% on met sous la forme annee mois 
    150151olr_eof=reshape(eof24_1030,122,28); 
     
    159160for a=1:k; 
    160161   olrbis(a)=(olrbis(a)-olr_moy)/olr_std; 
    161 end 
     162end; 
    162163 
    163164clear olr_eof; 
     
    272273           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    273274           student1(a,b,c)=ttest(x,y,.2); 
    274         end 
    275     end 
     275        end; 
     276    end; 
    276277end; 
    277278 
     
    313314             end; 
    314315          end; 
    315        end 
     316       end; 
    316317       subplot(7,1,8-e); 
    317318       palette 
     
    342343       if e==7; 
    343344          title('OLR composite EOF234 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    344        end 
     345       end; 
    345346       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    346347       pos_vert=e/10; 
     
    349350 
    350351figure(1); 
    351 print -depsc2 composite_olr_EOF234_1030_part1.eps; 
     352print('-depsc2','composite_olr_EOF234_1030_part1.eps'); 
    352353 
    353354figure(2); 
     
    377378             end; 
    378379          end; 
    379        end 
     380       end; 
    380381       subplot(7,1,8-e); 
    381382       palette 
     
    406407       if e==7; 
    407408      title('OLR composite EOF234 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    408        end 
     409       end; 
    409410       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    410411       pos_vert=e/10; 
     
    413414 
    414415figure(2); 
    415 print -depsc2 composite_olr_EOF234_1030_part2.eps; 
     416print('-depsc2','composite_olr_EOF234_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_EOF24_1030_passbande.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    169168for a=1:k; 
    170169   olrbis(a)=(olrbis(a)-olr_moy)/olr_std; 
    171 end 
     170end; 
    172171 
    173172clear olr_eof; 
     
    282281           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    283282           student1(a,b,c)=ttest(x,y,.2); 
    284         end 
    285     end 
     283        end; 
     284    end; 
    286285end; 
    287286 
     
    323322             end; 
    324323          end; 
    325        end 
     324       end; 
    326325       subplot(7,1,8-e); 
    327326       palette 
     
    352351       if e==7; 
    353352      title('OLR composite EOF234 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    354        end 
     353       end; 
    355354       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    356355       pos_vert=e/10; 
     
    359358 
    360359figure(1); 
    361 print -depsc2 composite_olr_EOF234_1030_part1.eps; 
     360print('-depsc2','composite_olr_EOF234_1030_part1.eps'); 
    362361 
    363362figure(2); 
     
    387386             end; 
    388387          end; 
    389        end 
     388       end; 
    390389       subplot(7,1,8-e); 
    391390       palette 
     
    416415       if e==7; 
    417416      title('OLR composite EOF234 1030j ITCZ 7.5-12.5 ','fontsize',8) ; 
    418        end 
     417       end; 
    419418       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    420419       pos_vert=e/10; 
     
    423422 
    424423figure(2); 
    425 print -depsc2 composite_olr_EOF234_1030_part2.eps; 
     424print('-depsc2','composite_olr_EOF234_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_ER1030.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    146145clear olr; 
    147146 
    148 load eof12_rossby_1030.txt 
     147status=load('eof12_rossby_1030.txt'); 
     148eof12_rossby_1030=status; 
     149clear status; 
    149150 
    150151% on met sous la forme annee mois 
     
    264265           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    265266           student1(a,b,c)=ttest(x,y,.2); 
    266         end 
    267     end 
    268 end 
     267        end; 
     268    end; 
     269end; 
    269270 
    270271% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    305306             end; 
    306307          end; 
    307        end 
     308       end; 
    308309       subplot(7,1,8-e); 
    309310       palette 
     
    330331       else 
    331332            sauvegrads('composite_olr_mode_rossby_moins18',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 
    332        end 
     333       end; 
    333334 
    334335        if e==1; 
     
    336337       else 
    337338      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    338        end 
     339       end; 
    339340       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    340341       if e==4; 
     
    349350       if e==7; 
    350351           title('EOF2 filtre Rossby 10-25j','fontsize',8) ; 
    351        end 
     352       end; 
    352353       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    353354       pos_vert=e/10; 
     
    356357 
    357358figure(1); 
    358 print -depsc2 composite_olr_jjas_rossby_1030_eof2a.eps; 
     359print('-depsc2','composite_olr_jjas_rossby_1030_eof2a.eps'); 
    359360 
    360361figure(2); 
     
    384385             end; 
    385386          end; 
    386        end 
     387       end; 
    387388       subplot(7,1,8-e); 
    388389       palette 
     
    409410       else 
    410411            sauvegrads('composite_olr_mode_rossby_moins4',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 
    411        end 
     412       end; 
    412413       delta_olr_filtre_min=flipud(delta_olr_filtre_min); 
    413414       if e==1; 
     
    415416       else 
    416417      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    417        end 
     418       end; 
    418419       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    419420       if e==4; 
     
    428429       if e==7; 
    429430           title('EOF2 filtre Rossby 10-25j','fontsize',8) ; 
    430        end 
     431       end; 
    431432       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    432433       pos_vert=e/10; 
     
    435436 
    436437figure(2); 
    437 print -depsc2 composite_olr_jjas_rossby_1030_eof2b.eps; 
     438print('-depsc2','composite_olr_jjas_rossby_1030_eof2b.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_ER1030_filtre.m

    r20 r30  
    109109clear olr; 
    110110 
    111 load eof12_rossby_1030.txt 
     111status=load('eof12_rossby_1030.txt'); 
     112eof12_rossby_1030=status; 
     113clear status; 
    112114 
    113115% on met sous la forme annee mois 
     
    173175        end; 
    174176    end; 
    175 end 
     177end; 
    176178sauvegrads('composite_olr_EOF12_ER1030',delta_olr_filtre_min,[-180 2.5 -30 2.5]); 
    177179delta_olr_filtre_min(1,1)=-25.0001; 
  • /trunk/src/mode_sahelien/composite_olr_eof234_1030_filtre.m

    r20 r30  
    1414clear olr 
    1515 
    16 cd('..'); 
    1716ncload('olr.day.mean.nc','lon','lat'); 
     17 
    1818lat=lat(21:45); 
    1919lon=lon-180; 
    20 cd('mode_sahelien'); 
    2120 
    22 load eof24_1030.txt 
     21status=load('eof24_1030.txt'); 
     22eof24_1030=status; 
     23clear status; 
    2324 
    2425% on met sous la forme annee mois 
     
    8687        end; 
    8788    end; 
    88 end 
     89end; 
    8990delta_olr_filtre_min=flipud(delta_olr_filtre_min); 
    9091sauvegrads('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  
    1414clear olr; 
    1515 
    16 cd('..'); 
    1716ncload('olr.day.mean.nc','lon','lat'); 
     17 
    1818lat=lat(21:45); 
    1919lon=lon-180; 
    20 cd('mode_sahelien'); 
    2120 
    22 load eof23_1030.txt 
     21status=load('eof23_1030.txt'); 
     22eof23_1030=status; 
     23clear status; 
    2324 
    2425% on met sous la forme annee mois 
     
    8687        end; 
    8788    end; 
    88 end 
     89end; 
    8990delta_olr_filtre_min=flipud(delta_olr_filtre_min); 
    9091sauvegrads('composite_olr_EOF23_1030',delta_olr_filtre_min,[-180 2.5 -20 2.5]); 
     
    114115title('Composite t=0 OLR et Pluies IRD indice ITCZ reconstruit EOF23','fontsize',6); 
    115116 
    116 print -depsc2 carte_olr_eof23.eps 
     117print('-depsc2','carte_olr_eof23.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_phase.m

    r20 r30  
    3333 
    3434figure(1); 
    35 print -depsc2 composite_olr_phase_14.eps; 
     35print('-depsc2','composite_olr_phase_14.eps'); 
    3636figure(2); 
    37 print -depsc2 composite_olr_phase_58.eps; 
     37print('-depsc2','composite_olr_phase_58.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_phase1.m

    r20 r30  
    44clear; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc'); 
    8 cd('mode_sahelien'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4140      for c=1:siz; 
    4241           vecteur(c)=olr1(a,b,c); 
    43       end 
     42      end; 
    4443      std_c=nanmean(vecteur); 
    4544      for c=1:siz; 
    4645          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    47       end 
    48    end 
     46      end; 
     47   end; 
    4948end; 
    5049 
     
    152151clear olr2; 
    153152 
    154 load phase1.txt; 
     153status=load('phase1.txt'); 
     154phase1=status; 
     155clear status; 
    155156phase1=reshape(phase1,122,28,3); 
    156157olr_filtre_compomax=zeros(90,21,144); 
  • /trunk/src/mode_sahelien/composite_olr_phase1_old.m

    r20 r30  
    44clear; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc'); 
    8 cd('mode_sahelien'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4140      for c=1:siz; 
    4241           vecteur(c)=olr1(a,b,c); 
    43       end 
     42      end; 
    4443      std_c=nanmean(vecteur); 
    4544      for c=1:siz; 
    4645          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    47       end 
    48    end 
     46      end; 
     47   end; 
    4948end; 
    5049 
     
    149148 
    150149clear; 
    151 load phase1.txt; 
     150status=load('phase1.txt'); 
     151phase1=status; 
     152clear status; 
    152153phase1=reshape(phase1,122,28,3); 
    153154 
     
    223224             end; 
    224225          end; 
    225        end 
     226       end; 
    226227       subplot(7,1,8-e); 
    227228       palette 
     
    248249       else 
    249250            sauvegrads('composite_olr_mode_rossby_moins18',delta_olr_filtre_min,[-180 2.5 -10 2.5]); 
    250        end 
     251       end; 
    251252 
    252253        if e==1; 
     
    254255       else 
    255256      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    256        end 
     257       end; 
    257258       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    258259       if e==4; 
     
    267268       if e==7; 
    268269           title('EOF2 filtre Rossby 10-25j','fontsize',8) ; 
    269        end 
     270       end; 
    270271       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    271272       pos_vert=e/10; 
     
    273274 
    274275figure(1); 
    275 print -depsc2 composite_olr_jjas_rossby_1030_eof2a.eps; 
     276print('-depsc2','composite_olr_jjas_rossby_1030_eof2a.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_phase2.m

    r20 r30  
    44clear; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc'); 
    8 cd('mode_sahelien'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4140      for c=1:siz; 
    4241           vecteur(c)=olr1(a,b,c); 
    43       end 
     42      end; 
    4443      std_c=nanmean(vecteur); 
    4544      for c=1:siz; 
    4645          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    47       end 
    48    end 
     46      end; 
     47   end; 
    4948end; 
    5049 
     
    149148clear olr; 
    150149olr2=reshape(olr1,3416,21,144); 
    151 olr3(:,:)=mean(olr2); clear olr2; 
    152  
    153 load phase2.txt; 
     150olr3(:,:)=mean(olr2); 
     151clear olr2; 
     152 
     153status=load('phase2.txt'); 
     154phase2=status; 
     155clear status; 
    154156phase2=reshape(phase2,122,28,3); 
    155  olr_filtre_compomax=zeros(90,21,144); 
     157olr_filtre_compomax=zeros(90,21,144); 
    156158compteurmax=0; 
    157159 
  • /trunk/src/mode_sahelien/composite_olr_phase3.m

    r20 r30  
    44clear; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc'); 
    8 cd('mode_sahelien'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4140      for c=1:siz; 
    4241           vecteur(c)=olr1(a,b,c); 
    43       end 
     42      end; 
    4443      std_c=nanmean(vecteur); 
    4544      for c=1:siz; 
    4645          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    47       end 
    48    end 
     46      end; 
     47   end; 
    4948end; 
    5049 
     
    152151clear olr2; 
    153152 
    154 load phase3.txt; 
     153status=load('phase3.txt'); 
     154phase3=status; 
     155clear status; 
    155156phase3=reshape(phase3,122,28,3); 
    156  olr_filtre_compomax=zeros(90,21,144); 
     157olr_filtre_compomax=zeros(90,21,144); 
    157158compteurmax=0; 
    158159 
  • /trunk/src/mode_sahelien/composite_olr_phase4.m

    r20 r30  
    44clear; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc'); 
    8 cd('mode_sahelien'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4140      for c=1:siz; 
    4241           vecteur(c)=olr1(a,b,c); 
    43       end 
     42      end; 
    4443      std_c=nanmean(vecteur); 
    4544      for c=1:siz; 
    4645          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    47       end 
    48    end 
     46      end; 
     47   end; 
    4948end; 
    5049 
     
    149148clear olr; 
    150149olr2=reshape(olr1,3416,21,144); 
    151 olr3(:,:)=mean(olr2); clear olr2; 
    152  
    153 load phase4.txt; 
     150olr3(:,:)=mean(olr2); 
     151clear olr2; 
     152 
     153status=load('phase4.txt'); 
     154phase4=status; 
     155clear status; 
    154156phase4=reshape(phase4,122,28,3); 
    155  olr_filtre_compomax=zeros(90,21,144); 
     157olr_filtre_compomax=zeros(90,21,144); 
    156158compteurmax=0; 
    157159 
  • /trunk/src/mode_sahelien/composite_olr_phase5.m

    r20 r30  
    44clear; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc'); 
    8 cd('mode_sahelien'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4140      for c=1:siz; 
    4241           vecteur(c)=olr1(a,b,c); 
    43       end 
     42      end; 
    4443      std_c=nanmean(vecteur); 
    4544      for c=1:siz; 
    4645          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    47       end 
    48    end 
     46      end; 
     47   end; 
    4948end; 
    5049 
     
    152151clear olr2; 
    153152 
    154 load phase5.txt; 
     153status=load('phase5.txt'); 
     154phase5=status; 
     155clear status; 
    155156phase5=reshape(phase5,122,28,3); 
    156  olr_filtre_compomax=zeros(90,21,144); 
     157olr_filtre_compomax=zeros(90,21,144); 
    157158compteurmax=0; 
    158159 
  • /trunk/src/mode_sahelien/composite_olr_phase6.m

    r20 r30  
    44clear; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc'); 
    8 cd('mode_sahelien'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4140      for c=1:siz; 
    4241           vecteur(c)=olr1(a,b,c); 
    43       end 
     42      end; 
    4443      std_c=nanmean(vecteur); 
    4544      for c=1:siz; 
    4645          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    47       end 
    48    end 
     46      end; 
     47   end; 
    4948end; 
    5049 
     
    152151clear olr2; 
    153152 
    154 load phase6.txt; 
     153status=load('phase6.txt'); 
     154phase6=status; 
     155clear status; 
    155156phase6=reshape(phase6,122,28,3); 
    156  olr_filtre_compomax=zeros(90,21,144); 
     157olr_filtre_compomax=zeros(90,21,144); 
    157158compteurmax=0; 
    158159 
  • /trunk/src/mode_sahelien/composite_olr_phase7.m

    r20 r30  
    44clear; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc'); 
    8 cd('mode_sahelien'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4140      for c=1:siz; 
    4241           vecteur(c)=olr1(a,b,c); 
    43       end 
     42      end; 
    4443      std_c=nanmean(vecteur); 
    4544      for c=1:siz; 
    4645          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    47       end 
    48    end 
     46      end; 
     47   end; 
    4948end; 
    5049 
     
    149148clear olr; 
    150149olr2=reshape(olr1,3416,21,144); 
    151 olr3(:,:)=mean(olr2); clear olr2; 
    152  
    153 load phase7.txt; 
     150olr3(:,:)=mean(olr2); 
     151clear olr2; 
     152 
     153status=load('phase7.txt'); 
     154phase6=status; 
     155clear status; 
    154156phase7=reshape(phase7,122,28,3); 
    155  olr_filtre_compomax=zeros(90,21,144); 
     157olr_filtre_compomax=zeros(90,21,144); 
    156158compteurmax=0; 
    157159 
  • /trunk/src/mode_sahelien/composite_olr_phase8.m

    r20 r30  
    44clear; 
    55 
    6 cd('..'); 
    76ncload('olr.day.mean.nc'); 
    8 cd('mode_sahelien'); 
     7 
    98% taille 12327x73x144 1er juin 1974-31 decembre2007 
    109% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4140      for c=1:siz; 
    4241           vecteur(c)=olr1(a,b,c); 
    43       end 
     42      end; 
    4443      std_c=nanmean(vecteur); 
    4544      for c=1:siz; 
    4645          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    47       end 
    48    end 
     46      end; 
     47   end; 
    4948end; 
    5049 
     
    152151clear olr2; 
    153152 
    154 load phase8.txt; 
     153status=load('phase8.txt'); 
     154phase8=status; 
     155clear status; 
    155156phase8=reshape(phase8,122,28,3); 
    156  olr_filtre_compomax=zeros(90,21,144); 
     157olr_filtre_compomax=zeros(90,21,144); 
    157158compteurmax=0; 
    158159 
  • /trunk/src/mode_sahelien/composite_olr_sahel_1025.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    146145clear olr; 
    147146 
    148 %load ind_olr_10_25_eof234.txt 
    149 load eof24_1025.txt 
     147status=load('eof24_1025.txt'); 
     148eof24_1025=status; 
     149clear status; 
    150150% on met sous la forme annee mois 
    151151olr_eof=reshape(eof24_1025,122,28); 
     
    264264           y=olr_filtre_compomax(1:nb_value,a,b,c); 
    265265           student1(a,b,c)=ttest(x,y,.2); 
    266         end 
    267     end 
    268 end 
     266        end; 
     267    end; 
     268end; 
    269269 
    270270% on fait la somme des valeurs de olr_filtreentiel sur le nbre d occurences 
     
    305305             end; 
    306306          end; 
    307        end 
     307       end; 
    308308       subplot(7,1,8-e); 
    309309       palette; 
     
    319319       else 
    320320      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    321        end 
     321       end; 
    322322       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    323323       if e==4; 
     
    332332       if e==7; 
    333333           title('composites OLR filtre 10-25 jours EOF234','fontsize',8) ; 
    334        end 
     334       end; 
    335335       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    336336       pos_vert=e/10; 
     
    339339 
    340340figure(1); 
    341 print -depsc2 composite_olr_jjas_sahel_10_25_eof234_part1.eps; 
     341print('-depsc2','composite_olr_jjas_sahel_10_25_eof234_part1.eps'); 
    342342 
    343343figure(2); 
     
    367367             end; 
    368368          end; 
    369        end 
     369       end; 
    370370       subplot(7,1,8-e); 
    371371       palette 
     
    381381       else 
    382382      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    383        end 
     383       end; 
    384384       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    385385       if e==4; 
     
    394394       if e==7; 
    395395           title('composites OLR filtre 10-25 jours EOF234','fontsize',8) ; 
    396        end 
     396       end; 
    397397       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    398398       pos_vert=e/10; 
     
    401401 
    402402figure(2); 
    403 print -depsc2 composite_olr_jjas_sahel_10_25_eof234_part2.eps; 
     403print('-depsc2','composite_olr_jjas_sahel_10_25_eof234_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_olr_sahel_pb_3j.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
     
    432431             end; 
    433432          end; 
    434        end 
     433       end; 
    435434       subplot(7,1,8-e); 
    436435       palettejerome30 
     
    464463end; 
    465464 
    466 print -depsc2 compo_olr_eof234_1025_pb1_seuil_150.eps; 
     465print('-depsc2','compo_olr_eof234_1025_pb1_seuil_150.eps'); 
    467466 
    468467figure(2); 
     
    487486             end; 
    488487          end; 
    489        end 
     488       end; 
    490489       subplot(7,1,8-e); 
    491490       palettejerome30; 
     
    518517       set (gca,'position',[0.2 pos_vert 0.5 0.1]); 
    519518end; 
    520 print -depsc2 compo_olr_eof234_1025_pb2_seuil_150.eps; 
     519print('-depsc2','compo_olr_eof234_1025_pb2_seuil_150.eps'); 
  • /trunk/src/mode_sahelien/composite_pluie_eof234_1030.m

    r20 r30  
    44% ouverture / lecture du fichier 
    55clear; 
    6 cd('Pluie_ird_25'); 
    76 
    87% on selectionne les mois d ete (attention aux annees bixestiles!) 
     
    228227clear siz sizbis; 
    229228clear 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 
     230status=load('eof24_1030.txt'); 
     231eof24_1030=status; 
     232clear status; 
    238233 
    239234% on met sous la forme annee mois 
     
    306301         end; 
    307302    end; 
    308 end 
     303end; 
    309304diff(1,1)=-5.01; 
    310305diff(1,2)=5.01; 
  • /trunk/src/mode_sahelien/composite_pluie_eof23_1030.m

    r20 r30  
    44% ouverture / lecture du fichier 
    55clear; 
    6 cd('Pluie_ird_25'); 
    76 
    87% on selectionne les mois d ete (attention aux annees bixestiles!) 
     
    222221clear siz sizbis; 
    223222clear 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 
     224status=load('eof23_1030.txt'); 
     225eof23_1030=status; 
     226clear status; 
    232227 
    233228% on met sous la forme annee mois 
     
    299294         end; 
    300295    end; 
    301 end 
     296end; 
    302297diff(1,1)=-5.01; 
    303298diff(1,2)=5.01; 
  • /trunk/src/mode_sahelien/composite_pluie_ird_rossby.m

    r20 r30  
    55clear; 
    66close all; 
    7 cd('Pluie_ird_25'); 
    87 
    98% on selectionne les mois d ete (attention aux annees bixestiles!) 
     
    220219clear siz sizbis; 
    221220clear 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 
     222status=load('eof2_olr_rossby_jjas.txt'); 
     223eof2_olr_rossby_jjas=status; 
     224clear status; 
    230225% on met sous la forme annee mois 
    231226eof2_olr_rossby_jjas=reshape(eof2_olr_rossby_jjas,122,22); 
     
    369364             end; 
    370365          end; 
    371        end 
     366       end; 
    372367       pluie_min(1,1)=-0.0001; 
    373368       pluie_min(1,2)=10.0001; 
     
    460455end; 
    461456figure(1); 
    462 print -depsc2 composite_pluie_min_eof2a.eps; 
     457print('-depsc2','composite_pluie_min_eof2a.eps'); 
    463458figure(2); 
    464 print -depsc2 composite_pluie_max_eof2a.eps; 
     459print('-depsc2','composite_pluie_max_eof2a.eps'); 
    465460figure(3); 
    466 print -depsc2 composite_pluie_diff_eof2a.eps; 
     461print('-depsc2','composite_pluie_diff_eof2a.eps'); 
    467462close all 
    468463 
     
    496491             end; 
    497492          end; 
    498        end 
     493       end; 
    499494       pluie_min(1,1)=-0.0001; 
    500495       pluie_min(1,2)=10.0001; 
     
    586581end; 
    587582figure(1); 
    588 print -depsc2 composite_pluie_min_eof2b.eps; 
     583print('-depsc2','composite_pluie_min_eof2b.eps'); 
    589584figure(2); 
    590 print -depsc2 composite_pluie_max_eof2b.eps; 
     585print('-depsc2','composite_pluie_max_eof2b.eps'); 
    591586figure(3); 
    592 print -depsc2 composite_pluie_diff_eof2b.eps; 
     587print('-depsc2','composite_pluie_diff_eof2b.eps'); 
  • /trunk/src/mode_sahelien/composite_pluie_ird_rossby1030.m

    r20 r30  
    55clear; 
    66close all; 
    7 cd('Pluie_ird_25'); 
    87 
    98% on selectionne les mois d ete (attention aux annees bixestiles!) 
     
    220219clear siz sizbis; 
    221220clear 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 
     222status=load('eof12_rossby_1030.txt'); 
     223eof12_rossby_1030=status; 
     224clear status; 
    230225 
    231226% on met sous la forme annee mois 
     
    371366             end; 
    372367          end; 
    373        end 
     368       end; 
    374369       pluie_min(1,1)=-0.0001; 
    375370       pluie_min(1,2)=10.0001; 
     
    462457end; 
    463458figure(1); 
    464 print -depsc2 composite_pluie_min_eof2a.eps; 
     459print('-depsc2','composite_pluie_min_eof2a.eps'); 
    465460figure(2); 
    466 print -depsc2 composite_pluie_max_eof2a.eps; 
     461print('-depsc2','composite_pluie_max_eof2a.eps'); 
    467462figure(3); 
    468 print -depsc2 composite_pluie_diff_eof2a.eps; 
     463print('-depsc2','composite_pluie_diff_eof2a.eps'); 
    469464close all; 
    470465 
     
    498493             end; 
    499494          end; 
    500        end 
     495       end; 
    501496       pluie_min(1,1)=-0.0001; 
    502497       pluie_min(1,2)=10.0001; 
     
    588583end; 
    589584figure(1); 
    590 print -depsc2 composite_pluie_min_eof2b.eps; 
     585print('-depsc2','composite_pluie_min_eof2b.eps'); 
    591586figure(2); 
    592 print -depsc2 composite_pluie_max_eof2b.eps; 
     587print('-depsc2','composite_pluie_max_eof2b.eps'); 
    593588figure(3); 
    594 print -depsc2 composite_pluie_diff_eof2b.eps; 
     589print('-depsc2','composite_pluie_diff_eof2b.eps'); 
  • /trunk/src/mode_sahelien/composite_pluie_ird_rossby1030b.m

    r20 r30  
    44% ouverture / lecture du fichier 
    55clear; 
    6 cd('Pluie_ird_25'); 
    76 
    87% on selectionne les mois d ete (attention aux annees bixestiles!) 
     
    219218clear siz sizbis; 
    220219clear 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 
     221status=load('eof12_rossby_1030.txt'); 
     222eof12_rossby_1030=status; 
     223clear status; 
    229224 
    230225% on met sous la forme annee mois 
     
    297292         end; 
    298293    end; 
    299 end 
     294end; 
    300295diff(1,1)=-5.01; 
    301296diff(1,2)=5.01; 
  • /trunk/src/mode_sahelien/composite_pluie_ird_rossby30100b.m

    r20 r30  
    44% ouverture / lecture du fichier 
    55clear; 
    6 cd('Pluie_ird_25'); 
    76 
    87% on selectionne les mois d ete (attention aux annees bixestiles!) 
     
    219218clear siz sizbis; 
    220219clear 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 
     221status=load('eof12_rossby_30100.txt'); 
     222eof12_rossby_30100=status; 
     223clear status; 
    229224 
    230225% on met sous la forme annee mois 
     
    297292         end; 
    298293    end; 
    299 end 
     294end; 
    300295diff(1,1)=-5.01; 
    301296diff(1,2)=5.01; 
  • /trunk/src/mode_sahelien/composite_pluie_ird_sahel.m

    r20 r30  
    55clear; 
    66close all; 
    7 cd('Pluie_ird_25'); 
    87 
    98% on selectionne les mois d ete (attention aux annees bixestiles!) 
     
    220219clear siz sizbis; 
    221220clear 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 
     222status=load('eof24_1030.txt'); 
     223eof24_1030=status; 
     224clear status; 
    230225 
    231226% on met sous la forme annee mois 
     
    377372             end; 
    378373          end; 
    379        end 
     374       end; 
    380375       pluie_min(1,1)=-0.0001; 
    381376       pluie_min(1,2)=10.0001; 
     
    468463end; 
    469464figure(1); 
    470 print -depsc2 composite_pluie_min_mode_sahel1.eps; 
     465print('-depsc2','composite_pluie_min_mode_sahel1.eps'); 
    471466figure(2); 
    472 print -depsc2 composite_pluie_max_mode_sahel1.eps; 
     467print('-depsc2','composite_pluie_max_mode_sahel1.eps'); 
    473468figure(3); 
    474 print -depsc2 composite_pluie_diff_mode_sahel1.eps; 
     469print('-depsc2','composite_pluie_diff_mode_sahel1.eps'); 
    475470close all 
    476471 
     
    505500             end; 
    506501          end; 
    507        end 
     502       end; 
    508503       pluie_min(1,1)=-0.0001; 
    509504       pluie_min(1,2)=10.0001; 
     
    596591end; 
    597592figure(1); 
    598 print -depsc2 composite_pluie_min_mode_sahel2.eps; 
     593print('-depsc2','composite_pluie_min_mode_sahel2.eps'); 
    599594figure(2); 
    600 print -depsc2 composite_pluie_max_mode_sahel2.eps; 
     595print('-depsc2','composite_pluie_max_mode_sahel2.eps'); 
    601596figure(3); 
    602 print -depsc2 composite_pluie_diff_mode_sahel2.eps; 
     597print('-depsc2','composite_pluie_diff_mode_sahel2.eps'); 
  • /trunk/src/mode_sahelien/composite_uwnd700_EOF12_ER1030.m

    r20 r30  
    5050%%%%%%%%%%%%%%% FICHIER OLR 
    5151% ouverture / lecture du fichier 
    52 load eof12_rossby_1030.txt 
     52status=load('eof12_rossby_1030.txt'); 
     53eof12_rossby_1030=status; 
     54clear status; 
    5355ind_olr=reshape(eof12_rossby_1030,122,28); 
    5456k=122*28; 
     
    190192             end; 
    191193          end; 
    192        end 
     194       end; 
    193195       subplot(7,1,8-e); 
    194196       palette 
     
    243245end; 
    244246 
    245 print -depsc2 composite_vwnd700_EOF12_ER1030_part1.eps; 
     247print('-depsc2','composite_vwnd700_EOF12_ER1030_part1.eps'); 
    246248 
    247249figure(2); 
     
    266268             end; 
    267269          end; 
    268        end 
     270       end; 
    269271       subplot(7,1,8-e); 
    270272       palette; 
     
    318320end; 
    319321 
    320 print -depsc2 composite_vwnd700_EOF12_ER1030_part2.eps; 
     322print('-depsc2','composite_vwnd700_EOF12_ER1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_uwnd700_EOF12_ER30100_dat.m

    r20 r30  
    5050%%%%%%%%%%%%%%% FICHIER OLR 
    5151% ouverture / lecture du fichier 
    52 load eof12_rossby_30100.txt 
     52status=load('eof12_rossby_30100.txt'); 
     53eof12_rossby_30100=status; 
     54clear status; 
    5355ind_olr=reshape(eof12_rossby_30100,122,28); 
    5456k=122*28; 
     
    248250       elseif e==31; 
    249251            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 
     254end; 
  • /trunk/src/mode_sahelien/composite_uwnd700_EOF24_1030.m

    r20 r30  
    5050%%%%%%%%%%%%%%% FICHIER OLR 
    5151% ouverture / lecture du fichier 
    52 load eof24_1030.txt 
     52status=load('eof24_1030.txt'); 
     53eof24_1030=status; 
     54clear status; 
    5355ind_olr=reshape(eof24_1030,122,28); 
    5456k=122*28; 
     
    191193             end; 
    192194          end; 
    193        end 
     195       end; 
    194196       subplot(7,1,8-e); 
    195197       palette 
     
    217219       else 
    218220            sauvegrads('composite_uwnd700_mode_sahel_1030_moins18',delta_uwnd700,[-180 2.5 -10 2.5]); 
    219        end 
     221       end; 
    220222delta_uwnd700=flipud(delta_uwnd700); 
    221223 
     
    243245end; 
    244246 
    245 print -depsc2 composite_uwnd700_EOF234_1030_part1.eps; 
     247print('-depsc2','composite_uwnd700_EOF234_1030_part1.eps'); 
    246248 
    247249figure(2); 
     
    266268             end; 
    267269          end; 
    268        end 
     270       end; 
    269271       subplot(7,1,8-e); 
    270272       palette; 
     
    318320end; 
    319321 
    320 print -depsc2 composite_uwnd700_EOF234_1030_part2.eps; 
     322print('-depsc2','composite_uwnd700_EOF234_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_uwnd925_EOF12_ER1030.m

    r20 r30  
    5050%%%%%%%%%%%%%%% FICHIER OLR 
    5151% ouverture / lecture du fichier 
    52 load eof12_rossby_1030.txt 
     52status=load('eof12_rossby_1030.txt'); 
     53eof12_rossby_1030=status; 
     54clear status; 
    5355ind_olr=reshape(eof12_rossby_1030,122,28); 
    5456k=122*28; 
     
    190192             end; 
    191193          end; 
    192        end 
     194       end; 
    193195       subplot(7,1,8-e); 
    194196       palette 
     
    243245end; 
    244246 
    245 print -depsc2 composite_vwnd925_EOF12_ER1030_part1.eps; 
     247print('-depsc2','composite_vwnd925_EOF12_ER1030_part1.eps'); 
    246248 
    247249figure(2); 
     
    266268             end; 
    267269          end; 
    268        end 
     270       end; 
    269271       subplot(7,1,8-e); 
    270272       palette; 
     
    318320end; 
    319321 
    320 print -depsc2 composite_vwnd925_EOF12_ER1030_part2.eps; 
     322print('-depsc2','composite_vwnd925_EOF12_ER1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_uwnd925_EOF12_ER30100_dat.m

    r20 r30  
    5151%%%%%%%%%%%%%%% FICHIER OLR 
    5252% ouverture / lecture du fichier 
    53 load eof12_rossby_30100.txt 
     53status=load('eof12_rossby_30100.txt'); 
     54eof12_rossby_30100=status; 
     55clear status; 
    5456ind_olr=reshape(eof12_rossby_30100,122,28); 
    5557k=122*28; 
     
    248250       elseif e==31; 
    249251            sauvegrads('composite_uwnd925_mode_rossby_30100_plus9',delta_uwnd925_filtre_min,[-180 2.5 -10 2.5]); 
    250        end 
     252       end; 
    251253       delta_uwnd925_filtre_min=flipud(delta_uwnd925_filtre_min); 
    252 end 
     254end; 
  • /trunk/src/mode_sahelien/composite_uwnd925_EOF23_1030.m

    r20 r30  
    5050%%%%%%%%%%%%%%% FICHIER OLR 
    5151% ouverture / lecture du fichier 
    52 load eof23_1030.txt 
     52status=load('eof23_1030.txt'); 
     53eof23_1030=status; 
     54clear status; 
    5355ind_olr=reshape(eof23_1030,122,28); 
    5456k=122*28; 
     
    191193             end; 
    192194          end; 
    193        end 
     195       end; 
    194196       subplot(7,1,8-e); 
    195197       palette 
     
    217219       else 
    218220            sauvegrads('composite_uwnd925_mode_sahel_1030_moins18',delta_uwnd925,[-180 2.5 -40 2.5]); 
    219        end 
     221       end; 
    220222delta_uwnd925=flipud(delta_uwnd925); 
    221223 
     
    243245end; 
    244246 
    245 print -depsc2 composite_uwnd925_EOF23_1030_part1.eps; 
     247print('-depsc2','composite_uwnd925_EOF23_1030_part1.eps'); 
    246248 
    247249figure(2); 
     
    266268             end; 
    267269          end; 
    268        end 
     270       end; 
    269271       subplot(7,1,8-e); 
    270272       palette; 
     
    318320end; 
    319321 
    320 print -depsc2 composite_uwnd925_EOF23_1030_part2.eps; 
     322print('-depsc2','composite_uwnd925_EOF23_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_uwnd925_EOF24_1030.m

    r20 r30  
    5050%%%%%%%%%%%%%%% FICHIER OLR 
    5151% ouverture / lecture du fichier 
    52 load eof24_1030.txt 
     52status=load('eof24_1030.txt'); 
     53eof24_1030=status; 
     54clear status; 
    5355ind_olr=reshape(eof24_1030,122,28); 
    5456k=122*28; 
     
    191193             end; 
    192194          end; 
    193        end 
     195       end; 
    194196       subplot(7,1,8-e); 
    195197       palette 
     
    217219       else 
    218220            sauvegrads('composite_vwnd925_mode_sahel_1030_moins18',delta_vwnd925,[-180 2.5 -10 2.5]); 
    219        end 
     221       end; 
    220222delta_vwnd925=flipud(delta_vwnd925); 
    221223 
     
    243245end; 
    244246 
    245 print -depsc2 composite_vwnd925_EOF234_1030_part1.eps; 
     247print('-depsc2','composite_vwnd925_EOF234_1030_part1.eps'); 
    246248 
    247249figure(2); 
     
    266268             end; 
    267269          end; 
    268        end 
     270       end; 
    269271       subplot(7,1,8-e); 
    270272       palette; 
     
    318320end; 
    319321 
    320 print -depsc2 composite_vwnd925_EOF234_1030_part2.eps; 
     322print('-depsc2','composite_vwnd925_EOF234_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_vwnd700_EOF12_ER30100_dat.m

    r20 r30  
    5050%%%%%%%%%%%%%%% FICHIER OLR 
    5151% ouverture / lecture du fichier 
    52 load eof12_rossby_30100.txt 
     52status=load('eof12_rossby_30100.txt'); 
     53eof12_rossby_30100=status; 
     54clear status; 
    5355ind_olr=reshape(eof12_rossby_30100,122,28); 
    5456k=122*28; 
     
    248250       elseif e==31; 
    249251            sauvegrads('composite_vwnd700_mode_rossby_30100_plus9',delta_vwnd700_filtre_min,[-180 2.5 -10 2.5]); 
    250        end 
     252       end; 
    251253       delta_vwnd700_filtre_min=flipud(delta_vwnd700_filtre_min); 
    252 end 
     254end; 
  • /trunk/src/mode_sahelien/composite_vwnd925_EOF12_ER30100_dat.m

    r20 r30  
    4949%%%%%%%%%%%%%%% FICHIER OLR 
    5050% ouverture / lecture du fichier 
    51 load eof12_rossby_30100.txt 
     51status=load('eof12_rossby_30100.txt'); 
     52eof12_rossby_30100=status; 
     53clear status; 
    5254ind_olr=reshape(eof12_rossby_30100,122,28); 
    5355k=122*28; 
     
    246248       elseif e==31; 
    247249            sauvegrads('composite_vwnd925_mode_rossby_30100_plus9',delta_vwnd925_filtre_min,[-180 2.5 -10 2.5]); 
    248        end 
     250       end; 
    249251       delta_vwnd925_filtre_min=flipud(delta_vwnd925_filtre_min); 
    250 end 
     252end; 
  • /trunk/src/mode_sahelien/composite_vwnd925_EOF23_1030.m

    r20 r30  
    4949%%%%%%%%%%%%%%% FICHIER OLR 
    5050% ouverture / lecture du fichier 
    51 load eof23_1030.txt 
     51status=load('eof23_1030.txt'); 
     52eof23_1030=status; 
     53clear status; 
    5254ind_olr=reshape(eof23_1030,122,28); 
    5355k=122*28; 
     
    190192             end; 
    191193          end; 
    192        end 
     194       end; 
    193195       subplot(7,1,8-e); 
    194196       palette 
     
    216218       else 
    217219            sauvegrads('composite_vwnd925_mode_sahel_1030_moins18',delta_vwnd925,[-180 2.5 -40 2.5]); 
    218        end 
     220       end; 
    219221delta_vwnd925=flipud(delta_vwnd925); 
    220222 
     
    242244end; 
    243245 
    244 print -depsc2 composite_vwnd925_EOF23_1030_part1.eps; 
     246print('-depsc2','composite_vwnd925_EOF23_1030_part1.eps'); 
    245247 
    246248figure(2); 
     
    265267             end; 
    266268          end; 
    267        end 
     269       end; 
    268270       subplot(7,1,8-e); 
    269271       palette; 
     
    317319end; 
    318320 
    319 print -depsc2 composite_vwnd925_EOF23_1030_part2.eps; 
     321print('-depsc2','composite_vwnd925_EOF23_1030_part2.eps'); 
  • /trunk/src/mode_sahelien/composite_wind200_rossby.m

    r20 r30  
    3939clear uwnd200; 
    4040 
    41 load eof2_olr_rossby_jjas.txt; 
     41status=load('eof2_olr_rossby_jjas.txt'); 
     42eof2_olr_rossby_jjas=status; 
     43clear status; 
    4244% on met sous la forme annee mois 
    4345olr_eof=reshape(eof2_olr_rossby_jjas,122,22); 
     
    189191clear vwnd200; 
    190192 
    191 load eof2_olr_rossby_jjas.txt; 
     193status=load('eof2_olr_rossby_jjas.txt'); 
    192194% on met sous la forme annee mois 
    193195olr_eof=reshape(eof2_olr_rossby_jjas,122,22); 
     
    307309figure(1) 
    308310orient('landscape') 
    309 load pression.mat; 
     311status=load('pression.mat','pression'); 
     312pression=status.pression; 
     313clear status; 
    310314 
    311315for e=1:7; 
     
    349353       else 
    350354      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    351        end 
     355       end; 
    352356       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    353357       cartemonde1; 
     
    362366       if e==7; 
    363367       title('Composite geopotential + winds 200 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 
    364        end 
     368       end; 
    365369       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    366370       pos_vert=e/10; 
     
    368372end; 
    369373 
    370 print -depsc2 composite_rossby_eof2a_u200_hgt.eps; 
     374print('-depsc2','composite_rossby_eof2a_u200_hgt.eps'); 
    371375 
    372376figure(2); 
    373377orient('landscape') 
    374 load pression.mat; 
     378status=load('pression.mat','pression'); 
     379pression=status.pression; 
     380clear status; 
    375381 
    376382for e=1:7; 
     
    412418       else 
    413419      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    414        end 
     420       end; 
    415421       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    416422       cartemonde1; 
     
    426432           title('Composite geopotential + winds 200 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 
    427433 
    428        end 
     434       end; 
    429435       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    430436       pos_vert=e/10; 
     
    432438end; 
    433439 
    434 print -depsc2 composite_rossby_eof2b_u200_hgt.eps; 
     440print('-depsc2','composite_rossby_eof2b_u200_hgt.eps'); 
  • /trunk/src/mode_sahelien/composite_wind200_sahel.m

    r20 r30  
    331331figure(1) 
    332332orient('landscape') 
    333 load pression.mat; 
     333status=load('pression.mat','pression'); 
     334pression=status.pression; 
     335clear status; 
    334336 
    335337for e=1:7; 
     
    373375       else 
    374376      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    375        end 
     377       end; 
    376378       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    377379       cartemonde1; 
     
    386388       if e==7; 
    387389           title('Geopotential and winds at 200 Hpa - Sahelian mode','fontsize',8) ; 
    388        end 
     390       end; 
    389391       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    390392       pos_vert=e/10; 
     
    392394end; 
    393395 
    394 print -depsc2 composite_sahel_1_u200_hgt.eps; 
     396print('-depsc2','composite_sahel_1_u200_hgt.eps'); 
    395397 
    396398figure(2) 
    397399orient('landscape') 
    398 load pression.mat; 
     400status=load('pression.mat','pression'); 
     401pression=status.pression; 
     402clear status; 
    399403 
    400404for e=1:7; 
     
    438442       else 
    439443      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    440        end 
     444       end; 
    441445       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    442446       cartemonde1; 
     
    451455       if e==7; 
    452456           title('Geopotential and winds at 200 Hpa - Sahelian mode','fontsize',8) ; 
    453        end 
     457       end; 
    454458       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    455459       pos_vert=e/10; 
     
    457461end; 
    458462 
    459 print -depsc2 composite_sahel_2_u200_hgt.eps; 
     463print('-depsc2','composite_sahel_2_u200_hgt.eps'); 
  • /trunk/src/mode_sahelien/composite_wind500_rossby_europe.m

    r20 r30  
    3939clear uwnd500; 
    4040 
    41 load eof2_olr_rossby_jjas.txt; 
     41status=load('eof2_olr_rossby_jjas.txt'); 
     42eof2_olr_rossby_jjas=status; 
     43clear status; 
    4244% on met sous la forme annee mois 
    4345olr_eof=reshape(eof2_olr_rossby_jjas,122,22); 
     
    189191clear vwnd500; 
    190192 
    191 load eof2_olr_rossby_jjas.txt; 
     193status=load('eof2_olr_rossby_jjas.txt'); 
    192194% on met sous la forme annee mois 
    193195olr_eof=reshape(eof2_olr_rossby_jjas,122,22); 
     
    307309figure(1) 
    308310orient('landscape') 
    309 load pression.mat; 
     311status=load('pression.mat','pression'); 
     312pression=status.pression; 
     313clear status; 
    310314 
    311315for e=1:7; 
     
    349353       else 
    350354      set (gca,'XTick',[-80:20:20],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    351        end 
     355       end; 
    352356       set (gca,'YTick',[20:20:80],'YTickLabel',['20N';'40N';'60N';'80N'],'fontname','Arial','fontsize',6); 
    353357       cartemonde1; 
     
    362366       if e==7; 
    363367       title('Composite geopotential + winds 500 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 
    364        end 
     368       end; 
    365369       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    366370       pos_vert=e/10; 
     
    368372end; 
    369373 
    370 print -depsc2 composite_rossby_eof2a_u500_hgt.eps; 
     374print('-depsc2','composite_rossby_eof2a_u500_hgt.eps'); 
    371375 
    372376for e=1:7; 
     
    410414       else 
    411415      set (gca,'XTick',[-80:20:20],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    412        end 
     416       end; 
    413417       set (gca,'YTick',[20:20:80],'YTickLabel',['20N';'40N';'60N';'80N'],'fontname','Arial','fontsize',6); 
    414418       cartemonde1; 
     
    423427       if e==7; 
    424428       title('Composite geopotential + winds 500 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 
    425        end 
     429       end; 
    426430       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    427431       pos_vert=e/10; 
     
    429433end; 
    430434 
    431 print -depsc2 composite_rossby_eof2b_u500_hgt.eps; 
     435print('-depsc2','composite_rossby_eof2b_u500_hgt.eps'); 
  • /trunk/src/mode_sahelien/composite_wind925_EOF12_ER1030.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof12_rossby_1030.txt; 
     50status=load('eof12_rossby_1030.txt'); 
     51eof12_rossby_1030=status; 
     52clear status; 
    5153ind_olr=reshape(eof12_rossby_1030,122,28); 
    5254clear eof12_rossby_1030; 
     
    208210%%%%%%%%%%%%%% FICHIER OLR 
    209211% ouverture / lecture du fichier 
    210 load eof12_rossby_1030.txt; 
     212status=load('eof12_rossby_1030.txt'); 
    211213ind_olr=reshape(eof12_rossby_1030,122,28); 
    212214clear eof12_rossby_1030 
     
    361363       else 
    362364set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    363        end 
     365       end; 
    364366       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    365367       cartemonde1; 
     
    370372       if e==4; 
    371373  title('Geopotential winds 925hPa -EOF12 ER1030d - ITCZ 7.5-12.5','fontsize',8) ; 
    372        end 
     374       end; 
    373375       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    374376       pos_vert=e/6.1; 
     
    377379end; 
    378380 
    379 print -depsc2 composite_wind925_EOF12_ER1030_part1.eps; 
     381print('-depsc2','composite_wind925_EOF12_ER1030_part1.eps'); 
    380382 
    381383figure(2); 
     
    416418       else 
    417419set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    418        end 
     420       end; 
    419421       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    420422       cartemonde1; 
     
    425427       if e==4; 
    426428   title('Geopotential winds 925hPa -EOF12 ER1030d - ITCZ 7.5-12.5','fontsize',8) ; 
    427        end 
     429       end; 
    428430       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    429431       pos_vert=e/6.1; 
     
    431433end; 
    432434 
    433 print -depsc2 composite_wind925_EOF12_ER1030_part2.eps; 
     435print('-depsc2','composite_wind925_EOF12_ER1030_part2.eps'); 
    434436 
    435437figure(3); 
     
    470472       else 
    471473set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    472        end 
     474       end; 
    473475       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    474476       cartemonde1; 
     
    479481       if e==4; 
    480482           title('Geopotential winds 925hPa -EOF12 ER1030d - ITCZ 7.5-12.5','fontsize',8) ; 
    481        end 
     483       end; 
    482484       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    483485       pos_vert=e/6.1; 
     
    485487end; 
    486488 
    487 print -depsc2 composite_wind925_EOF12_ER1030_part3.eps; 
     489print('-depsc2','composite_wind925_EOF12_ER1030_part3.eps'); 
    488490 
    489491figure(4); 
     
    524526       else 
    525527set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    526        end 
     528       end; 
    527529       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    528530       cartemonde1; 
     
    533535       if e==4; 
    534536             title('Geopotential winds 925hPa -EOF12 ER1030d - ITCZ 7.5-12.5','fontsize',8) ; 
    535        end 
     537       end; 
    536538       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    537539       pos_vert=e/6.1; 
     
    539541end; 
    540542 
    541 print -depsc2 composite_wind925_EOF12_ER1030_part4.eps; 
     543print('-depsc2','composite_wind925_EOF12_ER1030_part4.eps'); 
  • /trunk/src/mode_sahelien/composite_wind925_EOF12_ER30100.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof12_rossby_30100.txt; 
     50status=load('eof12_rossby_30100.txt'); 
     51eof12_rossby_30100=status; 
     52clear status; 
    5153ind_olr=reshape(eof12_rossby_30100,122,28); 
    5254clear eof12_rossby_30100; 
     
    208210%%%%%%%%%%%%%% FICHIER OLR 
    209211% ouverture / lecture du fichier 
    210 load eof12_rossby_30100.txt; 
     212status=load('eof12_rossby_30100.txt'); 
     213eof12_rossby_30100=status; 
     214clear status; 
    211215ind_olr=reshape(eof12_rossby_30100,122,28); 
    212216clear eof12_rossby_30100 
     
    327331figure(1); 
    328332orient('landscape'); 
    329 load pression_eof12_er30100.mat; 
     333status=load('pression_eof12_er30100.mat','pression'); 
     334pression=status; 
     335clear status; 
    330336 
    331337for e=1:4; 
     
    370376       else 
    371377set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    372        end 
     378       end; 
    373379       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    374380       cartemonde1; 
     
    383389       if e==4; 
    384390  title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    385        end 
     391       end; 
    386392       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    387393       pos_vert=e/6.1; 
     
    390396end; 
    391397 
    392 print -depsc2 composite_wind925_EOF12_ER30100_part1.eps; 
     398print('-depsc2','composite_wind925_EOF12_ER30100_part1.eps'); 
    393399 
    394400figure(2); 
    395401orient('landscape'); 
    396 load pression_eof12_er30100.mat; 
     402status=load('pression_eof12_er30100.mat','pression'); 
     403pression=status; 
     404clear status; 
    397405 
    398406for e=1:4; 
     
    437445       else 
    438446set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    439        end 
     447       end; 
    440448       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    441449 
     
    451459       if e==4; 
    452460   title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    453        end 
     461       end; 
    454462       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    455463       pos_vert=e/6.1; 
     
    458466 
    459467 
    460 print -depsc2 composite_wind925_EOF12_ER30100_part2.eps; 
     468print('-depsc2','composite_wind925_EOF12_ER30100_part2.eps'); 
    461469 
    462470figure(3); 
    463471orient('landscape'); 
    464 load pression_eof12_er30100.mat; 
     472status=load('pression_eof12_er30100.mat','pression'); 
     473pression=status; 
     474clear status; 
     475 
    465476for e=1:4; 
    466477       a=4-(e-1)+1+8; 
     
    504515       else 
    505516set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    506        end 
     517       end; 
    507518       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    508519 
     
    518529       if e==4; 
    519530           title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    520        end 
     531       end; 
    521532       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    522533       pos_vert=e/6.1; 
     
    525536 
    526537 
    527 print -depsc2 composite_wind925_EOF12_ER30100_part3.eps; 
     538print('-depsc2','composite_wind925_EOF12_ER30100_part3.eps'); 
    528539 
    529540figure(4); 
    530541orient('landscape'); 
    531 load pression_eof12_er30100.mat; 
     542status=load('pression_eof12_er30100.mat','pression'); 
     543pression=status; 
     544clear status; 
    532545for e=1:4; 
    533546       a=4-(e-1)+1+10; 
     
    571584       else 
    572585set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    573        end 
     586       end; 
    574587       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    575588 
     
    585598       if e==4; 
    586599             title('Geopotential winds 925hPa -EOF12 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    587        end 
     600       end; 
    588601       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    589602       pos_vert=e/6.1; 
     
    591604end; 
    592605 
    593 print -depsc2 composite_wind925_EOF12_ER30100_part4.eps; 
     606print('-depsc2','composite_wind925_EOF12_ER30100_part4.eps'); 
  • /trunk/src/mode_sahelien/composite_wind925_EOF1_30100.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof1_30100.txt; 
     50status=load('eof1_30100.txt'); 
     51eof1_30100=status; 
     52clear status; 
    5153ind_olr=reshape(eof1_30100,122,28); 
    5254clear eof1_30100; 
     
    208210%%%%%%%%%%%%%% FICHIER OLR 
    209211% ouverture / lecture du fichier 
    210 load eof1_30100.txt; 
     212status=load('eof1_30100.txt'); 
    211213ind_olr=reshape(eof1_30100,122,28); 
    212214clear eof1_30100 
     
    363365       else 
    364366set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    365        end 
     367       end; 
    366368       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    367369       cartemonde1; 
     
    372374       if e==4; 
    373375  title('Winds 925hPa -EOF1 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    374        end 
     376       end; 
    375377       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    376378       pos_vert=e/6.1; 
     
    379381end; 
    380382 
    381 print -depsc2 composite_wind925_EOF1_ER30100_part1.eps; 
     383print('-depsc2','composite_wind925_EOF1_ER30100_part1.eps'); 
    382384 
    383385figure(2); 
     
    418420       else 
    419421set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    420        end 
     422       end; 
    421423       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    422424       cartemonde1; 
     
    427429       if e==4; 
    428430   title('Winds 925hPa -EOF1 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    429        end 
     431       end; 
    430432       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    431433       pos_vert=e/6.1; 
     
    433435end; 
    434436 
    435 print -depsc2 composite_wind925_EOF1_ER30100_part2.eps; 
     437print('-depsc2','composite_wind925_EOF1_ER30100_part2.eps'); 
    436438 
    437439figure(3); 
     
    472474       else 
    473475set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    474        end 
     476       end; 
    475477       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    476478       cartemonde1; 
     
    481483       if e==4; 
    482484           title('Winds 925hPa -EOF1 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    483        end 
     485       end; 
    484486       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    485487       pos_vert=e/6.1; 
     
    487489end; 
    488490 
    489 print -depsc2 composite_wind925_EOF1_ER30100_part3.eps; 
     491print('-depsc2','composite_wind925_EOF1_ER30100_part3.eps'); 
    490492 
    491493figure(4); 
     
    526528       else 
    527529          set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    528        end 
     530       end; 
    529531       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    530532       cartemonde1; 
     
    535537       if e==4; 
    536538          title('Winds 925hPa EOF1 ER30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    537        end 
     539       end; 
    538540       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    539541       pos_vert=e/6.1; 
     
    541543end; 
    542544 
    543 print -depsc2 composite_wind925_EOF1_ER30100_part4.eps; 
     545print('-depsc2','composite_wind925_EOF1_ER30100_part4.eps'); 
  • /trunk/src/mode_sahelien/composite_wind925_EOF234_1030.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load eof24_1030.txt; 
     50status=load('eof24_1030.txt'); 
     51eof24_1030=status; 
     52clear status; 
    5153ind_olr=reshape(eof24_1030,122,28); 
    5254clear eof24_1030; 
     
    208210%%%%%%%%%%%%%% FICHIER OLR 
    209211% ouverture / lecture du fichier 
    210 load eof24_1030.txt; 
     212status=load('eof24_1030.txt'); 
    211213ind_olr=reshape(eof24_1030,122,28); 
    212214clear eof24_1030 
     
    362364       else 
    363365set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    364        end 
     366       end; 
    365367       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    366368       cartemonde1; 
     
    371373       if e==4; 
    372374  title('Winds 925hPa -EOF234 1030d - ITCZ 7.5-12.5','fontsize',8) ; 
    373        end 
     375       end; 
    374376       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    375377       pos_vert=e/6.1; 
     
    378380end; 
    379381 
    380 print -depsc2 composite_wind925_EOF234_1030_part1.eps; 
     382print('-depsc2','composite_wind925_EOF234_1030_part1.eps'); 
    381383 
    382384figure(2); 
     
    417419       else 
    418420set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    419        end 
     421       end; 
    420422       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    421423       cartemonde1; 
     
    426428       if e==4; 
    427429   title('Winds 925hPa -EOF234 1030d - ITCZ 7.5-12.5','fontsize',8) ; 
    428        end 
     430       end; 
    429431       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    430432       pos_vert=e/6.1; 
     
    432434end; 
    433435 
    434 print -depsc2 composite_wind925_EOF234_1030_part2.eps; 
     436print('-depsc2','composite_wind925_EOF234_1030_part2.eps'); 
    435437 
    436438figure(3); 
     
    471473       else 
    472474set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    473        end 
     475       end; 
    474476       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    475477       cartemonde1; 
     
    480482       if e==4; 
    481483           title('Winds 925hPa -EOF234 1030d - ITCZ 7.5-12.5','fontsize',8) ; 
    482        end 
     484       end; 
    483485       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    484486       pos_vert=e/6.1; 
     
    486488end; 
    487489 
    488 print -depsc2 composite_wind925_EOF234_1030_part3.eps; 
     490print('-depsc2','composite_wind925_EOF234_1030_part3.eps'); 
    489491 
    490492figure(4); 
     
    525527       else 
    526528set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    527        end 
     529       end; 
    528530       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    529531       cartemonde1; 
     
    534536       if e==4; 
    535537             title('Winds 925hPa EOF234 1030d - ITCZ 7.5-12.5','fontsize',8) ; 
    536        end 
     538       end; 
    537539       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    538540       pos_vert=e/6.1; 
     
    540542end; 
    541543 
    542 print -depsc2 composite_wind925_EOF234_1030_part4.eps; 
     544print('-depsc2','composite_wind925_EOF234_1030_part4.eps'); 
  • /trunk/src/mode_sahelien/composite_wind925_EOF23_30100.m

    r20 r30  
    4848%%%%%%%%%%%%%%%  OLR 
    4949% ouverture / lecture du fichier 
    50 load eof23_30100.txt; 
     50status=load('eof23_30100.txt'); 
     51eof23_30100=status; 
     52clear status; 
    5153ind_olr=reshape(eof23_30100,122,28); 
    5254clear eof23_30100; 
     
    208210%%%%%%%%%%%%%% OLR 
    209211% ouverture / lecture du fichier 
    210 load eof23_30100.txt; 
     212status=load('eof23_30100.txt'); 
    211213ind_olr=reshape(eof23_30100,122,28); 
    212214clear eof23_30100 
     
    362364       else 
    363365set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    364        end 
     366       end; 
    365367       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    366368       cartemonde1; 
     
    371373       if e==4; 
    372374  title('Winds 925hPa -EOF23 30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    373        end 
     375       end; 
    374376       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    375377       pos_vert=e/6.1; 
     
    378380end; 
    379381 
    380 print -depsc2 composite_wind925_EOF23_30100_part1.eps; 
     382print('-depsc2','composite_wind925_EOF23_30100_part1.eps'); 
    381383 
    382384figure(2); 
     
    417419       else 
    418420set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    419        end 
     421       end; 
    420422       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    421423       cartemonde1; 
     
    426428       if e==4; 
    427429   title('Winds 925hPa -EOF23 30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    428        end 
     430       end; 
    429431       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    430432       pos_vert=e/6.1; 
     
    432434end; 
    433435 
    434 print -depsc2 composite_wind925_EOF23_30100_part2.eps; 
     436print('-depsc2','composite_wind925_EOF23_30100_part2.eps'); 
    435437 
    436438figure(3); 
     
    471473       else 
    472474set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    473        end 
     475       end; 
    474476       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    475477       cartemonde1; 
     
    480482       if e==4; 
    481483           title('Winds 925hPa -EOF23 30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    482        end 
     484       end; 
    483485       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    484486       pos_vert=e/6.1; 
     
    486488end; 
    487489 
    488 print -depsc2 composite_wind925_EOF23_30100_part3.eps; 
     490print('-depsc2','composite_wind925_EOF23_30100_part3.eps'); 
    489491 
    490492figure(4); 
     
    525527       else 
    526528set (gca,'XTick',[-60:20:120],'XTickLabel',[' ';' ';' ';' ';' ';' ';' ';' ';' ';' '],'fontsize',6); 
    527        end 
     529       end; 
    528530       set (gca,'YTick',[-10:10:30],'YTickLabel',['10S';' 0 ';'10N';'20N';'30N'],'fontname','Arial','fontsize',6); 
    529531       cartemonde1; 
     
    534536       if e==4; 
    535537             title('Winds 925hPa EOF23 30100d - ITCZ 7.5-12.5','fontsize',8) ; 
    536        end 
     538       end; 
    537539       text(-150,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    538540       pos_vert=e/6.1; 
     
    540542end; 
    541543 
    542 print -depsc2 composite_wind925_EOF23_30100_part4.eps; 
     544print('-depsc2','composite_wind925_EOF23_30100_part4.eps'); 
  • /trunk/src/mode_sahelien/composite_wind925_eof23_2590.m

    r20 r30  
    4848%%%%%%%%%%%%%%% FICHIER OLR 
    4949% ouverture / lecture du fichier 
    50 load ind_olr_25_90_eof23.txt; 
     50status=load('ind_olr_25_90_eof23.txt'); 
     51ind_olr_25_90_eof23=status; 
     52clear status; 
    5153ind_olr=reshape(ind_olr_25_90_eof23,122,28); 
    5254 
     
    207209%%%%%%%%%%%%%% FICHIER OLR 
    208210% ouverture / lecture du fichier 
    209 load ind_olr_25_90_eof23.txt; 
     211status=load('ind_olr_25_90_eof23.txt'); 
     212ind_olr_25_90_eof23=status; 
     213clear status; 
     214 
    210215ind_olr=reshape(ind_olr_25_90_eof23,122,28); 
    211216k=122*28; 
     
    324329figure(1); 
    325330orient('landscape'); 
    326 load pression.mat; 
     331status=load('pression.mat','pression'); 
     332pression=status.pression; 
     333clear status; 
    327334 
    328335for e=1:4; 
     
    366373       else 
    367374      set (gca,'XTick',[-60:20:60],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontsize',6); 
    368        end 
     375       end; 
    369376 
    370377       set (gca,'YTick',[-40:20:40],'YTickLabel',['   ';'20S';' 0 ';'20N';'   '],'fontname','Arial','fontsize',6); 
     
    380387       if e==4; 
    381388           title('Geopotential and winds at 925 Hpa - EOF23 25-90days','fontsize',8) ; 
    382        end 
     389       end; 
    383390       text(-180,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    384391       pos_vert=e/6.1; 
     
    386393end; 
    387394 
    388 print -depsc2 composite_eof23_2090_u925_hgt_part1.eps; 
     395print('-depsc2','composite_eof23_2090_u925_hgt_part1.eps'); 
    389396 
    390397figure(2); 
    391398orient('landscape'); 
    392 load pression.mat; 
     399status=load('pression.mat','pression'); 
     400pression=status.pression; 
     401clear status; 
    393402 
    394403for e=1:4; 
     
    432441       else 
    433442      set (gca,'XTick',[-60:20:60],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontsize',6); 
    434        end 
     443       end; 
    435444 
    436445       set (gca,'YTick',[-40:20:40],'YTickLabel',['   ';'20S';' 0 ';'20N';'   '],'fontname','Arial','fontsize',6); 
     
    446455       if e==4; 
    447456           title('Geopotential and winds at 925 Hpa - EOF23 25-90days','fontsize',8) ; 
    448        end 
     457       end; 
    449458       text(-180,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    450459       pos_vert=e/6.1; 
     
    452461end; 
    453462 
    454 print -depsc2 composite_eof23_2090_u925_hgt_part2.eps; 
     463print('-depsc2','composite_eof23_2090_u925_hgt_part2.eps'); 
    455464 
    456465figure(3); 
    457466orient('landscape'); 
    458 load pression.mat; 
     467status=load('pression.mat','pression'); 
     468pression=status.pression; 
     469clear status; 
    459470 
    460471for e=1:4; 
     
    498509       else 
    499510      set (gca,'XTick',[-60:20:60],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontsize',6); 
    500        end 
     511       end; 
    501512 
    502513       set (gca,'YTick',[-40:20:40],'YTickLabel',['   ';'20S';' 0 ';'20N';'   '],'fontname','Arial','fontsize',6); 
     
    512523       if e==4; 
    513524           title('Geopotential and winds at 925 Hpa - EOF23 25-90days','fontsize',8) ; 
    514        end 
     525       end; 
    515526       text(-180,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    516527       pos_vert=e/6.1; 
     
    518529end; 
    519530 
    520 print -depsc2 composite_eof23_2090_u925_hgt_part3.eps; 
     531print('-depsc2','composite_eof23_2090_u925_hgt_part3.eps'); 
    521532 
    522533figure(4); 
    523534orient('landscape'); 
    524 load pression.mat; 
     535status=load('pression.mat','pression'); 
     536pression=status.pression; 
     537clear status; 
    525538 
    526539for e=1:4; 
     
    564577       else 
    565578      set (gca,'XTick',[-60:20:60],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontsize',6); 
    566        end 
     579       end; 
    567580 
    568581       set (gca,'YTick',[-40:20:40],'YTickLabel',['   ';'20S';' 0 ';'20N';'   '],'fontname','Arial','fontsize',6); 
     
    578591       if e==4; 
    579592           title('Geopotential and winds at 925 Hpa - EOF23 25-90days','fontsize',8) ; 
    580        end 
     593       end; 
    581594       text(-180,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    582595       pos_vert=e/6.1; 
     
    584597end; 
    585598 
    586 print -depsc2 composite_eof23_2090_u925_hgt_part4.eps; 
     599print('-depsc2','composite_eof23_2090_u925_hgt_part4.eps'); 
  • /trunk/src/mode_sahelien/composite_wind925_rossby.m

    r20 r30  
    3939clear uwnd925; 
    4040 
    41 load eof12_rossby_1030.txt; 
     41status=load('eof12_rossby_1030.txt'); 
     42eof12_rossby_1030=status; 
     43clear status; 
    4244% on met sous la forme annee mois 
    4345olr_eof=reshape(eof12_rossby_1030,122,22); 
     
    189191clear vwnd925; 
    190192 
    191 load eof2_olr_rossby_jjas.txt; 
     193status=load('eof2_olr_rossby_jjas.txt'); 
     194eof2_olr_rossby_jjas=status; 
     195clear status; 
    192196% on met sous la forme annee mois 
    193197olr_eof=reshape(eof2_olr_rossby_jjas,122,22); 
     
    307311figure(1) 
    308312orient('landscape') 
    309 load pression.mat; 
     313status=load('pression.mat','pression'); 
     314pression=status.pression; 
     315clear status; 
    310316 
    311317for e=1:7; 
     
    349355       else 
    350356      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    351        end 
     357       end; 
    352358       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    353359       cartemonde1; 
     
    362368       if e==7; 
    363369           title('Composite geopotential + winds 925 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 
    364        end 
     370       end; 
    365371       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    366372       pos_vert=e/10; 
     
    368374end; 
    369375 
    370 print -depsc2 composite_rossby_eof2a_u925_hgt.eps; 
     376print('-depsc2','composite_rossby_eof2a_u925_hgt.eps'); 
    371377 
    372378figure(2); 
    373379orient('landscape') 
    374 load pression.mat; 
     380status=load('pression.mat','pression'); 
     381pression=status.pression; 
     382clear status; 
    375383 
    376384for e=1:7; 
     
    412420       else 
    413421      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    414        end 
     422       end; 
    415423       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    416424       cartemonde1; 
     
    425433       if e==7; 
    426434           title('Composite geopotential + winds 925 hPa : differences min - max (mode Rossby EOF2)','fontsize',8) ; 
    427        end 
     435       end; 
    428436       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    429437       pos_vert=e/10; 
     
    431439end; 
    432440 
    433 print -depsc2 composite_rossby_eof2b_u925_hgt.eps; 
     441print('-depsc2','composite_rossby_eof2b_u925_hgt.eps'); 
  • /trunk/src/mode_sahelien/composite_wind925_sahel.m

    r20 r30  
    331331figure(1) 
    332332orient('landscape') 
    333 load pression.mat; 
     333status=load('pression.mat','pression'); 
     334pression=status.pression; 
     335clear status; 
    334336 
    335337for e=1:7; 
     
    373375       else 
    374376      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    375        end 
     377       end; 
    376378       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    377379       cartemonde1; 
     
    386388       if e==7; 
    387389           title('Geopotential and winds at 700 Hpa - Sahelian mode','fontsize',8) ; 
    388        end 
     390       end; 
    389391       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    390392       pos_vert=e/10; 
     
    392394end; 
    393395 
    394 print -depsc2 composite_sahel_1_u700_hgt.eps; 
     396print('-depsc2','composite_sahel_1_u700_hgt.eps'); 
    395397 
    396398figure(2) 
    397399orient('landscape') 
    398 load pression.mat; 
     400status=load('pression.mat','pression'); 
     401pression=status.pression; 
     402clear status; 
    399403 
    400404for e=1:7; 
     
    438442       else 
    439443      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    440        end 
     444       end; 
    441445       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    442446       cartemonde1; 
     
    451455       if e==7; 
    452456           title('Geopotential and winds at 700 Hpa - Sahelian mode','fontsize',8) ; 
    453        end 
     457       end; 
    454458       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    455459       pos_vert=e/10; 
     
    457461end; 
    458462 
    459 print -depsc2 composite_sahel_2_u700_hgt.eps; 
     463print('-depsc2','composite_sahel_2_u700_hgt.eps'); 
  • /trunk/src/mode_sahelien/composite_wind925_sahel_1090.m

    r20 r30  
    4242%%%%%%%%%%%%%%% FICHIER OLR 
    4343% ouverture / lecture du fichier 
    44 load ind_olr_10_90_eof23.txt; 
     44status=load('ind_olr_10_90_eof23.txt'); 
     45ind_olr_10_90_eof23=status; 
     46clear status; 
    4547ind_olr=reshape(ind_olr_10_90_eof23,122,28); 
    4648clear ind_olr_10_90_eof23; 
     
    332334figure(1) 
    333335orient('landscape') 
    334 load pression.mat; 
     336status=load('pression.mat','pression'); 
     337pression=status.pression; 
     338clear status; 
    335339 
    336340for e=1:7; 
     
    374378       else 
    375379      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    376        end 
     380       end; 
    377381       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    378382       cartemonde1; 
     
    387391       if e==7; 
    388392           title('Geopotential and winds at 700 Hpa - Sahelian mode','fontsize',8) ; 
    389        end 
     393       end; 
    390394       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    391395       pos_vert=e/10; 
     
    393397end; 
    394398 
    395 print -depsc2 composite_sahel_1_u700_hgt.eps; 
     399print('-depsc2','composite_sahel_1_u700_hgt.eps'); 
    396400 
    397401figure(2) 
    398402orient('landscape') 
    399 load pression.mat; 
     403status=load('pression.mat','pression'); 
     404pression=status.pression; 
     405clear status; 
    400406 
    401407for e=1:7; 
     
    439445       else 
    440446      set (gca,'XTick',[-180:60:180],'XTickLabel',[' ';' ';' ';' ';' ';' '],'fontname','Arial','fontsize',6); 
    441        end 
     447       end; 
    442448       set (gca,'YTick',[-10:10:40],'YTickLabel',['   ';'  0';'10N';'20N';'30N';'   '],'fontname','Arial','fontsize',6); 
    443449       cartemonde1; 
     
    452458       if e==7; 
    453459           title('Geopotential and winds at 700 Hpa - Sahelian mode','fontsize',8) ; 
    454        end 
     460       end; 
    455461       text(-270,10,['day = ',num2str(f-21)],'fontname','Arial','fontsize',10); 
    456462       pos_vert=e/10; 
     
    458464end; 
    459465 
    460 print -depsc2 composite_sahel_2_u700_hgt.eps; 
     466print('-depsc2','composite_sahel_2_u700_hgt.eps'); 
  • /trunk/src/mode_sahelien/lagged_correlations_eof2_eof3_1030.m

    r20 r30  
    44close all; 
    55 
    6 load eof3_1030.txt;load eof2_1030.txt; 
     6status=load('eof3_1030.txt'); 
     7eof3_1030=status; 
     8clear status; 
     9status=load('eof2_1030.txt'); 
     10eof2_1030=status; 
     11clear status; 
    712 
    813eof3_moy=mean(eof3_1030); 
     
    6974   XCercle(a)=XCentre+Rayon*cos((2*pi*VTheta(a))/360); 
    7075   YCercle(a)=YCentre+Rayon*sin((2*pi*VTheta(a))/360); 
    71 end 
     76end; 
    7277plot(XCercle, YCercle,'k'); 
    7378x=[-0.00001 0]'; 
     
    9499 
    95100figure(1); 
    96 print -depsc2 lag_correlations_eof2_eof3_1030.eps; 
     101print('-depsc2','lag_correlations_eof2_eof3_1030.eps'); 
    97102figure(2); 
    98 print -depsc2 phase_space_diagram_eof2_eof3_1030.eps; 
     103print('-depsc2','phase_space_diagram_eof2_eof3_1030.eps'); 
    99104 
    100105phase1=zeros(3416,3); 
     
    157162end; 
    158163 
    159 save phase1.txt phase1 -ascii; 
    160 save phase2.txt phase2 -ascii; 
    161 save phase3.txt phase3 -ascii; 
    162 save phase4.txt phase4 -ascii; 
     164save('phase1.txt','phase1','-ASCII'); 
     165save('phase2.txt','phase2','-ASCII'); 
     166save('phase3.txt','phase3','-ASCII'); 
     167save('phase4.txt','phase4','-ASCII'); 
    163168 
    164 save phase5.txt phase5 -ascii; 
    165 save phase6.txt phase6 -ascii; 
    166 save phase7.txt phase7 -ascii; 
    167 save phase8.txt phase8 -ascii; 
     169save('phase5.txt','phase5','-ASCII'); 
     170save('phase6.txt','phase6','-ASCII'); 
     171save('phase7.txt','phase7','-ASCII'); 
     172save('phase8.txt','phase8','-ASCII'); 
  • /trunk/src/mode_sahelien/prepare_olr_filtre.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
    9 cd('mode_sahelien'); 
     8 
    109% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1110% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4241      for c=1:siz; 
    4342           vecteur(c)=olr1(a,b,c); 
    44       end 
     43      end; 
    4544      std_c=nanmean(vecteur); 
    4645      for c=1:siz; 
    4746          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    48       end 
    49    end 
     47      end; 
     48   end; 
    5049end; 
    5150 
  • /trunk/src/mode_sahelien/prepare_olr_total.m

    r20 r30  
    55close all; 
    66 
    7 cd('..'); 
    87ncload('olr.day.mean.nc'); 
     8 
    99for a=12327; 
    1010    clear coco; 
     
    1212    coco=flipud(coco); 
    1313    olr(a,:,:)=coco; 
    14 end 
     14end; 
    1515 
    16 cd('mode_sahelien'); 
    1716% taille 12327x73x144 1er juin 1974-31 decembre2007 
    1817% on enleve les annees 1974 a 1978 nombre de jours a enlever au debut 214+365+366+365+365 
     
    4948      for c=1:siz; 
    5049           vecteur(c)=olr1(a,b,c); 
    51       end 
     50      end; 
    5251      std_c=nanmean(vecteur); 
    5352      for c=1:siz; 
    5453          olr1(a,b,c)=olr1(a,b,c)-std_c; 
    55       end 
    56    end 
     54      end; 
     55   end; 
    5756end; 
    5857 
     
    151150olr_total=olr; 
    152151clear olr; 
    153 save olr_total.mat olr_total; 
     152save('olr_total.mat','olr_total;'); 
    154153clear; 
  • /trunk/src/mode_sahelien/read_pluie_ird.m

    r20 r30  
    55clear; 
    66close all; 
    7 cd('Pluie_ird'); 
    87 
    98% on selectionne les mois d ete (attention aux annees bixestiles!) 
     
    220219clear siz sizbis; 
    221220clear v; 
    222 cd('..'); 
     221 
    223222% essai de visualisation d'une carte de pluie annuelle 
    224223orient('landscape'); 
  • /trunk/src/mode_sahelien/read_pluie_ird_25.m

    r20 r30  
    55clear; 
    66close all; 
    7 cd('Pluie_ird_25'); 
    87 
    98% on selectionne les mois d ete (attention aux annees bixestiles!) 
     
    220219clear siz sizbis; 
    221220clear v; 
    222 cd('..'); 
     221 
    223222% essai de visualisation d'une carte de pluie annuelle 
    224223orient('landscape'); 
     
    236235         if v1(b,c)>3000; 
    237236           v1(b,c)=3000; 
    238          end 
     237         end; 
    239238      end; 
    240239   end; 
     
    251250   set (gca,'YTick',[0:10:20],'YTickLabel',['  0';'10N';'20N'],'fontname','Arial','fontsize',6); 
    252251end; 
    253 print -depsc2 pluie_ird_25_degres.eps; 
     252print('-depsc2','pluie_ird_25_degres.eps'); 
  • /trunk/src/mode_sahelien/reconstitution.m

    r20 r30  
    44close all; 
    55 
    6 load eof_rossby_jjas.mat 
     6status=load('eof_rossby_jjas.mat','C','olr_centre'); 
     7C=status.C; 
     8olr_centre=status.olr_centre; 
     9clear status; 
     10 
    711olr_centre=olr_centre'; 
    812PC1=olr_centre*C; 
     
    5559cosa2=mean(cosa2); 
    5660cosa2=cosa2'; 
    57 save mode_rossby_jjas.txt cosa2 -ascii; 
     61save('mode_rossby_jjas.txt','cosa2','-ASCII'); 
    5862 
    5963cosa2=reshape(cosa2,122,22); 
     
    8589        figure(2); 
    8690        subplot(4,3,a-11); 
    87      end 
     91     end; 
    8892     y1=cosa1(:,a); 
    8993     y2=cosa2(:,a); 
     
    104108     elseif a==13; 
    105109         text(0,65,'OLR 5 - 17.5N et 10W - 10E'); 
    106      end 
     110     end; 
    107111     set (gca,'tickDir','out'); 
    108112     if a==11; 
     
    128132 
    129133figure(1); 
    130 print -depsc2 reconstitution_OLR_JJAS_part1.eps; 
     134print('-depsc2','reconstitution_OLR_JJAS_part1.eps'); 
    131135figure(2); 
    132 print -depsc2 reconstitution_OLR_JJAS_part2.eps; 
     136print('-depsc2','reconstitution_OLR_JJAS_part2.eps'); 
    133137figure(3); 
    134 print -depsc2 reconstitution_OLR_JJAS_part3.eps; 
     138print('-depsc2','reconstitution_OLR_JJAS_part3.eps'); 
  • /trunk/src/mode_sahelien/reconstitution_1025.m

    r20 r30  
    66%lon=[-30:2.5:30], lat=[-10:2.5:30] 
    77 
    8 load eof_1025_jjas.mat; 
     8status=load('eof_1025_jjas.mat','C','olr'); 
     9C=status.C; 
     10olr=status.olr; 
     11clear status; 
     12 
    913olr=olr'; 
    1014PC1=olr*C; 
     
    5963cosa23=mean(cosa23); 
    6064cosa23=cosa23'; 
    61 save eof23_1025.txt cosa23 -ascii; 
     65save('eof23_1025.txt','cosa23','-ASCII'); 
    6266cosa23=reshape(cosa23,122,28); 
    6367 
     
    6872cosa24=mean(cosa24); 
    6973cosa24=cosa24'; 
    70 save eof24_1025.txt cosa24 -ascii; 
     74save('eof24_1025.txt','cosa24','-ASCII'); 
    7175cosa24=reshape(cosa24,122,28); 
    7276 
     
    9296        figure(3); 
    9397        subplot(4,3,a-23); 
    94      end 
     98     end; 
    9599     y2=ind_olr(:,a); 
    96100     y4=cosa24(:,a); 
     
    107111     elseif a==13; 
    108112         text(0,65,'OLR 5 -12.5N et 10W - 10E'); 
    109      end 
     113     end; 
    110114     set (gca,'tickDir','out'); 
    111115     if a==11; 
     
    126130 
    127131figure(1); 
    128 print -depsc2 reconstitution1_eof234_1025.eps; 
     132print('-depsc2','reconstitution1_eof234_1025.eps'); 
    129133figure(2); 
    130 print -depsc2 reconstitution2_eof234_1025.eps; 
     134print('-depsc2','reconstitution2_eof234_1025.eps'); 
    131135figure(3); 
    132 print -depsc2 reconstitution3_eof234_1025.eps; 
     136print('-depsc2','reconstitution3_eof234_1025.eps'); 
  • /trunk/src/mode_sahelien/reconstitution_1030.m

    r20 r30  
    66%lon=[-30:2.5:30], lat=[-10:2.5:30] 
    77 
    8 load eof_1030_jjas.mat; 
     8status=load('eof_1030_jjas.mat','C','olr'); 
     9C=status.C; 
     10olr=status.olr; 
     11clear status; 
     12 
    913olr=olr'; 
    1014PC1=olr*C; 
     
    5963cosa23=mean(cosa23); 
    6064cosa23=cosa23'; 
    61 save eof23_1030.txt cosa23 -ascii; 
     65save('eof23_1030.txt','cosa23','-ASCII'); 
    6266cosa23=reshape(cosa23,122,28); 
    6367 
     
    6872cosa24=mean(cosa24); 
    6973cosa24=cosa24'; 
    70 save eof24_1030.txt cosa24 -ascii; 
     74save('eof24_1030.txt','cosa24','-ASCII'); 
    7175cosa24=reshape(cosa24,122,28); 
    7276 
     
    8993        figure(2); 
    9094        subplot(4,3,a-11); 
    91     else 
     95     else 
    9296        figure(3); 
    9397        subplot(4,3,a-23); 
    94      end 
     98     end; 
    9599     y2=cosa23(:,a); 
    96100     y4=cosa4(:,a); 
     
    107111     elseif a==13; 
    108112         text(0,65,'OLR 7.5 -12.5N et 10W - 10E'); 
    109      end 
     113     end; 
    110114     set (gca,'tickDir','out'); 
    111115     if a==11; 
     
    126130 
    127131figure(1); 
    128 print -depsc2 reconstitution1_eof23_filtreER_1030.eps; 
     132print('-depsc2','reconstitution1_eof23_filtreER_1030.eps'); 
    129133figure(2); 
    130 print -depsc2 reconstitution2_eof23_filtreER_1030.eps; 
     134print('-depsc2','reconstitution2_eof23_filtreER_1030.eps'); 
    131135figure(3); 
    132 print -depsc2 reconstitution3_eof23_filtreER_1030.eps; 
     136print('-depsc2','reconstitution3_eof23_filtreER_1030.eps'); 
  • /trunk/src/mode_sahelien/reconstitution_1030_std.m

    r20 r30  
    66%lon=[-30:2.5:30], lat=[-10:2.5:30] 
    77 
    8 load eof_1030_jjas.mat; 
     8status=load('eof_1030_jjas.mat','C','olr'); 
     9C=status.C; 
     10olr=status.olr; 
     11clear status; 
     12 
    913olr=olr'; 
    1014PC1=olr*C; 
     
    7276        figure(2); 
    7377        subplot(4,3,a-11); 
    74     else 
     78     else 
    7579        figure(3); 
    7680        subplot(4,3,a-22); 
    77      end 
     81     end; 
    7882     y1=cosa1(:,a); 
    7983     y2=cosa24(:,a); 
     
    9195     elseif a==13; 
    9296         text(0,65,'OLR 7.5 -12.5N et 10W - 10E'); 
    93      end 
     97     end; 
    9498     set (gca,'tickDir','out'); 
    9599     if a==11; 
     
    110114 
    111115figure(1); 
    112 print -depsc2 reconstitution1_eof23_filtreER_1030.eps; 
     116print('-depsc2','reconstitution1_eof23_filtreER_1030.eps'); 
    113117figure(2); 
    114 print -depsc2 reconstitution2_eof23_filtreER_1030.eps; 
     118print('-depsc2','reconstitution2_eof23_filtreER_1030.eps'); 
    115119figure(3); 
    116 print -depsc2 reconstitution3_eof23_filtreER_1030.eps; 
     120print('-depsc2','reconstitution3_eof23_filtreER_1030.eps'); 
  • /trunk/src/mode_sahelien/reconstitution_30100_eof1.m

    r20 r30  
    66%lon=[-30:2.5:30], lat=[-10:2.5:30] 
    77 
    8 load eof_30100_jjas.mat; 
     8status=load('eof_30100_jjas.mat','C','olr'); 
     9C=status.C; 
     10olr=status.olr; 
     11clear status; 
     12 
    913olr=olr'; 
    1014PC1=olr*C; 
     
    5458cosa1=mean(cosa1); 
    5559cosa1=cosa1'; 
    56 save eof1_30100.txt cosa1 -ascii; 
     60save('eof1_30100.txt','cosa1','-ASCII'); 
    5761cosa1=reshape(cosa1,122,28); 
    5862 
     
    7579        figure(2); 
    7680        subplot(4,3,a-11); 
    77     else 
     81     else 
    7882        figure(3); 
    7983        subplot(4,3,a-23); 
    80      end 
     84     end; 
    8185     y2=cosa1(:,a); 
    8286     y4=cosa4(:,a); 
     
    9397     elseif a==13; 
    9498         text(0,65,'OLR 7.5 -12.5N et 10W - 10E'); 
    95      end 
     99     end; 
    96100     set (gca,'tickDir','out'); 
    97101     if a==11; 
     
    112116 
    113117figure(1); 
    114 print -depsc2 reconstitution1_eof1_filtreER_30100.eps; 
     118print('-depsc2','reconstitution1_eof1_filtreER_30100.eps'); 
    115119figure(2); 
    116 print -depsc2 reconstitution2_eof1_filtreER_30100.eps; 
     120print('-depsc2','reconstitution2_eof1_filtreER_30100.eps'); 
    117121figure(3); 
    118 print -depsc2 reconstitution3_eof1_filtreER_30100.eps; 
     122print('-depsc2','reconstitution3_eof1_filtreER_30100.eps'); 
  • /trunk/src/mode_sahelien/reconstitution_30100_eof23.m

    r20 r30  
    66%lon=[-30:2.5:30], lat=[-10:2.5:30] 
    77 
    8 load eof_30100_jjas.mat; 
     8status=load('eof_30100_jjas.mat','C','olr'); 
     9C=status.C; 
     10olr=status.olr; 
     11clear status; 
     12 
    913olr=olr'; 
    1014PC1=olr*C; 
     
    5155cosa23=mean(cosa23); 
    5256cosa23=cosa23'; 
    53 save eof23_30100.txt cosa23 -ascii; 
     57save('eof23_30100.txt','cosa23','-ASCII'); 
    5458std23=std(cosa23); 
    5559cosa23=cosa23/std23; 
     
    7680        figure(2); 
    7781        subplot(4,3,a-11); 
    78     else 
     82     else 
    7983        figure(3); 
    8084        subplot(4,3,a-23); 
    81      end 
     85     end; 
    8286     y1=cosa1(:,a); 
    8387     y2=cosa23(:,a); 
     
    9498     elseif a==13; 
    9599         text(0,65,'OLR 7.5 -12.5N et 10W - 10E'); 
    96      end 
     100     end; 
    97101     set (gca,'tickDir','out'); 
    98102     if a==11; 
     
    113117 
    114118figure(1); 
    115 print -depsc2 reconstitution1_eof23_30100.eps; 
     119print('-depsc2','reconstitution1_eof23_30100.eps'); 
    116120figure(2); 
    117 print -depsc2 reconstitution2_eof23_30100.eps; 
     121print('-depsc2','reconstitution2_eof23_30100.eps'); 
    118122figure(3); 
    119 print -depsc2 reconstitution3_eof23_30100.eps; 
     123print('-depsc2','reconstitution3_eof23_30100.eps'); 
  • /trunk/src/mode_sahelien/reconstitution_ER_rossby_1030.m

    r20 r30  
    66%lon=[-30:2.5:30], lat=[-10:2.5:30] 
    77 
    8 load eof_rossby_jjas_2006_1030.mat 
     8status=load('eof_rossby_jjas_2006_1030.mat','C','olr'); 
     9C=status.C; 
     10olr=status.olr; 
     11clear status; 
     12 
    913olr=olr'; 
    1014PC1=olr*C; 
     
    5458cosa12=mean(cosa12); 
    5559cosa12=cosa12'; 
    56 save eof12_rossby_1030.txt cosa12 -ascii; 
     60save('eof12_rossby_1030.txt','cosa12','-ASCII'); 
    5761cosa12=reshape(cosa12,122,28); 
    5862 
     
    7579        figure(2); 
    7680        subplot(4,3,a-11); 
    77     else 
     81     else 
    7882        figure(3); 
    7983        subplot(4,3,a-23); 
    80      end 
     84     end; 
    8185     y2=cosa12(:,a); 
    8286     y4=cosa4(:,a); 
     
    9397     elseif a==13; 
    9498         text(0,65,'OLR 5 - 17.5N et 10W - 10E'); 
    95      end 
     99     end; 
    96100     set (gca,'tickDir','out'); 
    97101     if a==11; 
     
    112116 
    113117figure(1); 
    114 print -depsc2 reconstitution1_eof12_filtreER_1030.eps; 
     118print('-depsc2','reconstitution1_eof12_filtreER_1030.eps'); 
    115119figure(2); 
    116 print -depsc2 reconstitution2_eof12_filtreER_1030.eps; 
     120print('-depsc2','reconstitution2_eof12_filtreER_1030.eps'); 
    117121figure(3); 
    118 print -depsc2 reconstitution3_eof12_filtreER_1030.eps; 
     122print('-depsc2','reconstitution3_eof12_filtreER_1030.eps'); 
  • /trunk/src/mode_sahelien/reconstitution_ER_rossby_30100.m

    r20 r30  
    66%lon=[-30:2.5:30], lat=[-10:2.5:30] 
    77 
    8 load eof_rossby_jjas_2006_30100.mat 
     8status=load('eof_rossby_jjas_2006_30100.mat','C','olr'); 
     9C=status.C; 
     10olr=status.olr; 
     11clear status; 
     12 
    913olr=olr'; 
    1014PC1=olr*C; 
     
    5458cosa12=mean(cosa12); 
    5559cosa12=cosa12'; 
    56 save eof12_rossby_30100.txt cosa12 -ascii; 
     60save('eof12_rossby_30100.txt','cosa12','-ASCII'); 
    5761cosa12=reshape(cosa12,122,28); 
    5862 
     
    7579        figure(2); 
    7680        subplot(4,3,a-11); 
    77     else 
     81     else 
    7882        figure(3); 
    7983        subplot(4,3,a-23); 
    80      end 
     84     end; 
    8185     y2=cosa12(:,a); 
    8286     y4=cosa4(:,a); 
     
    9397     elseif a==13; 
    9498         text(0,65,'OLR 5 - 17.5N et 10W - 10E'); 
    95      end 
     99     end; 
    96100     set (gca,'tickDir','out'); 
    97101     if a==11; 
     
    112116 
    113117figure(1); 
    114 print -depsc2 reconstitution1_eof12_filtreER_30100.eps; 
     118print('-depsc2','reconstitution1_eof12_filtreER_30100.eps'); 
    115119figure(2); 
    116 print -depsc2 reconstitution2_eof12_filtreER_30100.eps; 
     120print('-depsc2','reconstitution2_eof12_filtreER_30100.eps'); 
    117121figure(3); 
    118 print -depsc2 reconstitution3_eof12_filtreER_30100.eps; 
     122print('-depsc2','reconstitution3_eof12_filtreER_30100.eps'); 
  • /trunk/src/mode_sahelien/reconstitution_ER_rossby_30100_bis.m

    r20 r30  
    55%lon=[-30:2.5:30], lat=[-10:2.5:30] 
    66 
    7 load eof_rossby_jjas_2006_30100.mat 
     7status=load('eof_rossby_jjas_2006_30100.mat','C','olr'); 
     8C=status.C; 
     9olr=status.olr; 
     10clear status; 
     11 
    812olr=olr'; 
    913PC1=olr*C; 
     
    6468cosa12=mean(cosa12); 
    6569cosa12=cosa12'; 
    66 save eof12_rossby_30100.txt cosa12 -ascii; 
     70save('eof12_rossby_30100.txt','cosa12','-ASCII'); 
    6771cosa12=reshape(cosa12,122,28); 
    6872 
  • /trunk/src/mode_sahelien/time_serie_ER_rossby_1030.m

    r20 r30  
    33clear; 
    44 
    5 load eof_rossby_jjas_2006_1030.mat 
     5status=load('eof_rossby_jjas_2006_1030.mat','C','olr'); 
     6C=status.C; 
     7olr=status.olr; 
     8clear status; 
     9 
    610olr=olr'; 
    711PC1=olr*C; 
     
    1317    for b=1:28; 
    1418       year(a,b)=1979+(b-1); 
    15     end 
    16 end 
     19    end; 
     20end; 
    1721year=reshape(year,3416,1); 
    1822 
     
    2125    for b=1:28; 
    2226       day(a,b)=31+28+31+30+31+a; 
    23     end 
    24 end 
     27    end; 
     28end; 
    2529day=reshape(day,3416,1); 
    2630 
     
    3539end; 
    3640 
    37 save table_ER_1030.txt table_ER_1030 -ascii; 
     41save('table_ER_1030.txt','table_ER_1030','-ASCII'); 
    3842 
    3943a=1; 
     
    5862set (gca,'YTick',[-100:20:100],'YTickLabel',[-100:20:100],'fontname','Arial','fontsize',6); 
    5963set (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  
    1111orient('landscape') 
    1212 
    13 load eof_rossby_jjas_2006_1030.mat 
     13status=load('eof_rossby_jjas_2006_1030.mat','C','olr'); 
     14C=status.C; 
     15olr=status.olr; 
     16clear status; 
     17 
    1418olr=olr'; 
    1519PC1=olr*C; 
     
    2832      figure(3); 
    2933      subplot(4,3,a-22); 
    30    end 
     34   end; 
    3135   clear koro1 
    3236   debut=(a-1)*122+1; 
     
    4549   if a==2; 
    4650       text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); 
    47     elseif a==13; 
     51   elseif a==13; 
    4852       text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); 
    4953   elseif a==24; 
    5054       text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); 
    51    end 
     55   end; 
    5256   title(a+1978,'FontSize',8); 
    5357   set (gca,'tickDir','out'); 
     
    5660set (gca,'YTick',[-100:20:100],'YTickLabel',[-100:20:100],'fontname','Arial','fontsize',6); 
    5761set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); 
    58 end 
     62end; 
    5963 
    6064figure(1); 
    61 print -depsc2 time_serie_eof_ER_10-30j_part1.eps; 
     65print('-depsc2','time_serie_eof_ER_10-30j_part1.eps'); 
    6266figure(2); 
    63 print -depsc2 time_serie_eof_ER_10-30j_part2.eps; 
     67print('-depsc2','time_serie_eof_ER_10-30j_part2.eps'); 
    6468figure(3); 
    65 print -depsc2 time_serie_eof_ER_10-30j_part3.eps; 
     69print('-depsc2','time_serie_eof_ER_10-30j_part3.eps'); 
  • /trunk/src/mode_sahelien/time_serie_ER_rossby_30100.m

    r20 r30  
    33clear; 
    44 
    5 load eof_rossby_jjas_2006_30100.mat 
     5status=load('eof_rossby_jjas_2006_30100.mat','C','olr'); 
     6C=status.C; 
     7olr=status.olr; 
     8clear status; 
     9 
    610olr=olr'; 
    711PC1=olr*C; 
     
    1317    for b=1:28; 
    1418       year(a,b)=1979+(b-1); 
    15     end 
    16 end 
     19    end; 
     20end; 
    1721year=reshape(year,3416,1); 
    1822 
     
    2125    for b=1:28; 
    2226       day(a,b)=31+28+31+30+31+a; 
    23     end 
    24 end 
     27    end; 
     28end; 
    2529day=reshape(day,3416,1); 
    2630 
     
    3539end; 
    3640 
    37 save table_ER_30100.txt table_ER_30100 -ascii; 
     41save('table_ER_30100.txt','table_ER_30100','-ASCII'); 
    3842 
    3943a=1; 
  • /trunk/src/mode_sahelien/time_serie_ER_rossby_30100_complet.m

    r20 r30  
    1111orient('landscape') 
    1212 
    13 load eof_rossby_jjas_2006_30100.mat 
     13status=load('eof_rossby_jjas_2006_30100.mat','C','olr'); 
     14C=status.C; 
     15olr=status.olr; 
     16clear status; 
     17 
    1418olr=olr'; 
    1519PC1=olr*C; 
     
    2832      figure(3); 
    2933      subplot(4,3,a-22); 
    30    end 
     34   end; 
    3135   clear koro1 
    3236   debut=(a-1)*122+1; 
     
    4549   if a==2; 
    4650       text(0,183,'time series EOF1 and EOF2 OLR ER 30-100d'); 
    47     elseif a==13; 
     51   elseif a==13; 
    4852       text(0,183,'time series EOF1 and EOF2 OLR ER 30-100d'); 
    4953   elseif a==24; 
    5054       text(0,183,'time series EOF1 and EOF2 OLR ER 30-100d'); 
    51    end 
     55   end; 
    5256   title(a+1978,'FontSize',8); 
    5357   set (gca,'tickDir','out'); 
     
    5660set (gca,'YTick',[-100:20:100],'YTickLabel',[-100:20:100],'fontname','Arial','fontsize',6); 
    5761set (gca,'XTick',[0:20:120],'XTickLabel',[0:20:120],'fontname','Arial','fontsize',6); 
    58 end 
     62end; 
    5963 
    6064figure(1); 
    61 print -depsc2 time_serie_eof_ER_30-100j_part1.eps; 
     65print('-depsc2','time_serie_eof_ER_30-100j_part1.eps'); 
    6266figure(2); 
    63 print -depsc2 time_serie_eof_ER_30-100j_part2.eps; 
     67print('-depsc2','time_serie_eof_ER_30-100j_part2.eps'); 
    6468figure(3); 
    65 print -depsc2 time_serie_eof_ER_30-100j_part3.eps; 
     69print('-depsc2','time_serie_eof_ER_30-100j_part3.eps'); 
  • /trunk/src/mode_sahelien/time_serie_histog_phase.m

    r20 r30  
    1717 
    1818figure(1); 
    19 print -depsc2 time_serie_type_tps_phase14.eps; 
     19print('-depsc2','time_serie_type_tps_phase14.eps'); 
    2020figure(2); 
    21 print -depsc2 time_serie_type_tps_phase58.eps; 
     21print('-depsc2','time_serie_type_tps_phase58.eps'); 
  • /trunk/src/mode_sahelien/time_serie_histog_phase1.m

    r20 r30  
    22 
    33clear; 
    4 load phase1.txt; 
     4status=load('phase1.txt'); 
     5phase1=status; 
     6clear status; 
    57phase1=reshape(phase1,122,28,3); 
    68 
    79%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    810% on ouvre le fichier 
    9 load occu.txt 
     11status=load('occu.txt'); 
     12occu=status; 
     13clear status; 
    1014 
    1115% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    8892    for b=1:4 
    8993       kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 
    90     end 
    91 end 
     94    end; 
     95end; 
    9296 
    9397for a=1:4; 
     
    105109    else 
    106110       bar(jour,diff,'r'); 
    107     end 
     111    end; 
    108112    set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 
    109113    set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); 
     
    120124       title('Blocking','Fontsize',8,'Fontname','Arial'); 
    121125    end; 
    122 end 
     126end; 
  • /trunk/src/mode_sahelien/time_serie_histog_phase2.m

    r20 r30  
    22 
    33clear; 
    4 load phase2.txt; 
     4status=load('phase2.txt'); 
     5phase2=status; 
     6clear status; 
    57phase2=reshape(phase2,122,28,3); 
    68 
    79%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    810% on ouvre le fichier 
    9 load occu.txt 
     11status=load('occu.txt'); 
     12occu=status; 
     13clear status; 
    1014 
    1115% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    8892    for b=1:4 
    8993       kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 
    90     end 
    91 end 
     94    end; 
     95end; 
    9296 
    9397for a=1:4; 
     
    105109    else 
    106110       bar(jour,diff,'r'); 
    107     end 
     111    end; 
    108112    set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 
    109113    set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); 
     
    120124       title('Blocking','Fontsize',8,'Fontname','Arial'); 
    121125    end; 
    122 end 
     126end; 
  • /trunk/src/mode_sahelien/time_serie_histog_phase3.m

    r20 r30  
    22 
    33clear; 
    4 load phase3.txt; 
     4status=load('phase3.txt'); 
     5phase3=status; 
     6clear status; 
    57phase3=reshape(phase3,122,28,3); 
    68 
    79%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    810% on ouvre le fichier 
    9 load occu.txt 
     11status=load('occu.txt'); 
     12occu=status; 
     13clear status; 
    1014 
    1115% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    2327% boucle sur les annees 
    2428for a=1:28; 
    25    % 1ere condition (laisser une marge de 10) 
    2629   for b=1:122; 
     30      % 1ere condition (laisser une marge de 10) 
    2731      if (b>11 && b<112); 
    2832%        condition 1 on est a un maximum deltas apres sont negetifs et 
     
    8892    for b=1:4 
    8993       kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 
    90     end 
    91 end 
     94    end; 
     95end; 
    9296 
    9397for a=1:4; 
     
    105109    else 
    106110       bar(jour,diff,'r'); 
    107     end 
     111    end; 
    108112    set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 
    109113    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  
    22 
    33clear; 
    4 load phase4.txt; 
     4status=load('phase4.txt'); 
     5phase4=status; 
     6clear status; 
    57phase4=reshape(phase4,122,28,3); 
    68 
    79%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    810% on ouvre le fichier 
    9 load occu.txt 
     11status=load('occu.txt'); 
     12occu=status; 
     13clear status; 
    1014 
    1115% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    8892    for b=1:4 
    8993       kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 
    90     end 
    91 end 
     94    end; 
     95end; 
    9296 
    9397for a=1:4; 
     
    105109    else 
    106110       bar(jour,diff,'r'); 
    107     end 
     111    end; 
    108112    set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 
    109113    set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); 
     
    120124       title('Blocking','Fontsize',8,'Fontname','Arial'); 
    121125    end; 
    122 end 
     126end; 
  • /trunk/src/mode_sahelien/time_serie_histog_phase5.m

    r20 r30  
    22 
    33clear; 
    4 load phase5.txt; 
     4status=load('phase5.txt'); 
     5phase5=status; 
     6clear status; 
    57phase5=reshape(phase5,122,28,3); 
    68 
    79%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    810% on ouvre le fichier 
    9 load occu.txt 
     11status=load('occu.txt'); 
     12occu=status; 
     13clear status; 
    1014 
    1115% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    8892    for b=1:4 
    8993       kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 
    90     end 
    91 end 
     94    end; 
     95end; 
    9296 
    9397for a=1:4; 
     
    105109    else 
    106110       bar(jour,diff,'r'); 
    107     end 
     111    end; 
    108112    set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 
    109113    set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); 
     
    120124       title('Blocking','Fontsize',8,'Fontname','Arial'); 
    121125    end; 
    122 end 
     126end; 
  • /trunk/src/mode_sahelien/time_serie_histog_phase6.m

    r20 r30  
    22 
    33clear; 
    4 load phase6.txt; 
     4status=load('phase6.txt'); 
     5phase6=status; 
     6clear status; 
    57phase6=reshape(phase6,122,28,3); 
    68 
    79%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    810% on ouvre le fichier 
    9 load occu.txt 
     11status=load('occu.txt'); 
     12occu=status; 
     13clear status; 
    1014 
    1115% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    8892    for b=1:4 
    8993       kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 
    90     end 
    91 end 
     94    end; 
     95end; 
    9296 
    9397for a=1:4; 
     
    105109    else 
    106110       bar(jour,diff,'r'); 
    107     end 
     111    end; 
    108112    set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 
    109113    set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); 
     
    120124       title('Blocking','Fontsize',8,'Fontname','Arial'); 
    121125    end; 
    122 end 
     126end; 
  • /trunk/src/mode_sahelien/time_serie_histog_phase7.m

    r20 r30  
    22 
    33clear; 
    4 load phase7.txt; 
     4status=load('phase7.txt'); 
     5phase7=status; 
     6clear status; 
    57phase7=reshape(phase7,122,28,3); 
    68 
    79%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    810% on ouvre le fichier 
    9 load occu.txt 
     11status=load('occu.txt'); 
     12occu=status; 
     13clear status; 
    1014 
    1115% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    8892    for b=1:4 
    8993       kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 
    90     end 
    91 end 
     94    end; 
     95end; 
    9296 
    9397for a=1:4; 
     
    105109    else 
    106110       bar(jour,diff,'r'); 
    107     end 
     111    end; 
    108112    set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 
    109113    set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); 
     
    120124       title('Blocking','Fontsize',8,'Fontname','Arial'); 
    121125    end; 
    122 end 
     126end; 
  • /trunk/src/mode_sahelien/time_serie_histog_phase8.m

    r20 r30  
    22 
    33clear; 
    4 load phase8.txt; 
     4status=load('phase8.txt'); 
     5phase8=status; 
     6clear status; 
    57phase8=reshape(phase8,122,28,3); 
    68 
    79%%%%%%%%%%%% FICHIER TYPE DE TEMPS 
    810% on ouvre le fichier 
    9 load occu.txt 
     11status=load('occu.txt'); 
     12occu=status; 
     13clear status; 
    1014 
    1115% on reorganise le fichier de type de temps (jours,annees,cluster) 
     
    8892    for b=1:4 
    8993       kara_diff(a,b)=kara_max(a,b)-kara_moy(b); 
    90     end 
    91 end 
     94    end; 
     95end; 
    9296 
    9397for a=1:4; 
     
    105109    else 
    106110       bar(jour,diff,'r'); 
    107     end 
     111    end; 
    108112    set (gca,'XTick',[-10:2:10],'XTickLabel',[-10:2:10],'fontname','Arial','fontsize',6); 
    109113    set (gca,'YTick',[-20:10:20],'YTickLabel',[-20:5:20],'fontname','Arial','fontsize',6); 
     
    117121    elseif a==3; 
    118122       title('NAO-','Fontsize',8,'Fontname','Arial'); 
    119        else 
     123    else 
    120124       title('Blocking','Fontsize',8,'Fontname','Arial'); 
    121125    end; 
    122 end 
     126end; 
  • /trunk/src/mode_sahelien/time_serie_jjas.m

    r20 r30  
    33clear; 
    44 
    5 load eof_1030_jjas.mat 
     5status=load('eof_1030_jjas.mat','C','olr'); 
     6C=status.C; 
     7olr=status.olr; 
     8clear status; 
     9 
    610olr=olr'; 
    711PC1=olr*C; 
     
    2024   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    2125   time_serie_olr3(a)=time_serie_olr3(a)/dt_olr3; 
    22 end 
     26end; 
    2327 
    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; 
     28save('eof1_1030.txt','time_serie_olr1','-ASCII'); 
     29save('eof2_1030.txt','time_serie_olr2','-ASCII'); 
     30save('eof3_1030.txt','time_serie_olr3','-ASCII'); 
    2731 
    2832x=[1:3416]'; 
     
    3741      figure(3); 
    3842      subplot(4,3,a-22); 
    39    end 
    40    clear koro1 
     43   end; 
     44   clear koro1; 
    4145   debut=(a-1)*122+1; 
    4246   fin=a*122; 
     
    4953   y=zeros(122,1); 
    5054   plot(x,y,'k:'); 
    51    title(a+1978,'FontSize',8) 
     55   title(a+1978,'FontSize',8); 
    5256   if a==2; 
    5357       text(0,5.5,'serie temporelle VP1'); 
    54     elseif a==13; 
     58   elseif a==13; 
    5559       text(0,5.5,'serie temporelle VP1'); 
    5660   elseif a==24; 
    5761       text(0,5.5,'serie temporelle VP1'); 
    58    end 
     62   end; 
    5963   set (gca,'tickDir','out'); 
    6064   axis([1 122 -3 3]); 
    6165 
    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); 
    6468end; 
  • /trunk/src/mode_sahelien/time_serie_jjas_10_25.m

    r20 r30  
    33clear; 
    44 
    5 load eof_1025_jjas.mat; 
     5status=load('eof_1025_jjas.mat','C','olr'); 
     6C=status.C; 
     7olr=status.olr; 
     8clear status; 
     9 
    610olr=olr'; 
    711PC1=olr*C; 
     
    2024   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    2125   time_serie_olr3(a)=time_serie_olr3(a)/dt_olr3; 
    22 end 
     26end; 
    2327 
    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; 
     28save('eof1_olr_rossby_jjas_1025.txt','time_serie_olr1','-ASCII'); 
     29save('eof2_olr_rossby_jjas_1025.txt','time_serie_olr2','-ASCII'); 
     30save('eof3_olr_rossby_jjas_1025.txt','time_serie_olr3','-ASCII'); 
    2731 
    2832x=[1:3416]'; 
     
    3741      figure(3); 
    3842      subplot(4,3,a-22); 
    39    end 
    40    clear koro1 
     43   end; 
     44   clear koro1; 
    4145   debut=(a-1)*122+1; 
    4246   fin=a*122; 
     
    5155   if a==2; 
    5256       text(0,5.5,'serie temporelle VP1 filtrage rossby 10-25j'); 
    53     elseif a==13; 
     57   elseif a==13; 
    5458       text(0,5.5,'serie temporelle VP1 filtrage rossby 10-25j'); 
    5559   elseif a==24; 
     
    6064 
    6165   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); 
    6367end; 
    6468 
    6569figure(1); 
    66 print -depsc2 time_serie_rossby_JJAS_2006_10-25j_part1.eps; 
     70print('-depsc2','time_serie_rossby_JJAS_2006_10-25j_part1.eps'); 
    6771figure(2); 
    68 print -depsc2 time_serie_rossby_JJAS_2006_10-25j_part2.eps; 
     72print('-depsc2','time_serie_rossby_JJAS_2006_10-25j_part2.eps'); 
    6973figure(3); 
    70 print -depsc2 time_serie_rossby_JJAS_2006_10-25j_part3.eps; 
     74print('-depsc2','time_serie_rossby_JJAS_2006_10-25j_part3.eps'); 
  • /trunk/src/mode_sahelien/time_serie_jjas_25_90.m

    r20 r30  
    33clear; 
    44 
    5 load eof_rossby_jjas_2006_2590.mat; 
     5status=load('eof_rossby_jjas_2006_2590.mat','C','olr'); 
     6C=status.C; 
     7olr=status.olr; 
     8clear status; 
     9 
    610olr=olr'; 
    711PC1=olr*C; 
     
    2024   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    2125   time_serie_olr3(a)=time_serie_olr3(a)/dt_olr3; 
    22 end 
     26end; 
    2327 
    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; 
     28save('eof1_olr_rossby_jjas_2590.txt','time_serie_olr1','-ASCII'); 
     29save('eof2_olr_rossby_jjas_2590.txt','time_serie_olr2','-ASCII'); 
     30save('eof3_olr_rossby_jjas_2590.txt','time_serie_olr3','-ASCII'); 
    2731 
    2832x=[1:3416]'; 
     
    3741      figure(3); 
    3842      subplot(4,3,a-22); 
    39    end 
    40    clear koro1 
     43   end; 
     44   clear koro1; 
    4145   debut=(a-1)*122+1; 
    4246   fin=a*122; 
     
    5256   if a==2; 
    5357       text(0,5.5,'serie temporelle VP1 filtrage rossby 25-90j'); 
    54     elseif a==13; 
     58   elseif a==13; 
    5559       text(0,5.5,'serie temporelle VP1 filtrage rossby 25-90j'); 
    5660   elseif a==24; 
     
    6165 
    6266   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); 
    6468end; 
    6569 
    6670figure(1); 
    67 print -depsc2 time_serie_rossby_JJAS_2006_25-90j_part1.eps; 
     71print('-depsc2','time_serie_rossby_JJAS_2006_25-90j_part1.eps'); 
    6872figure(2); 
    69 print -depsc2 time_serie_rossby_JJAS_2006_25-90j_part2.eps; 
     73print('-depsc2','time_serie_rossby_JJAS_2006_25-90j_part2.eps'); 
    7074figure(3); 
    71 print -depsc2 time_serie_rossby_JJAS_2006_25-90j_part3.eps; 
     75print('-depsc2','time_serie_rossby_JJAS_2006_25-90j_part3.eps'); 
  • /trunk/src/mode_sahelien/time_serie_jjas_30100.m

    r20 r30  
    33clear; 
    44 
    5 load eof_30100_jjas.mat 
     5status=load('eof_30100_jjas.mat','C','olr'); 
     6C=status.C; 
     7olr=status.olr; 
     8clear status; 
     9 
    610olr=olr'; 
    711PC1=olr*C; 
     
    2024   time_serie_olr2(a)=time_serie_olr2(a)/dt_olr2; 
    2125   time_serie_olr3(a)=time_serie_olr3(a)/dt_olr3; 
    22 end 
     26end; 
    2327 
    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; 
     28save('eof1_30100.txt','time_serie_olr1','-ASCII'); 
     29save('eof2_30100.txt','time_serie_olr2','-ASCII'); 
     30save('eof3_30100.txt','time_serie_olr3','-ASCII'); 
    2731 
    2832x=[1:3416]'; 
     
    3741      figure(3); 
    3842      subplot(4,3,a-22); 
    39    end 
    40    clear koro1 
     43   end; 
     44   clear koro1; 
    4145   debut=(a-1)*122+1; 
    4246   fin=a*122; 
     
    4953   y=zeros(122,1); 
    5054   plot(x,y,'k:'); 
    51    title(a+1978,'FontSize',8) 
     55   title(a+1978,'FontSize',8); 
    5256   if a==2; 
    5357       text(0,5.5,'serie temporelle VP1 filtrage 30100'); 
    54     elseif a==13; 
     58   elseif a==13; 
    5559       text(0,5.5,'serie temporelle VP1 filtrage 30100'); 
    5660   elseif a==24; 
    5761       text(0,5.5,'serie temporelle VP1 filtrage 30100'); 
    58    end 
     62   end; 
    5963   set (gca,'tickDir','out'); 
    6064   axis([1 122 -3 3]); 
    6165 
    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); 
    6468end; 
    6569 
    6670figure(1); 
    67 print -depsc2 time_serie_JJAS_30100_part1.eps; 
     71print('-depsc2','time_serie_JJAS_30100_part1.eps'); 
    6872figure(2); 
    69 print -depsc2 time_serie_JJAS_30100_part2.eps; 
     73print('-depsc2','time_serie_JJAS_30100_part2.eps'); 
    7074figure(3); 
    71 print -depsc2 time_serie_JJAS_30100_part3.eps; 
     75print('-depsc2','time_serie_JJAS_30100_part3.eps'); 
  • /trunk/src/sauvegrads.m

    r20 r30  
    5757% JMG le 10/03/94 
    5858% 
     59% - fplod 2009-01-12T16:46:41Z aedon.locean-ipsl.upmc.fr (Darwin) 
     60% 
     61%   * date of day was not ok after 19991231 
     62% 
    5963% - fplod 2009-01-05T11:01:41Z aedon.locean-ipsl.upmc.fr (Darwin) 
    6064% 
     
    105109end 
    106110 
    107 % Init date du jour pour enregistrement 
     111% Init date for record 
    108112date1=date; 
    109 date2=[date1(1:2),upper(date1(4:6)),'19',date1(8:9)]; 
     113date2=[date1(1:2),upper(date1(4:6)),date1(8:11)]; 
    110114% test sur les arguments 
    111115[dimy dimx]=size(matrice); 
     
    120124texte=['UNDEF -2E5633 ',10]; 
    121125fwrite(fid,texte,'char'); 
    122 texte=['TITLE Fichier g??n??r?? par la fonction sauvegrads de MATLAB ',10]; 
     126texte=['TITLE File generated by sauvegrads de MATLAB ',10]; 
    123127fwrite(fid,texte,'char'); 
    124128texte=['XDEF ',num2str(dimx),' LINEAR ',num2str(lon),'  ',num2str(inclon),' ',10]; 
Note: See TracChangeset for help on using the changeset viewer.