- Timestamp:
- 01/06/12 16:47:54 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/extract_amsua.pro
r482 r483 14 14 ; generaliser pour amsub aussi) 15 15 ; 16 ; decode les noms des fichiers dans la liste de fichiers, puis17 ; appelle le prgm de lecture L1C16 ; decode les noms des fichiers dans la date choisie, puis 17 ; appelle le prgm de lecture 18 18 ; 19 19 ; appelle :ref:`interpol_correc`, qui fournit les fonctions de correction au … … 22 22 ; 23 23 ; applique une interpolation tenant compte de la dimension de la tache 24 ; au sol selon la position dans la fauchee : appel :ref:`interpolswath`24 ; au sol selon la position dans la fauchee 25 25 ; 26 26 ; ecrit les donnees pour la zone (lat/long) choisie 27 ; la structure de sortie contient un en-tete (date, zone, resol) 28 ; puis les donnees du jour et du canal traite 29 ; 27 ; 28 ; ++ le fichier de sortie contient dans l'ordre mm, jj (jour de 29 ; l'annee), le temps (identique pour les points d'une meme fauchee), le 30 ; no satellite, le no de fov (1 a 40 ou 1 a 90), long, lat, tb 31 ; 32 ; Les valeurs manquantes sont codées par NaN. 30 33 ; 31 34 ; .. only:: man … … 68 71 ; 69 72 ; $ mkdir -p ${PROJECT_ID}/AMSU/2006/08 70 ; $ echo "${PROJECT_ID}/AMSU/AMSUAN15/L1C/2006/2006_08_01/NSS.AMAX.NK.D06213.S0110.E0255.B4271112.GC.L1C" > ${PROJECT_ID}/list_file 71 ; $ echo "${PROJECT_ID}/AMSU/AMSUAN15/L1C/2006/2006_08_01/NSS.AMAX.NK.D06213.S0250.E0437.B4271213.GC.L1C" >> ${PROJECT_ID}/list_file 73 ; $ echo "${PROJECT_ID}/AMSU/AMSUAN15/L1C/2006/2006_08_01/NSS.AMAX.NK.D06213.S0110.E0255.B4271112.GC.L1C" > ${PROJECT_ID}/list_filea 74 ; $ echo "${PROJECT_ID}/AMSU/AMSUAN15/L1C/2006/2006_08_01/NSS.AMAX.NK.D06213.S0250.E0437.B4271213.GC.L1C" >> ${PROJECT_ID}/list_filea 72 75 ; 73 76 ; Using AMSU-A channel 5:: … … 189 192 ; called by :ref:`traite_amsuab.sh` 190 193 ; 191 ; use :ref:`read_amsua1c `, :ref:`read_amsub1c.pro`,194 ; use :ref:`read_amsua1c.pro`, :ref:`read_amsub1c.pro`, 192 195 ; :func:`geolocation_to_string_idl`, :func:`mem_to_file_amsu_t2` 193 ; use :ref:`interpol_correc` 194 ; use :ref:`interpolswath` 195 ; 196 ; next step : au choix: amsu2ncdf ou cresamsu pour transformation en netcdf 196 ; 197 ; next step : ++ 197 198 ; 198 199 ; TODO … … 202 203 ; interpolswath ne gere pas cette situation 203 204 ; 205 ; comprendre les points bizarres autour de -40,30 visibles avec l'exemple 206 ; de 20060801 207 ; 208 ; lever le doute sur le contenu du fichier écrit par le printf (je (fplod) 209 ; crains des zesors louches!!).louche 210 ; 204 211 ; vérifier que pas NaN dans les lignes écrites 205 212 ; 206 213 ; faire un test avec un zone géographique dans le pacifique pour voir comment 207 ; le système réagi t214 ; le système réagi (devrait dire : rien à faire !) 208 215 ; 209 216 ; changer le nom des fichiers de listes pour éviter des conflits lors de runs … … 214 221 ; eviter la creation d'un fichier vide (si pas de points dans la zone) 215 222 ; 216 ; tester la cohérence entre les fichiers présents dans list_file 223 ; tester la cohérence entre les fichiers présents dans list_filea 217 224 ; en terme de date avec yyyy, mm et dd donnés en paramètre 218 225 ; … … 481 488 ; print, 'www : no data to write' 482 489 endelse 483 loadct,39484 window,0485 plot,lonint,latint,xrange=[lon_min,lon_max],yrange=[lat_min,lat_max],xstyle=1,ystyle=1,/nodata486 ind=where(maskint eq 1)487 ; oplot,lonint[ind],latint[ind],psym=1488 jnd=where(chint gt tbmin and chint lt tbmax)489 tb=chint[jnd]490 lolo=lonint[jnd]491 lala=latint[jnd]492 colscale=intarr(n_elements(tb))493 for j=0,n_elements(tb)-1 do begin494 colscale[j]=(tb[j]-min(tb))*255/(max(tb)-min(tb))495 endfor496 print,min(colscale),max(colscale)497 plots,lolo,lala,psym=5,symsize=1,color=colscale490 ; loadct,39 491 ; window,0 492 ; plot,lonint,latint,xrange=[lon_min,lon_max],yrange=[lat_min,lat_max],xstyle=1,ystyle=1,/nodata 493 ; ind=where(maskint eq 1) 494 ; ;oplot,lonint[ind],latint[ind],psym=1 495 ; jnd=where(chint gt tbmin and chint lt tbmax) 496 ; tb=chint[jnd] 497 ; lolo=lonint[jnd] 498 ; lala=latint[jnd] 499 ; colscale=intarr(n_elements(tb)) 500 ; for j=0,n_elements(tb)-1 do begin 501 ; colscale[j]=(tb[j]-min(tb))*255/(max(tb)-min(tb)) 502 ; endfor 503 ; print,min(colscale),max(colscale) 504 ; plots,lolo,lala,psym=5,symsize=1,color=colscale 498 505 end -
trunk/src/interpol_correc.pro
r482 r483 10 10 ; =========== 11 11 ; 12 ; interpolation des tableaux de correction amsub (calcules sur 12 ; interpolation des tableaux de correction amsub (calcules sur 13 13 ; echantillonnage amsua) sur les 90 points de la fauchee amsub 14 14 ; 15 ; read :file:`${PROJECT _ID}/CORR_[LAND|SEA]_AMSU[AB]_JUIL2006.DAT`15 ; read :file:`${PROJECT}/src/dataref_amsu/CORR_[LAND|SEA]_AMSU[AB]_JUIL2006.DAT` 16 16 ; containing correction for land and sea. ++ ref. algo fatima karbou 17 17 ; … … 77 77 ; ========== 78 78 ; 79 ; lelod 2011/12/09 modif organisation avec separation des traitements80 ; un seul canal traite81 79 ; $Id$ 82 80 ; 83 81 ; $URL$ 84 82 ; 83 ; - fplod 20120106 84 ; 85 ; * reprise des modifs lelod : changement de localisation des fichiers de correction 86 ; 87 ; - lelod 20111209 88 ; 89 ; * modif organisation avec separation des traitements un seul canal traite 90 ; 85 91 ; - lelod 20111019 86 ; 92 ; 87 93 ; * fonction pixelsize fait le calcul des tailles des taches au sol a et 88 94 ; b, et ressort le tableau correspondant sur la fauchee … … 160 166 161 167 162 path =project_env + 'src/dataref_amsu/'168 path = project_env + '/src/dataref_amsu/' 163 169 ; lecture des fichiers d'ajustement au nadir pour AMSUA et B 164 170 ; cas amsua 165 171 if nomcanal eq 'a' then begin 166 cor_landa =path + '/CORR_LAND_AMSUA_JUIL2006.DAT'167 cor_seaa =path + '/CORR_SEA_AMSUA_JUIL2006.DAT'172 cor_landa = path + 'CORR_LAND_AMSUA_JUIL2006.DAT' 173 cor_seaa = path +'CORR_SEA_AMSUA_JUIL2006.DAT' 168 174 ;test de l'autre fichier de correction: quel est le bon??? 169 175 ; cor_landa=project_id_env+'AMSU/CORR_LAND_AMSUA.DAT' … … 213 219 ;cas amsub 214 220 if nomcanal eq 'b' then begin 215 cor_landb =path+'CORR_LAND_AMSUB_JUIL2006.DAT'216 cor_seab =path+'CORR_SEA_AMSUB_JUIL2006.DAT'217 ;cor_landb=path+' AMSU/CORR_LAND_AMSUB.DAT'218 ;cor_seab=path+' AMSU/CORR_SEA_AMSUB.DAT'221 cor_landb = path + 'CORR_LAND_AMSUB_JUIL2006.DAT' 222 cor_seab = path + 'CORR_SEA_AMSUB_JUIL2006.DAT' 223 ;cor_landb=path+'CORR_LAND_AMSUB.DAT' 224 ;cor_seab=path+'CORR_SEA_AMSUB.DAT' 219 225 cor_l=fltarr(nfovb) 220 226 cor_s=fltarr(nfovb)
Note: See TracChangeset
for help on using the changeset viewer.