- Timestamp:
- 02/10/09 15:37:43 (15 years ago)
- Location:
- trunk/src
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SIMULS_IRCAAM/carte_eof_df.m
r53 r56 1 function carte_eof_df(ircaam_dataset,simulation, ndmin, ndmax)2 % carte_eof_df ++explication between ndmin days and ndmaxdays1 function carte_eof_df(ircaam_dataset,simulation,period1, period2) 2 % carte_eof_df ++explication between period1 days and period2 days 3 3 4 4 %+ … … 11 11 % =========== 12 12 % 13 % From eof_arpege_\ *simulation*\ _ \ * ndmin*\ -\ *ndmax*\ d.mat13 % From eof_arpege_\ *simulation*\ _ \ *period1*\ -\ *period2*\ d.mat 14 14 % and rlut_d.\ *simulation*\ .197106-09.nc, 15 15 % ``carte_eof_df`` compute ++. … … 18 18 % 19 19 % 1 Postscript file 20 % carte_arpege_\ *simulation*\ _ \ * ndmin*\ -\ *ndmax*\ d.eps are20 % carte_arpege_\ *simulation*\ _ \ *period1*\ -\ *period2*\ d.eps are 21 21 % written. 22 22 % … … 63 63 % $Id$ 64 64 % 65 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 66 % 67 % * replace ndmin by period1 and ndmax by period2 68 % 65 69 % - fplod 2009-02-02T13:45:57Z aedon.locean-ipsl.upmc.fr (Darwin) 66 70 % … … 71 75 % carte_eof_ircaam_30100_ctl.m and carte_eof_ircaam_30100_tr.m 72 76 % 73 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.77 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 74 78 % 75 79 % Dataset ``arpege`` will be forced in output file names. … … 100 104 end 101 105 clear list_simulation; 102 % ndmin must be lower than ndmax103 if ( ndmin > ndmax)104 disp([' ndmin = ', int2str(ndmin)]);105 disp([' ndmax = ', int2str(ndmax)]);106 error('eee : ndmin must be lower than ndmax');106 % period1 must be lower than period2 107 if (period1 > period2) 108 disp(['period1 = ', int2str(period1)]); 109 disp(['period2 = ', int2str(period2)]); 110 error('eee : period1 must be lower than period2'); 107 111 end 108 112 else 109 usage='usage : carte_eof_df(ircaam_dataset,simulation, ndmin, ndmax)';113 usage='usage : carte_eof_df(ircaam_dataset,simulation,period1, period2)'; 110 114 disp(usage); 111 115 error('eee : wrong arguments numbers') 112 116 end 113 117 114 % ndmin and ndmaxwill be used in xx-yyd form in filenames115 df = [int2str( ndmin),'-',int2str(ndmax),'d'];116 clear ndmin;117 clear ndmax;118 % period1 and period2 will be used in xx-yyd form in filenames 119 df = [int2str(period1),'-',int2str(period2),'d']; 120 clear period1; 121 clear period2; 118 122 119 123 close all; -
trunk/src/SIMULS_IRCAAM/eof_df.m
r50 r56 1 function eof_df(ircaam_dataset,simulation, ndmin, ndmax)2 % eof_df ++explication between ndmin days and ndmaxdays1 function eof_df(ircaam_dataset,simulation,period1, period2) 2 % eof_df ++explication between period1 days and period2 days 3 3 4 4 %+ … … 11 11 % =========== 12 12 % 13 % From olrf_arpege_ \ *simulation*\ _ \ * ndmin*\ -\ *ndmax*\ d.80.dat,13 % From olrf_arpege_ \ *simulation*\ _ \ *period1*\ -\ *period2*\ d.80.dat, 14 14 % ``eof_df`` compute ++. 15 15 % 16 16 % 1 Postscript file 17 % eof_arpege_\ *simulation*\ _ \ * ndmin*\ -\ *ndmax*\ d.eps are17 % eof_arpege_\ *simulation*\ _ \ *period1*\ -\ *period2*\ d.eps are 18 18 % written. 19 19 % … … 53 53 % $Id$ 54 54 % 55 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 56 % 57 % * replace ndmin by period1 and ndmax by period2 58 % 55 59 % - fplod 2009-02-02T13:45:57Z aedon.locean-ipsl.upmc.fr (Darwin) 56 60 % … … 61 65 % and eof_olr_ircaam_30100_tr.m 62 66 % 63 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.67 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 64 68 % 65 69 % Dataset ``arpege`` will be forced in output file names. … … 89 93 end 90 94 clear list_simulation; 91 % ndmin must be lower than ndmax92 if ( ndmin > ndmax)93 disp([' ndmin = ', int2str(ndmin)]);94 disp([' ndmax = ', int2str(ndmax)]);95 error('eee : ndmin must be lower than ndmax');95 % period1 must be lower than period2 96 if (period1 > period2) 97 disp(['period1 = ', int2str(period1)]); 98 disp(['period2 = ', int2str(period2)]); 99 error('eee : period1 must be lower than period2'); 96 100 end 97 101 else 98 usage='usage : eof_df(ircaam_dataset,simulation, ndmin, ndmax)';102 usage='usage : eof_df(ircaam_dataset,simulation,period1, period2)'; 99 103 disp(usage); 100 104 error('eee : wrong arguments numbers') 101 105 end 102 106 103 % ndmin and ndmaxwill be used in xx-yyd form in filenames104 df = [int2str( ndmin),'-',int2str(ndmax),'d'];105 clear ndmin;106 clear ndmax;107 % period1 and period2 will be used in xx-yyd form in filenames 108 df = [int2str(period1),'-',int2str(period2),'d']; 109 clear period1; 110 clear period2; 107 111 108 112 close all; -
trunk/src/SIMULS_IRCAAM/time_serie_eof_df.m
r52 r56 1 function time_serie_eof_df(ircaam_dataset,simulation, ndmin, ndmax)2 % time_serie_eof_df ++explication between ndmin days and ndmaxdays1 function time_serie_eof_df(ircaam_dataset,simulation,period1, period2) 2 % time_serie_eof_df ++explication between period1 days and period2 days 3 3 4 4 %+ … … 11 11 % =========== 12 12 % 13 % From eof_arpege_\ *simulation*\ _ \ * ndmin*\ -\ *ndmax*\ d.mat,13 % From eof_arpege_\ *simulation*\ _ \ *period1*\ -\ *period2*\ d.mat, 14 14 % ``time_serie_eof_df`` compute ++. 15 15 % 16 16 % ``time_serie_eof_df`` plot ++. 17 17 % 18 % ``time_serie_eof_df`` save eof[12]_arpege_\ *simulation*\ _ \ * ndmin*\ -\ *ndmax*\ d.txt.18 % ``time_serie_eof_df`` save eof[12]_arpege_\ *simulation*\ _ \ *period1*\ -\ *period2*\ d.txt. 19 19 % 20 20 % 2 Postscript files 21 % time_serie_arpege_\ *simulation*\ _ \ * ndmin*\ -\ *ndmax*\ d_part[12].eps are21 % time_serie_arpege_\ *simulation*\ _ \ *period1*\ -\ *period2*\ d_part[12].eps are 22 22 % written. 23 23 % … … 59 59 % $Id$ 60 60 % 61 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 62 % 63 % * replace ndmin by period1 and ndmax by period2 64 % 61 65 % - fplod 2009-02-02T10:01:21Z aedon.locean-ipsl.upmc.fr (Darwin) 62 66 % … … 66 70 % time_serie_tr_30100.m 67 71 % 68 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.72 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 69 73 % 70 74 % Dataset ``arpege`` will be forced in output file names. … … 97 101 end 98 102 clear list_simulation; 99 % ndmin must be lower than ndmax100 if ( ndmin > ndmax)101 disp([' ndmin = ', int2str(ndmin)]);102 disp([' ndmax = ', int2str(ndmax)]);103 error('eee : ndmin must be lower than ndmax');103 % period1 must be lower than period2 104 if (period1 > period2) 105 disp(['period1 = ', int2str(period1)]); 106 disp(['period2 = ', int2str(period2)]); 107 error('eee : period1 must be lower than period2'); 104 108 end 105 109 else 106 usage='usage : time_serie_jjas_df(ircaam_dataset,simulation, ndmin, ndmax)';110 usage='usage : time_serie_jjas_df(ircaam_dataset,simulation,period1, period2)'; 107 111 disp(usage); 108 112 error('eee : wrong arguments numbers') 109 113 end 110 114 111 % ndmin and ndmaxwill be used in xx-yyd form in filenames112 df = [int2str( ndmin),'-',int2str(ndmax),'d'];113 clear ndmin;114 clear ndmax;115 % period1 and period2 will be used in xx-yyd form in filenames 116 df = [int2str(period1),'-',int2str(period2),'d']; 117 clear period1; 118 clear period2; 115 119 116 120 close all; -
trunk/src/mode_sahelien/carte_eof234_jjas_df.m
r37 r56 1 function carte_eof234_jjas_df( ndmin, ndmax)2 % carte_eof234_jjas_df ++explication between ndmin days and ndmaxdays1 function carte_eof234_jjas_df(period1, period2) 2 % carte_eof234_jjas_df ++explication between period1 days and period2 days 3 3 4 4 %+ … … 65 65 % $Id$ 66 66 % 67 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 68 % 69 % * replace ndmin by period1 and ndmax by period2 70 % 67 71 % - fplod 2009-01-27T14:49:51Z aedon.locean-ipsl.upmc.fr (Darwin) 68 72 % … … 70 74 % to replace both. 71 75 % 72 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.76 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 73 77 % 74 78 % * add sauvegrads on first EOF for homogenity … … 81 85 82 86 if nargin==2 83 % ndmin must be lower than ndmax84 if ( ndmin > ndmax)85 disp([' ndmin = ', int2str(ndmin)]);86 disp([' ndmax = ', int2str(ndmax)]);87 error('eee : ndmin must be lower than ndmax');87 % period1 must be lower than period2 88 if (period1 > period2) 89 disp(['period1 = ', int2str(period1)]); 90 disp(['period2 = ', int2str(period2)]); 91 error('eee : period1 must be lower than period2'); 88 92 end 89 93 else 90 usage='usage : carte_eof234_jjas_df( ndmin, ndmax)';94 usage='usage : carte_eof234_jjas_df(period1, period2)'; 91 95 disp(usage); 92 96 error('eee : wrong arguments numbers') 93 97 end 94 98 95 % ndmin and ndmaxwill be used in xx-yyd form in filenames96 df = [int2str( ndmin),'-',int2str(ndmax),'d'];97 clear ndmin;98 clear ndmax;99 % period1 and period2 will be used in xx-yyd form in filenames 100 df = [int2str(period1),'-',int2str(period2),'d']; 101 clear period1; 102 clear period2; 99 103 100 104 -
trunk/src/mode_sahelien/carte_eof_ER_jjas_df.m
r39 r56 1 function carte_eof_ER_jjas_df( ndmin, ndmax)2 % carte_eof_ER_jjas_df ++explication between ndmin days and ndmaxdays1 function carte_eof_ER_jjas_df(period1, period2) 2 % carte_eof_ER_jjas_df ++explication between period1 days and period2 days 3 3 4 4 %+ … … 64 64 % $Id$ 65 65 % 66 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 67 % 68 % * replace ndmin by period1 and ndmax by period2 69 % 66 70 % - fplod 2009-01-27T12:39:15Z aedon.locean-ipsl.upmc.fr (Darwin) 67 71 % … … 69 73 % carte_eof_ER_jjas_30100.m 70 74 % 71 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.75 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 72 76 % 73 77 %- … … 77 81 78 82 if nargin==2 79 % ndmin must be lower than ndmax80 if ( ndmin > ndmax)81 disp([' ndmin = ', int2str(ndmin)]);82 disp([' ndmax = ', int2str(ndmax)]);83 error('eee : ndmin must be lower than ndmax');83 % period1 must be lower than period2 84 if (period1 > period2) 85 disp(['period1 = ', int2str(period1)]); 86 disp(['period2 = ', int2str(period2)]); 87 error('eee : period1 must be lower than period2'); 84 88 end 85 89 else 86 usage='usage : carte_eof_ER_jjas_df( ndmin, ndmax)';90 usage='usage : carte_eof_ER_jjas_df(period1, period2)'; 87 91 disp(usage); 88 92 error('eee : wrong arguments numbers') 89 93 end 90 94 91 % ndmin and ndmaxwill be used in xx-yyd form in filenames92 df = [int2str( ndmin),'-',int2str(ndmax),'d'];93 clear ndmin;94 clear ndmax;95 % period1 and period2 will be used in xx-yyd form in filenames 96 df = [int2str(period1),'-',int2str(period2),'d']; 97 clear period1; 98 clear period2; 95 99 96 100 fullfilename=[IRCAAM_ID,'eof_rossby_jjas_2006_',df,'.mat']; -
trunk/src/mode_sahelien/composite_olr_eof_df.m
r44 r56 1 function composite_olr_eof_df(eof_num, ndmin, ndmax)2 % composite_olr_eof_df ++explication between ndmin days and ndmaxdays1 function composite_olr_eof_df(eof_num, period1, period2) 2 % composite_olr_eof_df ++explication between period1 days and period2 days 3 3 4 4 %+ … … 11 11 % =========== 12 12 % 13 % From ``olr.day.mean.nc`` and and eof\ *eof_num*\ \ * ndmin*\ -\ *ndmax*\ d.txt,13 % From ``olr.day.mean.nc`` and and eof\ *eof_num*\ \ *period1*\ -\ *period2*\ d.txt, 14 14 % ``composite_olr_eof_df`` compute ++ 15 15 % … … 17 17 % 18 18 % 2 Postscript files 19 % composite_olr_eof\ *eof_num*\ _\ * ndmin*\ -\ *ndmax*\ d_part[12].eps are19 % composite_olr_eof\ *eof_num*\ _\ *period1*\ -\ *period2*\ d_part[12].eps are 20 20 % written. 21 21 % … … 66 66 % $Id$ 67 67 % 68 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 69 % 70 % * replace ndmin by period1 and ndmax by period2 71 % 68 72 % - fplod 2009-01-28T10:38:44Z aedon.locean-ipsl.upmc.fr (Darwin) 69 73 % … … 71 75 % composite_olr_EOF1_30100.m 72 76 % 73 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.77 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 74 78 % 75 79 % * introducing parametrization on EOF number … … 92 96 error('eee : eof_num must be between eof_num_min and eof_num_max'); 93 97 end 94 % ndmin must be lower than ndmax95 if ( ndmin > ndmax)96 disp([' ndmin = ', int2str(ndmin)]);97 disp([' ndmax = ', int2str(ndmax)]);98 error('eee : ndmin must be lower than ndmax');98 % period1 must be lower than period2 99 if (period1 > period2) 100 disp(['period1 = ', int2str(period1)]); 101 disp(['period2 = ', int2str(period2)]); 102 error('eee : period1 must be lower than period2'); 99 103 end 100 104 else 101 usage='usage : composite_olr_eof_df(eof_num, ndmin, ndmax)';105 usage='usage : composite_olr_eof_df(eof_num,period1, period2)'; 102 106 disp(usage); 103 107 error('eee : wrong arguments numbers') 104 108 end 105 109 106 % ndmin and ndmaxwill be used in xx-yyd form in filenames107 df = [int2str( ndmin),'-',int2str(ndmax),'d'];108 clear ndmin;109 clear ndmax;110 % period1 and period2 will be used in xx-yyd form in filenames 111 df = [int2str(period1),'-',int2str(period2),'d']; 112 clear period1; 113 clear period2; 110 114 111 115 fullfilename=[IRCAAM_ID,'olr.day.mean.nc']; -
trunk/src/mode_sahelien/olr_eof_jjas2006_rossby_df.m
r36 r56 1 function olr_eof_jjas2006_rossby_df( ndmin, ndmax)2 % olr_eof_jjas2006_rossby_df ++explication between ndmin days and ndmaxdays1 function olr_eof_jjas2006_rossby_df(period1, period2) 2 % olr_eof_jjas2006_rossby_df ++explication between period1 days and period2 days 3 3 4 4 %+ … … 58 58 % $Id$ 59 59 % 60 % 61 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 62 % 63 % * replace ndmin by period1 and ndmax by period2 64 % 60 65 % - fplod 2009-01-27T12:39:15Z aedon.locean-ipsl.upmc.fr (Darwin) 61 66 % … … 64 69 % olr_eof_jjas2006_rossby_30100.m 65 70 % 66 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.71 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 67 72 % 68 73 %- … … 72 77 73 78 if nargin==2 74 % ndmin must be lower than ndmax75 if ( ndmin > ndmax)76 disp([' ndmin = ', int2str(ndmin)]);77 disp([' ndmax = ', int2str(ndmax)]);78 error('eee : ndmin must be lower than ndmax');79 % period1 must be lower than period2 80 if (period1 > period2) 81 disp(['period1 = ', int2str(period1)]); 82 disp(['period2 = ', int2str(period2)]); 83 error('eee : period1 must be lower than period2'); 79 84 end 80 85 else 81 usage='usage : olr_eof_jjas2006_rossby_df( ndmin, ndmax)';86 usage='usage : olr_eof_jjas2006_rossby_df(period1, period2)'; 82 87 disp(usage); 83 88 error('eee : wrong arguments numbers') 84 89 end 85 90 86 % ndmin and ndmaxwill be used in xx-yyd form in filenames87 df = [int2str( ndmin),'-',int2str(ndmax),'d'];88 clear ndmin;89 clear ndmax;91 % period1 and period2 will be used in xx-yyd form in filenames 92 df = [int2str(period1),'-',int2str(period2),'d']; 93 clear period1; 94 clear period2; 90 95 91 96 close all; -
trunk/src/mode_sahelien/reconstitution_ER_rossby_df.m
r39 r56 1 function reconstitution_ER_rossby_df( ndmin, ndmax)2 % reconstitution_ER_rossby_df ++explication between ndmin days and ndmaxdays1 function reconstitution_ER_rossby_df(period1, period2) 2 % reconstitution_ER_rossby_df ++explication between period1 days and period2 days 3 3 4 4 %+ … … 60 60 % $Id$ 61 61 % 62 % 63 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 64 % 65 % * replace ndmin by period1 and ndmax by period2 66 % 62 67 % - fplod 2009-01-28T07:50:45Z aedon.locean-ipsl.upmc.fr (Darwin) 63 68 % … … 65 70 % reconstitution_ER_rossby_30100.m 66 71 % 67 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.72 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 68 73 % 69 74 %- … … 73 78 74 79 if nargin==2 75 % ndmin must be lower than ndmax76 if ( ndmin > ndmax)77 disp([' ndmin = ', int2str(ndmin)]);78 disp([' ndmax = ', int2str(ndmax)]);79 error('eee : ndmin must be lower than ndmax');80 % period1 must be lower than period2 81 if (period1 > period2) 82 disp(['period1 = ', int2str(period1)]); 83 disp(['period2 = ', int2str(period2)]); 84 error('eee : period1 must be lower than period2'); 80 85 end 81 86 else 82 usage='usage : reconstitution_ER_rossby_df( ndmin, ndmax)';87 usage='usage : reconstitution_ER_rossby_df(period1, period2)'; 83 88 disp(usage); 84 89 error('eee : wrong arguments numbers') 85 90 end 86 % ndmin and ndmaxwill be used in xx-yyd form in filenames87 df = [int2str( ndmin),'-',int2str(ndmax),'d'];88 clear ndmin;89 clear ndmax;91 % period1 and period2 will be used in xx-yyd form in filenames 92 df = [int2str(period1),'-',int2str(period2),'d']; 93 clear period1; 94 clear period2; 90 95 91 96 close all; -
trunk/src/mode_sahelien/time_serie_ER_rossby_df.m
r39 r56 1 function time_serie_ER_rossby_df( ndmin, ndmax)2 % time_serie_ER_rossby_df ++explication between ndmin days and ndmaxdays1 function time_serie_ER_rossby_df(period1, period2) 2 % time_serie_ER_rossby_df ++explication between period1 days and period2 days 3 3 4 4 %+ … … 60 60 % $Id$ 61 61 % 62 % 63 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 64 % 65 % * replace ndmin by period1 and ndmax by period2 66 % 62 67 % - fplod 2009-01-27T10:07:29Z aedon.locean-ipsl.upmc.fr (Darwin) 63 68 % … … 65 70 % time_serie_ER_rossby_30100.m 66 71 % 67 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.72 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 68 73 % 69 74 %- … … 73 78 74 79 if nargin==2 75 % ndmin must be lower than ndmax76 if ( ndmin > ndmax)77 disp([' ndmin = ', int2str(ndmin)]);78 disp([' ndmax = ', int2str(ndmax)]);79 error('eee : ndmin must be lower than ndmax');80 % period1 must be lower than period2 81 if (period1 > period2) 82 disp(['period1 = ', int2str(period1)]); 83 disp(['period2 = ', int2str(period2)]); 84 error('eee : period1 must be lower than period2'); 80 85 end 81 86 else 82 usage='usage : time_serie_ER_rossby_df( ndmin, ndmax)';87 usage='usage : time_serie_ER_rossby_df(period1, period2)'; 83 88 disp(usage); 84 89 error('eee : wrong arguments numbers') 85 90 end 86 91 87 % ndmin and ndmaxwill be used in xx-yyd form in filenames88 df = [int2str( ndmin),'-',int2str(ndmax),'d'];89 clear ndmin;90 clear ndmax;92 % period1 and period2 will be used in xx-yyd form in filenames 93 df = [int2str(period1),'-',int2str(period2),'d']; 94 clear period1; 95 clear period2; 91 96 92 97 fullfilename=[IRCAAM_ID,'eof_rossby_jjas_2006_',df,'.mat']; -
trunk/src/mode_sahelien/time_serie_ER_rossby_df_complet.m
r34 r56 1 function time_serie_ER_rossby_df_complet( ndmin, ndmax)2 % time_serie_ER_rossby_df_complet ++explication between ndmin days and ndmaxdays1 function time_serie_ER_rossby_df_complet(period1, period2) 2 % time_serie_ER_rossby_df_complet ++explication between period1 days and period2 days 3 3 4 4 %+ … … 52 52 % ========== 53 53 % 54 % 55 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 56 % 57 % * replace ndmin by period1 and ndmax by period2 58 % 54 59 % - fplod 2009-01-27T11:51:31Z aedon.locean-ipsl.upmc.fr (Darwin) 55 60 % … … 57 62 % time_serie_ER_rossby_30100_complet.m 58 63 % 59 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.64 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 60 65 % 61 66 %- … … 65 70 66 71 if nargin==2 67 % ndmin must be lower than ndmax68 if ( ndmin > ndmax)69 disp([' ndmin = ', int2str(ndmin)]);70 disp([' ndmax = ', int2str(ndmax)]);71 error('eee : ndmin must be lower than ndmax');72 % period1 must be lower than period2 73 if (period1 > period2) 74 disp(['period1 = ', int2str(period1)]); 75 disp(['period2 = ', int2str(period2)]); 76 error('eee : period1 must be lower than period2'); 72 77 end 73 78 else 74 usage='usage : time_serie_ER_rossby_df( ndmin, ndmax)';79 usage='usage : time_serie_ER_rossby_df(period1, period2)'; 75 80 disp(usage); 76 81 error('eee : wrong arguments numbers') 77 82 end 78 83 79 % ndmin and ndmaxwill be used in xx-yyd form in filenames80 df = [int2str( ndmin),'-',int2str(ndmax),'d'];81 clear ndmin;82 clear ndmax;84 % period1 and period2 will be used in xx-yyd form in filenames 85 df = [int2str(period1),'-',int2str(period2),'d']; 86 clear period1; 87 clear period2; 83 88 84 89 close all; -
trunk/src/mode_sahelien/time_serie_jjas_df.m
r44 r56 1 function time_serie_jjas_df( ndmin, ndmax)2 % time_serie_jjas_df ++explication between ndmin days and ndmaxdays1 function time_serie_jjas_df(period1, period2) 2 % time_serie_jjas_df ++explication between period1 days and period2 days 3 3 4 4 %+ … … 11 11 % =========== 12 12 % 13 % From eof_\ * ndmin*\ -\ *ndmax*\ d_jjas.mat,13 % From eof_\ *period1*\ -\ *period2*\ d_jjas.mat, 14 14 % ``time_serie_jjas_df`` compute ++. 15 15 % 16 16 % ``time_serie_jjas_df`` plot ++. 17 17 % 18 % ``time_serie_jjas_df`` save eof[123]\ * ndmin*\ -\ *ndmax*\ d.txt.18 % ``time_serie_jjas_df`` save eof[123]\ *period1*\ -\ *period2*\ d.txt. 19 19 % 20 20 % 2 Postscript files 21 % time_serie_jjas_\ * ndmin*\ -\ *ndmax*\ d_part[12].eps are21 % time_serie_jjas_\ *period1*\ -\ *period2*\ d_part[12].eps are 22 22 % written. 23 23 % … … 59 59 % $Id$ 60 60 % 61 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 62 % 63 % * replace ndmin by period1 and ndmax by period2 64 % 61 65 % - fplod 2009-01-28T15:28:54Z aedon.locean-ipsl.upmc.fr (Darwin) 62 66 % … … 64 68 % time_serie_jjas.m, time_serie_jjas_25_90.m and time_serie_jjas_10_25.m 65 69 % 66 % Days will be now written `` ndmin``\-``ndmaxd`` (ex: 10-30d) in filenames.70 % Days will be now written ``period1``\-``period2d`` (ex: 10-30d) in filenames. 67 71 % 68 72 %- … … 72 76 73 77 if nargin==2 74 % ndmin must be lower than ndmax75 if ( ndmin > ndmax)76 disp([' ndmin = ', int2str(ndmin)]);77 disp([' ndmax = ', int2str(ndmax)]);78 error('eee : ndmin must be lower than ndmax');78 % period1 must be lower than period2 79 if (period1 > period2) 80 disp(['period1 = ', int2str(period1)]); 81 disp(['period2 = ', int2str(period2)]); 82 error('eee : period1 must be lower than period2'); 79 83 end 80 84 else 81 usage='usage : time_serie_jjas_df( ndmin, ndmax)';85 usage='usage : time_serie_jjas_df(period1, period2)'; 82 86 disp(usage); 83 87 error('eee : wrong arguments numbers') 84 88 end 85 89 86 % ndmin and ndmaxwill be used in xx-yyd form in filenames87 df = [int2str( ndmin),'-',int2str(ndmax),'d'];88 clear ndmin;89 clear ndmax;90 % period1 and period2 will be used in xx-yyd form in filenames 91 df = [int2str(period1),'-',int2str(period2),'d']; 92 clear period1; 93 clear period2; 90 94 91 95 fullfilename=[IRCAAM_ID,'eof_', df, '_jjas.mat'];
Note: See TracChangeset
for help on using the changeset viewer.