Changeset 7268
- Timestamp:
- Jun 29, 2009, 6:53:16 AM (15 years ago)
- Location:
- anuga_work/production/hobart_2009
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/hobart_2009/Arc_Inundation_polygon.py
r7083 r7268 28 28 model = 'hobart' 29 29 scenario_folder ="\\\\nas2\\gemd\\georisk_models\\inundation\\data\\tasmania\\" + model + "_tsunami_scenario_2009\\" 30 output_folder = "anuga\\outputs\\"30 output_folder = scenario_folder + "anuga\\outputs\\" 31 31 32 time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt' 33 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt' 34 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 35 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' 36 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 37 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt' 32 ##time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt' 33 ##time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt' 34 ##time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 35 ##time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' 36 ##time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 37 ##time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt' 38 ## 39 ##time_dirs = [time_dir1, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6] 38 40 39 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6] 41 time_dir1 = '20090619_165107_run_final_0_58260_None_kvanputt' 42 time_dir2 = '20090619_165136_run_final_0.8_58260_None_kvanputt' 43 44 time_dirs = [time_dir1, time_dir2] 40 45 41 46 for time_dir in time_dirs: -
anuga_work/production/hobart_2009/Arc_asc2raster_GDA94z55.py
r7128 r7268 26 26 output_dir = "anuga\\outputs\\" 27 27 28 time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt' 29 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt' 30 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 31 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' 32 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 33 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt' 28 ##time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt' 29 ##time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt' 30 ##time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 31 ##time_dir4 = '20090505_150517_run_final_0_58292_None_kvanputt' 32 ##time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 33 ##time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt' 34 ## 35 ##time_dirs = [time_dir4] #1, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6] 34 36 35 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6] 36 37 time_dir1 = '20090619_165107_run_final_0_58260_None_kvanputt' 38 time_dir2 = '20090619_165136_run_final_0.8_58260_None_kvanputt' 39 40 time_dirs = [time_dir1, time_dir2] 37 41 for time_dir in time_dirs: 38 42 # Local variables... … … 40 44 raster_gbd = folder + 'raster.gdb' 41 45 land_folder = scenario_dir + "ArcGIS\\data.gdb\\Land" 42 areas = [' Hobart', 'NW', 'South']46 areas = ['NW', 'South', 'Hobart'] 43 47 print time_dir 44 48 … … 84 88 ## print 'Output Extract ',output_extract 85 89 ## gp.ExtractByMask_sa(output_DEM, land, output_extract) 86 87 90 ## 91 ## -
anuga_work/production/hobart_2009/Arc_txt2feature_class_runup.py
r7120 r7268 20 20 output_folder = "anuga\\outputs\\" 21 21 22 time_dir1 = '20090 505_150430_run_final_0.8_58292_None_kvanputt'23 time_dir2 = '20090 505_150517_run_final_0_58292_None_kvanputt'22 time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt' 23 time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt' 24 24 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 25 25 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' … … 27 27 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt' 28 28 29 time_dirs = [time_dir1, time_dir2 , time_dir3, time_dir4, time_dir5, time_dir6]29 time_dirs = [time_dir1, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6] 30 30 31 31 for time_dir in time_dirs: … … 38 38 layer = 'layer' 39 39 40 ##print 'Process: Create File GDB'41 ##gp.CreateFileGDB_management(folder, "raster")40 print 'Process: Create File GDB' 41 gp.CreateFileGDB_management(folder, "raster") 42 42 43 43 print 'Process: Make XY Event Layer' -
anuga_work/production/hobart_2009/export_results_max.py
r7246 r7268 21 21 22 22 directory = project.output_folder 23 time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt' 24 time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt' 25 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 26 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' 27 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 28 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt' 23 time_dir1 = '20090619_165107_run_final_0_58260_None_kvanputt' 24 time_dir2 = '20090619_165136_run_final_0.8_58260_None_kvanputt' 29 25 30 time_dirs = [time_dir 2] #, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6]26 time_dirs = [time_dir1, time_dir2] #, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6] 31 27 32 28 … … 84 80 for time_dir in time_dirs: 85 81 name1 = join(directory, time_dir, project.scenario_name) 86 name2 = join(directory, time_dir, project.scenario_name)+'_time_1 6980_0'87 name3 = join(directory, time_dir, project.scenario_name)+'_time_33960_0'88 name4 = join(directory, time_dir, project.scenario_name)+'_time_50940_0'82 name2 = join(directory, time_dir, project.scenario_name)+'_time_17640_0' 83 ## name3 = join(directory, time_dir, project.scenario_name)+'_time_33960_0' 84 ## name4 = join(directory, time_dir, project.scenario_name)+'_time_50940_0' 89 85 90 names = [name1, name2 , name3, name4]86 names = [name1, name2] #, name3, name4] 91 87 92 88 asc_name = [] -
anuga_work/production/hobart_2009/get_runup_v2.py
r7120 r7268 18 18 directory = project.output_folder 19 19 20 time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt' 21 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt' 22 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 23 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' 24 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 25 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt' 20 ##time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt' 21 ##time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt' 22 ##time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 23 ##time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' 24 ##time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 25 ##time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt' 26 ## 27 ##time_dirs = [time_dir2] #, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6] 26 28 27 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6] 29 time_dir1 = '20090619_165107_run_final_0_58260_None_kvanputt' 30 time_dir2 = '20090619_165136_run_final_0.8_58260_None_kvanputt' 28 31 32 time_dirs = [time_dir1, time_dir2] 29 33 30 34 # polygons is a dictionary of polygon data indexed by 'id' -
anuga_work/production/hobart_2009/get_timeseries.py
r7082 r7268 19 19 directory = project.output_folder 20 20 21 time_dir1 = '20090505_150430_run_final_0.8_58292_None_kvanputt' 22 time_dir2 = '20090505_150517_run_final_0_58292_None_kvanputt' 23 time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 24 time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' 25 time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 26 time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt' 21 ##time_dir1 = '20090601_133348_run_final_0.8_58280_None_kvanputt' 22 ##time_dir2 = '20090601_133503_run_final_0.8_58292_None_kvanputt' 23 ##time_dir3 = '20090505_150711_run_final_0_58280_None_kvanputt' 24 ##time_dir4 = '20090505_150805_run_final_0.8_58280_None_kvanputt' 25 ##time_dir5 = '20090505_151322_run_final_0.8_64477_None_kvanputt' 26 ##time_dir6 = '20090505_151447_run_final_0_64477_None_kvanputt' 27 ## 28 ##time_dirs = [time_dir3] #3, time_dir4, time_dir5, time_dir6] 27 29 28 time_dirs = [time_dir1, time_dir2] #, time_dir3, time_dir4, time_dir5, time_dir6] 29 30 time_dir1 = '20090619_165107_run_final_0_58260_None_kvanputt' 31 time_dir2 = '20090619_165136_run_final_0.8_58260_None_kvanputt' 32 33 time_dirs = [time_dir2] #, time_dir2] 34 30 35 print 'time directories', time_dirs 31 36 -
anuga_work/production/hobart_2009/project.py
r7147 r7268 34 34 tide = 0.8 # difference between MSL and HAT in metres 35 35 zone = 55 # specify UTM zone of model 36 event_number = 582 92# 58280, 64477 the event number or the mux file name36 event_number = 58260 # 58280, 64477 the event number or the mux file name 37 37 alpha = 0.1 # smoothing parameter for mesh 38 38 friction=0.01 # manning's friction coefficient … … 123 123 # LAND - used to set the initial stage/water to be offcoast only 124 124 # Used in run_model.py. Format for points easting,northing (no header) 125 land_initial_conditions_filename = 'initial_conditions. txt'125 land_initial_conditions_filename = 'initial_conditions.csv' 126 126 127 127 # GAUGES - for creating timeseries at a specific point 128 128 # Used in get_timeseries.py. 129 129 # Format easting,northing,name,elevation (with header) 130 gauges_filename = 'time_of_arrival_ hobart.csv' #'TideGaugesPoints.csv' #'tsunamipointsMGA.csv'130 gauges_filename = 'time_of_arrival_all.csv' #'TideGaugesPoints.csv' #'tsunamipointsMGA.csv' 131 131 132 132 # BUILDINGS EXPOSURE - for identifying inundated houses
Note: See TracChangeset
for help on using the changeset viewer.