Changeset 6282


Ignore:
Timestamp:
Feb 5, 2009, 3:27:30 PM (16 years ago)
Author:
jgriffin
Message:
 
File:
1 edited

Legend:

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

    r6281 r6282  
    4040# Model specific parameters. One or all can be changed each time the
    4141# run_scenario script is executed
    42 tide = 0              #0.6
    43 #event_number = 27255 # Java 9.3 worst case for Perth
    44 #event_number = 68693 # Sumatra 9.2
    45 event_number = 27283  # Java 9.3 original
     42tide = 0                #0.6
     43#event_number = 27255   # Java 9.3 worst case for Perth
     44#event_number = 68693   # Sumatra 9.2
     45event_number = 27283    # Java 9.3 original
    4646alpha = 0.1             # smoothing parameter for mesh
    4747friction=0.01           # manning's friction coefficient
     
    137137# Check the run_busselton.py for boundary_tags
    138138
    139 # thinned ordering file from Hazard Map (geographic)
     139# Thinned ordering file from Hazard Map (geographic)
    140140# Format is index,latitude,longitude (with header)
    141141urs_order_filename = 'thinned_boundary_ordering_extend.csv'
    142142
    143 #landward bounding points
     143# Landward bounding points
    144144# Format easting,northing (no header)
    145145landward_boundary_filename = 'landward_boundary_extend.csv'
     
    209209output_run_time = join(output_run, scenario_name)
    210210
    211 # The absolute pathname for the gauges file, used for get_timeseries.py
     211# The absolute pathname for the gauges file
     212# Used for get_timeseries.py
    212213gauges = join(gauges_folder, gauges_filename)       
    213214
    214 # The absolute pathname for the building file,
     215# The absolute pathname for the building file
    215216# Used for run_building_inundation.py
    216217building_exposure = join(gauges_folder, building_exposure_filename)
     
    220221#------------------------------------------------------------------------------
    221222
     223# Create list of land polygons with initial conditions
    222224land_initial_conditions = []
    223225for filename, MSL in land_initial_conditions_filename:
     
    225227    land_initial_conditions.append([filename, MSL])
    226228
     229# Create list of interior polygons with scaling factor
     230interior_regions = []
     231for filename, maxarea in interior_regions_data:
     232    polygon = read_polygon(join(polygons_folder, filename))
     233    interior_regions.append([polygon, maxarea*scale_factor])
     234
    227235# Initial bounding polygon for data clipping
    228236bounding_polygon = read_polygon(join(polygons_folder,
     
    230238bounding_maxarea = 100000*scale_factor
    231239
    232 interior_regions = []
    233 for filename, maxarea in interior_regions_data:
    234     polygon = read_polygon(join(polygons_folder, filename))
    235     interior_regions.append([polygon, maxarea*scale_factor])
    236                      
     240# Estimate the number of triangles                     
    237241trigs_min = number_mesh_triangles(interior_regions,
    238242                                  bounding_polygon, bounding_maxarea)
Note: See TracChangeset for help on using the changeset viewer.