Ignore:
Timestamp:
Feb 16, 2006, 7:20:00 PM (19 years ago)
Author:
sexton
Message:

updated scripts for Sydney scenario to include new interior regions (refine existing ones and add two high resolution areas)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • production/sydney_2006/project.py

    r2407 r2420  
    3434nmaxviz = 6283000
    3535
    36 basename = 'slump'
     36basename = 'slump_TEST'
     37basename2 = 'slump_newfriction'
    3738
    3839if sys.platform == 'win32':
     
    5455combineddemname = datadir + 'sydneytopo'
    5556outputname = outputdir + basename  #Used by post processing
     57outputname2 = outputdir + basename2  #Used by post processing
    5658
    5759#csv file of coastline 50m epsilon belt
    58 manly_polygonname = polygondir + 'manly_polygon_UTM56_coarse'
    59 manly_polygon = read_polygon(manly_polygonname + '.csv')
     60#manly_polygonname = polygondir + 'manly_polygon_UTM56_coarse'
     61#manly_polygon = read_polygon(manly_polygonname + '.csv')
    6062#print manly_polygon
    6163
    6264gauge_filename = outputdir + 'sydney_gauges.xya'
    6365gauge_outname = outputdir + 'gauges_max_output.xya'
     66polygonptsfile = outputdir + 'poly'
    6467
    6568#Georeferencing
     
    106109#diffpolygonall = [dp0, dp1, dp2, dp3, dp4, dp8]
    107110
    108 
    109 
    110 #Interior regions - the Harbour - take 2
     111# testing new interior regions 15 Feb 06
     112# these worked OK it seemed, no warnings and resulting mesh looked fine.
     113pp0 = [343965, 6273229]
     114pp1 = [342984, 6270664]
     115pp2 = [343950, 6270005]
     116pp3 = [343853, 6270399]
     117pp4 = [343383, 6270925]
     118pp5 = [343756, 6271926]
     119pp6 = [344037, 6272401]
     120pp7 = [344405, 6272503]
     121pp8 = [344226, 6273244]
     122
     123poly1 = [pp0, pp1, pp2, pp3, pp4, pp5, pp6, pp7, pp8]
     124
     125qp0 = [343494.0, 6270650.0]
     126qp1 = [343337.0, 6270303.0]
     127qp2 = [343466.0, 6270228.0]
     128qp3 = [343139.0, 6269901.0]
     129qp4 = [342472.0, 6268573.0]
     130qp5 = [342111.0, 6267115.0]
     131qp6 = [342479.0, 6266121.0]
     132qp7 = [342860.0, 6266386.0]
     133qp8 = [342635.0, 6267438.0]
     134qp9 = [343105.0, 6269070.0]
     135qp10 = [343548.0, 6269567.0]
     136qp11 = [343487.0, 6269928.0]
     137qp12 = [343991.0, 6270269.0]
     138
     139poly2 = [qp0, qp1, qp2, qp3, qp4, qp5, qp6, qp7, qp8, qp9, qp10, qp11, qp12]
     140#poly2 = [qp5, qp6, qp7, qp8, qp9, qp10]
     141
     142# didn't like this one - poly2 from Ingo
     143# warning generated about vertex blah doesn't belong to an element
     144# is there a maximum number of vertices per polygon?
     145p0 = [343488.9455,      6270644.956]
     146p1 = [343681.208,       6270500.759]
     147p2 = [343997.0678,      6270253.564]
     148p3 = [343482.0789,      6269930.838]
     149p4 = [343550.7441,      6269546.313]
     150p5 = [343111.287,       6269099.989]
     151p6 = [342630.6307,      6267534.423]
     152p7 = [342870.9588,      6266380.848]
     153p8 = [342479.5673,      6266126.787]
     154p9 = [342174.4759,      6266317.303]
     155p10 = [342248.668,      6266727.125]
     156p11 = [342101.9088,     6267108.699]
     157p12 = [340986.2201,     6267454.634]
     158p13 = [340663.6936,     6266113.602]
     159p14 = [340120.4909,     6265892.926]
     160p15 = [339560.3132,     6266317.303]
     161p16 = [339237.7867,     6266928.406]
     162p17 = [339000.1355,     6267912.961]
     163p18 = [339169.8863,     6268642.889]
     164p19 = [340001.6654,     6269016.341]
     165p20 = [340392.0922,     6269423.743]
     166p21 = [340867.3945,     6268863.566]
     167p22 = [341614.2982,     6268659.865]
     168p23 = [341495.4726,     6269220.042]
     169p24 = [341750.0988,     6269287.943]
     170p25 = [341902.8746,     6269882.07]
     171p26 = [342700.7034,     6269780.22]
     172p27 = [343125.0805,     6269746.27]
     173p28 = [343125.0805,     6270221.572]
     174p29 = [343057.1801,     6270527.124]
     175p30 = [343488.9455,     6270644.956]
     176
     177testpoly = [p0,p1,p2,p3,p4,p5,p6,p7,p8,p9,p10,p11,p12,p13,p14,p15,p16,p17,p18,p19,p20,p21,p22,p23,p24,p25,p26,p27,p28,p29,p30]
     178
     179# test from Jane drawing
     180# north
     181np1 = [318200, 6253000]
     182np2 = [327000, 6250500]
     183np3 = [333000, 6249000]
     184np4 = [342000, 6249000]
     185np5 = [342000, 6255000]
     186np6 = [343000, 6256000]
     187np7 = [344000, 6258000]
     188np8 = [343000, 6260000]
     189np9 = [343000, 6264000]
     190np10 = [345000, 6265000]
     191np11 = [343000, 6266000]
     192np12 = [344000, 6269000]
     193np13 = [344000, 6272000]
     194np14 = [342000, 6272000]
     195np15 = [339000, 6269000]
     196np16 = [339000, 6264000]
     197#np17 = [332000, 6264000]
     198np17 = [332500, 6262000]
     199np18 = [334000, 6254000]
     200np19 = [329000, 6257000]
     201np20 = [330000, 6259000]
     202#np21 = [327000, 6262000]
     203np21 = [327000, 6259000]
     204np22 = [327000, 6257000]
     205np23 = [318200, 6257000]
     206np24 = [335000, 6261000]
     207np25 = [336000, 6262000]
     208np26 = [338000, 6262000]
     209np27 = [340000, 6264000]
     210np28 = [334000, 6250000]
     211np29 = [336000, 6250000]
     212np30 = [341500, 6250000]
     213np31 = [327000, 6254000]
     214np32 = [323000, 6257000]
     215np33 = [335000, 6255000]
     216np34 = [337000, 6256000]
     217np35 = [338000, 6255000]
     218np36 = [319000, 6254000]
     219np37 = [322000, 6252000]
     220np38 = [324000, 6253000]
     221np39 = [325000, 6251000]
     222
     223#testpoly1 = [np1, \
     224#             np36, np37, np38, np39, \
     225#             np2, np3, \
     226#             np28, np29, np30, \
     227#             np5, np6, np7, np8, np9, np10, \
     228#             np11, np12, np13, np14, np15, \
     229#             np27, np26, np25, np24, \
     230#             np17, \
     231#             np33, np34, np35, \
     232#             np18, np19, np20, \
     233#             np21, np22, \
     234#             np31, np32, \
     235#             np23]
     236newpoly1 = [np2, np3, \
     237            np28, np29, np30, \
     238            np5, np6, np7, np8, np9, np10, \
     239            np11, np12, np13, np14, np15, \
     240            np27, np26, np25, np24, np17, \
     241            np18, np19, np20, np21, np31]
     242
     243# south
     244sp1 = [ 328000, 6231000]
     245sp2 = [335000, 6231000]
     246sp3 = [338000, 6235000]
     247sp4 = [340000, 6240000]
     248sp5 = [340000, 6244000]
     249sp6 = [342000, 6248800]
     250sp7 = [340000, 6248800]
     251sp8 = [338000, 6244000]
     252sp9 = [338000, 6237000]
     253sp10 = [334000, 6242000]
     254sp11 = [331000, 6245000]
     255sp12 = [326000, 6247000]
     256sp13 = [325000, 6246000]
     257sp14 = [329000, 6243000]
     258sp15 = [328000, 6237000]
     259sp16 = [337000, 6236000]
     260sp17 = [330000, 6237000]
     261sp18 = [330000, 6239000]
     262sp19 = [332000, 6239000]
     263sp20 = [334000, 6240000]
     264sp21 = [334000, 6238000]
     265sp22 = [337000, 6236500]
     266sp23 = [339000, 6236000]
     267
     268newpoly2 = [sp1, sp2, sp3, \
     269             sp16, sp17, sp18, sp19, sp20, sp21, sp22, sp23, \
     270             sp4, sp5, sp6, sp7, sp8, sp9, sp10, \
     271             sp11, sp12, sp13, sp14, sp15]
     272
     273m1 = [340000, 6256000]
     274m2 = [342800, 6256000]
     275m3 = [342800, 6261000]
     276m4 = [340000, 6260000]
     277   
     278finepolymanly = [m1, m2, m3, m4]
     279
     280q1 = [333000, 6250000]
     281q2 = [340000, 6250000]
     282q3 = [340000, 6254000]
     283q4 = [333000, 6255000]
     284   
     285finepolyquay = [q1, q2, q3, q4]
     286
    111287#Interior regions - the Harbour
    112288harbour_1x = degminsec2decimal_degrees(-33,51,0)
     
    162338
    163339#Interior region - Botany Bay
    164 
    165 #Interior region - Botany Bay - take 2
    166340bb_1x = degminsec2decimal_degrees(-34,3,0)
    167341bb_1y = degminsec2decimal_degrees(151,2,30)
Note: See TracChangeset for help on using the changeset viewer.