Changeset 39


Ignore:
Timestamp:
01/28/09 09:23:38 (15 years ago)
Author:
pinsard
Message:

parametrisation of reconstitution_ER_rossby_....m

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

Legend:

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

    r36 r39  
    4141% 
    4242% .. _time_serie_ER_rossby_df_complet.m : time_serie_ER_rossby_df_complet.m.html 
     43% 
     44% reconstitution_ER_rossby_df.m_ 
     45% 
     46% .. _reconstitution_ER_rossby_df.m : reconstitution_ER_rossby_df.m.html 
    4347% 
    4448% TODO 
  • trunk/src/mode_sahelien/reconstitution_ER_rossby_1030.m

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

    r30 r39  
    11% 
     2 
     3%+ 
     4% 
     5% EVOLUTIONS 
     6% =========== 
     7% 
     8% $Id$ 
     9% 
     10% - fplod 2009-01-28T07:48:37Z aedon.locean-ipsl.upmc.fr (Darwin) 
     11% 
     12%   * replaced by reconstitution_ER_rossby_df.m 
     13% 
     14%- 
     15 
    216 
    317clear; 
  • trunk/src/mode_sahelien/reconstitution_ER_rossby_df.m

    r30 r39  
    1 % 
    2  
    3 clear; 
     1function reconstitution_ER_rossby_df(ndmin, ndmax) 
     2% reconstitution_ER_rossby_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% produce a ASCII file eof12_rossby_10-30d.txt, 
     15% produce 3 Postscript files reconstitution1_eof12_filtreER_10-30d.eps 
     16% 
     17% EXAMPLES 
     18% ======== 
     19% 
     20% Following line read eof_rossby_jjas_2006_10-30d.mat, produce an ASCII file 
     21% eof12_rossby_10-30d.txt, produce 3 Postscript files 
     22% reconstitution1_eof12_filtreER_10-30d.eps. 
     23% :: 
     24% 
     25% >> reconstitution_ER_rossby_df(10,30); 
     26% 
     27% SEE ALSO 
     28% ======== 
     29% 
     30% carte_eof_ER_jjas_df.m_ 
     31% 
     32% .. _carte_eof_ER_jjas_df.m : carte_eof_ER_jjas_df.m.html 
     33% 
     34% carte_eofER_1030_article.m_ 
     35% 
     36% .. _carte_eofER_1030_article.m : carte_eofER_1030_article.m.html 
     37% 
     38% time_serie_ER_rossby_df.m_ 
     39% 
     40% .. _time_serie_ER_rossby_df.m : time_serie_ER_rossby_df.m.html 
     41% 
     42% time_serie_ER_rossby_df_complet.m_ 
     43% 
     44% .. _time_serie_ER_rossby_df_complet.m : time_serie_ER_rossby_df_complet.m.html 
     45% 
     46% TODO 
     47% ==== 
     48% 
     49% improve description 
     50% 
     51% improve file pb 
     52% 
     53% use return function 
     54% 
     55% clean variables and plot 
     56% 
     57% EVOLUTIONS 
     58% ========== 
     59% 
     60% $Id$ 
     61% 
     62% - fplod 2009-01-28T07:50:45Z aedon.locean-ipsl.upmc.fr (Darwin) 
     63% 
     64%   * created from reconstitution_ER_rossby_1030.m to replace it as well as 
     65%     reconstitution_ER_rossby_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 : reconstitution_ER_rossby_df(ndmin, ndmax)'; 
     83  disp(usage); 
     84  error('eee : wrong arguments numbers') 
     85end 
     86% ndmin and ndmax will be used in xx-yyd form in filenames 
     87df = [int2str(ndmin),'-',int2str(ndmax),'d']; 
     88clear ndmin; 
     89clear ndmax; 
     90 
    491close all; 
    592 
    693%lon=[-30:2.5:30], lat=[-10:2.5:30] 
    794 
    8 status=load('eof_rossby_jjas_2006_1030.mat','C','olr'); 
     95fullfilename=[IRCAAM_ID,'eof_rossby_jjas_2006_',df,'.mat']; 
     96status=load(fullfilename,'C','olr'); 
     97clear fullfilename; 
     98 
    999C=status.C; 
    10100olr=status.olr; 
     
    58148cosa12=mean(cosa12); 
    59149cosa12=cosa12'; 
    60 save('eof12_rossby_1030.txt','cosa12','-ASCII'); 
     150 
     151fullfilename=[IRCAAM_ID,'eof12_rossby_',df,'.txt']; 
     152save(fullfilename,'cosa12','-ASCII'); 
     153clear fullfilename; 
     154 
    61155cosa12=reshape(cosa12,122,28); 
    62156 
     
    116210 
    117211figure(1); 
    118 print('-depsc2','reconstitution1_eof12_filtreER_1030.eps'); 
     212fullfilename=[IRCAAM_OD,'reconstitution1_eof12_filtreER_',df,'.eps']; 
     213print('-depsc2',fullfilename); 
     214clear fullfilename; 
     215 
    119216figure(2); 
    120 print('-depsc2','reconstitution2_eof12_filtreER_1030.eps'); 
     217fullfilename=[IRCAAM_OD,'reconstitution2_eof12_filtreER_',df,'.eps']; 
     218print('-depsc2',fullfilename); 
     219clear fullfilename; 
     220 
    121221figure(3); 
    122 print('-depsc2','reconstitution3_eof12_filtreER_1030.eps'); 
     222fullfilename=[IRCAAM_OD,'reconstitution3_eof12_filtreER_',df,'.eps']; 
     223print('-depsc2',fullfilename); 
     224clear fullfilename; 
  • trunk/src/mode_sahelien/time_serie_ER_rossby_df.m

    r34 r39  
    3939% 
    4040% .. _time_serie_ER_rossby_df_complet.m : time_serie_ER_rossby_df_complet.m.html 
     41% 
     42% reconstitution_ER_rossby_df.m_ 
     43% 
     44% .. _reconstitution_ER_rossby_df.m : reconstitution_ER_rossby_df.m.html 
    4145% 
    4246% TODO 
Note: See TracChangeset for help on using the changeset viewer.