Ignore:
Timestamp:
Aug 7, 2007, 10:20:18 AM (17 years ago)
Author:
duncan
Message:

remove the .xya file format.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_core/source/anuga/shallow_water/test_data_manager.py

    r4631 r4659  
    600600
    601601    def test_dem2pts_bounding_box_v2(self):
    602         """Test conversion from dem in ascii format to native NetCDF xya format
     602        """Test conversion from dem in ascii format to native NetCDF format
    603603        """
    604604
     
    714714
    715715    def test_dem2pts_bounding_box_removeNullvalues_v2(self):
    716         """Test conversion from dem in ascii format to native NetCDF xya format
     716        """Test conversion from dem in ascii format to native NetCDF format
    717717        """
    718718
     
    844844
    845845    def test_dem2pts_bounding_box_removeNullvalues_v3(self):
    846         """Test conversion from dem in ascii format to native NetCDF xya format
     846        """Test conversion from dem in ascii format to native NetCDF format
    847847        Check missing values on clipping boundary
    848848        """
     
    40204020
    40214021    def test_read_asc(self):
    4022         """Test conversion from dem in ascii format to native NetCDF xya format
     4022        """Test conversion from dem in ascii format to native NetCDF format
    40234023        """
    40244024
     
    50255025########## testing nbed class ##################
    50265026    def test_exposure_csv_loading(self):
    5027         file_name = tempfile.mktemp(".xya")
     5027        file_name = tempfile.mktemp(".csv")
    50285028        file = open(file_name,"w")
    50295029        file.write("LATITUDE, LONGITUDE ,sound  , speed \n\
     
    50455045       
    50465046
    5047         file_name = tempfile.mktemp(".xya")
     5047        file_name = tempfile.mktemp(".txt")
    50485048        file = open(file_name,"w")
    50495049        file.write("LATITUDE, LONGITUDE ,sound  , speed \n\
     
    50685068        if sys.platform == 'win32':
    50695069            file_name = tempfile.gettempdir() + \
    5070                     "test_exposure_csv_loading_title_check_list.xya"
     5070                    "test_exposure_csv_loading_title_check_list.csv"
    50715071        else:
    5072             file_name = tempfile.mktemp(".xya")
     5072            file_name = tempfile.mktemp(".csv")
    50735073        file = open(file_name,"w")
    50745074        file.write("LATITUDE, LONGITUDE ,sound  , speed \n\
     
    50885088       
    50895089    def test_exposure_csv_cmp(self):
    5090         file_name = tempfile.mktemp(".xya")
     5090        file_name = tempfile.mktemp(".csv")
    50915091        file = open(file_name,"w")
    50925092        file.write("LATITUDE, LONGITUDE ,sound  , speed \n\
     
    51065106                        'FAILED!')
    51075107       
    5108         file_name = tempfile.mktemp(".xya")
     5108        file_name = tempfile.mktemp(".csv")
    51095109        file = open(file_name,"w")
    51105110        # Note, this has less spaces in the title,
     
    51215121                        'FAILED!')
    51225122       
    5123         file_name = tempfile.mktemp(".xya")
     5123        file_name = tempfile.mktemp(".csv")
    51245124        file = open(file_name,"w")
    51255125        # Note, 40 changed to 44 .
     
    51365136                        'FAILED!')
    51375137       
    5138         file_name = tempfile.mktemp(".xya")
     5138        file_name = tempfile.mktemp(".csv")
    51395139        file = open(file_name,"w")
    51405140        # Note, the first two columns are swapped.
     
    51535153       
    51545154
    5155         file_name = tempfile.mktemp(".xya")
     5155        file_name = tempfile.mktemp(".csv")
    51565156        file = open(file_name,"w")
    51575157        file.write("LATITUDE, LONGITUDE ,sound  , speed \n\
     
    51625162        e1 = Exposure_csv(file_name)
    51635163       
    5164         file_name2 = tempfile.mktemp(".xya")
     5164        file_name2 = tempfile.mktemp(".csv")
    51655165        e1.save(file_name = file_name2)
    51665166        e2 = Exposure_csv(file_name2)
     
    51725172
    51735173    def test_exposure_csv_get_location(self):
    5174         file_name = tempfile.mktemp(".xya")
     5174        file_name = tempfile.mktemp(".csv")
    51755175        file = open(file_name,"w")
    51765176        file.write("LONGITUDE , LATITUDE, sound  , speed \n\
     
    51945194       
    51955195    def test_exposure_csv_set_column_get_column(self):
    5196         file_name = tempfile.mktemp(".xya")
     5196        file_name = tempfile.mktemp(".csv")
    51975197        file = open(file_name,"w")
    51985198        file.write("LONGITUDE , LATITUDE, sound  , speed \n\
     
    52105210                        ' Error!')
    52115211       
    5212         file_name2 = tempfile.mktemp(".xya")
     5212        file_name2 = tempfile.mktemp(".csv")
    52135213        e1.save(file_name = file_name2)
    52145214        e2 = Exposure_csv(file_name2)
     
    52195219
    52205220    def test_exposure_csv_set_column_get_column_error_checking(self):
    5221         file_name = tempfile.mktemp(".xya")
     5221        file_name = tempfile.mktemp(".csv")
    52225222        file = open(file_name,"w")
    52235223        file.write("LONGITUDE , LATITUDE, sound  , speed \n\
     
    52595259        else:
    52605260            self.failUnless(0 ==1,  'Error not thrown error!')
    5261         file_name2 = tempfile.mktemp(".xya")
     5261        file_name2 = tempfile.mktemp(".csv")
    52625262        e1.save(file_name = file_name2)
    52635263        e2 = Exposure_csv(file_name2)
     
    52785278       
    52795279
    5280         file_name = tempfile.mktemp(".xya")
     5280        file_name = tempfile.mktemp(".csv")
    52815281        file = open(file_name,"w")
    52825282        file.write("x, y ,sound  , speed \n\
Note: See TracChangeset for help on using the changeset viewer.