Ignore:
Timestamp:
Nov 24, 2011, 6:49:00 PM (13 years ago)
Author:
aslmd
Message:

GRAPHICS: operations were broken by introducing all_time, fixed. also added operations on two variables through keywords add_var sub_var mul_var div_var. can work on more variables but since this could be cumbersome I just left an exit message when more than two variables are asked.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UTIL/PYTHON/myscript.py

    r418 r422  
    5656
    5757    ### OPERATIONS BETWEEN FILES
    58     parser.add_option('--operation',    action='store',dest='operat',  type="string",  default=None,  help='operation to perform on input files given through -f. "+" or "-" acts on each input file by adding or substracting the ref file specified through --fref. "cat" acts on all input files in-a-row.')
     58    parser.add_option('--operation',    action='store',dest='operat',  type="string",  default=None,  help='operation to perform on input files given through -f. "+" or "-" acts on each input file by adding or substracting the ref file specified through --fref. "cat" acts on all input files in-a-row. "add_var" "sub_var" "mul_var" "div_var" acts on two variables.')
    5959    parser.add_option('--fref',         action='store',dest='fref',    type="string",  default=None,  help='reference namefile for the --operation option.')
    6060    parser.add_option('--mope',         action='store',dest='vminope', type="float",   default=0.,  help='bounding minimum value for inter-file operation')
Note: See TracChangeset for help on using the changeset viewer.