Changeset 43 for trunk/src/paper01/fig13


Ignore:
Timestamp:
04/11/11 18:05:51 (13 years ago)
Author:
pinsard
Message:

add minimal header in paper01 IDL files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/paper01/fig13/net_flux_validation_scatter_2000_2007.pro

    r41 r43  
    1 ;------------------------------------------------------------ 
    2 pro net_flux_validation_scatter_2000_2007,date1,date2 
     1;+ 
     2; .. _net_flux_validation_scatter_2000_2007.pro 
     3; 
     4; ========================================= 
     5; net_flux_validation_scatter_2000_2007.pro 
     6; ========================================= 
     7; 
     8; DESCRIPTION 
     9; =========== 
     10; 
     11; SEE ALSO 
     12; ======== 
     13; 
     14; :ref:`tropflux_profile.sh` 
     15; 
     16; EXAMPLES 
     17; ======== 
     18; 
     19; :: 
     20; 
     21;  IDL> @tropflux_init 
     22;  IDL> date1=++ 
     23;  IDL> date2=++ 
     24;  IDL> net_flux_validation_scatter_2000_2007, date1, date2 
     25; 
     26; EVOLUTIONS 
     27; ========== 
     28; 
     29; $Id$ 
     30; 
     31; - fplod 20110411T142955Z aedon.locean-ipsl.upmc.fr (Darwin) 
     32; 
     33;   * minimal header 
     34; 
     35;- 
     36pro net_flux_validation_scatter_2000_2007, date1, date2 
    337@common 
    4 ;------------------------------------------------------------ 
    538 
    639reinitplt, /z,/invert 
     
    841 
    942openps, FILENAME = 'idl.ps' 
    10 ;------------------------------------------------------------ 
    1143 
    1244sitelist=['8s67e','12s55e', '8s55e', '8s80.5e', '1.5s80.5e', '0n80.5e', '1.5n80.5e', '1.5s90e', $ 
     
    2759 
    2860ocean='net_flux' 
    29 nsmooth=1.  
    30 ;------------------------------------------------------------------------------------------------------------------------ 
     61nsmooth=1. 
    3162;;   This program will create the following text files with statistics of respective variables 
    32 ;------------------------------------------------------------------------------------------------------------------------ 
    3363file_trop='/Users/pkb/data/TropFlux/TropFlux_19890101_20091231.nc' 
    3464initncdf, file_trop 
    3565shf_trop=read_ncdf("shf", date1, date2, file=file_trop,/nostr) 
    3666lhf_trop=read_ncdf("lhf", date1, date2, file=file_trop,/nostr) 
    37 lwr_trop=read_ncdf("lwr", date1, date2, file=file_trop,/nostr)  
     67lwr_trop=read_ncdf("lwr", date1, date2, file=file_trop,/nostr) 
    3868 
    3969file_trop='/Users/pkb/data/TropFlux/TropFlux_swr_19890101_20071231_DT_v50.nc' 
     
    71101file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/shf_oafluxgrid_1985_2008.nc' 
    72102initncdf, file_oaf 
    73 shf=read_ncdf("shf", date1, date2, file=file_oaf,/nostr)  
     103shf=read_ncdf("shf", date1, date2, file=file_oaf,/nostr) 
    74104file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lhf_oafluxgrid_1985_2008.nc' 
    75105initncdf, file_oaf 
    76 lhf=read_ncdf("lhf", date1, date2, file=file_oaf,/nostr)  
     106lhf=read_ncdf("lhf", date1, date2, file=file_oaf,/nostr) 
    77107file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/lwr_oafluxgrid_1985_2007.nc' 
    78108initncdf, file_oaf 
    79 lwr=read_ncdf("lwr", date1, date2, file=file_oaf,/nostr)  
     109lwr=read_ncdf("lwr", date1, date2, file=file_oaf,/nostr) 
    80110file_oaf='/Volumes/Iomega_HDD/work/flux_reconstruction/OAFLX_GRID/swr_oafluxgrid_1985_2007.nc' 
    81111initncdf, file_oaf 
     
    94124help, ncep1 
    95125 
    96 ;------------------------------------------------------------------------------------------------------------------------ 
    97126close,/all 
    98127 
     
    118147printf,6, 'x     y      cor    bias     std     rmsd      mean_tao' 
    119148 
    120 ;------------------------------------------------------------------------------------------------------------------------ 
    121149nn=n_elements(sitelist) 
    122150 
     
    133161    if (y ge 0. and y le 30.) then y=y+360. 
    134162    dx=0.5 & dy=0.5 & box=[y-dy, y+dy, x-dx, x+dx] 
    135      
     163 
    136164    read_variables_net_flux, csite,date1,date2,nsmooth, $ 
    137165         net 
    138166    tao=net & ind=where(finite(tao)) & valid=n_elements(ind) 
    139167 
    140 ;;     
     168;; 
    141169    if (valid ge 180. ) then begin 
    142170 
     
    155183           extract_flux_tropflux, trop, box, $ 
    156184              tropflux 
    157            tropflux_new=tropflux  
     185           tropflux_new=tropflux 
    158186 
    159187           extract_flux_tropflux, ncep1, box, $ 
     
    165193           tropdf=tropflux 
    166194 
    167            ind=where(finite(tao)) & tao=tao(ind) & oaf_net=oaflux(ind) & nce_net=ncepflux(ind) & trop_net=tropflux_new(ind)  
     195           ind=where(finite(tao)) & tao=tao(ind) & oaf_net=oaflux(ind) & nce_net=ncepflux(ind) & trop_net=tropflux_new(ind) 
    168196           erai_net=eraiflux(ind) & nce1_net=ncepflux1(ind) & tropd_net=tropdf(ind) 
    169197 
     
    383411oplot, [-100,200], [-100,200] 
    384412 
    385 ;----------------------------------------------------------- 
    386413closeps 
    387414 
     
    391418return 
    392419end 
    393 ;-------------------------------------------------------------------------- 
    394420function x_site_location, site 
    395421    n1=strpos(site, 's') 
     
    406432return, float(x) 
    407433end 
    408 ;-------------------------------------------------------------------------- 
    409434function y_site_location, site 
    410435    n1=strpos(site, 'e') 
     
    432457return,float(y) 
    433458end 
    434  
    435 ;-------------------------------------------------------------------------- 
    436  
Note: See TracChangeset for help on using the changeset viewer.