Ignore:
Timestamp:
Jun 21, 2007, 4:14:04 PM (17 years ago)
Author:
ole
Message:

Added scaled max run-up value - to be studied more later

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_validation/okushiri_2005/compare_timeseries.py

    r4227 r4557  
    9090                  verbose=True)
    9191
     92#--------------------------------------------------
     93# Check max runup
     94#--------------------------------------------------
     95
     96from anuga.shallow_water.data_manager import get_maximum_inundation_elevation
     97from anuga.shallow_water.data_manager import get_maximum_inundation_location
     98from anuga.utilities.polygon import is_inside_polygon
     99
     100q = get_maximum_inundation_elevation(sww_filename)
     101loc = get_maximum_inundation_location(sww_filename)
     102
     103print 'Max runup elevation: ', q
     104print 'Max runup elevation (scaled by 400): ', q*400
     105print 'Max runup location:  ', loc
     106
     107#from create_okushiri import gulleys
     108#assert is_inside_polygon(loc, gulleys)
     109
     110
    92111
    93112#--------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.