Changeset 112 for trunk


Ignore:
Timestamp:
06/10/08 03:01:01 (16 years ago)
Author:
ericg
Message:

Added corr_thres in plt_def to define correlation lower limit for plotting regression maps

Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/procs/com_eg.pro

    r109 r112  
    1313; 
    1414COMMON formats, look, free_1d_minmax, lat_axis, cont_fill, multi_win, atmos_msk, line_thick, line_style, line_color, title_type, fill_space, vector_sample, symbol_style, symbol_color, symbol_families, contour_options, mean_sc_only, nc_grids_list, cont_real, symbol_size, xchartxt, ychartxt, linfit_sep, linfit_map, bin_interval,  var3_ybinx 
    15 COMMON switches, cmd1_back,  cmd2_back, file_name1, file_name2, ncdf_db1, ncdf_db2, grid1_full, grid2_full 
     15COMMON switches, cmd1_back,  cmd2_back, file_name1, file_name2, ncdf_db1, ncdf_db2, grid1_full, grid2_full, corr_thres 
    1616 
    1717; 
  • trunk/procs/init_post_it.pro

    r109 r112  
    2727   bin_interval = 0 
    2828   var3_ybinx = "" 
     29   corr_thresh = 0.2 
  • trunk/procs/macros/make_linfit.pro

    r109 r112  
    126126  ; only take points where correlation larger than 0.2 
    127127 
    128    idc = where(abs(pt_corr) LT 0.12) 
     128   idc = where(abs(pt_corr) LT corr_thres) 
    129129   pt_linfit(idc) = !values.f_nan 
     130 
     131   corr_txt = '[r>'+strtrim(string(corr_thres, format = '(f5.2)'), 2)+']' 
    130132 
    131133   varname =  varname+' '+ntxt 
     
    150152   ENDCASE  
    151153 
    152    field.legend = lintxt+' for '+ntxt+' in ['+cmdm.date1+'-'+cmdm.spec+'] -' 
     154   field.legend = lintxt+' for '+ntxt+' in ['+cmdm.date1+'-'+cmdm.spec+'] '+corr_txt+' -' 
    153155 
    154156; additional computations (pac_5 nino_3 nino_4 averages) *** requires whole domain **** 
  • trunk/procs/macros/make_linfitdom.pro

    r106 r112  
    110110  ; only take points where ABS(correlation) larger than a value 
    111111 
    112    idc = where(abs(pt_corr) LT 0.1) 
     112   idc = where(abs(pt_corr) LT corr_thres) 
    113113   pt_linfit(idc) = !values.f_nan 
     114   corr_txt = '[r>'+strtrim(string(corr_thres, format = '(f5.2)'), 2)+']' 
    114115 
    115116   varname =  varname+' '+ntxt 
     
    134135   ENDCASE  
    135136 
    136    field.legend = lintxt+' for '+ntxt+' in ['+cmdm.date1+'-'+cmdm.spec+'] -' 
     137   field.legend = lintxt+' for '+ntxt+' in ['+cmdm.date1+'-'+cmdm.spec+'] '+corr_txt+' -' 
    137138 
    138139; additional computations (pac_5 nino_3 nino_4 averages) *** requires whole domain **** 
  • trunk/usr/plt_def.pro

    r110 r112  
    170170                      ; set to -99999 to desactivate 
    171171   linfit_map =  ''  ; ''/'p'/'m' to compute fit for all/before/after linfit_sep (maps only) 
    172  
     172   corr_thres =  0.1 ; correlation threshold to plot regression maps (between 0.1 and 0.2) 
    173173                      ; bining interval (one number) or  
    174174                      ; binning array [b1,b2,b3,b4,...] 
Note: See TracChangeset for help on using the changeset viewer.