Ignore:
Timestamp:
01/25/10 14:44:20 (14 years ago)
Author:
pinsard
Message:

remove trailing blanks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/procs/mth_decode.pro

    r181 r203  
    2424         '12': strd = [12] 
    2525         ELSE : CASE STRMID(stddev_mth, 0, 3) OF 
    26          'DJF': BEGIN & strd = [1, 2, 12] & ntxt = 'DJF' & END    
    27          'MAM': BEGIN & strd = [3, 4, 5] & ntxt = 'MAM' & END  
    28          'JJA': BEGIN & strd = [6, 7, 8] & ntxt = 'JJA' & END  
    29          'SON': BEGIN & strd = [9, 10, 11] & ntxt = 'SON' & END  
     26         'DJF': BEGIN & strd = [1, 2, 12] & ntxt = 'DJF' & END 
     27         'MAM': BEGIN & strd = [3, 4, 5] & ntxt = 'MAM' & END 
     28         'JJA': BEGIN & strd = [6, 7, 8] & ntxt = 'JJA' & END 
     29         'SON': BEGIN & strd = [9, 10, 11] & ntxt = 'SON' & END 
    3030            ELSE: CASE STRMID(stddev_mth, 0, 6) OF 
    31                'JASOND' : BEGIN & strd = [7, 8, 9, 10, 11, 12] & ntxt = 'JASOND' & END  
    32                'JFMAMJ' : BEGIN & strd = [1, 2, 3, 4, 5, 6] & ntxt = 'JFMAMJ' & END  
    33             ELSE : BEGIN & strd = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] & ntxt = 'Annual' & END  
    34             ENDCASE  
     31               'JASOND' : BEGIN & strd = [7, 8, 9, 10, 11, 12] & ntxt = 'JASOND' & END 
     32               'JFMAMJ' : BEGIN & strd = [1, 2, 3, 4, 5, 6] & ntxt = 'JFMAMJ' & END 
     33            ELSE : BEGIN & strd = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12] & ntxt = 'Annual' & END 
     34            ENDCASE 
    3535         ENDCASE 
    3636      ENDCASE 
     
    3838      nmth = (size(strd))[1] 
    3939      njpt = n_elements((lindgen(jpt))[0:*:12]) 
    40       IF debug_w THEN print, '   nmth,njpt', nmth, njpt  
    41        
     40      IF debug_w THEN print, '   nmth,njpt', nmth, njpt 
     41 
    4242      idxm = lonarr(nmth, njpt) 
    4343 
    44       FOR imth = 0, nmth-1 DO BEGIN  
     44      FOR imth = 0, nmth-1 DO BEGIN 
    4545         idxm[imth, *]= (lindgen(jpt))[strd[imth]-1:*:12] 
    46       ENDFOR  
     46      ENDFOR 
    4747 
    4848      IF nmth EQ 1 THEN ntxt = mth[strd-1] 
    49        
     49 
    5050      print, '    Warning: monthly computation and average for following period: ', ntxt 
Note: See TracChangeset for help on using the changeset viewer.