Ignore:
Timestamp:
Mar 10, 2008, 3:59:09 PM (17 years ago)
Author:
nick
Message:

update busselton

File:
1 edited

Legend:

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

    r5121 r5149  
    3232state = 'western_australia'
    3333scenario_name = 'busselton'
    34 scenario = 'busselton_tsunami_scenario_2006'
     34scenario = 'busselton_tsunami_scenario'
    3535
    3636#Maybe will try to make project a class to allow these parameters to be passed in.
     
    3939starttime=10000
    4040midtime=21600
    41 finaltime=25000
     41#finaltime=25000
     42finaltime=10000
    4243export_cellsize=50
    43 setup='final'
    44 source='test'
     44setup='trial'
     45source='other'
    4546
    4647
     
    6566
    6667# onshore data provided by WA DLI
    67 onshore_name = 'DLI_orthophoto_DEM' # original
     68#onshore_name = 'DLI_orthophoto_DEM' # original
     69onshore_name = 'dli_dem_clipped' # original
    6870#islands
    6971
    7072# AHO + DPI data
    71 coast_name = '100k_coastline'
    72 offshore_name = 'Bathymetry'
     73coast_name = 'coastline_excluding_beach_survey'
     74coast_name1 = 'beach_survey_final'
     75offshore_name = 'busselton'
    7376
    7477#final topo name
    75 combined_name ='busselton_combined_elevation.pts'
    76 combined_smaller_name = 'busselton_combined_elevation_smaller'
     78combined_name ='busselton_combined_elevation'
     79combined_name_small = 'busselton_combined_elevation_smaller'
    7780
    7881anuga_dir = home+state+sep+scenario+sep+'anuga'+sep
    7982
    80 topographies_in_dir = home+sep+state+sep+scenario+sep+'elevation_final'+sep+'points'+sep
    81 topographies_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'topographies'+sep
     83topographies_in_dir = home+state+sep+scenario+sep+'elevation_final'+sep+'points'+sep
     84topographies_dir = home+state+sep+scenario+sep+'anuga'+sep+'topographies'+sep
    8285
    8386#input topo file location
     
    8689
    8790coast_in_dir_name = topographies_in_dir + coast_name
     91coast_in_dir_name1 = topographies_in_dir + coast_name1
    8892offshore_in_dir_name = topographies_in_dir + offshore_name
    8993
     
    9195#island_dir_name = topographies_dir + island_name
    9296coast_dir_name = topographies_dir + coast_name
     97coast_dir_name1 = topographies_dir + coast_name1
    9398offshore_dir_name = topographies_dir + offshore_name
    9499
    95100#final topo files
    96101combined_dir_name = topographies_dir + combined_name
    97 combined_smaller_dir_name = topographies_dir + combined_smaller_name
     102combined_dir_name_small = topographies_dir + combined_name_small
    98103
    99104meshes_dir = anuga_dir+'meshes'+sep
     
    115120    boundaries_in_dir = anuga_dir+'boundaries'+sep+'urs'+sep+'exmouth'+sep+'1_10000'+sep
    116121
    117 if source=='test':
     122if source=='other':
    118123    boundaries_name = 'test' #exmouth gun
    119124    boundaries_in_dir = anuga_dir+'boundaries'+sep+'urs'+sep+'exmouth'+sep+'1_10000'+sep
     
    134139#gauges
    135140gauge_name = '???.csv'
    136 gauges_dir = home+sep+state+sep+scenario+sep+'anuga'+sep+'gauges'+sep
     141gauges_dir = home+state+sep+scenario+sep+'anuga'+sep+'gauges'+sep
    137142gauges_dir_name = gauges_dir + gauge_name
    138143
     
    171176poly_busselton1 = read_polygon(polygons_dir+'neg20_pos10_polygon.csv')
    172177res_busselton1 = 10000*res_factor
     178
    173179poly_busselton2 = read_polygon(polygons_dir+'neg5_pos5_poly_.csv')
    174180res_busselton2 = 500*res_factor
     
    178184interior_regions = [[poly_busselton1,res_busselton1],[poly_busselton2,res_busselton2]]
    179185
    180 boundary_tags={'back': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14],
    181                'side': [10,13], 'ocean': [11, 12]}
     186boundary_tags={'back': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
     187               'side': [10,15], 'ocean': [12, 13, 14]}
    182188
    183189trigs_min = number_mesh_triangles(interior_regions, poly_all, res_poly_all)
Note: See TracChangeset for help on using the changeset viewer.