Changeset 7642
- Timestamp:
- Feb 26, 2010, 5:33:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_validation/automated_validation_tests/patong_beach_validation/compare_model_timeseries.py
r7641 r7642 10 10 """ 11 11 12 from anuga.abstract_2d_finite_volumes.util import file_function 12 13 import numpy as num 13 import sys 14 import sys, os 14 15 15 16 # Model specific data … … 41 42 gauge_locations = gauges.values() 42 43 gauge_names = gauges.keys() 43 44 f = file_function(sww_filename, 44 45 print sww_filename 46 print gauge_locations 47 os.system('cp %s tempfile.sww' % sww_filename) # Has end with sww 48 f = file_function('tempfile.sww', #_filename, 45 49 quantities='stage', 46 50 interpolation_points=gauge_locations, … … 71 75 assert num.allclose(timevector1, timevector2), msg 72 76 77 print 'OK' 73 78 74 79 … … 79 84 usage() 80 85 import sys; sys.exit(-1) 81 86 87 res = compare_timeseries(sys.argv[1], sys.argv[2]) 82 88 try: 83 89 res = compare_timeseries(sys.argv[1], sys.argv[2])
Note: See TracChangeset
for help on using the changeset viewer.