Changeset 566
- Timestamp:
- 05/30/12 09:45:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plot_amsu.pro
r525 r566 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,1 69 moytbliss=smooth(moytb,5) 70 correction_t=moytbliss-mean(moytbliss[21:26]) 71 ;print, correction 72 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,2 76 close,/all 77 moytbliss=smooth(moytb,5) 78 correction_m=moytbliss-mean(moytbliss[22:24]) 65 79 66 80 geomin = geolocation_to_string_idl(lonmin, latmin, look,1) … … 74 88 lat=result.data.lat 75 89 mask=result.data.landseamask 76 tb 1=result.data.tb90 tbinit=result.data.tb 77 91 ; decodage du nb de points (nn) 78 92 nn=n_elements(tb1) 93 tb1=fltarr(nn) 94 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 79 124 80 125 ; plot sur continent
Note: See TracChangeset
for help on using the changeset viewer.