Changeset 4557
- Timestamp:
- Jun 21, 2007, 4:14:04 PM (17 years ago)
- Location:
- anuga_validation
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/okushiri_tank_validation/compare_timeseries_with_measures.py
r4555 r4557 227 227 228 228 print 'Max runup elevation: ', q 229 print 'Max runup elevation (scaled by 400): ', q*400 229 230 print 'Max runup location: ', loc 230 231 -
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.