- Timestamp:
- Apr 21, 2017, 9:18:12 PM (8 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/documentation/ncmanage/compute_opersvarsfiles.html
r1535 r1536 15 15 <DIV CLASS="valhelp"> 16 16 compute_opersvarsfiles(values, varinfo)<BR> 17 NOTE: Values from the first file (with always operation 'add') <BR>18 17 [prevalues]: values from the previous operations <BR> 18 NOTE: to start with a multiple operations one can use as operation of the first variable 'addc,0'<BR> 19 19 values= '%' separated list of dimension ranges and file,operation,variable to compute<BR> 20 20 [dimranges1]@[operfile1var]%[dimranges2]@[operfile2var]%[...[dimrangesM]@[operfileMvar]]<BR> … … 26 26 int, a single value<BR> 27 27 [beg,end,frq], from a beginning to an end with a given frequency<BR> 28 &nsbp;&bnsp;'WRFtime': as time variable computed from WRF 'Times' variable 29 NOTE: use 'contoperation' to continue an operation with the result of previous operations [prevalues]<BR> 30 &nsbp;&bnsp;without using a variable from a file<BR> 28 31 operfilevar: [oper]|[file]|[var] '|' separated list of triplets of [operation], [file], [variable name to use]<BR> 29 32 * [oper]: operations (being [prevalues] the values computed until the operation)<BR> -
trunk/tools/nc_var_tools.py
r1535 r1536 7190 7190 [beg,end,frq], from a beginning to an end with a given frequency 7191 7191 '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 7192 7194 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]7194 7195 * [oper]: operations (being [prevalues] the values computed until the operation) 7195 7196 'add': adding [var] ([prevalues] + [var]) … … 7261 7262 varns = [] 7262 7263 for fileoper in fileopers: 7263 print 'fileoper', fileoper7264 7264 arguments = '[dimranges]@[operfilevar]' 7265 7265 gen.check_arguments(fname, fileoper, arguments, '@')
Note: See TracChangeset
for help on using the changeset viewer.