Changeset 1294 in lmdz_wrf
- Timestamp:
- Nov 9, 2016, 8:23:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/model_graphics.py
r1292 r1294 915 915 if db: 916 916 for s1out in output: print s1out 917 # At this stage, let's be simple. It might be necessary to complicate it! Since 918 # DYNAMICO might have 'time_counter' or 'time_instant' 919 elif minf.name == 'DYNAMICO': 920 try: 921 with gen.Capturing() as output: 922 ncvar.LMDZ_toCF(Tunits + '!since!' + Tref, ifilen) 923 except: 924 print errmsg 925 print 'LMDZ_toCF('+ Tunits +'!since!'+ Tref + ', ' + ifilen + ')' 926 for s1out in output: print s1out 927 # Removing file in order to make sure that it will be redone 928 print ' ' + fname + " removing file '" + ifilen + "' ..." 929 sub.call('rm ' + ifilen + ' >& /dev/null', shell=True) 930 quit(-1) 931 if db: 932 for s1out in output: print s1out 917 933 else: 918 934 print errmsg 919 935 print ' ' + fname + ": no CFification for model '" +minf.name+ "' !!" 920 print " available ones: 'WRF', 'WRF_LMDZ', 'LMDZ' "936 print " available ones: 'WRF', 'WRF_LMDZ', 'LMDZ', 'DYNAMICO'" 921 937 quit(-1) 922 938
Note: See TracChangeset
for help on using the changeset viewer.