Changeset 7179


Ignore:
Timestamp:
Jun 10, 2009, 6:32:03 PM (16 years ago)
Author:
myall
Message:

setup june 2009

Location:
anuga_work/production/Broome_2009
Files:
2 edited
1 copied

Legend:

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

    r7161 r7179  
    1010
    1111#-------------------------------------------------------------------------------
    12 # Fitting Scenario
    13 #-------------------------------------------------------------------------------
    14 
    15 extent = None #'small' #None #'sw' # 'aos1' ##'aos1'
    16 extent_maxarea = 30000
    17 
    18 #-------------------------------------------------------------------------------
    1912# Directory setup
    2013#-------------------------------------------------------------------------------
     
    2215# this section needs to be updated to reflect the modelled community.
    2316# Note, the user needs to set up the directory system accordingly
    24 state = 'tasmania'
    25 scenario_name = 'hobart'
    26 scenario_folder = 'hobart_tsunami_scenario_2009'
     17state = 'western_australia'
     18scenario_name = 'broome'
     19scenario_folder = 'broome_tsunami_scenario_2009'
    2720
    2821#-------------------------------------------------------------------------------
     
    3225# Model specific parameters.
    3326# One or all can be changed each time the run_model script is executed
    34 tide = 0.8                # difference between MSL and HAT in metres
    35 zone = 55               # specify UTM zone of model
    36 event_number = 58292    # 58280, 64477 the event number or the mux file name
     27tide = 0.0                # difference between MSL and HAT in metres
     28zone = 51               # specify UTM zone of model
     29event_number = 27279    # 58280, 64477 the event number or the mux file name
    3730alpha = 0.1             # smoothing parameter for mesh
    3831friction=0.01           # manning's friction coefficient
    3932starttime=0             # start time for simulation
    40 finaltime=65000         # final time for simulation
    41 
    42 setup = 'final'         # This can be one of three values
     33finaltime=1000         # final time for simulation
     34
     35setup = 'trial'         # This can be one of three values
    4336                        #    trial - coarsest mesh, fast
    4437                        #    basic - coarse mesh
     
    5649#-------------------------------------------------------------------------------
    5750
    58 output_comment = [setup, tide, event_number, extent]
     51output_comment = [setup, tide, event_number]
    5952
    6053#-------------------------------------------------------------------------------
     
    6457# ELEVATION DATA
    6558# Used in build_elevation.py
    66 if extent == None:
    67     ascii_grid_filenames = ['topo_grid_notsw', 'fitting_problem_sw_elevation']
    68     point_filenames = []
    69 elif extent == 'sw':
    70     # Format for ascii grids, as produced in ArcGIS + a projection file
    71     ascii_grid_filenames = ['hob3_pro_extract', 'grid_250m_project', 'ldr_bbay',
    72                             'ldr_bellerive', 'ldr_brunyislandneck',
    73                             'ldr_calvertsbeach', 'ldr_carltonbeach',
    74                             'ldr_connelly', 'ldr_cremorne', 'ldr_dodge1',
    75                             'ldr_dodge2', 'ldr_kingston', 'ldr_lauderdale',
    76                             'ldr_linersfarne', 'ldr_oppossumbay', 'ldr_primrose',
    77                             'ldr_rosny', 'ldr_sandybay', 'ldr_selfspoint',
    78                             'ldr_sevenmile', 'ldr_southarm1', 'ldr_southarm2',
    79                             'ldr_sullivanscove', 'ldr_tranmere', 'tasdem_mask']
    80 
    81     # Format for point is x,y,elevation (with header)
    82     point_filenames = ['Topo_1.txt','Topo_2.txt','Topo_3.txt',
    83                        'tasmania_data.txt',    # The data from Tasmania
    84                        'hydro_data.txt']       # Data from Hydro
     59ascii_grid_filenames = ['town_topo_10m',
     60                        'cable_250m',
     61                        'inferred_north',
     62                        'inferred_south',
     63                        'north_250m',
     64                        'other_topo_250m',
     65                        'south_250m']
     66point_filenames = ['Broome_coastline.txt','Broome_Bathymetry.txt']
    8567
    8668### Add csv header list to all files in point_filenames
     
    9880# Used in run_model.py
    9981# Format for points easting,northing (no header)                   
    100 if extent == 'sw':
    101     interior_regions_data = [['aos1.csv', 1500],
    102                              ['aos2.csv', 1500]]
    103     PriorityArea_filename = 'PriorityAreas.csv'
    104 elif extent == 'aos1':
    105     interior_regions_data = []
    106     PriorityArea_filename = 'PriorityAreas_aos1.csv'
    107 elif extent == 'aos2':
    108     interior_regions_data = []
    109     PriorityArea_filename = 'PriorityAreas_aos2.csv'
    110 elif extent == 'small':
    111     interior_regions_data = [['aoi_bruny.csv', 500],
    112                              ['aoi_S_arms.csv', 500],
    113                              ['aos1_small.csv', 1500],
    114                              ['aos2.csv', 1500],
    115                              ['sw.csv', 30000]]
    116     PriorityArea_filename = None
    117 elif extent == None:
    118     interior_regions_data = [['aos1.csv', 1500],
    119                              ['aos2.csv', 1500],
    120                              ['sw.csv', 30000]]
    121     PriorityArea_filename = 'PriorityAreas.csv'
     82interior_regions_data = [['Shallow_Water_MH.csv', 1500],
     83                         ['AoS_MH', 800],
     84                         ['AoI_MH', 500],
     85                         ['AoS_north_MH', 800],
     86                         ['AoI_north_MH', 500],
     87                         ['bay_coast_MH', 1500],
     88                         ['bay_coast_small_MH', 800]]
     89PriorityArea_filename = 'PriorityAreas.csv'
    12290   
    12391# LAND - used to set the initial stage/water to be offcoast only
    12492# Used in run_model.py.  Format for points easting,northing (no header)
    125 land_initial_conditions_filename = 'initial_conditions.txt'
     93land_initial_conditions_filename = 'initial_conditions_mainland.csv'
    12694
    12795# GAUGES - for creating timeseries at a specific point
    12896# Used in get_timeseries.py. 
    12997# Format easting,northing,name,elevation (with header)
    130 gauges_filename = 'time_of_arrival_hobart.csv' #'TideGaugesPoints.csv' #'tsunamipointsMGA.csv'
    131 
     98gauges_filename = ''
    13299# BUILDINGS EXPOSURE - for identifying inundated houses
    133100# Used in run_building_inundation.py
     
    138105# Header - easting,northing,id,value
    139106# Used in get_runup.py
    140 images_filename = 'images.csv'
     107images_filename = ''
    141108
    142109# BOUNDING POLYGON - used in build_boundary.py and run_model.py respectively
     
    147114# Thinned ordering file from Hazard Map (geographic)
    148115# Format is index,latitude,longitude (with header)
    149 urs_order_filename = 'urs_order.csv'
     116urs_order_filename = 'thinned_boundary_ordering.csv'
    150117
    151118# Landward bounding points
    152119# Format easting,northing (no header)
    153 landward_boundary_filename = 'landward_boundary.csv'
     120landward_boundary_filename = 'landward_boundary_MH.csv'
    154121
    155122# MUX input filename.
     
    168135
    169136# ASCII export grid for Bruny
    170 xminBruny = 523900
    171 xmaxBruny = 533200
    172 yminBruny = 5204300
    173 ymaxBruny = 5213100
    174 
    175 # ASCII export grid for South Arms
    176 xminSArms = 532497
    177 xmaxSArms = 534326
    178 yminSArms = 5237028
    179 ymaxSArms = 5238465
    180 
    181 # ASCII export grid for Hobart Large
    182 xminHobart = 520000
    183 xmaxHobart = 545000
    184 yminHobart = 5230000
    185 ymaxHobart = 5260000
    186 
    187 # ASCII export grid for North West Communities
    188 xminNW = 548000
    189 xmaxNW = 561000
    190 yminNW = 5250000
    191 ymaxNW = 5258000
    192 
    193 # ASCII export grid for South Communities
    194 xminSouth = 523000
    195 xmaxSouth = 533300
    196 yminSouth = 5197000
    197 ymaxSouth = 5214000
     137##xminBruny = 523900
     138##xmaxBruny = 533200
     139##yminBruny = 5204300
     140##ymaxBruny = 5213100
    198141
    199142
  • anuga_work/production/Broome_2009/run_model.py

    r7159 r7179  
    8989# 4 points equals 5 segments start at N
    9090boundary_tags={'back': range(num_ocean_segments+1,
    91                              num_ocean_segments+num_land_points),
     91                             num_ocean_segments+num_land_points-1), #last segment will be side
    9292               'side': [num_ocean_segments,
     93                        num_ocean_segments+num_land_points-1, # three side segments total
    9394                        num_ocean_segments+num_land_points],
    9495               'ocean': range(num_ocean_segments)}
     
    141142                    domain, mean_stage=project.tide,
    142143                    time_thinning=1,
    143                     default_boundary=Bd,
     144                    default_boundary=Dirichlet_boundary([0, 0, 0]),
    144145                    boundary_polygon=bounding_polygon_sts,                   
    145146                    use_cache=True,
Note: See TracChangeset for help on using the changeset viewer.