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/shallow_water/test_forcing_terms.py

    r7743 r7814  
    543543
    544544        # Convert ASCII file to NetCDF (Which is what we really like!)
    545         timefile2netcdf(filename)
     545        timefile2netcdf(filename + '.txt')
    546546        os.remove(filename + '.txt')
    547547
     
    633633
    634634        # Convert ASCII file to NetCDF (Which is what we really like!)
    635         timefile2netcdf(filename, time_as_seconds=True)
     635        timefile2netcdf(filename + '.txt', time_as_seconds=True)
    636636        os.remove(filename + '.txt')
    637637
Note: See TracChangeset for help on using the changeset viewer.