Changeset 1536 in lmdz_wrf for trunk


Ignore:
Timestamp:
Apr 21, 2017, 9:18:12 PM (8 years ago)
Author:
lfita
Message:

Fixing documentation and removing a spurious print

Location:
trunk/tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/documentation/ncmanage/compute_opersvarsfiles.html

    r1535 r1536  
    1515    <DIV CLASS="valhelp">
    1616      compute_opersvarsfiles(values, varinfo)<BR>
    17       &nbsp;&nbsp;NOTE: Values from the first file (with always operation 'add') <BR>
    1817      &nbsp;&nbsp;[prevalues]: values from the previous operations <BR>
     18      &nbsp;&nbsp;NOTE: to start with a multiple operations one can use as operation of the first variable 'addc,0'<BR>
    1919      &nbsp;&nbsp;values= '%' separated list of dimension ranges and file,operation,variable to compute<BR>
    2020      &nbsp;&nbsp;&nbsp;&nbsp;[dimranges1]@[operfile1var]%[dimranges2]@[operfile2var]%[...[dimrangesM]@[operfileMvar]]<BR>
     
    2626      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;int, a single value<BR>
    2727      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[beg,end,frq], from a beginning to an end with a given frequency<BR>
     28      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nsbp;&bnsp;'WRFtime': as time variable computed from WRF 'Times' variable
     29      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOTE: use 'contoperation' to continue an operation with the result of previous operations [prevalues]<BR>
     30      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nsbp;&bnsp;without using a variable from a file<BR>
    2831      &nbsp;&nbsp;&nbsp;&nbsp;operfilevar: [oper]|[file]|[var] '|' separated list of triplets of [operation], [file], [variable name to use]<BR>
    2932      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;* [oper]: operations (being [prevalues] the values computed until the operation)<BR>
  • trunk/tools/nc_var_tools.py

    r1535 r1536  
    71907190            [beg,end,frq], from a beginning to an end with a given frequency
    71917191             'WRFtime': as time variable computed from WRF 'Times' variable
     7192          NOTE: use 'contoperation' to continue an operation with the result of previous operations [prevalues]
     7193            without using a variable from a file
    71927194          operfilevar: [oper]|[file]|[var] '|' separated list of triplets of [operation], [file], [variable name to use]
    7193           NOTE: use 'contoperation' to continue an operation with the result of previous operations [prevalues]
    71947195           * [oper]: operations (being [prevalues] the values computed until the operation)
    71957196             'add': adding [var] ([prevalues] + [var])
     
    72617262    varns = []
    72627263    for fileoper in fileopers:
    7263         print 'fileoper', fileoper
    72647264        arguments = '[dimranges]@[operfilevar]'
    72657265        gen.check_arguments(fname, fileoper, arguments, '@')
Note: See TracChangeset for help on using the changeset viewer.