Changeset 6086 for anuga_core/source/anuga/shallow_water/test_system.py
- Timestamp:
- Dec 19, 2008, 10:38:08 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/test_system.py
r5878 r6086 16 16 from anuga.pmesh.mesh import Mesh 17 17 from anuga.abstract_2d_finite_volumes.pmesh2domain import pmesh_instance_to_domain_instance 18 18 from anuga.config import netcdf_mode_r, netcdf_mode_w, netcdf_mode_a 19 19 20 20 … … 114 114 115 115 # do an assertion on the time of the produced sww file 116 fid = NetCDFFile(filename, 'r') #Open existing file for read116 fid = NetCDFFile(filename, netcdf_mode_r) #Open existing file for read 117 117 times = fid.variables['time'][:] 118 118 #print "times", times … … 165 165 166 166 # do an assertion on the time of the produced sww file 167 fid = NetCDFFile(filename, 'r') #Open existing file for read167 fid = NetCDFFile(filename, netcdf_mode_r) #Open existing file for read 168 168 times = fid.variables['time'][:] 169 169 stage = fid.variables['stage'][:]
Note: See TracChangeset
for help on using the changeset viewer.