Changeset 1394 in lmdz_wrf for trunk/tools
- Timestamp:
- Dec 19, 2016, 6:15:15 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/model_graphics.py
r1378 r1394 323 323 gen.printing_class(expgraphchar[modexpn]) 324 324 print "'" + modexpn + "'; " + ', '.join(output) 325 326 if debug: print " End of '" + fname + "' " 325 327 326 328 return modgraphchar, expgraphchar … … 470 472 gen.printing_class(varcomp) 471 473 474 if db: print " End of '" + fname + "' " 475 472 476 return varcomp 473 477 … … 527 531 print ' variables with the vertical interpolation for all the file _______' 528 532 print ' #', varglobalp 533 534 if db: print " End of '" + fname + "' " 529 535 530 536 return doopers, operationsvar, indivoperationsvar, varglobalp … … 650 656 objf.write('itotv: ' + str(ivop) + '\n') 651 657 objf.close() 658 659 if debug: print " End of '" + fname + "' " 652 660 653 661 return allvarcomp, ivop … … 968 976 for s1out in output: print s1out 969 977 978 if db: print " End of '" + fname + "' " 979 970 980 return 971 981 … … 1594 1604 print ' ' + fname + ": statisitcs not possible to compute:", wrongstats 1595 1605 1606 if db: print " End of '" + fname + "' " 1607 1596 1608 return 1597 1609 … … 1735 1747 print ' #', varplotp 1736 1748 1749 if db: print " End of '" + fname + "' " 1750 1737 1751 return doplots, plotsvar, indivplotsvar, varplotp 1738 1752 … … 1772 1786 objf.write('itotp: ' + str(Nplots) + '\n') 1773 1787 objf.close() 1788 1789 if debug: print " End of '" + fname + "' " 1774 1790 1775 1791 return plots, Nplots … … 2385 2401 2386 2402 trkobjf.close() 2403 2404 if db: print " End of '" + fname + "' " 2387 2405 2388 2406 return … … 2724 2742 # End of kind of plots 2725 2743 2744 if debug: print " End of '" + fname + "' " 2745 2726 2746 return 2727 2747 … … 2792 2812 print ' #', varglobalp 2793 2813 2814 if db: print " End of '" + fname + "' " 2815 2794 2816 return doopers, operationsvar, indivoperationsvar, varglobalp 2795 2817 … … 2806 2828 diffop = gen.get_specdictionary_HMT(config, H='DIFFOP_') 2807 2829 diffvar = gen.get_specdictionary_HMT(config, H='DIFFVAR_') 2808 2809 print ' ' + fname + '; Lluis HERE !!!'2810 2830 2811 2831 if debug: … … 2923 2943 objf.close() 2924 2944 2945 if debug: print " End of '" + fname + "' " 2946 2925 2947 return diffops, diffvars, Ndiffop, Ndiffvar 2926 2948 … … 3028 3050 CFdimS = CFdimS + ';' + CFd + '|' + CFd + '|-1' 3029 3051 3052 ncvar.ivattrs(ifile2,vninF) 3053 3030 3054 # Attributes of the variable 3031 with gen.Capturing() as output: 3032 varattrs = ncvar.ivattrs(ifile2,vninF) 3055 try: 3056 with gen.Capturing() as output: 3057 varattrs = ncvar.ivattrs(ifile2,vninF) 3058 except: 3059 print errmsg 3060 print 'ncvar.ivarattrs(' + ifile2 + ',' + vninF + ')' 3061 for s1out in output: print s1out 3062 quit(-1) 3063 3033 3064 if debug: 3034 3065 for s1out in output: print s1out … … 3058 3089 3059 3090 trkobjf.close() 3091 if debug: print " End of '" + fname + "' " 3060 3092 3061 3093 return … … 3536 3568 otrackf.close() 3537 3569 3570 if db: print " End of '" + fname + "' " 3571 3538 3572 return 3539 3573 … … 3668 3702 trkobjf.close() 3669 3703 3704 if debug: print " End of '" + fname + "' " 3705 3670 3706 return 3671 3707 … … 3902 3938 3903 3939 # End of kind of plots 3940 3941 if debug: print " End of '" + fname + "' " 3904 3942 3905 3943 return … … 4191 4229 trckobjf.close() 4192 4230 4231 if debug: print " End of '" + fname + "' " 4232 4193 4233 return 4194 4234 … … 4276 4316 objf.write('Nallmodexp: ' + str(Nallmodexp) + '\n') 4277 4317 objf.close() 4318 4319 if debug: print " End of '" + fname + "' " 4278 4320 4279 4321 return allmodexp, Nallmodexp … … 4501 4543 4502 4544 # End of kind of plots 4545 4546 if debug: print " End of '" + fname + "' " 4503 4547 4504 4548 return
Note: See TracChangeset
for help on using the changeset viewer.