Changeset 591
- Timestamp:
- 07/19/12 18:47:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plot_amsu.pro
r566 r591 63 63 prefix=numch 64 64 look = 'filename' 65 openr,1,project_id_env+'AMSU/AMSU'+numch+'_correcbis_t_JJAS2009.dat'66 moytb=fltarr(fovmax)67 readf,1,moytb,format='(46(f6.2,1X))'68 close,169 moytbliss=smooth(moytb,5)70 correction_t=moytbliss-mean(moytbliss[21:26])71 ;print, correction72 openr,2,project_id_env+'AMSU/AMSU'+numch+'_correcbis_m_JJAS2009.dat'73 moytb=fltarr(fovmax)74 readf,2,moytb,format='(46(f6.2,1X))'75 close,276 close,/all77 moytbliss=smooth(moytb,5)78 correction_m=moytbliss-mean(moytbliss[22:24])79 65 80 66 geomin = geolocation_to_string_idl(lonmin, latmin, look,1) … … 88 74 lat=result.data.lat 89 75 mask=result.data.landseamask 90 tb init=result.data.tb76 tb1=result.data.tb 91 77 ; decodage du nb de points (nn) 92 nn=n_elements(tb1) 93 tb1=fltarr(nn) 78 nn=n_elements(tbinit) 94 79 print,'fauchee',min(fov),max(fov) 95 for ifov=min(fov)+1,fovmax-1 do begin 96 ind=where(fov eq ifov and mask eq 1,nbfov) 97 if nbfov ne 0 then begin 98 tb1[ind]=tbinit[ind] -correction_t[ifov] 99 endif 100 endfor 101 102 ind=where(fov eq 1,smallfov) 103 if smallfov ne 0 then begin 104 tb1[ind]=tbinit[ind] -correction_t[0] 105 endif 106 ind=where(fov ge fovmax,bigfov) 107 if bigfov ne 0 then begin 108 tb1[ind]=tbinit[ind] -correction_t[fovmax-1] 109 endif 110 for ifov=min(fov)+1,fovmax-1 do begin 111 ind=where(fov eq ifov and mask eq 0,nbfov) 112 if nbfov ne 0 then begin 113 tb1[ind]=tbinit[ind] -correction_m[ifov] 114 endif 115 endfor 116 ind=where(fov eq 1,smallfov) 117 if smallfov ne 0 then begin 118 tb1[ind]=tbinit[ind] -correction_m[0] 119 endif 120 ind=where(fov ge fovmax,bigfov) 121 if bigfov ne 0 then begin 122 tb1[ind]=tbinit[ind] -correction_m[fovmax-1] 123 endif 80 print,'nb orbites',max(desc) 124 81 125 ; plot sur continent 126 tbmin=241. 127 tbmax=280. 128 jnd=where(tb1 gt tbmin and tb1 lt tbmax and mask eq 1) 82 ; plot sur continent orbites du matin 83 tbmin=100. 84 tbmax=300. 85 ;jnd=where(tb1 gt tbmin and tb1 lt tbmax and mask eq 1 and hour le 12) 86 ;plot partout 87 jnd=where(tb1 gt tbmin and tb1 lt tbmax and hour le 12) 129 88 tb=tb1[jnd] 130 89 lolo=lon[jnd] 131 90 lala=lat[jnd] 132 print,'continent ',min(tb),max(tb)91 ;print,'continent ',min(tb),max(tb) 133 92 window,0 134 93 loadct,39 … … 137 96 for j=0,n_elements(tb)-1 do colscale[j]=(tb[j]-min(tb))*255/(max(tb)-min(tb)) 138 97 plots,lolo,lala,psym=5,symsize=1,color=colscale 98 ;mer=0 99 ;if mer ne 0 then begin 139 100 ; plot sur ocean 140 tbmin=200. & tbmax=280. 141 jnd=where(tb1 gt tbmin and tb1 lt tbmax and mask eq 0) 142 tb=tb1[jnd] 143 lolo=lon[jnd] 144 lala=lat[jnd] 145 print,'ocean ',min(tb),max(tb) 146 window,1 147 loadct,39 148 plot,lon,lat,xrange=[lonmin,lonmax],yrange=[latmin,latmax],xstyle=1,ystyle=1,/nodata 149 colscale=intarr(n_elements(tb)) 150 for j=0,n_elements(tb)-1 do colscale[j]=(tb[j]-min(tb))*255/(max(tb)-min(tb)) 151 plots,lolo,lala,psym=5,symsize=1,color=colscale 101 ; tbmin=200. & tbmax=280. 102 ; jnd=where(tb1 gt tbmin and tb1 lt tbmax and mask eq 0) 103 ; tb=tb1[jnd] 104 ; lolo=lon[jnd] 105 ; lala=lat[jnd] 106 ; print,'ocean ',min(tb),max(tb) 107 ; window,1 108 ; loadct,39 109 ; plot,lon,lat,xrange=[lonmin,lonmax],yrange=[latmin,latmax],xstyle=1,ystyle=1,/nodata 110 ; colscale=intarr(n_elements(tb)) 111 ; for j=0,n_elements(tb)-1 do colscale[j]=(tb[j]-min(tb))*255/(max(tb)-min(tb)) 112 ; plots,lolo,lala,psym=5,symsize=1,color=colscale 113 ;endif 152 114 153 ;bas=where (tb le min(tb)+0.5)154 ;plots,lolo[bas],lala[bas],color=0,symsize=2,psym=5155 ;print,lolo[bas],lala[bas]156 115 end
Note: See TracChangeset
for help on using the changeset viewer.