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_dem2pts.py

    r7742 r7814  
    7979
    8080        #Convert to NetCDF pts
    81         asc2dem(root)
    82         dem2pts(root, easting_min=2002.0, easting_max=2007.0,
     81        asc2dem(filename)
     82        dem2pts(root+'.dem', easting_min=2002.0, easting_max=2007.0,
    8383                northing_min=3003.0, northing_max=3006.0,
    8484                verbose=False)
     
    199199
    200200        #Convert to NetCDF pts
    201         asc2dem(root)
    202         dem2pts(root, easting_min=2002.0, easting_max=2007.0,
     201        asc2dem(filename)
     202        dem2pts(root+'.dem', easting_min=2002.0, easting_max=2007.0,
    203203                northing_min=3003.0, northing_max=3006.0)
    204204
     
    328328
    329329        #Convert to NetCDF pts
    330         asc2dem(root)
    331         dem2pts(root, easting_min=2002.0, easting_max=2007.0,
     330        asc2dem(filename)
     331        dem2pts(root+'.dem', easting_min=2002.0, easting_max=2007.0,
    332332                northing_min=3003.0, northing_max=3006.0)
    333333
Note: See TracChangeset for help on using the changeset viewer.