diff --git a/validation_tests/case_studies/towradgi/data_delete.py b/validation_tests/case_studies/towradgi/data_delete.py index 236951764..1ad283193 100644 --- a/validation_tests/case_studies/towradgi/data_delete.py +++ b/validation_tests/case_studies/towradgi/data_delete.py @@ -5,6 +5,7 @@ import shutil -shutil.rmtree('DEM_bridges Forcing Model Validation') +for dir in ['DEM_bridges', 'Forcing', 'Model', 'Validation']: + shutil.rmtree(dir) diff --git a/validation_tests/case_studies/towradgi/run_towradgi.py b/validation_tests/case_studies/towradgi/run_towradgi.py index 46ecb5fd3..59ca56b89 100644 --- a/validation_tests/case_studies/towradgi/run_towradgi.py +++ b/validation_tests/case_studies/towradgi/run_towradgi.py @@ -38,7 +38,7 @@ # Could not the find data directories # # You can download these directories using the data_download.py script. -# This will download over 120 MB of data! +# This will download over 86 MB of data! # ################################################################################ """ @@ -277,6 +277,7 @@ def read_polygon_list(poly_list): domain = None barrier() + if myid == 0 and verbose: print('DISTRIBUTING DOMAIN') @@ -284,6 +285,8 @@ def read_polygon_list(poly_list): barrier() +domain.get_triangle_containing_point + domain.quantities_to_be_stored = {'elevation': 2, 'friction': 1, 'stage': 2,