Last change
on this file since 7853 was
7814,
checked in by hudson, 14 years ago
|
New filename conventions for file conversion. Filenames must always be passed in with the correct extension.
|
File size:
615 bytes
|
Rev | Line | |
---|
[7776] | 1 | """ Modules for performing conversions between file types, or for |
---|
[7778] | 2 | resampling a given file. |
---|
| 3 | |
---|
| 4 | In general, the naming convention follows this rule: |
---|
| 5 | <file_ext_in>2<file_ext_out>('filename_in', 'filename_out') |
---|
| 6 | |
---|
| 7 | for example: |
---|
| 8 | sww2dem('northbeach.sww', 'outfile.dem') |
---|
[7814] | 9 | |
---|
| 10 | Some formats input and output across multiple files. In that case the |
---|
| 11 | convention is so: |
---|
| 12 | urs2nc('northbeach', 'outfile') |
---|
| 13 | Where an array of 3 input files produce 4 output files. |
---|
[7742] | 14 | """ |
---|
| 15 | |
---|
| 16 | # Add path of package to PYTHONPATH to allow C-extensions to be loaded |
---|
| 17 | import sys |
---|
| 18 | sys.path += __path__ |
---|
| 19 | |
---|
Note: See
TracBrowser
for help on using the repository browser.