- Timestamp:
- Jun 18, 2018, 4:18:15 PM (6 years ago)
- Location:
- trunk/tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/generic.py
r1918 r1919 85 85 ## e.g. # generic.py -o wdismean -S 0.005@0.005,0.@1.@2.@3. 86 86 ## e.g. # generic.py -o WRFsetup -S '/home/lluis/estudios/RELAMPAGO/SimCoor/UBA/namelist.input@/home/lluis/estudios/RELAMPAGO/SimCoor/SMN/namelist.input@/home/lluis/estudios/RELAMPAGO/SimCoor/NOA-IERSD/namelist.input@/home/lluis/estudios/RELAMPAGO/SimCoor/UBAmili/namelist.input,basic,textabrow' 87 ## e.g. # generic.py -o ASCIIfile_stats -S times_CDXWRF1.dat,#,R 87 88 88 89 operationnames = "'" + gen.numVector_String(operations, "', '") + "'" -
trunk/tools/generic_tools.py
r1918 r1919 13290 13290 ch1 = linev[0:1] 13291 13291 if not searchInlist(comments, ch1): 13292 print "'" + linev + "'"13293 13292 values.append(typemod(linev,kind)) 13294 13293 … … 13304 13303 13305 13304 print "# Statistics of '" + filen + "' _______" 13306 print ' #@# min:', minv13307 print ' #@# max:', maxv13308 print ' #@# mean:', meanv13309 print ' #@# stddev:', stdv13310 print ' #@# quantiles:', quantv.quantilesv13305 print ' #@# min:', minv 13306 print ' #@# max:', maxv 13307 print ' #@# mean:', meanv 13308 print ' #@# stddev:', stdv 13309 print ' #@# quantiles:', quantv.quantilesv 13311 13310 13312 13311 quantS = [] 13313 13312 for iq in quantv.quantilesv: quantS.append(str(iq)) 13314 13313 13315 print ' #@# allvalues; min:' + str(minv) + ';max:' + str(maxv) + ';mean:' + \13314 print ' #@# allvalues; min:' + str(minv) + ';max:' + str(maxv) + ';mean:' + \ 13316 13315 str(meanv) + ';stddev:' + str(stdv) + ';quant:' + ','.join(quantS) 13317 13316
Note: See TracChangeset
for help on using the changeset viewer.