Changeset 33


Ignore:
Timestamp:
01/27/09 14:10:04 (15 years ago)
Author:
pinsard
Message:

parametrisation of carte_eof_ER_jjas_....m

Location:
trunk/src/mode_sahelien
Files:
4 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/src/mode_sahelien/carte_eof_ER_jjas_1030.m

    r30 r33  
    11% 
     2 
     3%+ 
     4% 
     5% EVOLUTIONS 
     6% =========== 
     7% 
     8% $Id$ 
     9%  
     10% - fplod 2009-01-27T12:37:01Z aedon.locean-ipsl.upmc.fr (Darwin) 
     11% 
     12%   * replaced by carte_eof_ER_jjas_df.m 
     13% 
     14%- 
    215 
    316clear; 
  • trunk/src/mode_sahelien/carte_eof_ER_jjas_30100.m

    r30 r33  
    11% 
     2 
     3%+ 
     4% 
     5% EVOLUTIONS 
     6% =========== 
     7% 
     8% $Id$ 
     9% 
     10% - fplod 2009-01-27T12:37:01Z aedon.locean-ipsl.upmc.fr (Darwin) 
     11% 
     12%   * replaced by carte_eof_ER_jjas_df.m 
     13% 
     14%- 
     15 
    216clear; 
    317status=load('eof_rossby_jjas_2006_30100.mat','C','L'); 
  • trunk/src/mode_sahelien/carte_eof_ER_jjas_df.m

    r30 r33  
    1 % 
    2  
    3 clear; 
    4 status=load('eof_rossby_jjas_2006_1030.mat','C','L'); 
     1function carte_eof_ER_jjas_df(ndmin, ndmax) 
     2% carte_eof_ER_jjas_df ++explication between ndmin days and ndmax days 
     3 
     4%+ 
     5% module 
     6% ====== 
     7% 
     8% ++ 
     9% 
     10% DESCRIPTION 
     11% =========== 
     12% 
     13% plot ++ from file eof_rossby_jjas_2006_10-30d.mat 
     14% 
     15% EXAMPLES 
     16% ======== 
     17% 
     18% Following line read eof_rossby_jjas_2006_10-30d.mat, plot ++and  
     19% produce a PostScript file resultats_eof_jjas_2006_10-30d.eps  and a  
     20% vecteurs_eof_ER10-30d.txt file 
     21% :: 
     22% 
     23% >> carte_eof_ER_jjas_df(10,30); 
     24% 
     25% SEE ALSO 
     26% ======== 
     27% 
     28% olr_eof_jjas2006_rossby_1030.m_ 
     29% 
     30% .. _olr_eof_jjas2006_rossby_1030.m : olr_eof_jjas2006_rossby_1030.m.html 
     31% 
     32% carte_eofER_1030_article.m_ 
     33% 
     34% .. _carte_eofER_1030_article.m : carte_eofER_1030_article.m.html 
     35% 
     36% time_serie_ER_rossby_df.m_ 
     37% 
     38% .. _time_serie_ER_rossby_df.m : time_serie_ER_rossby_df.m.html 
     39% 
     40% time_serie_ER_rossby_df_complet.m_ 
     41% 
     42% .. _time_serie_ER_rossby_df_complet.m : time_serie_ER_rossby_df_complet.m.html 
     43% 
     44% TODO 
     45% ==== 
     46% 
     47% improve description 
     48% 
     49% improve file pb 
     50% 
     51% use return function 
     52% 
     53% clean variables and plot 
     54% 
     55% find where ``vecteurs_eof_ER??-??d30.txt`` are used 
     56% 
     57% EVOLUTIONS 
     58% ========== 
     59% 
     60% $Id$ 
     61% 
     62% - fplod 2009-01-27T12:39:15Z aedon.locean-ipsl.upmc.fr (Darwin) 
     63% 
     64%   * created from carte_eof_ER_jjas_1030.m to replace it as well as 
     65%     carte_eof_ER_jjas_30100.m 
     66% 
     67%     Days will be now written ``ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames. 
     68% 
     69%- 
     70 
     71global IRCAAM_ID; 
     72global IRCAAM_OD; 
     73 
     74if nargin==2 
     75 % ndmin must be lower than ndmax 
     76 if (ndmin > ndmax) 
     77  disp(['ndmin = ', int2str(ndmin)]); 
     78  disp(['ndmax = ', int2str(ndmax)]); 
     79  error('eee : ndmin must be lower than ndmax'); 
     80 end 
     81else 
     82  usage='usage : time_serie_ER_rossby_df(ndmin, ndmax)'; 
     83  disp(usage); 
     84  error('eee : wrong arguments numbers') 
     85end 
     86 
     87% ndmin and ndmax will be used in xx-yyd form in filenames 
     88df = [int2str(ndmin),'-',int2str(ndmax),'d']; 
     89clear ndmin; 
     90clear ndmax; 
     91 
     92fullfilename=[IRCAAM_ID,'eof_rossby_jjas_2006_',df,'.mat']; 
     93status=load(fullfilename,'C','L'); 
     94clear fullfilename; 
     95 
    596C=status.C; 
    697L=status.L; 
     
    121212 
    122213bar(x,vecteurs,'LineStyle','none') 
    123 save('vecteurs_eof_ER1030.txt','vecteurs','-ASCII'); 
     214 
     215fullfilename=[IRCAAM_OD,'vecteurs_eof_ER',df,'.txt']; 
     216save(fullfilename,'vecteurs','-ASCII'); 
     217clear fullfilename; 
     218 
    124219axis([0.5 20.5 0 25]); 
    125220set (gca,'YTick',[0:5:25],'YTickLabel',[0:5:25],'fontname','Arial','fontsize',6); 
     
    127222set (gca,'tickDir','out'); 
    128223 
    129 print('-depsc2','resultats_eof_jjas_2006_1030.eps'); 
     224fullfilename=[IRCAAM_OD,'resultats_eof_jjas_2006_',df,'.eps']; 
     225print('-depsc2',fullfilename); 
     226clear fullfilename; 
  • trunk/src/mode_sahelien/time_serie_ER_rossby_df.m

    r32 r33  
    3232% .. _carte_eofER_1030_article.m : carte_eofER_1030_article.m.html 
    3333% 
    34 % carte_eof_ER_jjas_1030.m_ 
     34% carte_eof_ER_jjas_df.m_ 
    3535% 
    36 % .. _carte_eof_ER_jjas_1030.m : carte_eof_ER_jjas_1030.m.html 
     36% .. _carte_eof_ER_jjas_df.m : carte_eof_ER_jjas_df.m.html 
    3737% 
    3838% time_serie_ER_rossby_df_complet.m_ 
     
    4949% use return function 
    5050% 
    51 % find where table_ER_??-??d.txt are used 
     51% find where ``table_ER_??-??d.txt`` are used 
    5252% 
    5353% EVOLUTIONS 
     
    6060%   * created from time_serie_ER_rossby_1030.m to replace it as well as 
    6161%     time_serie_ER_rossby_30100.m 
    62 %     days will be now written ``ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames 
     62% 
     63%     Days will be now written ``ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames. 
    6364% 
    6465%- 
  • trunk/src/mode_sahelien/time_serie_ER_rossby_df_complet.m

    r32 r33  
    3232% .. _carte_eofER_1030_article.m : carte_eofER_1030_article.m.html 
    3333% 
    34 % carte_eof_ER_jjas_1030.m_ 
     34% carte_eof_ER_jjas_df.m_ 
    3535% 
    36 % .. _carte_eof_ER_jjas_1030.m : carte_eof_ER_jjas_1030.m.html 
     36% .. _carte_eof_ER_jjas_df.m : carte_eof_ER_jjas_df.m.html 
    3737% 
    3838% time_serie_ER_rossby_df.m_ 
     
    4444% 
    4545% improve description 
     46% 
    4647% improve file pb 
     48% 
    4749% use return function 
    4850% 
     
    5456%   * created from time_serie_ER_rossby_1030_complet.m to replace it as well as 
    5557%     time_serie_ER_rossby_30100_complet.m 
    56 %     days will be now written ``ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames 
     58% 
     59%     Days will be now written ``ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames. 
    5760% 
    5861%- 
Note: See TracChangeset for help on using the changeset viewer.