Changeset 4281
- Timestamp:
- Feb 26, 2007, 11:28:54 AM (18 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
r4280 r4281 4565 4565 # instanciate urs_points of the three mux files. 4566 4566 mux = {} 4567 #quality_slices = {}4568 4567 for quantity, file in map(None, quantities, files_in): 4569 4568 mux[quantity] = Urs_points(file) 4570 #quality_slices[quantity] = []4571 #for slice in mux[quantity]:4572 # quality_slices[quantity].append(slice)4573 4569 4574 4570 # FIXME: check that the depth is the same. (hashing) -
anuga_core/source/anuga/shallow_water/test_data_manager.py
r4280 r4281 5481 5481 urs_ungridded2sww(base_name, mean_stage=tide) 5482 5482 self.delete_mux(files) 5483 #os.remove( base_name + '.sww') 5483 os.remove( base_name + '.sww') 5484 # extend this so it interpolates onto the boundary. 5485 # have it fail if there is NaN 5486 5487 def davids_test_points_urs_ungridded2sww(self): 5488 tide = 5.0 5489 base_name = 'o' 5490 urs_ungridded2sww(base_name, mean_stage=tide) 5491 os.remove( base_name + '.sww') 5492 # extend this so it interpolates onto the boundary. 5493 # have it fail if there is NaN 5484 5494 #------------------------------------------------------------- 5485 5495 if __name__ == "__main__": 5486 #suite = unittest.makeSuite(Test_Data_Manager,' test_URS_points_needed')5496 #suite = unittest.makeSuite(Test_Data_Manager,'davids_test_points_urs_ungridded2sww') 5487 5497 #suite = unittest.makeSuite(Test_Data_Manager,'test_urs_ungridded2swwII') 5488 5498 #suite = unittest.makeSuite(Test_Data_Manager,'visual_test_URS_points_needed_and_urs_ungridded2sww')
Note: See TracChangeset
for help on using the changeset viewer.