Changeset 494 for trunk


Ignore:
Timestamp:
02/23/12 12:32:08 (12 years ago)
Author:
lelod
Message:

correction bug dans extract

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/extract_amsua.pro

    r493 r494  
    9292; EVOLUTIONS 
    9393; ========== 
     94; lelod 20120223 
     95; modif lecture du fichier bathy (ETOPO) pour limiter le temps 
     96; necessaire. Introduction de coordonnees limite dans initncdf, puis 
     97; domdef 
     98; Attention, si on change la zone, il faut changer les coordonnees!!! 
    9499; 
    95100; lelod 20111215 
     
    249254; lecture fichier land - sea (S. Masson) 
    250255file=project_id_env+'/MASK/ETOPO1_Ice_g_gmt4.nc' 
    251 initncdf,file, zaxisname='toto',xaxisname='lon',yaxisname='lat',XMINMESH=8900,XMAXMESH=14000, YMINMESH=4500,YMAXMESH=8000  
     256;attention: zone prise en compte limitee par le choix des nos en x et 
     257;y dans initncdf. La region traitee ne doit pas exceder lon_min=-25 & 
     258;lon_max=40 & lat_min=-5 & lat_max=40 
     259 
     260initncdf,file, zaxisname='toto',xaxisname='lon',yaxisname='lat',XMINMESH=8000,XMAXMESH=15000, YMINMESH=4500,YMAXMESH=8500  
    252261domdef,lon_min-15, lon_max+15, lat_min-15, lat_max+15 
    253262bathy=read_ncdf('z',file=file) 
    254263bate=bathy.arr gt 0 
    255 xxe=reform(glamt[*,0]) 
    256 yye=reform(gphit[0,*]) 
     264xxe1=reform(glamt[*,0]) 
     265zonx=where(xxe1 ge lon_min-15 and xxe1 le lon_max+15) 
     266xxe=xxe1[zonx] 
     267yye1=reform(gphit[0,*]) 
     268zony=where(yye1 ge lat_min-15 and yye1 le lat_max+15) 
     269yye=yye1[zony] 
    257270jpie = n_elements(xxe) 
    258271jpje = n_elements(yye) 
     272;print,jpie,jpje,size(bate) 
    259273;PRINT, 'lecture bathy terminee',SYSTIME()  
    260274; appel au ssprgm qui interpole les fonctions de correction (inutile 
     
    272286a = STRARR(nb_file) 
    273287   ; filea = STRARR(nb_filea) 
    274 print, 'ouverture pour lecture de ', list_file 
     288print, 'iii ouverture pour lecture de ', list_file 
     289print, 'iii traitement du jour ',yyyy,mm,dd 
     290 
    275291openr, lun_a, list_file, /get_lun 
    276292filea='' 
Note: See TracChangeset for help on using the changeset viewer.