Changeset 100
- Timestamp:
- 08/30/11 18:01:00 (13 years ago)
- Location:
- trunk/src
- Files:
-
- 24 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/TropFlux_19890101_20091231.pro
r99 r100 65 65 ; if this file not already exists. 66 66 ; 67 ; This output file :file:`${PROJECT_OD}/TropFlux_19890101_20091231_coarev3.nc` 68 ; will be used by :ref:`TropFlux_NRT_ncdf.pro`. 67 ; This output file 68 ; :file:`${PROJECT_OD}/TropFlux_19890101_20091231_coarev3.nc` 69 ; will be used by 70 ; :ref:`TropFlux_NRT_ncdf.pro`. 69 71 ; 70 72 ; .. graphviz:: … … 91 93 ; {mask file_sst file_ws file_wg file_swr file_lwr file_t2m file_q2m} -> {tropflux_19890101_20091231} -> {file_out} 92 94 ; 93 ; 95 ; } 94 96 ; 95 97 ; SEE ALSO … … 560 562 lon_attr={units:'degrees_east',long_name:'Longitude'} 561 563 lat_attr={units:'degrees_north',long_name:'Latitude'} 564 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 565 globattr={source:'Fluxes for the Global Tropical Ocean - TropFlux',timerange:cda0+' - '+cda1} 562 566 swr_attr={units:'W/m2',missing_value:valmask,long_name:'Surface net shortwave radiation',short_name:'swr',axis:'TYX'} 563 567 lwr_attr={units:'W/m2',missing_value:valmask,long_name:'Surface net longwave radiation',short_name:'lwr',axis:'TYX'} … … 567 571 wg_attr={units:'m/s',missing_value:valmask,long_name:'COARE convective gustiness',short_name:'wg',axis:'TYX'} 568 572 tau_attr={units:'N/m2',missing_value:valmask,long_name:'Wind stress magnitude',short_name:'tau',axis:'TYX'} 569 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 1950-JAN-01 00:00:00'}570 ;571 globattr={source:'Fluxes for the Global Tropical Ocean - TropFlux',timerange:cda0+' - '+cda1}572 573 ; 573 574 help, swr,lwr,lat,sen,time,xlon,ylat 574 575 ; 575 ncfields = $ 576 + tau[longitude,latitude,time]=tau:tau_attr; ' $ 577 + wg[longitude,latitude,time]=wg:wg_attr; ' $ 578 + swr[longitude,latitude,time]=swr:swr_attr; ' $ 579 ; +'lwr_coare[longitude,latitude,time]=lwr:lwr_attr; ' $ 580 +'lwr[longitude,latitude,time]=lwnet_clrk:lwr_clrk_attr; ' $ 581 +'lhf[longitude,latitude,time]=lat:lhf_attr; ' $ 582 +'shf[longitude,latitude,time]=sen:shf_attr; ' $ 583 ; +'Ch[longitude,latitude,time]=Ch:Ch_attr; ' $ 584 ; +'Ce[longitude,latitude,time]=Ce:Ce_attr; ' $ 585 + 'longitude[]=xlon:lon_attr; ' $ 586 + 'latitude[]=ylat:lat_attr; ' $ 587 + 'time[*time]=time:time_attr ' $ 588 + ' @ globattr' 576 ncfields = 'tau[longitude,latitude,time]=tau:tau_attr; ' $ 577 + 'wg[longitude,latitude,time]=wg:wg_attr; ' $ 578 + 'swr[longitude,latitude,time]=swr:swr_attr; ' $ 579 ; +'lwr_coare[longitude,latitude,time]=lwr:lwr_attr; ' $ 580 +'lwr[longitude,latitude,time]=lwnet_clrk:lwr_clrk_attr; ' $ 581 +'lhf[longitude,latitude,time]=lat:lhf_attr; ' $ 582 +'shf[longitude,latitude,time]=sen:shf_attr; ' $ 583 ; +'Ch[longitude,latitude,time]=Ch:Ch_attr; ' $ 584 ; +'Ce[longitude,latitude,time]=Ce:Ce_attr; ' $ 585 + 'longitude[]=xlon:lon_attr; ' $ 586 + 'latitude[]=ylat:lat_attr; ' $ 587 + 'time[*time]=time:time_attr ' $ 588 + ' @ globattr' 589 589 ; 590 590 @ncdf_quickwrite -
trunk/src/TropFlux_NRT_ncdf.pro
r99 r100 202 202 help, swr, lwr, lhf, shf 203 203 ; 204 ;time=julday(1,1,1989)+lindgen(7670)+0.5 205 ;jpt=n_elements(time) 206 time=timegen(7670, units='days', start=julday(1,1,1989,0)) 204 time=timegen(7670, start=julday(1,1,1989,0), units='days') 207 205 jpt=n_elements(time) 208 206 ; … … 219 217 lat_attr={units:'degrees_north',long_name:'Latitude'} 220 218 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 219 globattr={Source:'TropFlux - Air-Sea Fluxes for the Global Tropics', Resolution:'1 x 1 degree and daily', IDL_program_name:'TropFlux_ncdf.pro',Timerange:cda0+' - '+cda1, More_Info:'ISCCP based SWR until 2007 and OLR based SWR after that with a 90 day linear transition between the two'} 221 220 sw_attr={units:'w/m^2',missing_value:1.e20,long_name:'Net Shortwave Radiation',short_name:'swr',axis:'TYX'} 222 221 lw_attr={units:'w/m^2',missing_value:1.e20,long_name:'Net Longwave Radiation',short_name:'lwr',axis:'TYX'} 223 222 sh_attr={units:'w/m^2',missing_value:1.e20,long_name:'Sensible Heat Flux',short_name:'shf',axis:'TYX'} 224 223 lh_attr={units:'w/m^2',missing_value:1.e20,long_name:'Latent Heat Flux',short_name:'lhf',axis:'TYX'} 225 ;226 globattr={Source:'TropFlux - Air-Sea Fluxes for the Global Tropics', Resolution:'1 x 1 degree and daily', IDL_program_name:'TropFlux_ncdf.pro',Timerange:cda0+' - '+cda1, More_Info:'ISCCP based SWR until 2007 and OLR based SWR after that with a 90 day linear transition between the two'}227 ;228 224 ; 229 225 ncfields = 'swr[longitude,latitude,time]=swr:sw_attr; ' $ -
trunk/src/TropFlux_swr_BLND_19890101_20091231.pro
r97 r100 28 28 ; if this file not already exists. 29 29 ; 30 ; This file will be used by :ref:`TropFlux_NRT_ncdf.pro`. 30 ; This file will be used by 31 ; :ref:`TropFlux_NRT_ncdf.pro`. 31 32 ; 32 33 ; .. graphviz:: … … 274 275 swr_merged=swr_dt*0. 275 276 ; 276 time=timegen(7670, units='days', start=julday(1,1,1989,0))277 time=timegen(7670, start=julday(1,1,1989,0), units='days') 277 278 jpt=n_elements(time) 278 279 ; … … 296 297 lat_attr={units:'degrees_north',long_name:'Latitude'} 297 298 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 299 globattr={source:'ISCCP based SWR until 2007, after 2007 timeseries is completed with OLR based SWR. A linear transition is applied from ISCCP based SWR to OLR based SWR'} 298 300 sw_attr={units:'w/m^2',missing_value:1.e20,long_name:'Net Shortwave Radiation',short_name:'swr',axis:'TYX'} 299 globattr={source:'ISCCP based SWR until 2007, after 2007 timeseries is completed with OLR based SWR. A linear transition is applied from ISCCP based SWR to OLR based SWR'}300 301 ; 301 302 ncfields = 'swr[longitude,latitude,time]=swr_merged:sw_attr; ' $ -
trunk/src/TropFlux_swr_DT_19890101_20071231.pro
r98 r100 20 20 ; if this file not already exists. 21 21 ; 22 ; This file will be used by :ref:`TropFlux_swr_BLND_19890101_20091231.pro`. 22 ; This file will be used by 23 ; :ref:`TropFlux_swr_BLND_19890101_20091231.pro`. 23 24 ; 24 25 ; .. graphviz:: … … 200 201 ; 201 202 swr=sw_m+swa-sw_bias ; new swr, corrected for bias and variability 202 ; writing field203 ; time=julday(1,1,1989)+lindgen(7670)203 ; 204 ; writing field 204 205 cda0=string(jul2date(time(0)),format='(i8.8)') 205 206 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') … … 214 215 lat_attr={units:'degrees_north',long_name:'Latitude'} 215 216 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 217 globattr={source:'Obtained from ISCCP. Corrections has been done on mean bias and variability',timerange:cda0+' - '+cda1} 216 218 sw_attr={units:'w/m^2',missing_value:1.e20,long_name:'Net Shortwave Radiation',short_name:'swr',axis:'TYX'} 217 globattr={source:'Obtained from ISCCP. Corrections has been done on mean bias and variability',timerange:cda0+' - '+cda1}218 219 ; 219 220 ncfields = 'swr[longitude,latitude,time]=swr:sw_attr; ' $ -
trunk/src/TropFlux_swr_NRT_19890101_20091231.pro
r98 r100 24 24 ; if this file not already exists. 25 25 ; 26 ; This file will be used by :ref:`TropFlux_swr_BLND_19890101_20091231.pro`. 26 ; This file will be used by 27 ; :ref:`TropFlux_swr_BLND_19890101_20091231.pro`. 27 28 ; 28 29 ; .. graphviz:: … … 96 97 ; 97 98 ; * replace tt by time 99 ; * fill empty time_origin:wq 98 100 ; 99 101 ; - fplod 20110812T075406Z aedon.locean-ipsl.upmc.fr (Darwin) … … 246 248 olra=olr-olrm ; olr anomaly 247 249 rec=swm+(olra/0.760364) ; reconstructed sw 248 ;writing field 249 time=julday(1,1,1989)+lindgen(7670) 250 ; 251 ; writing field 252 time=timegen(7670, start=julday(1,1,1989,0), units='days') 250 253 cda0=string(jul2date(time(0)),format='(i8.8)') 251 254 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') … … 259 262 lon_attr={units:'degrees_east',long_name:'Longitude'} 260 263 lat_attr={units:'degrees_north',long_name:'Latitude'} 261 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:''} 264 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 265 globattr={source:'Reconstructed from corrected OLR anomalies and TropFlux mean SWR climatology',timerange:cda0+' - '+cda1} 262 266 sw_attr={units:'w/m^2',missing_value:1.e20,long_name:'Net Shortwave Radiation',short_name:'swr',axis:'TYX'} 263 globattr={source:'Reconstructed from corrected OLR anomalies and TropFlux mean SWR climatology',timerange:cda0+' - '+cda1}264 267 ; 265 268 ; -
trunk/src/TropFlux_wind_stress_19890101_20101231.pro
r98 r100 1 ;+ 2 ; 3 ; TODO 4 ; ==== 5 ; 6 ; integration to the whole process 7 ; 8 ; EVOLUTIONS 9 ; ========== 10 ; 11 ; $Id$ 12 ; 13 ; $URL$ 14 ; 15 ; - fplod 20110830T153220Z cratos (Linux) 16 ; 17 ; * remove multiple line statements 18 ; 19 ; - pk 20110830 20 ; 21 ; * creation 22 ; 23 ;- 1 24 pro TropFlux_wind_stress_19890101_20101231 2 25 @common 3 26 ;------------------------------------------------------------ 4 st=19880101 & en=20101231 5 st=19880101 & en=20101231 27 st=19880101 28 en=20101231 29 st=19880101 30 en=20101231 6 31 ; 7 32 file="/Volumes/PAYASAM/TropFlux/ERA_C_1989_2010/TropFlux_19890101_20101231.nc" … … 20 45 wg=read_ncdf('wg',st,en,file=file_wg,/nostr) 21 46 s=sqrt((ws*ws)+(wg*wg)) 22 s=reform(s) & help, s 47 s=reform(s) 48 help, s 23 49 ; 24 50 file="/Volumes/Iomega_HDD/TropFlux/input_uncor/erai_ws_19890101_20101231.nc" … … 27 53 v=read_ncdf('v10',st,en,file=file,/nostr) 28 54 ; 29 u=reform(u) & v=reform(v) 55 u=reform(u) 56 v=reform(v) 30 57 help, u,v 31 58 taux=tau*u/s … … 34 61 help, taux, tauy 35 62 ; 36 time=timegen(8035, start=julday(1,1,1989,0), units='days') & jpt=n_elements(time) 63 time=timegen(8035, start=julday(1,1,1989,0), units='days') 64 jpt=n_elements(time) 37 65 ;------------------------------------------------------------ 38 66 cda0=string(jul2date(time(0)),format='(i8.8)') 39 67 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 40 68 time=time-julday(1,1,1950,00,00,00) 41 xlon=reform(glamt(*,0) ) & ylat=reform(gphit(0,*)) 69 xlon=reform(glamt(*,0) ) 70 ylat=reform(gphit(0,*)) 42 71 ; 43 72 ncfile='!/Volumes/PAYASAM/TropFlux/ERA_C_1989_2010/tau_tropflux_1d_19890101_20101231.nc' 44 73 lon_attr={units:'degrees_east',long_name:'Longitude'} 45 74 lat_attr={units:'degrees_north',long_name:'Latitude'} 75 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 76 globattr={Source:'TropFlux - Momentum Fluxes for the Global Tropics', Methodology:'Praveen Kumar et al., Clim. Dyn 2011', Producer_Agency:'Joint research colloboration between IPSL, Paris and NIO, India', Time_range:cda0+' - '+cda1, Creation_date:'20110707', Website:'http://www.locean-ipsl.upmc.fr/tropflux/'} 46 77 tau_attr={units:'N/m2',missing_value:valmask,long_name:'wind stress magnitude',short_name:'tau',axis:'TYX'} 47 78 taux_attr={units:'N/m2',missing_value:valmask,long_name:'zonal wind stress',short_name:'taux',axis:'TYX'} 48 79 tauy_attr={units:'N/m2',missing_value:valmask,long_name:'meridional wind stress',short_name:'tauy',axis:'TYX'} 49 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 1950-JAN-01 00:00:00'}50 80 ; 51 globattr={Source:'TropFlux - Momentum Fluxes for the Global Tropics', Methodology:'Praveen Kumar et al., Clim. Dyn 2011', Producer_Agency:'Joint research colloboration between IPSL, Paris and NIO, India', Time_range:cda0+' - '+cda1, Creation_date:'20110707', Website:'http://www.locean-ipsl.upmc.fr/tropflux/'}52 81 ; 53 82 help, xlon,ylat, taux, tauy, tau -
trunk/src/cronin_gustiness_ncdf.pro
r98 r100 17 17 ; if this file not already exists. 18 18 ; 19 ; This file will be used by :ref:`TropFlux_swr_BLND_19890101_20091231.pro` and 19 ; This file will be used by 20 ; :ref:`TropFlux_swr_BLND_19890101_20091231.pro` 21 ; and 20 22 ; :ref:`TropFlux_19890101_20091231.pro`. 21 23 ; … … 181 183 ; 182 184 ; writing field 183 time=timegen(7670, units='days', start=julday(1,1,1989,0))185 time=timegen(7670, start=julday(1,1,1989,0), units='days') 184 186 jpt=n_elements(time) 185 187 ; … … 193 195 lon_attr={units:'degrees_east',long_name:'Longitude'} 194 196 lat_attr={units:'degrees_north',long_name:'Latitude'} 195 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 197 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 196 198 gust_attr={units:'m/s',missing_value:valmask,long_name:'Climatological gustiness',short_name:'wg',axis:'TYX'} 197 199 globattr={source:'Climatological wind gustiness obtained by fitting cronins gustiness values against sst ',timerange:cda0+' - '+cda1} -
trunk/src/d2m_to_q2m_erai.pro
r98 r100 25 25 ; ++ 26 26 ; has been 27 ; produced by :ref:`interp_erai_msl_1989_2009.pro`. 27 ; produced by 28 ; :ref:`interp_erai_msl_1989_2009.pro`. 28 29 ; 29 30 ; q2m on OAFLUX grid … … 34 35 ; This file 35 36 ; :file:`${PROJECT_OD}/erai_q2m_19890101_20091231_oafluxgrid.nc` 36 ; will be used by :ref:`q2m_correction_ncdf.pro`. 37 ; will be used by 38 ; :ref:`q2m_correction_ncdf.pro`. 37 39 ; 38 40 ; .. only:: man … … 58 60 ; 59 61 ; {file_d2m file_t2m file_msl} -> {d2m_to_q2m_erai} -> {file_q2m} 62 ; 60 63 ; } 61 64 ; … … 271 274 ;writing field 272 275 ncfile='!' + fullfilename_out 273 time=timegen(7670, units='days', start=julday(1,1,1989))276 time=timegen(7670, start=julday(1,1,1989,0), units='days') 274 277 jpt=n_elements(time) 275 278 cda0=string(jul2date(time(0)),format='(i8.8)') … … 284 287 lat_attr={units:'degrees_north',long_name:'Latitude'} 285 288 q2m_attr={units:'kg/kg',missing_value:valmask,long_name:'Surface specific humidity at 2m ',short_name:'q2m',axis:'TYX'} 286 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 289 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 287 290 globattr={source:'Surface specific humidity at 2m calculated from dew point temperature',timerange:cda0+' - '+cda1} 288 291 ; -
trunk/src/interp_erai_dewt_1989_2009.pro
r99 r100 241 241 d2min=read_ncdf("d2",19881201,20101231,file=fullfilename,/nostr) 242 242 ; 243 timein=time244 243 jptin=jpt 245 244 tab=d2min(*,*,0) … … 256 255 help, d2min,lonin,latin,mskin,lonout,latout,mskout 257 256 ; 258 si=size(d2min)259 257 d2mout=fltarr(jpi,jpj,jptin) 260 258 for jt=0,jptin-1 do begin … … 267 265 endfor 268 266 ; 269 jptin=jpt270 ;271 267 initncdf, fullfilename_msk 272 cda0=string(jul2date(timein(0)),format='(i8.8)') 273 cda1=string(jul2date(timein(jpt-1)),format='(i8.8)') 274 ; 275 time=timegen(7670, units='days', start=julday(1,1,1989)) 268 ; 269 time=timegen(7670, start=julday(1,1,1989,0), units='days') 276 270 jpt=n_elements(time) 277 271 cda0=string(jul2date(time(0)),format='(i8.8)') 278 272 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 279 time in=time-julday(1,1,1950,00,00)273 time=time-julday(1,1,1950,00,00) 280 274 ; 281 275 lat=latout … … 284 278 lon_attr={units:'degrees_east',long_name:'Longitude'} 285 279 lat_attr={units:'degrees_north',long_name:'Latitude'} 286 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 1950-JAN-01 00:00:00'} 280 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 281 globattr={source:'Data are from ECMWF ERA-Interim reanalysis', timerange:cda0+' - '+cda1} 287 282 d2m_attr={units:'degK',missing_value:1e20,long_name:'Dew Point Temperature at 2m',short_name:'d2m',axis:'TYX'} 288 globattr={source:'Data are from ECMWF ERA-Interim reanalysis', timerange:cda0+' - '+cda1}289 283 ; 290 284 ncfields = 'd2m[longitude,latitude,time]=d2mout:d2m_attr; ' $ 291 285 + 'longitude[]=lon:lon_attr; ' $ 292 286 + 'latitude[]=lat:lat_attr; ' $ 293 + 'time[*time]=time in:time_attr ' $287 + 'time[*time]=time:time_attr ' $ 294 288 + ' @ globattr' 295 289 ; -
trunk/src/interp_erai_lwr_1989_2009.pro
r98 r100 14 14 ; :file:`${PROJECT_ID}/20c3m_erai_str_TROP_1989_2009.nc` 15 15 ; containing str from ERA-I 16 ; has been produced 17 ; by:ref:`compute_erai_daily_region_2d.sh`.16 ; has been produced by 17 ; :ref:`compute_erai_daily_region_2d.sh`. 18 18 ; 19 19 ; :file:`${PROJECT_ID}/mask_oaflux_30N30S.nc` … … 22 22 ; :ref:`oaflux_mask_30N30S.pro`. 23 23 ; 24 ; Interpolated str is written in 24 ; Interpolated str 25 ; is written in 25 26 ; :file:`${PROJECT_OD}/erai_lwr_19890102_20091231_oafluxgrid.nc` 26 27 ; if this file not already exists. … … 28 29 ; This output file 29 30 ; :file:`${PROJECT_OD}/erai_lwr_19890102_20091231_oafluxgrid.nc` 30 ; must be processed after by :ref:`add_198900101.sh`. 31 ; must be processed after by 32 ; :ref:`add_198900101.sh`. 31 33 ; 32 34 ; .. only:: man … … 52 54 ; {file_in mask} -> {interp_erai_lwr_1989_2009} -> {file_out} 53 55 ; 54 ; 56 ; } 55 57 ; 56 58 ; SEE ALSO … … 118 120 ; 119 121 ; $URL: svn+ssh://pinsard@forge.ipsl.jussieu.fr/ipsl/forge/projets/tropflux/svn/trunk/src/interp_erai_lwr_1989_2009.pro $ 122 ; 123 ; - fplod 20110830T145010Z cratos (Linux) 124 ; 125 ; * replace xlon by lon and xlat by lat; suppress extra initcdf call 120 126 ; 121 127 ; - fplod 20110830T135030Z cratos (Linux) … … 272 278 print, 'lon grid ',min(lonin),max(lonin),lonin(1)-lonin(0) 273 279 ; 274 timein=time275 280 jptin=jpt 276 281 tab=lwrin(*,*,0) … … 279 284 initncdf, fullfilename_msk 280 285 domdef 281 latout=reform(gphit(0,*)) lonout=reform(glamt(*,0)) 286 latout=reform(gphit(0,*)) 287 lonout=reform(glamt(*,0)) 282 288 print, 'lat grid ',min(latout),max(latout),latout(1)-latout(0) 283 289 print, 'lon grid ',min(lonout),max(lonout),lonout(1)-lonout(0) 284 290 mskout=read_ncdf("msk", file=fullfilename_msk,/nostr) 285 291 ; 286 si=size(lwrin)287 292 lwrout=fltarr(jpi,jpj,jptin) 288 293 ; … … 300 305 time=timegen(7669, start=julday(1,2,1989,0), units='days') 301 306 jpt=n_elements(time) 302 jptin=jpt303 307 cda0=string(jul2date(time(0)),format='(i8.8)') 304 308 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 305 309 time=time-julday(1,1,1950,00,00,00) 306 xlon=reform(glamt(*,0) ) 307 ylat=reform(gphit(0,*)) 308 ; 309 initncdf, fullfilename_msk 310 valmask=1.e20 311 ; 312 ylat=latout 313 xlon=lonout 310 ; 311 lat=latout 312 lon=lonout 314 313 ncfile='!' + fullfilename_out 315 314 lon_attr={units:'degrees_east',long_name:'Longitude'} 316 315 lat_attr={units:'degrees_north',long_name:'Latitude'} 317 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 318 ; 316 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 317 globattr={source:'Tropical ocean fluxes obtained from ERA Interim',timerange:cda0+' - '+cda1} 319 318 lwr_attr={units:'W/m2',missing_value:valmask,long_name:'Surface net longwave radiation ',short_name:'lwr',axis:'TYX'} 320 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 1950-JAN-01 00:00:00'}321 globattr={source:'Tropical ocean fluxes obtained from ERA Interim',timerange:cda0+' - '+cda1}322 319 ; 323 320 ncfields = 'lwr[longitude,latitude,time]=lwrout:lwr_attr; ' $ 324 + 'longitude[]= xlon:lon_attr; ' $325 + 'latitude[]= ylat:lat_attr; ' $321 + 'longitude[]=lon:lon_attr; ' $ 322 + 'latitude[]=lat:lat_attr; ' $ 326 323 + 'time[*time]=time:time_attr ' $ 327 324 + ' @ globattr' -
trunk/src/interp_erai_msl_1989_2009.pro
r99 r100 56 56 ; {file_in mask} -> {interp_erai_msl_1989_2009} -> {file_out} 57 57 ; 58 ; 58 ; } 59 59 ; 60 60 ; SEE ALSO … … 258 258 help, mslin,lonin,latin,mskin,lonout,latout,mskout 259 259 ; 260 si=size(mslin)261 260 mslout=fltarr(jpi,jpj,jptin) 262 261 for jt=0,jptin-1 do begin … … 269 268 endfor 270 269 ; 271 jptin=jpt272 ;273 270 initncdf, fullfilename_msk 274 ;time=julday(1,2,1989)+lindgen(7516) 275 time=timegen(7670, units='days', start=julday(1,1,1989)) 276 jpt=n_elements(time) 271 time=timegen(jptin, start=julday(1,1,1989,0), units='days') 277 272 cda0=string(jul2date(time(0)),format='(i8.8)') 278 273 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') … … 284 279 lon_attr={units:'degrees_east',long_name:'Longitude'} 285 280 lat_attr={units:'degrees_north',long_name:'Latitude'} 286 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 1950-JAN-01 00:00:00'} 281 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 282 globattr={source:'Data are from ECMWF ERA-Interim reanalysis', timerange:cda0+' - '+cda1} 287 283 msl_attr={units:'milibars',missing_value:1e20,long_name:'Mean Sea leval pressure',short_name:'msl',axis:'TYX'} 288 globattr={source:'Data are from ECMWF ERA-Interim reanalysis', timerange:cda0+' - '+cda1}289 284 ; 290 285 ncfields = 'msl[longitude,latitude,time]=mslout:msl_attr; ' $ -
trunk/src/interp_erai_sst_1989_2009.pro
r99 r100 55 55 ; {file_in mask} -> {interp_erai_sst_1989_2009} -> {file_out} 56 56 ; 57 ; 57 ; } 58 58 ; 59 59 ; SEE ALSO … … 252 252 help, sstkin,lonin,latin,mskin,lonout,latout,mskout 253 253 ; 254 si=size(sstkin)255 254 sstkout=fltarr(jpi,jpj,jptin) 256 255 for jt=0,jptin-1 do begin … … 263 262 endfor 264 263 ; 265 jptin=jpt266 ;267 264 initncdf, fullfilename_msk 268 time=timegen(7670, units='days', start=julday(1,1,1989))265 time=timegen(7670, start=julday(1,1,1989,0), units='days') 269 266 jpt=n_elements(time) 270 267 cda0=string(jul2date(time(0)),format='(i8.8)') … … 277 274 lon_attr={units:'degrees_east',long_name:'Longitude'} 278 275 lat_attr={units:'degrees_north',long_name:'Latitude'} 279 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 1950-JAN-01 00:00:00'} 276 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 277 globattr={source:'Data are from ECMWF ERA-Interim reanalysis', timerange:cda0+' - '+cda1} 280 278 sstk_attr={units:'degK',missing_value:1e20,long_name:'Sea Surface Temperature',short_name:'sst',axis:'TYX'} 281 globattr={source:'Data are from ECMWF ERA-Interim reanalysis', timerange:cda0+' - '+cda1}282 279 ; 283 280 ncfields = 'sst[longitude,latitude,time]=sstkout:sstk_attr; ' $ -
trunk/src/interp_erai_t2m_1989_2009.pro
r99 r100 50 50 ; fontname=Courier, 51 51 ; color=blue, 52 ; URL="http://forge.ipsl.jussieu.fr/tropflux/browser/trunk/src/interp_erai_t2m_1989_2009.pro" ",52 ; URL="http://forge.ipsl.jussieu.fr/tropflux/browser/trunk/src/interp_erai_t2m_1989_2009.pro", 53 53 ; label="${PROJECT}/src/interp_erai_t2m_1989_2009.pro"]; 54 54 ; 55 55 ; {file_in mask} -> {interp_erai_t2m_1989_2009} -> {file_out} 56 56 ; 57 ; 57 ; } 58 58 ; 59 59 ; SEE ALSO … … 373 373 ncdf_getatt, fullfilename_t2, 'time', long_name=long_name 374 374 time_attr={units:units, long_name:long_name, time_origin:' 1957-JAN-01 00:00:00'} 375 globattr={source:'Data are from ECMWF ERA-Interim reanalysis', timerange:cda0+' - '+cda1} 375 376 ncdf_getatt, fullfilename_t2, 't2', units=units 376 377 ncdf_getatt, fullfilename_t2, 't2', long_name=long_name 377 378 t2m_attr={units:units, long_name:long_name, missing_value:1e20, short_name:'t2m',axis:'TYX'} 378 globattr={source:'Data are from ECMWF ERA-Interim reanalysis', timerange:cda0+' - '+cda1}379 379 ; 380 380 help, t2mout -
trunk/src/interp_erai_ws_1989_2009.pro
r98 r100 61 61 ; {file_u10 file_v10 mask} -> {interp_erai_ws_1989_2009} -> {file_out} 62 62 ; 63 ; 63 ; } 64 64 ; 65 65 ; SEE ALSO … … 306 306 help, u10in, v10in,lonin,latin,mskin,lonout,latout,mskout 307 307 ; 308 si=size(u10in)309 308 u10out=fltarr(jpi,jpj,jptin) 310 309 v10out=fltarr(jpi,jpj,jptin) … … 326 325 endfor 327 326 ; 328 time=timegen(7670, units='days', start=julday(1,1,1989))327 time=timegen(7670, start=julday(1,1,1989,0), units='days') 329 328 jpt=n_elements(time) 330 jptin=jpt331 329 cda0=string(jul2date(time(0)),format='(i8.8)') 332 330 cda1=string(jul2date(time(jpt-1)),format='(i8.8)') … … 343 341 lon_attr={units:'degrees_east',long_name:'Longitude'} 344 342 lat_attr={units:'degrees_north',long_name:'Latitude'} 345 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 346 ; 343 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 344 globattr={source:'Tropical ocean winds obtained from ERA Interim',timerange:cda0+' - '+cda1} 347 345 u10_attr={units:'m/s',missing_value:valmask,long_name:'10 metre u wind component',short_name:'u10',axis:'TYX'} 348 346 v10_attr={units:'m/s',missing_value:valmask,long_name:'10 metre v wind component',short_name:'v10',axis:'TYX'} 349 globattr={source:'Tropical ocean winds obtained from ERA Interim',timerange:cda0+' - '+cda1}350 347 ; 351 348 help, u10out,v10out,time,xlon,ylat -
trunk/src/interp_olr_30n30s_1989_2009.pro
r99 r100 43 43 ; {file_in mask} -> {interp_olr_30n30s_1989_2009} -> {file_out} 44 44 ; 45 ; 45 ; } 46 46 ; 47 47 ; SEE ALSO … … 261 261 endfor 262 262 ; 263 jptin=jpt264 263 timein=timein-julday(1,1,1950,00,00) 265 264 ; … … 269 268 lon_attr={units:'degrees_east',long_name:'Longitude'} 270 269 lat_attr={units:'degrees_north',long_name:'Latitude'} 271 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:' 1950-JAN-01 00:00:00'} 270 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 271 globattr={source:'NOAA OLR, cf http://www.cdc.noaa.gov/cdc/data.interp_OLR.html, interpolated to 1x1 degree grid and with oaflux mask'} 272 272 olr_attr={units:'w/m^2',missing_value:1e20,long_name:'Outgoing Longwave Radiation',short_name:'olr',axis:'TYX'} 273 olra_attr={units:'w/m^2',missing_value:1e20,long_name:'Outgoing Longwave Radiation Anomaly',short_name:'olra',axis:'TYX'}274 globattr={source:'NOAA OLR, cf http://www.cdc.noaa.gov/cdc/data.interp_OLR.html, interpolated to 1x1 degree grid and with oaflux mask'}275 273 ; 276 274 ncfields = 'olr[longitude,latitude,time]=olrout:olr_attr; ' $ -
trunk/src/lwr_correction_ncdf.pro
r98 r100 22 22 ; This output file 23 23 ; :file:`${PROJECT_OD}/TropFlux_lwr_19890101_20091231.nc` 24 ; will be used by :ref:`TropFlux_19890101_20091231.pro`. 24 ; will be used by 25 ; :ref:`TropFlux_19890101_20091231.pro`. 25 26 ; 26 27 ; .. only:: man … … 220 221 lat=reform(gphit(0,0:jpj-1)) 221 222 lon=reform(glamt(0:jpi-1,0)) 222 time=timegen(7670, units='days', start=julday(1,1,1989))223 time=timegen(7670, start=julday(1,1,1989,0), units='days') 223 224 jpt=n_elements(time) 224 225 ; … … 233 234 lat_attr={units:'degrees_north',long_name:'Latitude'} 234 235 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 236 globattr={source:'Basic data obtained from ERAI. Mean correction for bias and correction for variability are applied',timerange:cda0+' - '+cda1} 235 237 lwr_attr={units:'degK',missing_value:1.e20,long_name:'Air Temperature at 2m',short_name:'lwr',axis:'TYX'} 236 globattr={source:'Basic data obtained from ERAI. Mean correction for bias and correction for variability are applied',timerange:cda0+' - '+cda1}237 238 ; 238 239 ncfields = 'lwr[longitude,latitude,time]=lwr_new:lwr_attr; ' $ -
trunk/src/paper01/fig1/fig1_no_obs_map.pro
r97 r100 11 11 ; :file:`${PROJECT_OD}/mask_oaflux_30N30S.nc` 12 12 ; containing OAFLUX grid 13 ; has been produced by :ref:`oaflux_mask_30N30S.pro`. 13 ; has been produced by 14 ; :ref:`oaflux_mask_30N30S.pro`. 14 15 ; 15 16 ; Figure of -
trunk/src/paper01/fig11/swr_isccp_tropflux_correlation_fig10.pro
r97 r100 12 12 ; containing 13 13 ; sst corrected on OAFLUX grid 14 ; has been produced by :ref:`sst_correction_ncdf.pro`. 14 ; has been produced by 15 ; :ref:`sst_correction_ncdf.pro`. 15 16 ; 16 17 ; :file:`${PROJECT_OD}/correlation_isccp_olr.idl` 17 18 ; containing 18 19 ; ++ 19 ; has been produced by :ref:`swr_isccp_tropflux_new_v1.pro` 20 ; has been produced by 21 ; :ref:`swr_isccp_tropflux_new_v1.pro` 20 22 ; 21 23 ; .. graphviz:: -
trunk/src/paper01/fig11/swr_isccp_tropflux_new_v1.pro
r97 r100 21 21 ; This output file 22 22 ; :file:`${PROJECT_OD}/correlation_isccp_olr.idl` 23 ; will be used by :ref:`swr_isccp_tropflux_correlation_fig10.pro`. 23 ; will be used by 24 ; :ref:`swr_isccp_tropflux_correlation_fig10.pro`. 24 25 ; 25 26 ; .. graphviz:: -
trunk/src/q2m_correction_ncdf.pro
r98 r100 23 23 ; if this file not already exists. 24 24 ; 25 ; This file will be used by :ref:`TropFlux_19890101_20091231.pro`. 25 ; This file will be used by 26 ; :ref:`TropFlux_19890101_20091231.pro`. 26 27 ; 27 28 ; .. only:: man … … 204 205 lat=reform(gphit(0,0:jpj-1)) 205 206 lon=reform(glamt(0:jpi-1,0)) 206 time=timegen(7670, units='days', start=julday(1,1,1989,0))207 time=timegen(7670, start=julday(1,1,1989,0), units='days') 207 208 jpt=n_elements(time) 208 209 ; … … 217 218 lat_attr={units:'degrees_north',long_name:'Latitude'} 218 219 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 220 globattr={source:'Basic data obtained from ERAI. Mean correction for bias and correction for variability are applied',timerange:cda0+' - '+cda1} 219 221 q2m_attr={units:'g/kg',missing_value:1.e20,long_name:'Specific humidity at 2m height',short_name:'q2m',axis:'TYX'} 220 globattr={source:'Basic data obtained from ERAI. Mean correction for bias and correction for variability are applied',timerange:cda0+' - '+cda1}221 222 ; 222 223 ncfields = 'q2m[longitude,latitude,time]=q2m_new:q2m_attr; ' $ -
trunk/src/sst_correction_ncdf.pro
r99 r100 22 22 ; This output file 23 23 ; :file:`${PROJECT_OD}/TropFlux_sst_19890101_20091231.nc` 24 ; will be used by :ref:`cronin_gustiness_ncdf.pro` 24 ; will be used by 25 ; :ref:`cronin_gustiness_ncdf.pro` 25 26 ; and 26 27 ; :ref:`TropFlux_19890101_20091231.pro`. … … 279 280 lat=reform(gphit(0,0:jpj-1)) 280 281 lon=reform(glamt(0:jpi-1,0)) 281 time=timegen(7670, units='days', start=julday(1,1,1989))282 time=timegen(7670, start=julday(1,1,1989,0), units='days') 282 283 jpt=n_elements(time) 283 284 ; … … 292 293 lat_attr={units:'degrees_north',long_name:'Latitude'} 293 294 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 295 globattr={source:'Basic data obtained from ERAI. Bias and variability correction are applied',timerange:cda0+' - '+cda1} 294 296 sst_attr={units:'degK',missing_value:1.e20,long_name:'Sea Surface Temperature',short_name:'sst',axis:'TYX'} 295 globattr={source:'Basic data obtained from ERAI. Bias and variability correction are applied',timerange:cda0+' - '+cda1}296 297 ; 297 298 ncfields = 'sst[longitude,latitude,time]=sst_new:sst_attr; ' $ -
trunk/src/t2m_correction_ncdf.pro
r97 r100 23 23 ; This output file 24 24 ; :file:`${PROJECT_OD}/TropFlux_t2m_19890101_20091231.nc` 25 ; will be used by :ref:`TropFlux_19890101_20091231.pro`. 25 ; will be used by 26 ; :ref:`TropFlux_19890101_20091231.pro`. 26 27 ; 27 28 ; .. only:: man … … 294 295 cda1=string(da2) 295 296 ; 296 %conversion for hours since 19570101 to days from 19500101297 ; conversion for hours since 19570101 to days from 19500101 297 298 time=julday(01, 01, 1957,timein)-julday(1,1,1950) 298 299 jpt=n_elements(time) … … 306 307 ncdf_getatt, fullfilename_t2_uncor, 'latitude', long_name=long_name 307 308 lat_attr={units:units, long_name:long_name} 308 ;309 309 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 310 ; 310 globattr={source:'Basic data obtained from ERAI. Mean correction for air temperautre bias and correction for variability are applied',timerange:cda0+' - '+cda1} 311 311 ncdf_getatt, fullfilename_t2_uncor, 't2m', units=units 312 312 ncdf_getatt, fullfilename_t2_uncor, 't2m', long_name=long_name 313 313 t2m_attr={units:units,missing_value:1.e20,long_name:long_name,short_name:'t2m',axis:'TYX'} 314 globattr={source:'Basic data obtained from ERAI. Mean correction for air temperautre bias and correction for variability are applied',timerange:cda0+' - '+cda1}315 314 ; 316 315 ncfields = 't2m[longitude,latitude,time]=t2m_new:t2m_attr; ' $ -
trunk/src/ws_correction_ncdf.pro
r98 r100 15 15 ; :ref:`interp_erai_ws_1989_2009.pro`. 16 16 ; 17 ; Corrected ws on OAFLUX grid is written in 17 ; Corrected ws on OAFLUX grid 18 ; is written in 18 19 ; :file:`${PROJECT_OD}/TropFlux_ws_19890101_20091231.nc` 19 20 ; if this file not already exists. … … 21 22 ; This output file 22 23 ; :file:`${PROJECT_OD}/TropFlux_ws_19890101_20091231.nc` 23 ; will be used by :ref:`TropFlux_19890101_20091231.pro`. 24 ; will be used by 25 ; :ref:`TropFlux_19890101_20091231.pro`. 24 26 ; 25 27 ; .. only:: man … … 44 46 ; {file_in} -> {ws_correction_ncdf} -> {file_out} 45 47 ; 46 ; 48 ; } 47 49 ; 48 50 ; SEE ALSO … … 211 213 lat=reform(gphit(0,0:jpj-1)) 212 214 lon=reform(glamt(0:jpi-1,0)) 213 time=timegen(7670, units='days', start=julday(1,1,1989,0))215 time=timegen(7670, start=julday(1,1,1989,0), units='days') 214 216 jpt=n_elements(time) 215 217 ; … … 224 226 lat_attr={units:'degrees_north',long_name:'Latitude'} 225 227 time_attr={units:'days since 1950-01-01 00:00:00',long_name:'Time axis',time_origin:'1950-JAN-01 00:00:00'} 228 globattr={source:'Basic data obtained from ERAI. Bias and variability correction are applied',timerange:cda0+' - '+cda1} 226 229 w_attr={units:'m/s',missing_value:1.e20,long_name:'mean wind speed',short_name:'w',axis:'TYX'} 227 globattr={source:'Basic data obtained from ERAI. Bias and variability correction are applied',timerange:cda0+' - '+cda1}228 230 ; 229 231 ncfields = 'ws[longitude,latitude,time]=w_new:w_attr; ' $ -
trunk/src/ws_tropflux_1d_to_1m_ncdf.pro
r99 r100 36 36 ; {file_1d} -> {ws_tropflux_1d_to_1m_ncdf} -> {file_1m} 37 37 ; 38 ; 38 ; } 39 39 ; 40 40 ; SEE ALSO … … 159 159 ; 160 160 jpt=22*12. 161 time=timegen(jpt, start=julday(1,15,1989),units='Months')162 caldat, time, m,d,y163 caldat, time, mon, day,yea161 time=timegen(jpt, start=julday(1,15,1989,0), units='Months') 162 caldat, time, m, d, y 163 caldat, time, mon, day, yea 164 164 ; 165 165 wsm=fltarr(nxt,nyt,jpt)
Note: See TracChangeset
for help on using the changeset viewer.