bar line time plot
Function to plot a bar char and lines plot figure with multiple sources and time-axis
draw_bar_line_time(ncfile, values)
  ncfile = '#' list of [filen];[dimslice];[xvarn];[yvarn];[kind]
    [filen]: name of the file
    [dimslice]: '|' list of [dimn],[dimrange]
      [dimn]: name of the dimension
      [dimrange]: range for the slice
        * [integer]: which value of the dimension
        * -1: all along the dimension
        * -9: last value of the dimension
        * [beg]@[end]@[inc] slice from [beg] to [end] every [inc]
        * NOTE, no dim name all the dimension size
    [tvarn]: name of the variable time
    [yvarn]: name of the variable to use for the values
    [kind]: Kind of plotting
      'bar': for bar-plot
      'line': for line-plot
  values = [dimxyfmt];[yaxislab];[yunits];[aval];[rangevals];[timevals];[labels];
        [colors];[wdth];[colns];[lines];[points];[lwdths];[psizes];[freqv];[graphtit];[legvalues];
        [kindfig];[fign];[close]
    [dimxyfmt]=[dxs],[dxf],[Ndx],[ordx],[dys],[dyf],[Ndy],[ordy]: format of the values at each
        axis (or single 'auto' for 'auto','auto')
      [dxs]: style of x-axis ('auto' for 'pretty')
        'Nfix', values computed at even 'Ndx'
        'Stringlist', a given list of strings
        'Vfix', values computed at even 'Ndx' increments
        'pretty', values computed following aprox. 'Ndx' at 'pretty' intervals (2.,2.5,4,5,10)
      [dxf]: format of the labels at the x-axis
      [Ndx]: Number of ticks at the x-axis (for 'Stringlist', '@' list of labels)
      [ordx]: angle of orientation of ticks at the x-axis ('auto' for horizontal)
      [dys]: style of y-axis ('auto' for 'pretty')
      [dyf]: format of the labels at the y-axis
      [Ndy]: Number of ticks at the y-axis
      [ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)
    [yaxislab]: Label for the y-axis ('!' for spaces)
    [yunits]: units of the y-label
    [aval]: which acis should be used for the values ('x' or 'y')
    [rangevals]: Range of the axis with the values (singel 'None' for 'auto','auto')
      [vmin],[vmax]: minimum and maximum values
        'auto': the computed minimumm or maximum of the values
    [timevals]: [timen]|[units]|[kind]|[tfmt] time labels characteristics
      [timen]; name of the time variable
      [units]; units string according to CF conventions ([tunits] since
        [YYYY]-[MM]-[DD] [[HH]:[MI]:[SS]], '!' for spaces)
      [kind]; kind of output
        'Nval': according to a given number of values as 'Nval',[Nval]
        'exct': according to an exact time unit as 'exct',[tunit];
          tunit= [Nunits],[tu]; [tu]= 'c': centuries, 'y': year, 'm': month,
            'w': week, 'd': day, 'h': hour, 'i': minute, 's': second,
            'l': milisecond
      [tfmt]; desired format
    [labels]: ',' list of labels for the legend ('None' for no-labels, '!' for spaces)
    [colors]: ',' list of colors (single value same color, 'auto' automatic)
    [wdth]: width of the bars
    [colns]= ',' list of color names ('None' for automatic, single value for all the same)
    [lines]= ',' list of style of lines ('None' for automatic, single value for all the same)
    [points]= '@' list of style of points ('None' for automatic, single value for all the same)
    [lwdths]= ',' list of withs of lines ('None' for automatic, single value for all the same)
    [psizes]= ',' list of size of points ('None' for automatic, single value for all the same)
    [freqv]= frequency of values ('all' for all values)
    [graphtit]: title of the figure '!' for spaces
    [legvalues]=[locleg]|[fontsize]:
      [locleg]: location of the legend (0, autmoatic)
        1: 'upper right', 2: 'upper left', 3: 'lower left', 4: 'lower right',
        5: 'right', 6: 'center left', 7: 'center right', 8: 'lower center',
        9: 'upper center', 10: 'center'
      [fontsize]: font size for the legend (auto for 12)
    [kindfig]: kind of output figure (png, pdf, ps)
    [fign]: name of the figure (without extension)
    [close]: whether figure should be close or not
$ python ${pyHOME}/drawing.py -o draw_bar_line_time -f 'Forcing_rainstats_OKstomate_SESA_DJFmean_norm_meanstd_stat2.nc;time_centered,-1;time_centered;rainnorm;bar#Forcing_rainstats_OKstomate_SACZ_DJFmean_norm_meanstd_stat2.nc;time_centered,-1;time_centered;rainnorm;bar#DiPolo_evapstats_OKstomate_SESA_DJFmean_stat2.nc;time_centered,-1;time_centered;evap_stats;line#DiPolo_evapnustats_OKstomate_SESA_DJFmean_stat2.nc;time_centered,-1;time_centered;evapnu_stats;line#DiPolo_evspsblvegstats_OKstomate_SESA_DJFmean_stat2.nc;time_centered,-1;time_centered;evspsblveg_stats;line#DiPolo_transpirstats_OKstomate_SESA_DJFmean_stat2.nc;time_centered,-1;time_centered;transpir_stats;line#DiPolo_evapstats_OKstomate_SACZ_DJFmean_stat2.nc;time_centered,-1;time_centered;evap_stats;line#DiPolo_evapnustats_OKstomate_SACZ_DJFmean_stat2.nc;time_centered,-1;time_centered;evapnu_stats;line#DiPolo_evspsblvegstats_OKstomate_SACZ_DJFmean_stat2.nc;time_centered,-1;time_centered;evspsblveg_stats;line#DiPolo_transpirstats_OKstomate_SACZ_DJFmean_stat2.nc;time_centered,-1;time_centered;transpir_stats;line' -S 'auto;pr;y;None;1;year|seconds!since!1958-01-01!00:00:00|exct,5,y|%Y;SESA,SACZ,SESA!evap,evapnu,evspblveg,transpir,SACZ!evap,None,None,None;#AA0000,#0000AA;10000000.;#AAAA00,#00AAAA,#AA00AA,#AAAAAA,#AAAA00,#00AAAA,#AA00AA,#AAAAAA;-,-,-,-,--,--,--,--;,;2.;2.;all;normalized!evolution!of!DJFmean!with!WFD3!forcing;0|10;png;bar_time_rain_CRU-NCEP_DJFmean_norm;yes'