Changeset 470 for trunk


Ignore:
Timestamp:
12/15/11 19:09:21 (12 years ago)
Author:
lelod
Message:

divers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/extract_amsua.pro

    r467 r470  
    277277nlist=0 
    278278ilist=0 
    279 loadct,39 
    280 numwindow=1 
     279;loadct,39 
     280tek_color 
     281numwindow=2 
     282window,numwindow 
     283plot,indgen(30),cor_l+200,psym=2,color=0,yrange=[150,250] 
     284oplot,indgen(30),cor_s+200,psym=2,color=100 
     285 
    281286;while ilist le nlist do begin 
    282287while (not eof(lun_a)) do begin 
     
    360365      endfor 
    361366   endfor 
    362 ;moych=fltarr(nbpix) 
    363 ;for ifo=0,nbpix-1 do moych[ifo]= mean(ch_nadir[ifo,*]) 
     367 
     368moych=fltarr(nbpix) 
     369 
     370for ifo=0,nbpix-1 do begin 
     371   jnd=where(ch_nadir[ifo,*] gt tbmin and ch_nadir[ifo,*] lt tbmax and amalon[ifo,*] ge lon_min and amalon[ifo,*] le lon_max $ 
     372         and amalat[ifo,*] ge lat_min and amalat[ifo,*] le lat_max,npts) 
     373  if npts ne 0 then begin 
     374     moych[ifo]= mean(ch_nadir[ifo,jnd]) 
     375  endif 
     376endfor 
    364377;print,'correction',moych 
    365378;print,'cor_s',cor_s 
    366379;print,'cor_l',cor_l 
    367 ;plot,amafov,moych,psym=1,color=0 
    368 ;oplot,amafov,cor_l+200,psym=2,color=200 
     380oplot,amafov,moych,psym=1,color=numwindow 
     381print,'ecarts max a la valeur moyenne au nadir',min(moych)-mean(moych[12:17]),max(moych)-mean(moych[12:17]) 
    369382 
    370383;window,numwindow 
     
    380393;endfor 
    381394;plots,lolo,lala,psym=5,symsize=1,color=colscale 
    382 ;numwindow=numwindow+1 
     395numwindow=numwindow+1 
    383396 
    384397; appel a interpolswath pour ajuster les pixels amsua sur une grille 
     
    429442            print, 'www : aucun point dans la zone' 
    430443         endelse 
    431       endif else begin 
    432         print,'fauchee incomplete',nbon 
    433       endelse 
     444      endif ;else begin 
     445        ; print,'fauchee incomplete',nbon 
     446     ; endelse 
    434447 
    435448   endfor 
     
    491504 
    492505endif else begin 
    493     print, 'www : no data to write' 
     506  ;  print, 'www : no data to write' 
    494507endelse 
    495508loadct,39 
Note: See TracChangeset for help on using the changeset viewer.