- Timestamp:
- 08/30/11 16:10:19 (13 years ago)
- Location:
- trunk/src
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/TropFlux_19890101_20091231.pro
r97 r98 127 127 ; TODO 128 128 ; ==== 129 ; 130 ; describe usage of tau 129 131 ; 130 132 ; make it work :: … … 192 194 ; 193 195 ; $URL$ 196 ; 197 ; - fplod 20110830T135832Z cratos (Linux) 198 ; 199 ; * replace tt by time 194 200 ; 195 201 ; - fplod 20110830T084129Z aedon.locean-ipsl.upmc.fr (Darwin) … … 545 551 tab=fltarr(jpi,jpj)+!values.f_nan & x=reform(y(*,8)) & tab(ocean)=x & m=finite(tab) & tab=extrapolate(tab,m) & wg(*,*,jt)=tab*msk+valmask*(1-msk) 546 552 endfor 547 tt=time548 553 time=timegen(7670, start=julday(1,1,1989,0), units='days') 549 554 jpt=n_elements(time) … … 551 556 cda0=string(jul2date(time(0)),format='(i8.8)') 552 557 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 553 t t=time-julday(1,1,1950,00,00,00)558 time=time-julday(1,1,1950,00,00,00) 554 559 xlon=reform(glamt(*,0) ) 555 560 ylat=reform(gphit(0,*)) … … 569 574 globattr={source:'Fluxes for the Global Tropical Ocean - TropFlux',timerange:cda0+' - '+cda1} 570 575 ; 571 help, swr,lwr,lat,sen,t t,xlon,ylat576 help, swr,lwr,lat,sen,time,xlon,ylat 572 577 ; 573 578 ncfields = $ … … 583 588 + 'longitude[]=xlon:lon_attr; ' $ 584 589 + 'latitude[]=ylat:lat_attr; ' $ 585 + 't t[*time]=tt:time_attr ' $590 + 'time[*time]=time:time_attr ' $ 586 591 + ' @ globattr' 587 592 ; -
trunk/src/TropFlux_swr_DT_19890101_20071231.pro
r97 r98 90 90 ; 91 91 ; $URL$ 92 ; 93 ; - fplod 20110830T135743Z cratos (Linux) 94 ; 95 ; * replace tt by time 92 96 ; 93 97 ; - fplod 20110812T073138Z aedon.locean-ipsl.upmc.fr (Darwin) … … 179 183 help, sw_mean 180 184 ; 181 tt=time182 185 jpt=n_elements(time) 183 186 caldat, time,mon,day,yea … … 199 202 ;writing field 200 203 ;time=julday(1,1,1989)+lindgen(7670) 201 cda0=string(jul2date(t t(0)),format='(i8.8)')202 cda1=string(jul2date(t t(jpt-1)),format='(i8.8)')204 cda0=string(jul2date(time(0)),format='(i8.8)') 205 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 203 206 ; 204 207 lat=reform(gphit(0,0:jpj-1)) -
trunk/src/TropFlux_swr_NRT_19890101_20091231.pro
r97 r98 92 92 ; 93 93 ; $URL$ 94 ; 95 ; - fplod 20110830T135938Z cratos (Linux) 96 ; 97 ; * replace tt by time 94 98 ; 95 99 ; - fplod 20110812T075406Z aedon.locean-ipsl.upmc.fr (Darwin) … … 228 232 initncdf, fullfilename_olr 229 233 olr=read_ncdf('olr', 19890100, 20091231, box=box, file=fullfilename_olr,/nostr) 230 tt=time231 234 jpt=n_elements(time) 232 235 caldat, time,mon,day,yea … … 245 248 ;writing field 246 249 time=julday(1,1,1989)+lindgen(7670) 247 cda0=string(jul2date(t t(0)),format='(i8.8)')248 cda1=string(jul2date(t t(jpt-1)),format='(i8.8)')250 cda0=string(jul2date(time(0)),format='(i8.8)') 251 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 249 252 ; 250 253 lat=reform(gphit(0,0:jpj-1)) -
trunk/src/TropFlux_wind_stress_19890101_20101231.pro
r97 r98 38 38 cda0=string(jul2date(time(0)),format='(i8.8)') 39 39 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 40 t t=time-julday(1,1,1950,00,00,00)40 time=time-julday(1,1,1950,00,00,00) 41 41 xlon=reform(glamt(*,0) ) & ylat=reform(gphit(0,*)) 42 42 ; … … 58 58 + 'longitude[]=xlon:lon_attr; ' $ 59 59 + 'latitude[]=ylat:lat_attr; ' $ 60 + 't t[*time]=tt:time_attr ' $60 + 'time[*time]=time:time_attr ' $ 61 61 + ' @ globattr' 62 62 ; -
trunk/src/cronin_gustiness_ncdf.pro
r97 r98 76 76 ; 77 77 ; $URL$ 78 ; 79 ; - fplod 20110830T140029Z cratos (Linux) 80 ; 81 ; * replace tt by time 78 82 ; 79 83 ; - fplod 20110808T144208Z aedon.locean-ipsl.upmc.fr (Darwin) … … 182 186 cda0=string(jul2date(time(0)),format='(i8.8)') 183 187 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 184 t t=time-julday(1,1,1950,00,00,00)188 time=time-julday(1,1,1950,00,00,00) 185 189 xlon=reform(glamt(*,0) ) 186 190 ylat=reform(gphit(0,*)) … … 196 200 + 'longitude[]=xlon:lon_attr; ' $ 197 201 + 'latitude[]=ylat:lat_attr; ' $ 198 + 't t[*time]=tt:time_attr ' $202 + 'time[*time]=time:time_attr ' $ 199 203 + ' @ globattr' 200 204 ; -
trunk/src/d2m_to_q2m_erai.pro
r97 r98 245 245 initncdf, fullfilename_t2m 246 246 t=read_ncdf("t2m", d1,d2, file=fullfilename_t2m,/nostr) 247 tt=time248 247 jpt=n_elements(time) 249 248 help, t, td … … 277 276 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 278 277 ; 279 t t=time-julday(1,1,1950,00,00,00)278 time=time-julday(1,1,1950,00,00,00) 280 279 xlon=reform(glamt(*,0) ) 281 280 ylat=reform(gphit(0,*)) … … 291 290 + 'longitude[]=xlon:lon_attr; ' $ 292 291 + 'latitude[]=ylat:lat_attr; ' $ 293 + 't t[*time]=tt:time_attr ' $292 + 'time[*time]=time:time_attr ' $ 294 293 + ' @ globattr' 295 294 ; -
trunk/src/interp_erai_lwr_1989_2009.pro
r97 r98 118 118 ; 119 119 ; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_lwr_1989_2009.pro $ 120 ; 121 ; - fplod 20110830T135030Z cratos (Linux) 122 ; 123 ; * replace tt by time 120 124 ; 121 125 ; - pinsard 2011-08-23T09:09:16Z loholt1.ipsl.polytechnique.fr (Linux) … … 296 300 time=timegen(7669, start=julday(1,2,1989,0), units='days') 297 301 jpt=n_elements(time) 298 tt=time299 302 jptin=jpt 300 cda0=string(jul2date(t t(0)),format='(i8.8)')301 cda1=string(jul2date(t t(jpt-1)),format='(i8.8)')302 t t=tt-julday(1,1,1950,00,00,00)303 cda0=string(jul2date(time(0)),format='(i8.8)') 304 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 305 time=time-julday(1,1,1950,00,00,00) 303 306 xlon=reform(glamt(*,0) ) 304 307 ylat=reform(gphit(0,*)) … … 321 324 + 'longitude[]=xlon:lon_attr; ' $ 322 325 + 'latitude[]=ylat:lat_attr; ' $ 323 + 't t[*time]=tt:time_attr ' $326 + 'time[*time]=time:time_attr ' $ 324 327 + ' @ globattr' 325 328 ; -
trunk/src/interp_erai_sst_1989_2009.pro
r97 r98 241 241 ind=where((tab eq 1.e9) or finite(tab,/nan)) 242 242 mskin(ind)=0. 243 ;mskin=glamt*0.+1.244 243 ; 245 244 initncdf, fullfilename_msk … … 270 269 time=timegen(7670, units='days', start=julday(1,1,1989)) 271 270 jpt=n_elements(time) 272 tt=time273 271 cda0=string(jul2date(time(0)),format='(i8.8)') 274 272 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') -
trunk/src/interp_erai_ws_1989_2009.pro
r97 r98 138 138 ; 139 139 ; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_ws_1989_2009.pro $ 140 ; 141 ; - fplod 20110830T135212Z cratos (Linux) 142 ; 143 ; * replace tt by time 140 144 ; 141 145 ; - pinsard 2011-08-23T09:09:16Z loholt1.ipsl.polytechnique.fr (Linux) … … 324 328 time=timegen(7670, units='days', start=julday(1,1,1989)) 325 329 jpt=n_elements(time) 326 tt=time327 330 jptin=jpt 328 cda0=string(jul2date(t t(0)),format='(i8.8)')329 cda1=string(jul2date(t t(jpt-1)),format='(i8.8)')330 t t=tt-julday(1,1,1950,00,00,00)331 cda0=string(jul2date(time(0)),format='(i8.8)') 332 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 333 time=time-julday(1,1,1950,00,00,00) 331 334 xlon=reform(glamt(*,0) ) 332 335 ylat=reform(gphit(0,*)) … … 346 349 globattr={source:'Tropical ocean winds obtained from ERA Interim',timerange:cda0+' - '+cda1} 347 350 ; 348 help, u10out,v10out,t t,xlon,ylat351 help, u10out,v10out,time,xlon,ylat 349 352 ; 350 353 ncfields = 'u10[longitude,latitude,time]=u10out:u10_attr; ' $ … … 352 355 + 'longitude[]=xlon:lon_attr; ' $ 353 356 + 'latitude[]=ylat:lat_attr; ' $ 354 + 't t[*time]=tt:time_attr ' $357 + 'time[*time]=time:time_attr ' $ 355 358 + ' @ globattr' 356 359 ; -
trunk/src/interp_olr_30n30s_1989_2009.pro
r97 r98 233 233 olrin=read_ncdf("olr",19881231, 20091231, file=fullfilename,/nostr) 234 234 ; 235 mskin=glamt*0.+1.236 235 ; 237 236 timein=time 238 237 jptin=jpt 238 mskin=glamt*0.+1. 239 239 ; 240 240 initncdf, fullfilename_msk -
trunk/src/lwr_correction_ncdf.pro
r97 r98 191 191 help,lwr_mean 192 192 ; 193 tt=time194 193 jpt=n_elements(time) 195 194 caldat, time,mon,day,yea -
trunk/src/paper01/fig13/net_flux_validation_scatter_2000_2007.pro
r97 r98 135 135 jpt=(jda2-jda1+1l) 136 136 time=jda1+dindgen(jpt) 137 tt=time138 137 ; 139 138 ocean='net_flux' -
trunk/src/paper01/fig3/read_variables_v2.pro
r97 r98 65 65 ; ==== 66 66 ; 67 ; externalize function68 ;69 67 ; make it work (missing data) 70 68 ; … … 75 73 ; 76 74 ; $URL$ 75 ; 76 ; - fplod 20110830T140518Z cratos (Linux) 77 ; 78 ; * remove function time_lec (already externalized) 77 79 ; 78 80 ; - fplod 20110412T110534Z aedon.locean-ipsl.upmc.fr (Darwin) … … 249 251 ; 250 252 end 251 ;252 function time_lec, fi253 tt=ncdf_lec(fi,var='time')254 fid=ncdf_open(fi)255 vid=ncdf_varid(fid,'time')256 ncdf_attget, fid,vid,'units',orig257 orig=string(orig)258 yy=long(strmid(orig,11,4))259 mm=long(strmid(orig,16,2))260 dd=long(strmid(orig,19,2))261 tt=julday(mm,dd,yy,12,00)+tt262 ;263 return, tt264 ;265 end -
trunk/src/q2m_correction_ncdf.pro
r97 r98 176 176 help, q2m_mean 177 177 ; 178 tt=time179 178 jpt=n_elements(time) 180 179 caldat, time,mon,day,yea -
trunk/src/sst_correction_ncdf.pro
r97 r98 247 247 help, sst_mean 248 248 ; 249 tt=time250 249 jpt=n_elements(time) 251 250 caldat, time,mon,day,yea -
trunk/src/ws_correction_ncdf.pro
r97 r98 182 182 help, w_mean 183 183 ; 184 tt=time185 184 jpt=n_elements(time) 186 185 caldat, time,mon,day,yea -
trunk/src/ws_tropflux_1d_to_1m_ncdf.pro
r97 r98 156 156 help, ws 157 157 ; 158 tt=time159 ;160 158 ; Monthly data 161 159 ; 162 160 jpt=22*12. 163 161 time=timegen(jpt,start=julday(1,15,1989),units='Months') 164 caldat, t t,m,d,y162 caldat, time,m,d,y 165 163 caldat, time, mon,day,yea 166 164 ;
Note: See TracChangeset
for help on using the changeset viewer.