Changeset 4281


Ignore:
Timestamp:
Feb 26, 2007, 11:28:54 AM (18 years ago)
Author:
duncan
Message:

working on updated urs2sww

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  
    45654565    # instanciate urs_points of the three mux files.
    45664566    mux = {}
    4567     #quality_slices = {}
    45684567    for quantity, file in map(None, quantities, files_in):
    45694568        mux[quantity] = Urs_points(file)
    4570         #quality_slices[quantity] = []
    4571         #for slice in mux[quantity]:
    4572         #    quality_slices[quantity].append(slice)
    45734569       
    45744570    # FIXME: check that the depth is the same. (hashing)
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r4280 r4281  
    54815481        urs_ungridded2sww(base_name, mean_stage=tide)
    54825482        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
    54845494#-------------------------------------------------------------
    54855495if __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')
    54875497    #suite = unittest.makeSuite(Test_Data_Manager,'test_urs_ungridded2swwII')
    54885498    #suite = unittest.makeSuite(Test_Data_Manager,'visual_test_URS_points_needed_and_urs_ungridded2sww')
Note: See TracChangeset for help on using the changeset viewer.