Changeset 7970
- Timestamp:
- Aug 24, 2010, 10:57:29 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/anuga_validation/automated_validation_tests/okushiri_tank_validation/compare_timeseries_with_measures.py
r7877 r7970 6 6 """ 7 7 8 import sys 9 8 10 import numpy as num 9 11 from Scientific.IO.NetCDF import NetCDFFile 10 12 13 import project 11 14 from anuga.abstract_2d_finite_volumes.util import file_function 12 15 from anuga.utilities.numerical_tools import\ 13 16 ensure_numeric, cov, get_machine_precision 14 15 import project 16 import sys 17 from anuga.shallow_water.sww_interrogate import get_maximum_inundation_elevation 18 from anuga.shallow_water.sww_interrogate import get_maximum_inundation_location 19 from anuga.geometry.polygon import is_inside_polygon 20 from create_okushiri import gulleys 17 21 18 22 if sys.platform == 'win32': … … 122 126 #-------------------------------------------------- 123 127 124 import sys125 128 if len(sys.argv) > 1: 126 129 sww_filename = sys.argv[1] … … 228 231 # Check max runup 229 232 230 from anuga.shallow_water.data_manager import get_maximum_inundation_elevation231 from anuga.shallow_water.data_manager import get_maximum_inundation_location232 from anuga.utilities.polygon import is_inside_polygon233 234 233 q = get_maximum_inundation_elevation(sww_filename) 235 234 loc = get_maximum_inundation_location(sww_filename) … … 241 240 242 241 243 from create_okushiri import gulleys244 242 assert is_inside_polygon(loc, gulleys) 245 243
Note: See TracChangeset
for help on using the changeset viewer.