Changeset 118 for trunk


Ignore:
Timestamp:
08/07/08 12:49:54 (16 years ago)
Author:
ericg
Message:

Added 6mm support

Location:
trunk/procs
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/procs/def_month.pro

    r2 r118  
    8181            ENDELSE  
    8282      END  
     83      '6m': BEGIN  
     84         IF strpos(timave, '6mm') GT -1 THEN BEGIN  
     85            CASE strmid(date, strlen(date)-2, 2) OF  
     86               '01': mn = 'JFMAMJ' 
     87               '02': mn = 'JASOND' 
     88               ELSE: mn = '??????' 
     89            ENDCASE  
     90         ENDIF  
     91      END  
    8392      ELSE: 
    8493   ENDCASE   
  • trunk/procs/plt_map.pro

    r115 r118  
    2929; 
    3030   trend_typp = cmd.trend 
    31 ;   CASE cmd.timave OF 
    32 ;      '1mm': cmd.trend = '0' 
    33 ;      '3mm': cmd.trend = '0' 
    34 ;      ELSE: 
    35 ;   ENDCASE  
    3631; 
    3732; ============= 
     
    420415      'yfx': varlegend2 = field.legend2+trd_txt+' ('+field.units2+')' 
    421416      'ybinx': BEGIN  
    422          IF strmid(cmd2.trend, 0, 1) EQ '4' THEN varlegend = field.legend2+trd_txt+' ('+field.units+')' $ 
    423           ELSE varlegend = field.legend2+' ('+field.units+')' 
    424          varlegend2 = field.legend+trd_txt+' ('+field.units2+')'  
     417         IF strmid(cmd2.trend, 0, 1) EQ '4' THEN varlegend = field.legend2+trd_txt+' ('+field.units2+')' $ 
     418          ELSE varlegend = field.legend2+' ('+field.units2+')' 
     419         varlegend2 = field.legend+trd_txt+' ('+field.units+')'  
    425420      END  
    426421      ELSE: BEGIN  
     
    441436         mn = def_month(cmd.timave, cmd.date1) 
    442437         IF strmid(cmd.timave, 0, 3) EQ '3mm' THEN $ 
     438          date_txt = mn+' ('+strmid(cmd.date1, 3, strlen(cmd.date1)-3)+')' $ 
     439         ELSE date_txt = mn+' '+strmid(cmd.date1, 0, strlen(cmd.date1)-2) 
     440      END  
     441      '6m': BEGIN 
     442         mn = def_month(cmd.timave, cmd.date1) 
     443         IF strmid(cmd.timave, 0, 3) EQ '6mm' THEN $ 
    443444          date_txt = mn+' ('+strmid(cmd.date1, 3, strlen(cmd.date1)-3)+')' $ 
    444445         ELSE date_txt = mn+' '+strmid(cmd.date1, 0, strlen(cmd.date1)-2) 
     
    715716   IF iover EQ 1 THEN com_strplt = com_strplt+contour_options 
    716717 
    717    IF debug_w THEN print, '   cmd before making output in plt_map = ', cmd 
    718  
     718   IF debug_w THEN print, '   Cmd before making output in plt_map = ', cmd 
     719 
     720   IF debug_w THEN print, '   We are in plt_map: ' 
     721   @zoom_indices_debug 
    719722 
    720723; ============================ 
     
    815818                  ;; For 2D plots with overlays (correlation and proba for instance) 
    816819                  ;; Scratch the titles and define contours style for the second plot 
     820 
    817821                  IF nover GT 1 AND iover GT 1 THEN BEGIN 
    818822                     contour_style = ',c_thick=2,c_linestyle=2,c_charthick=2' 
  • trunk/procs/search_time_file.pro

    r91 r118  
    1414   suff_var = '' 
    1515 
    16    CASE cmd.timave OF 
    17       '1mm': meanm = 'yes' 
    18       '3mm': meanm = 'yes' 
    19       ELSE: meanm = 'no' 
    20    ENDCASE 
     16   IF strpos(cmd.timave, 'mm') NE -1 THEN meanm = 'yes' ELSE meanm = 'no' 
    2117 
    2218   CASE meanm OF 
Note: See TracChangeset for help on using the changeset viewer.