Changeset 7 for trunk/src


Ignore:
Timestamp:
12/14/10 12:36:07 (13 years ago)
Author:
pinsard
Message:

add some graph - io - in headers

Location:
trunk/src
Files:
14 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/TropFlux_19890101_20091231.pro

    r6 r7  
    1414; gustiness values. 
    1515; 
     16; 
     17; .. only:: man 
     18; 
     19; Figure is visible on PDF and HTML documents only. 
     20; 
     21; .. only:: html 
     22; 
     23;     .. graphviz:: 
     24; 
     25;        digraph TropFlux_19890101_20091231 { 
     26;           graph [ 
     27;           rankdir="LR", 
     28;           ] 
     29;           mask [shape=ellipse,fontname=Courier,label="/Volumes/Iomega_HDD/work/flux_reconstruction/gridded_data/mask_oaflux_30N30S.nc"]; 
     30;           file_sst [shape=ellipse,fontname=Courier,label="/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_sst_19890101_20091231_v20.nc"]; 
     31;           file_wind [shape=ellipse,fontname=Courier,label="/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_ws_19890101_20091231_v20.nc"]; 
     32;           file_wg [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_gustiness_19890101_20091231_v50.nc"]; 
     33;           file_sw [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_BLND_v50.nc"]; 
     34;           file_lw [shape=ellipse,fontname=Courier,label="/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_lwr_19890101_20091231_v2.nc"]; 
     35;           file_air [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_t2m_19890101_20091231_v50.nc"]; 
     36;           file_q [shape=ellipse,fontname=Courier,label="/Volumes/Iomega_HDD/TropFlux/input_cor/full_cor/TropFlux_q2m_19890101_20091231_v20.nc"]; 
     37; 
     38;           ncfile [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231_v51.nc"]; 
     39; 
     40;           TropFlux_19890101_20091231 [shape=box, 
     41;           fontname=Courier, 
     42;           color=blue, 
     43;           URL="http://forge.ipsl.jussieu.fr/tropflux/browser/trunk/src/TropFlux_19890101_20091231.pro", 
     44;           label="${TROPFLUX}/src/TropFlux_19890101_20091231.pro"]; 
     45; 
     46;           {mask file_sst file_wind file_wg file_sw file_lw file_air file_q} -> {TropFlux_19890101_20091231} -> {ncfile} 
     47;             
     48;          } 
     49; 
    1650; SEE ALSO 
    1751; ======== 
    1852; 
     53; :func:`cor30a` 
     54; 
    1955; EXAMPLES 
    2056; ======== 
     
    3470; ========== 
    3571; 
     72; - fplod 20101214T112131Z aedon.locean-ipsl.upmc.fr (Darwin) 
     73; 
     74;   * add graph 
     75; 
    3676; - fplod 20101214T093615Z aedon.locean-ipsl.upmc.fr (Darwin) 
    3777; 
     
    4686pro TropFlux_19890101_20091231 
    4787@common 
    48 ;------------------------------------------------------------ 
    49 ; 
    5088 
    5189da1=19880101 & da2=20101231 
     
    146184tt=time 
    147185time=timegen(7670, start=julday(1,1,1989,0), units='days') & jpt=n_elements(time) 
    148 ;------------------------------------------------------------ 
     186; 
    149187cda0=string(jul2date(time(0)),format='(i8.8)') 
    150188cda1=string(jul2date(time(jpt-1)),format='(i8.8)') 
  • trunk/src/TropFlux_NRT_ncdf.pro

    r6 r7  
    66; TropFlux_NRT_ncdf_v50.pro 
    77; ========================= 
     8; 
     9; 
     10; .. only:: man 
     11; 
     12; Figure is visible on PDF and HTML documents only. 
     13; 
     14; .. only:: html 
     15; 
     16;     .. graphviz:: 
     17; 
     18;        digraph TropFlux_NRT_ncdf_v50 { 
     19;           graph [ 
     20;           rankdir="LR", 
     21;           ] 
     22;           file1 [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20091231_BLND.nc"];             
     23;           file2 [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_lwr_19890101_20091231_v50.nc"];    
     24;           file3 [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231_v51.nc"]; 
     25;           ncfile [shape=ellipse,fontname=Courier,label="/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc"]; 
     26;           TropFlux_NRT_ncdf_v50  [shape=box, 
     27;           fontname=Courier, 
     28;           color=blue, 
     29;           URL="http://forge.ipsl.jussieu.fr/tropflux/browser/trunk/src/TropFlux_NRT_ncdf_v50.pro", 
     30;           label="${TROPFLUX}/src/TropFlux_NRT_ncdf_v50.pro" ]; 
     31;           {file1 file2 file3} -> {TropFlux_NRT_ncdf_v50} -> {ncfile} 
     32;          } 
    833; 
    934; SEE ALSO 
     
    1540; :: 
    1641; 
    17 ;  IDL> tropFlux_nrt_ncdf_v50 
     42;  IDL> tropflux_nrt_ncdf_v50 
    1843; 
    1944; TODO 
     
    2752; ========== 
    2853; 
     54; - fplod 20101214T112526Z aedon.locean-ipsl.upmc.fr (Darwin) 
     55; 
     56;   * add graph 
    2957; - fplod 20101214T093615Z aedon.locean-ipsl.upmc.fr (Darwin) 
    3058; 
     
    3866pro TropFlux_NRT_ncdf_v50 
    3967@common 
    40 ;----------------------------------------------------------------- 
     68 
    4169dir="/Users/pkb/data/TropFlux/" 
    4270file=dir+"TropFlux_swr_19890101_20091231_BLND.nc" 
     
    6492 
    6593time=time-julday(1,1,1950,00,00) 
    66 ;----------------------------------------------------------------- 
     94; 
    6795lat=reform(gphit(0,0:jpj-1)) 
    6896lon=reform(glamt(0:jpi-1,0)) 
  • trunk/src/TropFlux_swr_BLND_19890101_20091231.pro

    r6 r7  
    4040pro TropFlux_swr_BLND_19890101_20091231 
    4141@common 
    42 ;------------------------------------------------ 
    4342dir="/Users/pkb/data/TropFlux/" 
    4443 
     
    6867file=dir+"TropFlux_gustiness_19890101_20091231_v50.nc" 
    6968initncdf, file 
    70 ;------------------------------------------------ 
    7169time=timegen(7670, units='days', start=julday(1,1,1989,0)) & jpt=n_elements(time) 
    7270lat=reform(gphit(0,0:jpj-1)) 
  • trunk/src/TropFlux_swr_DT_19890101_20071231.pro

    r6 r7  
    3939pro TropFlux_swr_DT_19890101_20071231 
    4040@common 
    41 ;---------------------------------------------------------------- 
    4241file='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc' 
    4342initncdf, file 
    4443 
    4544sw=read_ncdf("swr", 19890101, 20071231, file=file,/nostr) 
    46 ;---------------------------------------------------------------- 
    4745help, sw 
    4846 
     
    5048help, sw_mean 
    5149 
    52 ;---------------------------------------------------------------- 
    5350tt=time & jpt=n_elements(time) 
    5451caldat, time,mon,day,yea 
     
    6764 
    6865swr=sw_m+swa-sw_bias       ;; new swr, corrected for bias and variability 
    69 ;---------------------------------------------------------------- 
    7066;writing field 
    7167;time=julday(1,1,1989)+lindgen(7670) 
  • trunk/src/TropFlux_swr_NRT_19890101_20091231.pro

    r6 r7  
    3939pro TropFlux_swr_NRT_19890101_20091231 
    4040@common 
    41 ;---------------------------------------------------------------- 
    4241file='/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20071231_DT_v50.nc' 
    4342initncdf, file 
     
    4544 
    4645swi=sw 
    47 ;---------------------------------------------------------------- 
    4846file_olr='/Users/pkb/data/heat_budget/NOAA_OLR/olr_oafluxgrid_30n30s_19890101_20091231.nc' 
    4947 
     
    7977swi=swi[*,*,365:365+364] & olri=olri[*,*,365:365+364] 
    8078help, swi 
    81 ;---------------------------------------------------------------- 
    8279 
    8380initncdf, file_olr 
     
    9693olra=olr-olrm                       ; olr anomaly 
    9794rec=swm+(olra/0.760364)             ; reconstructed sw 
    98 ;---------------------------------------------------------------- 
    9995;writing field 
    10096time=julday(1,1,1989)+lindgen(7670) 
  • trunk/src/cronin_gustiness_ncdf.pro

    r6 r7  
    3838pro cronin_gustiness_ncdf 
    3939@common 
    40 ;--------------------------------------------------------------------------- 
    4140da1=19880101 & da2=20101231 
    4241date1=19890101 & date2=20081231 
     
    6059 
    6160;; writing field 
    62 ;--------------------------------------------------------------------------- 
    6361time=timegen(7670, units='days', start=julday(1,1,1989,0)) & jpt=n_elements(time) 
    6462 
  • trunk/src/d2m_to_q2m_erai.pro

    r6 r7  
    99; SEE ALSO 
    1010; ======== 
     11; 
     12; :func:`rh_to_spechum(rh,t,P)` 
    1113; 
    1214; EXAMPLES 
     
    5961rh=(e/es)*100 
    6062 
    61 ;---------------------------------------------------------------------- 
    6263;; conversion of relative humidity to sp. humidity 
    6364;; Ref.1 -  Gill, Appendix 4, 
     
    7273q2m=rh_to_spechum(rh,t,P) 
    7374 
    74 ;---------------------------------------------------------------------- 
    7575;;writing field 
    7676ncfile='!/Volumes/PRAVEEN/TropFlux/input_uncor/q2m_erai_19890101_20091231_oafluxgrid.nc' 
  • trunk/src/dew_temp_airt_rel_humidity_jv.pro

    r6 r7  
    4444;- 
    4545function dew_temp_airt_rel_humidity_jv, t,td 
    46 ;---------------------------------------------------------------------- 
    4746 
    4847if (not keyword_set(t)) then t=28            ; air temperature in degC 
     
    5049es0=6.11        ; reference saturation vapor pressure (hPa) 
    5150 
    52 ;---------------------------------------------------------------------- 
    5351;; calculating fields.  First saturation vapor pressure (Es) and 
    5452;; actual vapor pressure are calculated.  The ratio (E/Es)*100 
  • trunk/src/interp_erai_t2m_1989_2009.pro

    r6 r7  
    7676initncdf, gridout 
    7777help, t2mout 
    78 ;------------------------------------------------------------ 
    7978tt=timein 
    8079time=julday(1,1,1989)+lindgen(7670)+0.5 & jpt=n_elements(time) 
  • trunk/src/lwr_correction_ncdf.pro

    r6 r7  
    3939pro lwr_correction_ncdf 
    4040@common 
    41 ;---------------------------------------------------------------------- 
    4241da1=19880101 & da2=20091231 
    4342 
     
    4948lwr_mean=grossemoyenne(lwr,'t',/nan) 
    5049help,lwr_mean 
    51 ;---------------------------------------------------------------------- 
    5250 
    5351tt=time & jpt=n_elements(time) 
     
    7775help, lwr_new 
    7876 
    79 ;---------------------------------------------------------------------- 
    8077;writing field 
    8178lat=reform(gphit(0,0:jpj-1)) 
  • trunk/src/q2m_correction_ncdf.pro

    r6 r7  
    3838pro q2m_correction_ncdf 
    3939@common 
    40 ;---------------------------------------------------------------------- 
    4140da1=19880101 & da2=20101231 
    4241 
     
    4847q2m_mean=grossemoyenne(q2m,'t',/nan) 
    4948help, q2m_mean 
    50 ;---------------------------------------------------------------------- 
    5149 
    5250tt=time & jpt=n_elements(time) 
     
    6866help, q2m_ano 
    6967 
    70 ;; applying the correction for varyability based on the scatter 
     68;; applying the correction for variability based on the scatter 
    7169;q2m_ano=q2m_ano*(1/0.919333)  ;;  (2000-2008) 
    7270q2m_ano=q2m_ano*(1/0.924674)   ;;  (2000-2009) 
     
    7573help, q2m_new 
    7674 
    77 ;---------------------------------------------------------------------- 
    7875;writing field 
    7976lat=reform(gphit(0,0:jpj-1)) 
  • trunk/src/sst_correction_ncdf.pro

    r6 r7  
    3939pro sst_correction_ncdf 
    4040@common 
    41 ;---------------------------------------------------------------------- 
    4241da1=19880101 & da2=20091231 
    4342 
     
    4948sst_mean=grossemoyenne(sst,'t',/nan) 
    5049help, sst_mean 
    51 ;---------------------------------------------------------------------- 
    5250 
    5351tt=time & jpt=n_elements(time) 
     
    7775help, sst_new 
    7876 
    79 ;---------------------------------------------------------------------- 
    8077;writing field 
    8178lat=reform(gphit(0,0:jpj-1)) 
  • trunk/src/t2m_correction_ncdf.pro

    r6 r7  
    3838pro t2m_correction_ncdf 
    3939@common 
    40 ;---------------------------------------------------------------------- 
    4140da1=19890101 & da2=20091231 
    4241 
     
    4847t2m_mean=grossemoyenne(t2m,'t',/nan) 
    4948help, w_mean 
    50 ;---------------------------------------------------------------------- 
    5149 
    5250tt=time & jpt=n_elements(time) 
     
    8280help, t2m_new 
    8381 
    84 ;---------------------------------------------------------------------- 
    8582;writing field 
    8683lat=reform(gphit(0,0:jpj-1)) 
  • trunk/src/ws_correction_ncdf.pro

    r6 r7  
    3939pro ws_correction_ncdf 
    4040@common 
    41 ;---------------------------------------------------------------------- 
    4241da1=19880101 & da2=20101231 
    4342 
     
    5251w_mean=grossemoyenne(w,'t',/nan) 
    5352help, w_mean 
    54 ;---------------------------------------------------------------------- 
    5553 
    5654tt=time & jpt=n_elements(time) 
     
    8078help, w_new 
    8179 
    82 ;---------------------------------------------------------------------- 
    8380;writing field 
    8481lat=reform(gphit(0,0:jpj-1)) 
Note: See TracChangeset for help on using the changeset viewer.