Changeset 8845
- Timestamp:
- Apr 20, 2013, 12:48:13 PM (12 years ago)
- Location:
- trunk/anuga_core/source
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_core/source/anuga/compile_all.py
r8843 r8845 63 63 64 64 #==================================================================== 65 os.chdir('..')66 os.chdir('utilities')67 try:68 from anuga.utilities.system_tools import store_version_info69 store_version_info()70 print71 print "---------------------------------"72 print 'Storing of version info succeeded'73 print "---------------------------------"74 print75 except:76 print77 print "----------------------------------------------------------------"78 print 'Storage of version info failed (just means svn is not available)'79 print "----------------------------------------------------------------"80 print65 #os.chdir('..') 66 #os.chdir('utilities') 67 #try: 68 # from anuga.utilities.system_tools import store_version_info 69 # store_version_info(verbose=True) 70 # print 71 # print "---------------------------------" 72 # print 'Storing of version info succeeded' 73 # print "---------------------------------" 74 # print 75 #except: 76 # print 77 # print "----------------------------------------------------------------" 78 # print 'Storage of version info failed (just means svn is not available)' 79 # print "----------------------------------------------------------------" 80 # print 81 81 82 82 os.chdir(BUILDROOT) -
trunk/anuga_core/source/anuga/utilities/plot_utils.py
r8780 r8845 152 152 153 153 # Read variables 154 x=fid.variables['x'] 155 x=x.getValue()156 y=fid.variables['y'] 157 y=y.getValue()158 159 stage=fid.variables['stage'] 160 stage=stage.getValue()161 162 elev=fid.variables['elevation'] 163 elev=elev.getValue()164 165 xmom=fid.variables['xmomentum'] 166 xmom=xmom.getValue()167 168 ymom=fid.variables['ymomentum'] 169 ymom=ymom.getValue()170 171 time=fid.variables['time'] 172 time=time.getValue()173 174 vols=fid.variables['volumes'] 175 vols=vols.getValue()154 x=fid.variables['x'][:] 155 #x=x.getValue() 156 y=fid.variables['y'][:] 157 #y=y.getValue() 158 159 stage=fid.variables['stage'][:] 160 #stage=stage.getValue() 161 162 elev=fid.variables['elevation'][:] 163 #elev=elev.getValue() 164 165 xmom=fid.variables['xmomentum'][:] 166 #xmom=xmom.getValue() 167 168 ymom=fid.variables['ymomentum'][:] 169 #ymom=ymom.getValue() 170 171 time=fid.variables['time'][:] 172 #time=time.getValue() 173 174 vols=fid.variables['volumes'][:] 175 #vols=vols.getValue() 176 176 177 177
Note: See TracChangeset
for help on using the changeset viewer.