Ignore:
Timestamp:
08/30/11 14:38:29 (13 years ago)
Author:
pinsard
Message:

suppress blank lines trailing blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/paper01/fig2/read_lw.pro

    r94 r97  
    7676; 
    7777@cm_project 
    78  
    79 ;; DEFINE THE OUTPUT TIME AXIS 
     78; 
     79; DEFINE THE OUTPUT TIME AXIS 
    8080; 
    8181jda1=date2jul(date1) 
     
    8383jpt=(jda2-jda1+1l) 
    8484time=jda1+dindgen(jpt) 
    85  
    8685; 
    87 ;; FIRST READ ALL DATA FROM SITE 
    88 ;;   - if file exists, extract correct time axis 
    89 ;;   - if not, fill variable with missing values 
    9086; 
    91  
    92 ;; LWR 
     87; FIRST READ ALL DATA FROM SITE 
     88;   - if file exists, extract correct time axis 
     89;   - if not, fill variable with missing values 
     90; 
     91; 
     92; LWR 
    9393fi=project_id_env+'lwnet'+csite+'_dy.cdf' 
    9494f=file_test(fi) 
     
    105105  print, fi, ' not found' 
    106106endelse 
    107  
    108  
    109107; 
    110 ;; Replace missing values by "NaN" 
     108; 
     109; 
     110; Replace missing values by "NaN" 
    111111; 
    112112;tsvars=['at','bf','bp','dyn','emp','evap','heat','iso','lw','lwnet','qlat','qsen','sw', $ 
     
    114114;depvars=['u','v','d','t','s'] 
    115115vars=['lw'] 
    116  
     116; 
    117117nn=n_elements(vars) 
    118118for n=0,nn-1 do begin 
    119119  var=vars(n) 
    120   com='ind=where('+var+' ge 1.e20)  
     120  com='ind=where('+var+' ge 1.e20) 
    121121  if (ind(0) ne -1) then '+var+'(ind)=!values.f_nan' 
    122122  r=execute(com) 
    123123endfor 
    124  
     124; 
    125125;++nsmooth=nsmooth 
    126126;++lw=smooth(lw,nsmooth,/nan) 
    127  
     127; 
    128128end 
Note: See TracChangeset for help on using the changeset viewer.