- Timestamp:
- 02/18/09 17:42:07 (15 years ago)
- Location:
- trunk/src
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/SIMULS_IRCAAM/carte_eof_df.m
r56 r59 124 124 125 125 fullfilename=[IRCAAM_ID,'eof_',ircaam_dataset,'_', simulation, '_', df, '.mat']; 126 status=load(fullfilename,'C','L'); 126 try 127 status=load(fullfilename,'C','L'); 128 catch 129 error('eee : File %s not found\n', fullfilename); 130 end 131 127 132 clear fullfilename; 128 133 -
trunk/src/SIMULS_IRCAAM/eof_df.m
r56 r59 52 52 % 53 53 % $Id$ 54 % 55 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 56 % 57 % * add try/catch on opening file for reading 54 58 % 55 59 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) … … 112 116 close all; 113 117 114 fullfilename=[IRCAAM_ID,'olrf_',ircaam_dataset,'_', simulation, '_', df, '.80.dat']; fid=fopen(fullfilename,'r'); 118 fullfilename=[IRCAAM_ID,'olrf_',ircaam_dataset,'_', simulation, '_', df, '.80.dat']; 119 try 120 fid=fopen(fullfilename,'r'); 121 catch 122 error('eee : File %s not found\n', fullfilename); 123 end 115 124 clear fullfilename; 116 125 siz=24*15*3538; -
trunk/src/SIMULS_IRCAAM/prepare_olr_filtre_simulation.m
r58 r59 81 81 % force output to be written using IEEE floating point with little-endian byte 82 82 % order 83 machineformat='l' 83 machineformat='l'; 84 84 85 85 if nargin==2 -
trunk/src/SIMULS_IRCAAM/time_serie_eof_df.m
r56 r59 58 58 % 59 59 % $Id$ 60 % 61 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 62 % 63 % * add try/catch on opening file for reading 60 64 % 61 65 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) … … 121 125 122 126 fullfilename=[IRCAAM_ID,'eof_',ircaam_dataset,'_', simulation, '_', df, '.mat']; 123 status=load(fullfilename,'C','olr'); 127 try 128 status=load(fullfilename,'C','olr'); 129 catch 130 error('eee : File %s not found\n', fullfilename); 131 end 132 124 133 clear fullfilename; 125 134 -
trunk/src/ircaam_profile.sh
r55 r59 99 99 # $Id$ 100 100 # 101 # - fplod 2009-02-17T11:59:35Z aedon.locean-ipsl.upmc.fr (Darwin) 102 # 103 # * more unset statements 104 # 101 105 # - fplod 2009-02-04T13:35:30Z zeus.locean-ipsl.upmc.fr (Linux) 102 106 # … … 121 125 ;; 122 126 esac 127 unset system 123 128 # 124 129 # as this script might be launch in .profile, command is forced. … … 154 159 done 155 160 # 161 unset usage 162 # 156 163 # check for ${directory} 157 164 if [ ! -d ${directory} ] … … 169 176 # 170 177 set -u 171 system=$(uname)172 case "${system}" in173 IRIX64)174 echo " www : no specific posix checking"175 ;;176 *)177 set -o posix178 ;;179 esac180 178 # 181 179 IRCAAM=${directory} 182 180 export IRCAAM 181 unset directory 183 182 # 184 183 # add IRCAAM tools to PATH … … 194 193 echo "${command} : iii : ${IRCAAM}/ already in \${PATH}" 195 194 fi 195 unset test_path 196 196 # 197 197 # add IRCAAM manuals to MANPATH … … 207 207 echo "${command} : iii : ${IRCAAM}/man/ already in \${MANPATH}" 208 208 fi 209 unset test_manpath 209 210 # 210 211 # add ${IRCAAM}/../bin tools to PATH … … 220 221 echo "${command} : iii : ${IRCAAM}/../bin/ already in \${PATH}" 221 222 fi 223 unset test_path 222 224 # 223 225 IRCAAM_LOG=${tempdir} 224 226 export IRCAAM_LOG 227 unset tempdir 225 228 if [ ! -d ${IRCAAM_LOG} ] 226 229 then … … 248 251 IRCAAM_ID=${indir} 249 252 export IRCAAM_ID 253 unset indir 250 254 if [ ! -d ${IRCAAM_ID} ] 251 255 then … … 262 266 IRCAAM_OD=${outdir} 263 267 export IRCAAM_OD 268 unset outdir 264 269 if [ ! -d ${IRCAAM_OD} ] 265 270 then … … 279 284 fi 280 285 # 286 # 287 unset command 288 # 281 289 # end 282 290 # nb : no exit because this file should be launched by login process -
trunk/src/makefile
r58 r59 51 51 -Wextra -Wunused -Wuninitialized -Wprecision-loss \ 52 52 -ftrapv -fexceptions -std=f2003 -fno-static \ 53 -freal=nan \ 53 54 -fendian=little \ 54 55 -pedantic-errors -
trunk/src/mode_sahelien/carte_eof234_jjas_df.m
r56 r59 64 64 % 65 65 % $Id$ 66 % 67 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 68 % 69 % * add try/catch on opening file for reading 66 70 % 67 71 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) … … 104 108 105 109 fullfilename=[IRCAAM_ID,'eof_',df,'_jjas.mat']; 106 status=load(fullfilename,'C','L'); 110 try 111 status=load(fullfilename,'C','L'); 112 catch 113 error('eee : File %s not found\n', fullfilename); 114 end 115 107 116 clear fullfilename; 108 117 -
trunk/src/mode_sahelien/carte_eof_ER_jjas_df.m
r56 r59 63 63 % 64 64 % $Id$ 65 % 66 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 67 % 68 % * add try/catch on opening file for reading 65 69 % 66 70 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) … … 99 103 100 104 fullfilename=[IRCAAM_ID,'eof_rossby_jjas_2006_',df,'.mat']; 101 status=load(fullfilename,'C','L'); 105 try 106 status=load(fullfilename,'C','L'); 107 catch 108 error('eee : File %s not found\n', fullfilename); 109 end 110 102 111 clear fullfilename; 103 112 -
trunk/src/mode_sahelien/composite_olr_eof_df.m
r56 r59 53 53 % improve description 54 54 % 55 % improve file pb 55 % improve file pb especialy ncload 56 56 % 57 57 % use return function … … 65 65 % 66 66 % $Id$ 67 % 68 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 69 % 70 % * add try/catch on opening file for reading 67 71 % 68 72 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) … … 115 119 fullfilename=[IRCAAM_ID,'olr.day.mean.nc']; 116 120 ncload(fullfilename); 121 117 122 clear fullfilename; 118 123 … … 256 261 257 262 fullfilename=[IRCAAM_ID,'eof',int2str(eof_num),'_',df,'.txt']; 258 status=load(fullfilename); 263 try 264 status=load(fullfilename); 265 catch 266 error('eee : File %s not found\n', fullfilename); 267 end 268 259 269 clear fullfilename; 260 270 … … 454 464 455 465 figure(1); 456 fullfilename=[IRCAAM_OD,'composite_olr_eof',int2str(eof_num),'_', df, _part1.eps'];466 fullfilename=[IRCAAM_OD,'composite_olr_eof',int2str(eof_num),'_', df, '_part1.eps']; 457 467 print('-depsc2',fullfilename); 458 468 clear fullfilename; -
trunk/src/mode_sahelien/composite_olr_phase_num.m
r44 r59 54 54 % improve description 55 55 % 56 % improve file pb 56 % improve file pb especialy ncload 57 57 % 58 58 % use return function … … 68 68 % 69 69 % $Id$ 70 % 71 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 72 % 73 % * add try/catch on opening file for reading 70 74 % 71 75 % - fplod 2009-01-28T10:38:44Z aedon.locean-ipsl.upmc.fr (Darwin) … … 97 101 fullfilename=[IRCAAM_ID,'olr.day.mean.nc']; 98 102 ncload(fullfilename); 103 99 104 clear fullfilename; 100 105 … … 245 250 246 251 fullfilename=[IRCAAM_OD,'phase',int2str(phase_num),'.txt']; 247 status=load(fullfilename); 252 try 253 status=load(fullfilename); 254 catch 255 error('eee : File %s not found\n', fullfilename); 256 end 257 248 258 clear fullfilename; 249 259 -
trunk/src/mode_sahelien/olr_eof_jjas2006_rossby_df.m
r56 r59 58 58 % $Id$ 59 59 % 60 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 61 % 62 % * add try/catch on opening file for reading 60 63 % 61 64 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) … … 97 100 98 101 fullfilename=[IRCAAM_ID,'olrfilernew7900jjas_',df,'.dat']; 99 fid=fopen(fullfilename); 102 try 103 fid=fopen(fullfilename); 104 catch 105 error('eee : File %s not found\n', fullfilename); 106 end 107 100 108 clear fullfilename; 101 109 -
trunk/src/mode_sahelien/reconstitution_ER_rossby_df.m
r56 r59 60 60 % $Id$ 61 61 % 62 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 63 % 64 % * add try/catch on opening file for reading 62 65 % 63 66 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) … … 99 102 100 103 fullfilename=[IRCAAM_ID,'eof_rossby_jjas_2006_',df,'.mat']; 101 status=load(fullfilename,'C','olr'); 104 try 105 status=load(fullfilename,'C','olr'); 106 catch 107 error('eee : File %s not found\n', fullfilename); 108 end 109 102 110 clear fullfilename; 103 111 -
trunk/src/mode_sahelien/time_serie_ER_rossby_df.m
r56 r59 60 60 % $Id$ 61 61 % 62 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 63 % 64 % * add try/catch on opening file for reading 62 65 % 63 66 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) … … 96 99 97 100 fullfilename=[IRCAAM_ID,'eof_rossby_jjas_2006_',df,'.mat']; 98 status=load(fullfilename,'C','olr'); 101 try 102 status=load(fullfilename,'C','olr'); 103 catch 104 error('eee : File %s not found\n', fullfilename); 105 end 106 99 107 clear fullfilename; 100 108 C=status.C; -
trunk/src/mode_sahelien/time_serie_ER_rossby_df_complet.m
r56 r59 52 52 % ========== 53 53 % 54 % $Id$ 55 % 56 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 57 % 58 % * add try/catch on opening file for reading 54 59 % 55 60 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) … … 97 102 98 103 fullfilename=[IRCAAM_ID,'eof_rossby_jjas_2006_',df,'.mat']; 99 status=load(fullfilename,'C','olr'); 104 try 105 status=load(fullfilename,'C','olr'); 106 catch 107 error('eee : File %s not found\n', fullfilename); 108 end 109 100 110 clear fullfilename; 101 111 C=status.C; -
trunk/src/mode_sahelien/time_serie_histog_phase_num.m
r42 r59 54 54 % 55 55 % $Id$ 56 % 57 % 58 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 59 % 60 % * add try/catch on opening file for reading 56 61 % 57 62 % - fplod 2009-01-28T09:01:45Z aedon.locean-ipsl.upmc.fr (Darwin) … … 81 86 82 87 fullfilename=[IRCAAM_ID,'phase',int2str(phase_num),'.txt']; 83 status=load(fullfilename); 88 try 89 status=load(fullfilename); 90 catch 91 error('eee : File %s not found\n', fullfilename); 92 end 93 84 94 clear fullfilename; 85 95 -
trunk/src/mode_sahelien/time_serie_jjas_df.m
r56 r59 59 59 % $Id$ 60 60 % 61 % - fplod 2009-02-11T16:27:34Z aedon.locean-ipsl.upmc.fr (Darwin) 62 % 63 % * add try/catch on opening file for reading 64 % 61 65 % - fplod 2009-02-10T14:28:00Z aedon.locean-ipsl.upmc.fr (Darwin) 62 66 % … … 94 98 95 99 fullfilename=[IRCAAM_ID,'eof_', df, '_jjas.mat']; 96 status=load(fullfilename); 100 try 101 status=load(fullfilename); 102 catch 103 error('eee : File %s not found\n', fullfilename); 104 end 105 97 106 clear fullfilename; 107 98 108 C=status.C; 99 109 olr=status.olr;
Note: See TracChangeset
for help on using the changeset viewer.