Last change
on this file since 3330 was
2056,
checked in by duncan, 19 years ago
|
create a domain instance from a pmesh.mesh instance
|
File size:
579 bytes
|
Rev | Line | |
---|
[2006] | 1 | from pyvolution.data_manager import asc_csiro2sww |
---|
[2056] | 2 | import time |
---|
[2006] | 3 | |
---|
[2056] | 4 | t0 = time.time() |
---|
| 5 | |
---|
| 6 | |
---|
[2022] | 7 | asc_csiro2sww('bathymetry_expanded','elev_expanded','ucur_expanded', |
---|
[2056] | 8 | 'vcur_expanded', 'test_extent_true_38.25__37.7__147__148.25.sww',zscale=1, |
---|
| 9 | mean_stage = 0, |
---|
[2022] | 10 | fail_on_NaN = False, |
---|
[2056] | 11 | elevation_NaN_filler = 0 |
---|
| 12 | , |
---|
| 13 | minlat = -38.25, maxlat = -37.7, ###-37.75, |
---|
| 14 | minlon = 147.0, maxlon = 148.25 |
---|
| 15 | , verbose = True |
---|
| 16 | ) |
---|
| 17 | |
---|
| 18 | print 'That took %.2f seconds' %(time.time()-t0) |
---|
Note: See
TracBrowser
for help on using the repository browser.