Changeset 2487 for production/sydney_2006/project.py
- Timestamp:
- Mar 7, 2006, 10:33:14 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
production/sydney_2006/project.py
r2420 r2487 10 10 from pmesh.create_mesh import convert_points_from_latlon_to_utm 11 11 12 13 14 12 15 13 #Making assumptions about the location of scenario data … … 20 18 finename = 'bathy_dem25' # get from Neil/Ingo (DEM or topo data) Wed 25 Jan 21 19 22 23 24 20 # creating easting and northing max and min for fine data - region of interest 25 21 eastingmin = 332090 … … 34 30 nmaxviz = 6283000 35 31 36 basename = 'slump_ TEST'37 basename 2 = 'slump_newfriction'32 basename = 'slump_friction04' 33 basename4 = 'slump_poly_ingo_test' 38 34 39 35 if sys.platform == 'win32': … … 42 38 home = expanduser('~') 43 39 44 45 46 40 #Derive subdirectories and filenames 47 41 meshdir = home+sep+scenario_dir_name+sep+'meshes'+sep … … 49 43 outputdir = home+sep+scenario_dir_name+sep+'output'+sep 50 44 polygondir = home+sep+scenario_dir_name+sep+'polygons'+sep 45 gaugedir = home+sep+scenario_dir_name+sep+'gauges'+sep 51 46 52 47 meshname = meshdir + basename 48 meshname4 = meshdir + basename4 53 49 coarsedemname = datadir + coarsename 54 50 finedemname = datadir + finename 55 51 combineddemname = datadir + 'sydneytopo' 56 52 outputname = outputdir + basename #Used by post processing 57 outputname 2 = outputdir + basename2#Used by post processing53 outputname4 = outputdir + basename4 #Used by post processing 58 54 59 55 #csv file of coastline 50m epsilon belt … … 62 58 #print manly_polygon 63 59 64 gauge_filename = outputdir + 'sydney_gauges.xya' 65 gauge_outname = outputdir + 'gauges_max_output.xya' 66 polygonptsfile = outputdir + 'poly' 60 gauge_filename = gaugedir + 'sydney_gauges.xya' 61 gauge_outname = gaugedir + 'gauges_max_output.xya' 62 #gauge_filename = gaugedir + 'nest_gauges_Manly.xya' 63 #gauge_filename = gaugedir + 'west_of_quay_yprofile.xya' 64 #gauge_filename = gaugedir + 'GA_gauge.csv' # from Benfield 65 #gauge_outname = gaugedir + 'gauges_max_output_next.xya' 66 gaugetimeseries = gaugedir + 'gauges_time_series_Benfield' 67 polygonptsfile = polygondir + 'poly' 68 integraltimeseries = outputdir + 'integral_time_series' 67 69 68 70 #Georeferencing … … 181 183 np1 = [318200, 6253000] 182 184 np2 = [327000, 6250500] 185 np2east = [327200, 6250500] 186 np2west = [326800, 6250500] 183 187 np3 = [333000, 6249000] 184 188 np4 = [342000, 6249000] … … 186 190 np6 = [343000, 6256000] 187 191 np7 = [344000, 6258000] 188 np8 = [343000, 6260000] 192 np8 = [343000, 6260300] 193 #np8 = [343000, 6260000] 189 194 np9 = [343000, 6264000] 190 195 np10 = [345000, 6265000] … … 216 221 np34 = [337000, 6256000] 217 222 np35 = [338000, 6255000] 218 np36 = [3 19000, 6254000]223 np36 = [320000, 6254000] 219 224 np37 = [322000, 6252000] 220 225 np38 = [324000, 6253000] … … 234 239 # np31, np32, \ 235 240 # np23] 236 newpoly1 = [np2, np3, \ 237 np28, np29, np30, \ 241 newpoly1 = [np28, np29, np30, \ 238 242 np5, np6, np7, np8, np9, np10, \ 239 243 np11, np12, np13, np14, np15, \ 240 244 np27, np26, np25, np24, np17, \ 241 np18, np19, np20, np21, np31] 245 np33, \ 246 np19, np20, np21, np22, np31, np32, \ 247 np36, np37, np38, np39, np2, np3] 248 # last two lines for second run 249 250 north1 = [np2, np3, np30, np5, np24, np17, np33, np19, np20, np21, \ 251 np31, np32, np37, np38, np39] 252 north2 = [np8, np9, np19, np11, np12, np13, np14, np15, np27, np27, np25] 253 npinsert = [332000, 6255000] 254 parrariver = [np3, np18, npinsert, np19, np32, np36, np38, np39, np2] #first run 255 #parrariver = [np32, np36, np37, np38, np39, np2west, np31] #second run 242 256 243 257 # south … … 266 280 sp23 = [339000, 6236000] 267 281 268 newpoly2= [sp1, sp2, sp3, \282 south1 = [sp1, sp2, sp3, \ 269 283 sp16, sp17, sp18, sp19, sp20, sp21, sp22, sp23, \ 270 284 sp4, sp5, sp6, sp7, sp8, sp9, sp10, \ … … 446 460 #slump_origin = [x0+314036.58727982, y0+6224951.2960092] #Absolute UTM 447 461 slump_origin = [385000.0, 6255000.0] #Absolute UTM 462 463 a = [340000, 6255000] 464 b = [340000, 6270000] 465 c = [318000, 6255000] 466 d = [318000, 6270000] 467 e = [316000, 6255000] 468 f = [395000, 6255000] 469 g = [355000, 6280000] 470 h = [355000, 6224000] 471 test_pts = [a, b, c, d, e, f, g, h] 472 test_elev = [1.0, 4.0, 3.0, 0.1, 5, -10.0, -20, -15]
Note: See TracChangeset
for help on using the changeset viewer.