Changeset 530
- Timestamp:
- 04/17/12 16:05:07 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/LectureLAIHDF.pro
r513 r530 293 293 ;*** enregistrement ascii 294 294 fileascii=iodirout+'LAI/'+'laisen'+an+'_num.txt' 295 OPENW,lun,fileascii,/GET_LUN 295 OPENW,lun,fileascii,/GET_LUN, ERROR = error 296 IF (error NE 0) then begin 297 ras = report(['eee : can not open for writing '$ 298 + '!C' $ 299 + fileascii]) 300 STOP 301 ENDIF 302 296 303 print,fileascii 297 304 ;printf,lun,datenum -
trunk/src/LectureLAI_2000_FM.pro
r337 r530 158 158 file='/home/orchidee01/cbobee/donnees_sat/modis/lai/lai-2000/lai2000_float.txt' 159 159 160 OPENW,lun,file,/GET_LUN 160 OPENW,lun,file,/GET_LUN, ERROR = error 161 IF (error NE 0) then begin 162 ras = report(['eee : can not open for writing '$ 163 + '!C' $ 164 + file]) 165 STOP 166 ENDIF 167 161 168 printf,lun,datenum 162 169 FOR ilig=0,taille[2]-1 DO BEGIN -
trunk/src/cloud_day.pro
r337 r530 70 70 ; recherche des fichiers du mois 71 71 filemsg=project_id_env+'listmsg' 72 openr,1,filemsg 72 openr,1,filemsg, ERROR = error 73 IF (error NE 0) then begin 74 ras = report(['eee : can not open for reading '$ 75 + '!C' $ 76 + 'code : ' + !ERROR_STATE.MSG $ 77 + filemsg]) 78 STOP 79 ENDIF 73 80 ijour=0 74 81 while not(eof(1)) do begin -
trunk/src/cloud_month.pro
r337 r530 58 58 seuil=strcompress(string(threshold),/remove_all) 59 59 filemsg=project_id_env+'listmsg' 60 openr,1,filemsg 60 openr,1,filemsg, ERROR = error 61 IF (error NE 0) then begin 62 ras = report(['eee : can not open for reading '$ 63 + '!C' $ 64 + 'code : ' + !ERROR_STATE.MSG $ 65 + filemsg]) 66 STOP 67 ENDIF 68 61 69 ijour=0 62 70 while not(eof(1)) do begin -
trunk/src/correct_nadir_amsu.pro
r525 r530 205 205 cor_sa=fltarr(9,30) 206 206 207 openr, lun1,cor_landa, /get_lun 207 openr, lun1,cor_landa, /get_lun, ERROR = error 208 IF (error NE 0) then begin 209 ras = report(['eee : can not open for reading '$ 210 + '!C' $ 211 + 'code : ' + !ERROR_STATE.MSG $ 212 + filemsg]) 213 STOP 214 ENDIF 215 208 216 209 217 for i=0, 8 do begin … … 527 535 print, '#correct_nadir_amsu# ecriture du fichier resultant ', fichier2 528 536 529 openw, lun_obsa, fichier2, /get_lun 537 openw, lun_obsa, fichier2, /get_lun, ERROR=error 538 if (error NE 0) THEN BEGIN 539 ras = report(['eee : can not open for writing '$ 540 + '!C' $ 541 + 'code : ' + !ERROR_STATE.MSG $ 542 + fichier2]) 543 STOP 544 ENDIF 530 545 for i=0L, nn-1L do begin 531 546 if (use_amsua eq 1) then begin -
trunk/src/cresamsu_cdf.pro
r525 r530 255 255 + '_nadir.dat' 256 256 257 openr,2,fichier2 257 openr,2,fichier2, ERROR = error 258 IF (error NE 0) then begin 259 ras = report(['eee : can not open for reading '$ 260 + '!C' $ 261 + 'code : ' + !ERROR_STATE.MSG $ 262 + fichier2]) 263 STOP 264 ENDIF 265 258 266 print,fichier2 259 267 cont=0L -
trunk/src/extract_amsuab.pro
r525 r530 232 232 233 233 print, 'ouverture pour ecriture de ', fileout 234 openw, lun_obs, fileout, /get_lun 234 openw, lun_obs, fileout, /get_lun, ERROR = error 235 IF (error NE 0) then begin 236 ras = report(['eee : can not open for writing '$ 237 + '!C' $ 238 + 'code : ' + !ERROR_STATE.MSG $ 239 + fileout]) 240 STOP 241 ENDIF 242 235 243 236 244 ; ouverture des fichiers liste (annee, mois, jour, tous satellites) pour -
trunk/src/file_amsu_t2_to_mem.pro
r525 r530 189 189 ; open file 190 190 print, 'iii : ouverture pour lecture de ', fullfilename 191 OPENR, lun, fullfilename, /GET_LUN 191 OPENR, lun, fullfilename, /GET_LUN, ERROR = error 192 IF (error NE 0) then begin 193 ras = report(['eee : can not open for reading'$ 194 + '!C' $ 195 + fullfilename]) 196 return, result 197 ENDIF 192 198 ; 193 199 ; read header lines -
trunk/src/interpol_correc.pro
r522 r530 182 182 cor_landa=project_id_env+'AMSU/CORR_LAND_AMSUA5_DataFromJune2010_40deg_OrogInf500.DAT' 183 183 cor_seaa=project_id_env+'AMSU/CORR_SEA_AMSUA5_DataFromJune2010_40deg.DAT' 184 openr, lun1,cor_landa, /get_lun 184 openr, lun1,cor_landa, /get_lun, ERROR = error 185 IF (error NE 0) then begin 186 ras = report(['eee : can not open for reading '$ 187 + '!C' $ 188 + 'code : ' + !ERROR_STATE.MSG $ 189 + cor_landa]) 190 STOP 191 ENDIF 185 192 readf, lun1, t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,$ 186 193 t11,t12,t13,t14,t15,t16,t17,t18,t19,t20,$ … … 191 198 cor_l=interpol(a,nfova,/lsquadratic) 192 199 free_lun, lun1 193 openr, lun1,cor_seaa, /get_lun 200 openr, lun1,cor_seaa, /get_lun, ERROR = error 201 IF (error NE 0) then begin 202 ras = report(['eee : can not open for reading '$ 203 + '!C' $ 204 + cor_seaa]) 205 STOP 206 ENDIF 194 207 readf, lun1, t1,t2,t3,t4,t5,$ 195 208 t6,t7,t8,t9,t10,$ … … 209 222 cor_s=interpol(a,nfova,/lsquadratic) ; normalement le dernier canal lu 210 223 endif else begin 211 openr, lun1,cor_landa, /get_lun 224 openr, lun1,cor_landa, /get_lun, ERROR = error 225 IF (error NE 0) then begin 226 ras = report(['eee : can not open for reading '$ 227 + '!C' $ 228 + cor_landa]) 229 STOP 230 ENDIF 212 231 for i=0, numcanal-1 do begin 213 232 readf, lun1, t1,t2,t3,t4,t5,t6,t7,t8,t9,t10,$ … … 221 240 cor_l=interpol(a,nfova,/lsquadratic) ; normalement le dernier canal lu 222 241 free_lun, lun1 223 openr, lun1,cor_seaa, /get_lun 242 openr, lun1,cor_seaa, /get_lun, ERROR = error 243 IF (error NE 0) then begin 244 ras = report(['eee : can not open for reading '$ 245 + '!C' $ 246 + cor_seaa]) 247 STOP 248 ENDIF 224 249 for i=0, numcanal-1 do begin 225 250 readf, lun1, t1,t2,t3,t4,t5,$ … … 249 274 cor_l=fltarr(nfovb) 250 275 cor_s=fltarr(nfovb) 251 openr, lun1,cor_landb, /get_lun 252 for i=0, numcanal-1 do begin 276 openr, lun1,cor_landb, /get_lun, ERROR = error 277 IF (error NE 0) then begin 278 ras = report(['eee : can not open for reading '$ 279 + '!C' $ 280 + cor_landb]) 281 STOP 282 ENDIF 283 for i=0, numcanal-1 do begin 253 284 readf, lun1, t1,t2,t3,t4,t5,$ 254 285 t6,t7,t8,t9,t10,$ … … 270 301 271 302 free_lun, lun1 272 openr, lun1,cor_seab, /get_lun 303 openr, lun1,cor_seab, /get_lun, ERROR = error 304 IF (error NE 0) then begin 305 ras = report(['eee : can not open for reading '$ 306 + '!C' $ 307 + cor_seab]) 308 STOP 309 ENDIF 273 310 for i=0, numcanal-1 do begin 274 311 readf, lun1, t1,t2,t3,t4,t5,$ -
trunk/src/msgnuage.pro
r349 r530 290 290 ENDELSE 291 291 292 openw,11,'/tmp/ssminuage.txt' 292 fullfilename='/tmp/ssminuage.txt' 293 openw,11,fullfilename, ERROR = error 294 IF (error NE 0) then begin 295 ras = report(['eee : can not open for writing '$ 296 + '!C' $ 297 + fullfilename]) 298 STOP 299 ENDIF 300 293 301 printf,11,"# filename :",file 294 302 printf,11,"# threshold:",threshold -
trunk/src/read_amsub1c.pro
r513 r530 50 50 ; Open input file 51 51 ; 52 OPENR,1,filename 52 OPENR,1,filename, ERROR = error 53 IF (error NE 0) then begin 54 ras = report(['eee : can not open for reading'$ 55 + '!C' $ 56 + 'code : ' + !ERROR_STATE.MSG $ 57 + filename]) 58 STOP 59 ENDIF 60 53 61 ; 54 62 ; Define and read in header structure -
trunk/src/ssminuage.pro
r513 r530 298 298 ENDELSE 299 299 300 openw,11,'/tmp/ssminuage.txt' 300 fullfilename = '/tmp/ssminuage.txt' 301 openw,11,'/tmp/ssminuage.txt', ERROR = error 302 IF (error NE 0) then begin 303 ras = report(['eee : can not open for writing '$ 304 + '!C' $ 305 + fullfilename]) 306 STOP 307 ENDIF 308 301 309 printf,11,"# filename :",file 302 310 printf,11,"# threshold:",threshold
Note: See TracChangeset
for help on using the changeset viewer.