Changeset 1402 in lmdz_wrf for trunk/tools


Ignore:
Timestamp:
Jan 12, 2017, 3:24:21 PM (8 years ago)
Author:
lfita
Message:

Fixing paramters order in `draw_barbs'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/drawing.py

    r1387 r1402  
    15741574      draw_barbs(ncfile, values, varns)
    15751575      values= [dimname]|[vardimname]|[value]:[vecvals]:[windlabs]:[dimxv]:[dimyv]:[mapvalues]:[dimxyfmt]:
    1576         [reverse]:[gtit]:[kindfig]:[figuren]:[close]
     1576        [transform]:[gtit]:[kindfig]:[figuren]:[close]
    15771577        [dimname]|[vardimname]|[value]: ',', list for each basic dimension '|' separated of:
    15781578          [dimname]: name of the dimension in the file
     
    16151615          [Ndy]: Number of ticks at the y-axis ('auto' for 5)
    16161616          [ordy]: angle of orientation of ticks at the y-axis ('auto' for horizontal)
    1617         [reverse]: Transformation of the values
     1617        [transform]: Transformation of the values
    16181618          * 'transpose': reverse the axes (x-->y, y-->x)
    16191619          * 'flip'@[x/y]: flip the axis x or y
     
    16331633
    16341634    expectargs = '[dimname]|[vardimname]|[value]:[vecvals]:[windlabs]:[dimxv]:' +   \
    1635       '[dimyv]:[mapvalues]:[reverse]:[dimxyfmt]:[gtit]:[kindfig]:[figuren]:[close]'
     1635      '[dimyv]:[mapvalues]:[dimxyfmt]:[transform]:[gtit]:[kindfig]:[figuren]:[close]'
    16361636 
    16371637    drw.check_arguments(fname,values,expectargs,':')
Note: See TracChangeset for help on using the changeset viewer.