barbs
Plotting a vectorial field using the meteorological wind-barbs specification
draw_barbs(ncfile, values, varns)
values= [dimname]|[vardimname]|[value]:[vecvals]:[windlabs]:[dimxv]:[dimyv]:[mapvalues]:[dimxyfmt]:
  [transform]:[gtit]:[kindfig]:[figuren]:[close]
  [dimname]|[vardimname]|[value]: ',', list for each basic dimension '|' separated of:
    [dimname]: name of the dimension in the file
    [vardimname]: name of the variable with the values for the dimension in the file
    [value]: which value of the given dimension (-1, all; [ibeg]@[iend], i-range beginning, end)
    No value takes all the range of the dimension
  [vecvals]= [frequency],[color],[length]
    [frequency]: [xfreq]@[yfreq] frequency of values allong each axis ('None', all grid points;
    'auto', computed automatically to have 20 vectors along each axis)
    [color]: color of the vectors ('auto', for 'red') two options:
      [colorname]: name of the color fixed for all vectors
      'colormap'@[colormapname]: use colormap to provide the colors tacking wind speed as reference       [length]: length of the wind barbs ('auto', for 9)
  [windlabs]= [windname],[windunits]
    [windname]: name of the wind variable in the graph
    [windunits]: units of the wind variable in the graph ('None', for the value in the file)
  [dimxvn]: Variables with the final values for the x dimension
  [dimyvn]: Variables with the final values for the y dimension
  [mapvalues]= map characteristics: [proj],[res]
    see full documentation: http://matplotlib.org/basemap/
    [proj]: projection
      * 'cyl', cilindric
      * 'lcc', lambert conformal
    [res]: resolution:
      * 'c', crude
      * 'l', low
      * 'i', intermediate
      * 'h', high
      * 'f', full
  [dimxyfmt]=[dxs],[dxf],[Ndx],[ordx],[dys],[dyf],[Ndy],[ordx]: format of the values at each axis (or 'auto')
    [dxs]: style of x-axis ('auto' for 'pretty')
    'Nfix', values computed at even 'Ndx'
    '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 ('auto' for '%5g')
    [Ndx]: Number of ticks at the x-axis ('auto' for 5)
    [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 ('auto' for '%5g')
    [Ndy]: Number of ticks at the y-axis ('auto' for 5)
    [ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)
  [transform]: Transformation of the values
    * 'transpose': reverse the axes (x-->y, y-->x)
    * 'flip'@[x/y]: flip the axis x or y
  [gtit]= title of the graph ('|', for spaces)
  [kindfig]= kind of figure
  [figuren]= name of the figure
  [close]= whether figure should be finished or not
ncfile= file to use
varns= [uwind],[ywind] ',' list of the name of the variables with the u-wind,y-wind component
$ python ${pyHOME}/drawing.py -o draw_barbs -f wrfout_d01_2001-11-11_00:00:00 -S 'west_east|XLONG|-1,south_north|XLAT|-1,Time|WRFtime|3:10@5,r,7.:wss,ms-1:XLONG:XLAT:cyl,c:auto:None:surface|wind|speed|on|2001-11-10|03|UTC:png:wind_barbs_2001111003_wss:True' -v U10,V10
$ python ${pyHOME}/drawing.py -o draw_barbs -f wrfout_d01_2001-11-11_00:00:00 -S 'west_east|XLONG|-1,west_east_stag|XLONG|0@239@1,south_north|XLAT|15,bottom_top|ZNU|-1,bottom_top_stag|ZNW|0@39@1,Time|WRFtime|3:10@2,colormap@rainbow,7.:uw,ms-1:XLONG:ZNW:None:auto:flip@y:vertical|cross|section|wind|speed|at|y=15|on|2001-11-10|03|UTC:png:wind_barbs_2001111003_uw:True' -v U,W