source: production/karratha_2005/export_results.py @ 2065

Last change on this file since 2065 was 2065, checked in by ole, 18 years ago

New results for karratha

File size: 1011 bytes
Line 
1import project, os
2
3from pyvolution.data_manager import sww2dem
4from pyvolution.ermapper_grids import read_ermapper_grid
5
6
7#name = project.outputname + '_0.0tide_notsunami'
8#name = project.outputname + '_0.0tide'
9
10name = project.outputname
11
12#sww2dem(name, basename_out = name + '_speed',
13sww2dem(name, basename_out = name + '_momentum',
14        #quantity = 'stage-elevation',  #Depth
15        quantity = '(xmomentum**2 + ymomentum**2)**0.5',  #Absolute momentum
16        #quantity = '((xmomentum/(stage-elevation))**2 + (ymomentum/(stage-elevation))**2)**0.5',  #Speed
17        cellsize = 50,
18        #cellsize = 500,
19        #cellsize = 10,       
20        #easting_min = 465646,
21        #easting_max = 480286,
22        #northing_min = 7712865,
23        #northing_max = 7724233,       
24        reduction = max,
25        verbose = True,
26        format = 'asc')
27
28
29#Check
30
31#data = read_ermapper_grid(name)
32#print 'Values from %s are in [%f, %f]' %(name, min(data.flat), max(data.flat))
Note: See TracBrowser for help on using the repository browser.