Ignore:
Timestamp:
May 23, 2008, 9:00:49 AM (17 years ago)
Author:
kristy
Message:

updated perth project.py. Added and changed internal polygons

File:
1 edited

Legend:

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

    r5152 r5357  
    7171
    7272# AHO + DPI data + colin French coastline
    73 coast_name = 'waterline'
     73coast_name = 'coastline'
    7474offshore_name = 'perth_bathymetry'
    75 offshore1_name = 'missing_fairsheets'
     75
    7676
    7777#final topo name
     
    9494coast_in_dir_name = topographies_in_dir + coast_name
    9595offshore_in_dir_name = topographies_in_dir + offshore_name
    96 offshore1_in_dir_name = topographies_in_dir + offshore1_name
     96
    9797
    9898onshore_dir_name = topographies_dir + onshore_name
     
    163163from anuga.utilities.polygon import read_polygon, plot_polygons, polygon_area, is_inside_polygon
    164164
    165 poly_all = read_polygon(polygons_dir+'bounding_poly.csv')
     165poly_all = read_polygon(polygons_dir+'bounding_area.csv')
    166166res_poly_all = 100000*res_factor
    167167
     
    172172###############################
    173173
    174 #poly_pos20_neg20 = read_polygon(polygons_dir+'pos20_neg20pts.csv')
    175 poly_pos20_neg20 = read_polygon(polygons_dir+'pos20_neg20_new_pts.csv')
    176 res_pos20_neg20 = 20000*res_factor
    177 
    178 #poly_cbd = read_polygon(polygons_dir+'cbd_pts.csv')
    179 poly_cbd = read_polygon(polygons_dir+'cbd_smaller_pts.csv')
     174#Polygon designed by 20m contours, or 3km from the coastline
     175poly_internal_20_3 = read_polygon(polygons_dir+'internalh20mORd3km.csv')
     176res_internal_20_3 = 20000*res_factor
     177
     178#Polygon designed to incorporate Garden Island and sand bank infront of Rockingham
     179poly_garden_rockingham = read_polygon(polygons_dir+'garden_rockingham.csv')
     180res_garden_rockingham = 1000*res_factor
     181
     182#Polygon designed to incorporate coastline of rottnest
     183poly_rottnest = read_polygon(polygons_dir+'rottnest.csv')
     184res_rottnest = 1000*res_factor
     185
     186#Polygon designed to incorporate perth and Fremantle CBD
     187poly_cbd = read_polygon(polygons_dir+'CBD_coastal.csv')
    180188res_cbd = 500*res_factor
    181189
    182 poly_penguin = read_polygon(polygons_dir+'penguin_pts.csv')
     190#Polygon designed to incorporate rockingham and penguin island
     191poly_penguin = read_polygon(polygons_dir+'rockingham_penguin.csv')
    183192res_penguin = 500*res_factor
    184193
    185 poly_geordie_bay = read_polygon(polygons_dir+'geordie_bay_pts.csv')
     194poly_geordie_bay = read_polygon(polygons_dir+'Geordie_Bay.csv')
    186195res_geordie_bay = 500*res_factor
    187196
    188 poly_sorrento_gauge = read_polygon(polygons_dir+'sorrento_gauge_pts.csv')
     197poly_sorrento_gauge = read_polygon(polygons_dir+'Sorrento_gauge.csv')
    189198res_sorrento_gauge = 500*res_factor
    190199#assert zone == refzone
    191200
    192 interior_regions = [[poly_pos20_neg20,res_pos20_neg20],[poly_cbd,res_cbd]
     201interior_regions = [[poly_internal_20_3,res_internal_20_3],[poly_cbd,res_cbd]
     202                     ,[poly_garden_rockingham,res_garden_rockingham]
    193203                     ,[poly_penguin,res_penguin],[poly_geordie_bay,res_geordie_bay]
    194                      ,[poly_sorrento_gauge,res_sorrento_gauge]]
     204                     ,[poly_sorrento_gauge,res_sorrento_gauge],[poly_rottnest, res_rottnest]]
    195205
    196206boundary_tags={'back': [4], 'side': [0,3],'ocean': [1, 2]}
Note: See TracChangeset for help on using the changeset viewer.