Ignore:
Timestamp:
14/06/16 12:47:24 (4 years ago)
Author:
mjuckes
Message:

added clarification of printLinesMax

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMIP6dreqbuild/trunk/src/framework/dreqPy/scope.py

    r677 r678  
    786786      --txtOpts : options for content of text file: (v|c)[(+|-)att1[,att2[...]]] 
    787787      --xlsDir <directory> : Directory in which to place variable listing [xls]; 
    788       --printLinesMax <n>: Maximum number of lines to be printed 
    789       --printVars  : If present, a summary of the variables fitting the selection options will be printed 
     788      --printLinesMax <n>: Maximum number of lines to be printed (default 20) 
     789      --printVars  : If present, a summary of the variables (see --printLinesMax) fitting the selection options will be printed 
    790790      --intersection : Analyse the intersection of requests rather than union. 
    791791 
     
    966966      for v in vl[:mx]: 
    967967        mlg.prnt ( '%s: %7.2fTb' % (self.dq.inx.uid[v].label, cc[v]*2.*1.e-12) ) 
    968  
     968      if mx < len(vl): 
     969        mlg.prnt ( '%s variables not listed (use --printLinesMax to print more)' % (len(vl)-mx) ) 
     970 
Note: See TracChangeset for help on using the changeset viewer.