Changeset 509


Ignore:
Timestamp:
03/30/12 17:45:23 (12 years ago)
Author:
lelod
Message:

correction plantage quand seulement une ligne dans la zone

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/extract_amsua.pro

    r507 r509  
    372372   jnd=where(amalong[midpix,*] gt lon_min-15 and amalong[midpix,*] lt lon_max+15 and amalati[midpix,*] gt lat_min-15 and amalati[midpix,*] lt lat_max+15 ,nzon) 
    373373   print,"iii : nb de points du fichier dans le domaine geographique +15deg ",nzon, SYSTIME() 
    374    if nzon ne 0 then begin 
     374   if nzon gt 1 then begin 
    375375      amalat=amalati[*,jnd] 
    376376      amalon=amalong[*,jnd] 
     
    379379      tt=ttt[jnd] 
    380380      dims = SIZE(amalon, /DIMENSIONS) 
    381      ; print,'dimension tableaux extraits',dims 
     381      print,'dimension tableaux extraits',dims 
    382382      n_scan=dims[1] 
    383      ; PRINT,'il y a des donnees dans la region ' 
     383      PRINT,'il y a des donnees dans la region ' 
    384384      amaday=REFORM(ama_scan.scnlindy) 
    385385      amafov= fovy_1 
Note: See TracChangeset for help on using the changeset viewer.