Changeset 137


Ignore:
Timestamp:
06/04/09 16:05:13 (15 years ago)
Author:
ericg
Message:

small additions for debug

Location:
trunk/procs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/procs/ybinx.pro

    r120 r137  
    99               IF debug_w THEN print, "    " 
    1010                
    11                ; organise density bins: either read array or build form single number and min/max in fld_glo_mmx.def 
    12   
     11               ; organise bins: either read array or build form single number and min/max in fld_glo_mmx.def 
     12               ; fld2 is the field being bined 
     13 
    1314               IF (size(bin_interval))(0) EQ 1 THEN BEGIN  
    1415                   ; build...  
     
    9495                  binpop(ib) = n_elements(indices)  
    9596                  idxb[ib, 0:binpop(ib)-1] = where(fld2 GT bin_interval(ib-1) AND fld2 LE bin_interval(ib)) 
     97                  IF debug_w THEN print, '    Size of bin(i) ', ib, binpop(ib)  
    9698 
    9799                  ib = ib + 1 
     
    111113 
    112114               IF debug_w THEN print, '    Max bin size ', max_idx 
     115               IF debug_w THEN print, '    Number of bins ', nbins 
    113116               fldy = fltarr(nbins+1, max_idx) 
    114117               fldy[*, *] = !values.f_nan  
  • trunk/procs/yfx.pro

    r109 r137  
    99               boxy = '' 
    1010               add_txt = '' 
     11               coeffm_txt = '' 
    1112            ; arrange/average data if needed 
    1213              ; space and time plots fld 
     
    143144               varunit = '    '+cmd.var+boxx+' =f('+cmd.var2+boxy+')   '+add_txt 
    144145               pltcmdstd = 'pltsc,fld,fld2,minc,maxc,minc2,maxc2,varlegend2, boite=boxyfx'+overc+com_strplt 
    145  
    146146               IF hotyp EQ 't' THEN BEGIN ; time scatter plot 
    147147                  IF mean_sc_only EQ 0 OR mean_sc_only EQ 1 OR mean_sc_only EQ 4 THEN BEGIN  
Note: See TracChangeset for help on using the changeset viewer.