Changeset 52
- Timestamp:
- 02/02/09 16:09:12 (15 years ago)
- Location:
- trunk/src/SIMULS_IRCAAM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SIMULS_IRCAAM/carte_eof_df.m
r50 r52 1 function carte_eof_df( dataset,simulation,ndmin, ndmax)1 function carte_eof_df(ircaam_dataset,simulation,ndmin, ndmax) 2 2 % carte_eof_df ++explication between ndmin days and ndmax days 3 3 … … 83 83 84 84 if nargin==4 85 % dataset must be equal to arpege86 if ~strcmp( dataset,'arpege')87 disp([' dataset = ',dataset]);88 error('eee : dataset must be equal to arpege');89 end 90 if strcmp( dataset,'arpege')85 % ircaam_dataset must be equal to arpege 86 if ~strcmp(ircaam_dataset,'arpege') 87 disp(['ircaam_dataset = ', ircaam_dataset]); 88 error('eee : ircaam_dataset must be equal to arpege'); 89 end 90 if strcmp(ircaam_dataset,'arpege') 91 91 list_simulation={'AfNQIVIV','TrNQIVIV','AsNQIVIV','CtIV','CtCl'}; 92 92 end … … 107 107 end 108 108 else 109 usage='usage : carte_eof_df( dataset,simulation,ndmin, ndmax)';109 usage='usage : carte_eof_df(ircaam_dataset,simulation,ndmin, ndmax)'; 110 110 disp(usage); 111 111 error('eee : wrong arguments numbers') … … 119 119 close all; 120 120 121 fullfilename=[IRCAAM_ID,'eof_', dataset,'_', simulation, '_', df, '.mat'];121 fullfilename=[IRCAAM_ID,'eof_',ircaam_dataset,'_', simulation, '_', df, '.mat']; 122 122 status=load(fullfilename,'C','L'); 123 123 clear fullfilename; … … 273 273 set (gca,'tickDir','out'); 274 274 275 fullfilename=[IRCAAM_OD,'carte_eof_', dataset, '_', simulation, '_', df, '.eps'];275 fullfilename=[IRCAAM_OD,'carte_eof_', ircaam_dataset, '_', simulation, '_', df, '.eps']; 276 276 print('-depsc2',fullfilename); 277 277 clear fullfilename; 278 278 279 clear dataset;279 clear ircaam_dataset; 280 280 clear simulation; 281 281 clear df; -
trunk/src/SIMULS_IRCAAM/time_serie_eof_df.m
r50 r52 1 function time_serie_eof_df( dataset,simulation,ndmin, ndmax)1 function time_serie_eof_df(ircaam_dataset,simulation,ndmin, ndmax) 2 2 % time_serie_eof_df ++explication between ndmin days and ndmax days 3 3 … … 80 80 81 81 if nargin==4 82 % dataset must be equal to arpege83 if ~strcmp( dataset,'arpege')84 disp([' dataset = ',dataset]);85 error('eee : dataset must be equal to arpege');86 end 87 if strcmp( dataset,'arpege')82 % ircaam_dataset must be equal to arpege 83 if ~strcmp(ircaam_dataset,'arpege') 84 disp(['ircaam_dataset = ', ircaam_dataset]); 85 error('eee : ircaam_dataset must be equal to arpege'); 86 end 87 if strcmp(ircaam_dataset,'arpege') 88 88 list_simulation={'AfNQIVIV','TrNQIVIV','AsNQIVIV','CtIV','CtCl'}; 89 89 end … … 104 104 end 105 105 else 106 usage='usage : time_serie_jjas_df( dataset,simulation,ndmin, ndmax)';106 usage='usage : time_serie_jjas_df(ircaam_dataset,simulation,ndmin, ndmax)'; 107 107 disp(usage); 108 108 error('eee : wrong arguments numbers') … … 116 116 close all; 117 117 118 fullfilename=[IRCAAM_ID,'eof_', dataset,'_', simulation, '_', df, '.mat'];118 fullfilename=[IRCAAM_ID,'eof_',ircaam_dataset,'_', simulation, '_', df, '.mat']; 119 119 status=load(fullfilename,'C','olr'); 120 120 clear fullfilename; … … 139 139 end; 140 140 141 fullfilename=[IRCAAM_OD,'eof1_', dataset,'_', simulation, '_', df,'.txt'];141 fullfilename=[IRCAAM_OD,'eof1_',ircaam_dataset,'_', simulation, '_', df,'.txt']; 142 142 save(fullfilename,'time_serie_olr1','-ASCII'); 143 143 clear fullfilename; 144 144 145 fullfilename=[IRCAAM_OD,'eof2_', dataset,'_', simulation, '_', df,'.txt'];145 fullfilename=[IRCAAM_OD,'eof2_',ircaam_dataset,'_', simulation, '_', df,'.txt']; 146 146 save(fullfilename','time_serie_olr2','-ASCII'); 147 147 clear fullfilename; … … 172 172 plot(x,y,'k:'); 173 173 title(a+1970,'FontSize',8); 174 my_title=['serie temporelle eof ', dataset, ' ' , simulation, ' ' , df];174 my_title=['serie temporelle eof ', ircaam_dataset, ' ' , simulation, ' ' , df]; 175 175 if a==2; 176 176 text(0,5.5,my_title); … … 189 189 190 190 figure(1); 191 fullfilename=[IRCAAM_OD,'time_serie_eof_', dataset, '_', simulation, '_', df, '_part1.eps'];191 fullfilename=[IRCAAM_OD,'time_serie_eof_', ircaam_dataset, '_', simulation, '_', df, '_part1.eps']; 192 192 print('-depsc2',fullfilename); 193 193 clear fullfilename; 194 194 195 195 figure(2); 196 fullfilename=[IRCAAM_OD,'time_serie_eof_', dataset, '_', simulation, '_', df, '_part2.eps'];196 fullfilename=[IRCAAM_OD,'time_serie_eof_', ircaam_dataset, '_', simulation, '_', df, '_part2.eps']; 197 197 print('-depsc2',fullfilename); 198 198 clear fullfilename; 199 199 200 200 figure(3); 201 fullfilename=[IRCAAM_OD,'time_serie_eof_', dataset, '_', simulation, '_', df, '_part3.eps'];201 fullfilename=[IRCAAM_OD,'time_serie_eof_', ircaam_dataset, '_', simulation, '_', df, '_part3.eps']; 202 202 print('-depsc2',fullfilename); 203 203 clear fullfilename; 204 204 205 clear dataset;205 clear ircaam_dataset; 206 206 clear simulation; 207 207 clear df;
Note: See TracChangeset
for help on using the changeset viewer.