Changeset 9422


Ignore:
Timestamp:
Jan 16, 2015, 5:31:16 PM (10 years ago)
Author:
steve
Message:

Added error message if no data directories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/anuga_core/validation_tests/case_studies/towradgi/Towradgi_historic_flood.py

    r9359 r9422  
    3131from anuga import Inlet_operator
    3232#from anuga.utilities import sww_merge
    33 from project import *
     33
    3434
    3535#------------------------------------------------------------------------------
     
    4141from anuga import Rate_operator
    4242
     43
     44if myid == 0 and not os.path.isdir('DEM'):
     45    msg = """
     46################################################################################
     47#
     48# Could not the find data directories
     49#
     50# You can download these directories using the data_download.py script.
     51# This will download over 120 MB of data!
     52#
     53################################################################################
     54"""
     55    raise Exception(msg)
     56
     57from project import *
    4358
    4459
Note: See TracChangeset for help on using the changeset viewer.