Changeset 4557 for anuga_validation/okushiri_2005/compare_timeseries.py
- Timestamp:
- Jun 21, 2007, 4:14:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/okushiri_2005/compare_timeseries.py
r4227 r4557 90 90 verbose=True) 91 91 92 #-------------------------------------------------- 93 # Check max runup 94 #-------------------------------------------------- 95 96 from anuga.shallow_water.data_manager import get_maximum_inundation_elevation 97 from anuga.shallow_water.data_manager import get_maximum_inundation_location 98 from anuga.utilities.polygon import is_inside_polygon 99 100 q = get_maximum_inundation_elevation(sww_filename) 101 loc = get_maximum_inundation_location(sww_filename) 102 103 print 'Max runup elevation: ', q 104 print 'Max runup elevation (scaled by 400): ', q*400 105 print 'Max runup location: ', loc 106 107 #from create_okushiri import gulleys 108 #assert is_inside_polygon(loc, gulleys) 109 110 92 111 93 112 #--------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.