Changeset 583 for trunk


Ignore:
Timestamp:
07/09/12 16:22:12 (12 years ago)
Author:
lelod
Message:

adaptation chaine aux autres canaux

Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/extract_amsu.pro

    r545 r583  
    305305; appel au ssprgm qui interpole les fonctions de correction (inutile 
    306306; de l'appeler a chaque fichier....) 
     307; ou appeler pixelsize et reduire interpolcorrec a la partie 
     308; correction nadir 
    307309interpol_correc,numch,nbpixel,cor_l,cor_s,swath,track 
    308310; ouverture des fichiers liste (annee, mois, jour, tous satellites) pour 
     
    314316;PRINT,'demarrage boucle sur lichiers', SYSTIME() 
    315317FOR ifile = 0, nb_file - 1 do begin 
    316    filea = files_list[ifile] 
    317318   if nomcanal eq 'a' then begin 
     319      filea = files_list[ifile] 
    318320      COMMON amsua_header,ama_head 
    319321      COMMON amsua_data  ,ama_scan 
    320322      print, 'ouverture et lecture du fichier ', filea, SYSTIME() 
    321       openr,lu1,filea,Error=erra,/get_lun 
     323      ;openr,lu1,filea,Error=erra,/get_lun 
    322324      read_amsua1c,filea, flag1 
    323       close,lu1 
    324       free_lun,lu1 
     325     ;close,lu1 
     326     ;free_lun,lu1 
    325327      if (flag1 eq 0) then goto, labfile 
    326328      na=SIZE(reform(ama_scan.btemps[0,*,*])) 
     
    337339      amalong=REFORM(ama_scan.latlon[1,*,*]/1.E4) 
    338340      amalati=REFORM(ama_scan.latlon[0,*,*]/1.E4) 
    339       amcha=REFORM(ama_scan.btemps[nocanal,*,*]/100.) 
     341      amcha=REFORM(ama_scan.btemps[nocanal-1,*,*]/100.) 
    340342      amzeni=REFORM(ama_scan.angles[0,*,*]/100.) 
    341343      ttt=REFORM(ama_scan.scnlintime/3600000.) 
     
    345347      COMMON amsub_header,amb_head 
    346348      COMMON amsub_data  ,amb_scan 
     349      fileb = files_list[ifile] 
    347350      print, 'ouverture et lecture du fichier ', fileb, SYSTIME() 
    348       openr,lu1,fileb,Error=errb,/get_lun 
     351     ;openr,lu1,fileb,Error=errb,/get_lun 
    349352      read_amsub1c,fileb, flag2 
    350       close,lu1 
    351       free_lun,lu1 
     353      ;close,lu1 
     354     ;free_lun,lu1 
    352355      if (flag2 eq 0) then goto, labfile 
    353356      nb=SIZE(reform(amb_scan.btemps[0,*,*])) 
     
    359362      amalong=REFORM(amb_scan.latlon[1,*,*]/1.E4) 
    360363      amalati=REFORM(amb_scan.latlon[0,*,*]/1.E4) 
    361       amcha=REFORM(amb_scan.btemps[nocanal,*,*]/100.) 
     364      amcha=REFORM(amb_scan.btemps[nocanal-1,*,*]/100.) 
    362365      amzeni=REFORM(amb_scan.angles[0,*,*]/100.) 
    363366      ttt=REFORM(amb_scan.scnlintime/3600000.) 
     
    365368   endif 
    366369 
    367    fov=indgen(nbpix)            ; nb pixels dans la fauchee AMSU 
     370   fov=indgen(nbpix)            ; nb pixels dans la fauchee AMSU ne sert a rien??? 
    368371   ntime_1=fltarr(nbpix,n_scan) 
    369372   fovy_1=fltarr(nbpix,n_scan) 
  • trunk/src/interpol_correc.pro

    r582 r583  
    194194cor_l=fltarr(nfov,5) 
    195195cor_s=fltarr(nfov,5) 
    196 cor_sea15=path+'AMSU/CORR_SEA_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA15.DAT' 
    197 cor_land15=path+'AMSU/CORR_LAND_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA15.DAT' 
    198 cor_sea16=path+'AMSU/CORR_SEA_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA16.DAT' 
    199 cor_land16=path+'AMSU/CORR_LAND_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA16.DAT' 
    200 cor_sea18=path+'AMSU/CORR_SEA_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA18.DAT' 
    201 cor_land18=path+'AMSU/CORR_LAND_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA18.DAT' 
    202 cor_sea19=path+'AMSU/CORR_SEA_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA19.DAT' 
    203 cor_land19=path+'AMSU/CORR_LAND_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA19.DAT' 
    204 cor_seaM2=path+'AMSU/CORR_SEA_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_METOP.DAT' 
    205 cor_landM2=path+'AMSU/CORR_LAND_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_METOP.DAT' 
     196cor_sea15=path+'CORR_SEA_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA15.DAT' 
     197cor_land15=path+'CORR_LAND_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA15.DAT' 
     198cor_sea16=path+'CORR_SEA_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA16.DAT' 
     199cor_land16=path+'CORR_LAND_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA16.DAT' 
     200cor_sea18=path+'CORR_SEA_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA18.DAT' 
     201cor_land18=path+'CORR_LAND_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA18.DAT' 
     202cor_sea19=path+'CORR_SEA_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA19.DAT' 
     203cor_land19=path+'CORR_LAND_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_NOAA19.DAT' 
     204cor_seaM2=path+'CORR_SEA_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_METOP.DAT' 
     205cor_landM2=path+'CORR_LAND_AMSU'+instr+strmid(numch,1,1)+'_DataFromJune2010_Afrique_METOP.DAT' 
    206206listcorr_l=[cor_land15,cor_land16,cor_land18,cor_land19,cor_landM2] 
    207207for nosat=0,4 do begin 
  • trunk/src/interpolswath.pro

    r528 r583  
    3030; TODO 
    3131; ===== 
     32; 
     33; lelod 20120530 
     34; faire evoluer le prgm pour l'inetrpolation des donnees AMSUB 
    3235; 
    3336; regler le pb des longitudes autour de 180 degres 
Note: See TracChangeset for help on using the changeset viewer.