Ignore:
Timestamp:
Mar 2, 2009, 11:59:23 AM (16 years ago)
Author:
rwilson
Message:

Added sanity checks for landward_boundary_filename and urs_order_filename parameters.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/busselton/standardised_version/setup_model.py

    r6363 r6432  
    2929if os.getenv(project.ENV_MUXHOME) is None:
    3030    print "Environment variable '%s' is not set" % project.ENV_MUXHOME
     31    sanity_error = True
     32
     33#-------------------------------------------------------------------------------
     34# Check filename strings that MUST be set
     35#-------------------------------------------------------------------------------
     36
     37if not urs_order_filename:
     38    print ("Sorry, thinned ordering file parameter 'urs_order_filename' "
     39           "isn't set")
     40    sanity_error = True
     41
     42if not landward_boundary_filename:
     43    print ("Sorry, landward bounding points parameter "
     44           "'landward_boundary_filename' isn't set")
    3145    sanity_error = True
    3246
Note: See TracChangeset for help on using the changeset viewer.