Last change
on this file since 7853 was
7814,
checked in by hudson, 13 years ago
|
New filename conventions for file conversion. Filenames must always be passed in with the correct extension.
|
File size:
615 bytes
|
Line | |
---|
1 | """ Modules for performing conversions between file types, or for |
---|
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') |
---|
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. |
---|
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.