Ignore:
Timestamp:
Nov 28, 2008, 11:48:45 AM (15 years ago)
Author:
kristy
Message:

general maintenance of scripts, added boundary to mesh in run_geraldton.py

File:
1 edited

Legend:

Unmodified
Added
Removed
  • anuga_work/production/geraldton/project.py

    r5829 r6027  
    4343# Model specific parameters. One or all can be changed each time the
    4444# run_scenario script is executed
    45 tide = 0.6                #0.6
     45tide = 0.6         #0.6
    4646#event_number = 27255 # Java 9.3 worst case for Perth
    4747event_number = 68693 # Sumatra 9.2
     
    5050friction=0.01           # manning's friction coefficient
    5151starttime=0             
    52 finaltime=80000         # final time for simulation
     52finaltime=80000       # final time for simulation
    5353
    5454setup='final'  # Final can be replaced with trial or basic.
     
    5656               # faster, but less accurate, simulation.
    5757
     58if setup =='coarse':
     59    print'coarse'
     60    res_factor=10000000
     61    time_thinning=48
     62    yieldstep=240
    5863if setup =='trial':
    5964    print'trial'
     
    100105gauge_name2 = 'thinned_MGA50.csv'
    101106
     107#buildings - used in run_building_inundation.py
     108building = 'geraldton_res_clip'
     109
     110# barrier
     111barrier = 'CBD.csv'
     112barrier1 = 'wall.csv'
     113
    102114# BOUNDING POLYGON - used in build_boundary.py and run_geraldton.py respectively
    103115# NOTE: when files are put together the points must be in sequence - for ease go clockwise!
     
    156168# where the mesh sits (this is created during the run_geraldton.py)
    157169meshes_dir_name = meshes_dir + scenario_name+'.msh'
     170barrier_dir_name = meshes_dir + barrier
     171barrier_dir_name1 = meshes_dir + barrier1
    158172
    159173# where the boundary ordering files sit (this is used within build_boundary.py)
     
    172186output_run_time_dir_name = output_run_time_dir + scenario_name  #Used by post processing
    173187
    174 #w here the directory of the gauges sit
     188# where the directory of the gauges sit
    175189gauges_dir_name = gauges_dir + gauge_name       #used for get_timeseries.py
    176190gauges_dir_name2 = gauges_dir + gauge_name2     #used for get_timeseries.py
     191building_in_dir_name = gauges_dir + building + '.csv'    #used for run_building_inundation.py
    177192
    178193#------------------------------------------------------------------------------
     
    184199poly_mainland=read_polygon(polygons_dir +'land_initial_condition.csv')
    185200poly_ocean=read_polygon(polygons_dir +'ocean_initial_condition.csv')
     201poly_buffer_20m=read_polygon(polygons_dir +'buffer_20m.csv')
    186202
    187203# Initial bounding polygon for data clipping
Note: See TracChangeset for help on using the changeset viewer.