Changeset 32 for trunk


Ignore:
Timestamp:
01/27/09 13:32:25 (15 years ago)
Author:
pinsard
Message:

parametrisation of time_serie_ER_rossby_...complet.m

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

Legend:

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

    r25 r32  
    11% 
     2 
     3%+ 
     4% 
     5% EVOLUTIONS 
     6% =========== 
     7% 
     8% $Id$ 
     9%  
     10% - fplod 2009-01-27T11:17:40Z aedon.locean-ipsl.upmc.fr (Darwin) 
     11% 
     12%   * replaced by time_serie_ER_rossby_df_complet.m  
     13% 
     14%- 
     15 
    216 
    317clear; 
  • trunk/src/mode_sahelien/time_serie_ER_rossby_30100_complet.m

    r25 r32  
    11% 
     2 
     3%+ 
     4% 
     5% EVOLUTIONS 
     6% =========== 
     7% 
     8% $Id$ 
     9%  
     10% - fplod 2009-01-27T11:17:40Z aedon.locean-ipsl.upmc.fr (Darwin) 
     11% 
     12%   * replaced by time_serie_ER_rossby_df_complet.m  
     13% 
     14%- 
    215 
    316clear; 
  • trunk/src/mode_sahelien/time_serie_ER_rossby_df.m

    r31 r32  
    3636% .. _carte_eof_ER_jjas_1030.m : carte_eof_ER_jjas_1030.m.html 
    3737% 
     38% time_serie_ER_rossby_df_complet.m_ 
     39% 
     40% .. _time_serie_ER_rossby_df_complet.m : time_serie_ER_rossby_df_complet.m.html 
     41% 
    3842% TODO 
    3943% ==== 
    4044% 
    4145% improve description 
     46% 
    4247% improve file pb 
     48% 
    4349% use return function 
     50% 
     51% find where table_ER_??-??d.txt are used 
    4452% 
    4553% EVOLUTIONS 
     
    5765 
    5866global IRCAAM_ID; 
     67global IRCAAM_OD; 
    5968 
    6069if nargin==2 
     
    114123end; 
    115124 
    116 fullfilename=[IRCAAM_ID,'table_ER_',df,'.txt']; 
     125fullfilename=[IRCAAM_OD,'table_ER_',df,'.txt']; 
    117126save(fullfilename,'table_ER','-ASCII'); 
    118127clear fullfilename; 
  • trunk/src/mode_sahelien/time_serie_ER_rossby_df_complet.m

    r25 r32  
     1function time_serie_ER_rossby_df_complet(ndmin, ndmax) 
     2% time_serie_ER_rossby_df_complet ++explication between ndmin days and ndmax days 
     3 
     4%+ 
     5% module 
     6% ====== 
    17% 
     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 produce Postscript files time_serie_eof_ER_10-30d_part*.eps. 
     19% :: 
     20% 
     21% >> time_serie_ER_rossby_df_complet(10,30); 
     22% 
     23% SEE ALSO 
     24% ======== 
     25% 
     26% olr_eof_jjas2006_rossby_1030.m_ 
     27% 
     28% .. _olr_eof_jjas2006_rossby_1030.m : olr_eof_jjas2006_rossby_1030.m.html 
     29% 
     30% carte_eofER_1030_article.m_ 
     31% 
     32% .. _carte_eofER_1030_article.m : carte_eofER_1030_article.m.html 
     33% 
     34% carte_eof_ER_jjas_1030.m_ 
     35% 
     36% .. _carte_eof_ER_jjas_1030.m : carte_eof_ER_jjas_1030.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% TODO 
     43% ==== 
     44% 
     45% improve description 
     46% improve file pb 
     47% use return function 
     48% 
     49% EVOLUTIONS 
     50% ========== 
     51% 
     52% - fplod 2009-01-27T11:51:31Z aedon.locean-ipsl.upmc.fr (Darwin) 
     53% 
     54%   * created from time_serie_ER_rossby_1030_complet.m to replace it as well as 
     55%     time_serie_ER_rossby_30100_complet.m 
     56%     days will be now written ``ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames 
     57% 
     58%- 
    259 
    3 clear; 
     60global IRCAAM_ID; 
     61global IRCAAM_OD; 
     62 
     63if nargin==2 
     64 % ndmin must be lower than ndmax 
     65 if (ndmin > ndmax) 
     66  disp(['ndmin = ', int2str(ndmin)]); 
     67  disp(['ndmax = ', int2str(ndmax)]); 
     68  error('eee : ndmin must be lower than ndmax'); 
     69 end 
     70else 
     71  usage='usage : time_serie_ER_rossby_df(ndmin, ndmax)'; 
     72  disp(usage); 
     73  error('eee : wrong arguments numbers') 
     74end 
     75 
     76% ndmin and ndmax will be used in xx-yyd form in filenames 
     77df = [int2str(ndmin),'-',int2str(ndmax),'d']; 
     78clear ndmin; 
     79clear ndmax; 
     80 
    481close all; 
    582 
     
    1188orient('landscape') 
    1289 
    13 status=load('eof_rossby_jjas_2006_1030.mat','C','olr'); 
     90fullfilename=[IRCAAM_ID,'eof_rossby_jjas_2006_',df,'.mat']; 
     91status=load(fullfilename,'C','olr'); 
     92clear fullfilename; 
    1493C=status.C; 
    1594olr=status.olr; 
     
    48127   plot(x,y,'k:'); 
    49128   if a==2; 
    50        text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); 
     129       text(0,183,['time series EOF1 and EOF2 OLR ER ' df]); 
    51130   elseif a==13; 
    52        text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); 
     131       text(0,183,['time series EOF1 and EOF2 OLR ER ' df]); 
    53132   elseif a==24; 
    54        text(0,183,'time series EOF1 and EOF2 OLR ER 10-30d'); 
     133       text(0,183,['time series EOF1 and EOF2 OLR ER ' df]); 
    55134   end; 
    56135   title(a+1978,'FontSize',8); 
     
    63142 
    64143figure(1); 
    65 print('-depsc2','time_serie_eof_ER_10-30j_part1.eps'); 
     144fullfilename=[IRCAAM_OD,'time_serie_eof_ER_',df,'_part1.eps']; 
     145print('-depsc2',fullfilename); 
    66146figure(2); 
    67 print('-depsc2','time_serie_eof_ER_10-30j_part2.eps'); 
     147fullfilename=[IRCAAM_OD,'time_serie_eof_ER_',df,'_part2.eps']; 
     148print('-depsc2',fullfilename); 
    68149figure(3); 
    69 print('-depsc2','time_serie_eof_ER_10-30j_part3.eps'); 
     150fullfilename=[IRCAAM_OD,'time_serie_eof_ER_',df,'_part3.eps']; 
     151print('-depsc2',fullfilename); 
Note: See TracChangeset for help on using the changeset viewer.