Changeset 4863
- Timestamp:
- Nov 29, 2007, 5:46:55 PM (17 years ago)
- Location:
- anuga_core/source/anuga/shallow_water
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_core/source/anuga/shallow_water/data_manager.py
r4862 r4863 70 70 from Numeric import concatenate, array, Float, Int, Int32, resize, sometrue, \ 71 71 searchsorted, zeros, allclose, around, reshape, transpose, sort, \ 72 NewAxis, ArrayType, compress, take, arange, argmax, alltrue, shape,Float3272 NewAxis, ArrayType, compress, take, arange, argmax, alltrue, shape, Float32 73 73 74 74 import string … … 5625 5625 5626 5626 5627 # Get the relevant quantities 5628 elevation = fid.variables['elevation'][:]5629 stage = fid.variables['stage'][:]5627 # Get the relevant quantities (Convert from single precison) 5628 elevation = array(fid.variables['elevation'][:], Float) 5629 stage = array(fid.variables['stage'][:], Float) 5630 5630 5631 5631 -
anuga_core/source/anuga/shallow_water/test_data_manager.py
r4862 r4863 7327 7327 #------------------------------------------------------------- 7328 7328 if __name__ == "__main__": 7329 7330 #suite = unittest.makeSuite(Test_Data_Manager,'test_get_maximum_inundation') 7329 7331 #suite = unittest.makeSuite(Test_Data_Manager,'test_sww_header') 7330 7332 suite = unittest.makeSuite(Test_Data_Manager,'test')
Note: See TracChangeset
for help on using the changeset viewer.