Ignore:
Timestamp:
Jun 9, 2010, 12:28:24 PM (12 years ago)
Author:
hudson
Message:

New filename conventions for file conversion. Filenames must always be passed in with the correct extension.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/source/anuga/file_conversion/test_2pts.py

    r7776 r7814  
    101101
    102102        #Convert to NetCDF pts
    103         sdf2pts(root)
     103        sdf2pts(root+'.sdf')
    104104
    105105        #Check contents
     
    208208        points = num.concatenate( (x[:,num.newaxis],y[:,num.newaxis]), axis=1 )
    209209        points = num.ascontiguousarray(points)
    210         sww2pts(domain.get_name(),
     210        sww2pts(domain.get_name() + '.sww',
    211211                quantity = 'elevation',
    212212                data_points = points,
     
    223223        points = domain.get_centroid_coordinates()
    224224        #print points
    225         sww2pts(domain.get_name(),
     225        sww2pts(domain.get_name() + '.sww',
    226226                quantity = 'elevation',
    227227                data_points = points,
Note: See TracChangeset for help on using the changeset viewer.