Changeset 7002
- Timestamp:
- May 8, 2009, 2:22:03 PM (16 years ago)
- Location:
- anuga_work/production/australia_ph2
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/australia_ph2/albany/export_results.py
r6926 r7002 22 22 directory = project.output_folder 23 23 24 time_dir1 = '20090 408_201701_run_final_0_64344_1330_Tb__mhingee'25 time_dir2 = '20090 421_165204_run_final_0_64344_1330_Tb_internal_mhingee'24 time_dir1 = '20090507_164822_run_final_30_0_64344_1330_Tb__kvanputt' 25 time_dir2 = '20090507_115302_run_final_30_0_64344_1330_Tb_internal_kvanputt' 26 26 ##time_dir3 = '' 27 27 ##time_dir4 = '' -
anuga_work/production/australia_ph2/albany/export_results_max.py
r6926 r7002 22 22 directory = project.output_folder 23 23 24 time_dir1 = '20090 421_165204_run_final_0_64344_1330_Tb_internal_mhingee'25 ##time_dir2 = ''26 ##time_dir3 = ''27 ##time_dir4 = ''24 time_dir1 = '20090507_115302_run_final_30_0_64344_1330_Tb_internal_kvanputt' 25 time_dir2 = '20090507_115824_run_final_30_0_27319_1330_Tb__kvanputt' 26 time_dir3 = '20090507_164822_run_final_30_0_64344_1330_Tb__kvanputt' 27 time_dir4 = '20090507_214813_run_final_30_0_46697_1330_Tb__kvanputt' 28 28 ##time_dir5 = '' 29 29 ##time_dir6 = '' 30 30 31 time_dirs = [time_dir1 ]#, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]31 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4]#, time_dir5, time_dir6] 32 32 33 33 -
anuga_work/production/australia_ph2/bamaga/project.py
r6975 r7002 32 32 event_number = int(sys.argv[1]) 33 33 else: 34 event_number = 31975 # the event number or the mux file name34 event_number = 63735 # the event number or the mux file name 35 35 36 36 event_number_list = [31975, 51390, 63735] # To piggy back multiple events -
anuga_work/production/australia_ph2/bamaga/run_model.py
r6979 r7002 92 92 # Boundary tags refer to project.landward_boundary 93 93 # 4 points equals 5 segments start at N 94 boundary_tags={'back': (num_ocean_segments+1),94 boundary_tags={'back': [num_ocean_segments+1], 95 95 'side': [num_ocean_segments, 96 96 num_ocean_segments+2, -
anuga_work/production/australia_ph2/gold_coast/Arc_asc2raster_GDA94z50.py
r6949 r7002 25 25 output_dir="anuga\\outputs\\" 26 26 27 time_dir1 = '20090 408_171713_run_final_0_50883_3727_Tb__kvanputt'28 time_dir2 = '20090 409_054747_run_final_0_51318_3727_Tb__kvanputt'29 time_dir3 = '20090 409_175154_run_final_0_51453_3727_Tb__kvanputt'27 time_dir1 = '20090505_145250_run_final_0_31854_3727_Tb__lfountai' 28 time_dir2 = '20090506_045043_run_final_0_64479_3727_Tb__lfountai' 29 time_dir3 = '20090506_190156_run_final_0_50883_3727_Tb__lfountai' 30 30 31 ##time_dir1 = '20090 421_150448_run_final_0_50883_3727_Tb_internal_mhingee'31 ##time_dir1 = '20090508_112905_run_final_0_31854_3727_Tb_internal_mhingee' 32 32 33 time_dirs = [time_dir1 ]#, time_dir2, time_dir3]33 time_dirs = [time_dir1, time_dir2, time_dir3] 34 34 35 35 for time_dir in time_dirs: … … 41 41 ## ocean = scenario_dir + "map_work\\\port_hedland.gdb\\outlines\\initial_conditions_ocean" 42 42 43 ##print 'Process: Create File GDB'44 ##gp.CreateFileGDB_management(folder, "raster")43 print 'Process: Create File GDB' 44 gp.CreateFileGDB_management(folder, "raster") 45 45 46 46 gp.Workspace = raster_gbd … … 55 55 56 56 generate_filename = [] 57 input_ascii = glob.glob(folder + '* elevation.asc')57 input_ascii = glob.glob(folder + '*max.asc') 58 58 59 59 for infile in input_ascii: -
anuga_work/production/australia_ph2/gold_coast/project.py
r6966 r7002 54 54 55 55 56 internal_polygon = False56 internal_polygon = True 57 57 58 58 #------------------------------------------------------------------------------- -
anuga_work/production/australia_ph2/hobart/export_results.py
r6926 r7002 22 22 directory = project.output_folder 23 23 24 time_dir1 = '20090 424_121952_run_final_0_51204_2462_Tb__kvanputt'25 time_dir2 = '20090 424_123250_run_final_0_51204_2462_Tb_internal_kvanputt'24 time_dir1 = '20090507_111303_run_final_30_0_51204_2462_Tb__kvanputt' 25 time_dir2 = '20090507_111251_run_final_30_0_51204_2462_Tb_internal_kvanputt' 26 26 ##time_dir3 = '' 27 27 ##time_dir4 = '' -
anuga_work/production/australia_ph2/hobart/export_results_max.py
r6982 r7002 22 22 directory = project.output_folder 23 23 24 time_dir1 = '20090 424_121952_run_final_0_51204_2462_Tb__kvanputt'25 time_dir2 = '20090 424_123250_run_final_0_51204_2462_Tb_internal_kvanputt'26 time_dir3 = '20090 424_122951_run_final_0_58212_2462_Tb__kvanputt'27 time_dir4 = '20090424_123104_run_final_0_64425_2462_Tb__kvanputt'24 time_dir1 = '20090507_111303_run_final_30_0_51204_2462_Tb__kvanputt' 25 time_dir2 = '20090507_150745_run_final_30_0_58212_2462_Tb__kvanputt' 26 time_dir3 = '20090507_185058_run_final_30_0_64425_2462_Tb__kvanputt' 27 ##time_dir4 = '20090507_111251_run_final_30_0_51204_2462_Tb_internal_kvanputt' 28 28 29 time_dirs = [time_dir1, time_dir2, time_dir3 , time_dir4]29 time_dirs = [time_dir1, time_dir2, time_dir3]#, time_dir4] 30 30 31 31 … … 82 82 for time_dir in time_dirs: 83 83 84 name = join(directory, time_dir, project.scenario_name) 85 86 outname = name + '_' + which_area + '_' + which_var 87 quantityname = var_equations[which_var] 84 name1 = join(directory, time_dir, project.scenario_name) 85 name2 = join(directory, time_dir, project.scenario_name)+'_time_54840_0' 86 ## name3 = join(directory, time_dir, project.scenario_name)+'_time_26640_0' 87 ## name4 = join(directory, time_dir, project.scenario_name)+'_time_39960_0' 88 ## name5 = join(directory, time_dir, project.scenario_name)+'_time_53280_0' 89 ## name6 = join(directory, time_dir, project.scenario_name)+'_time_66600_0' 90 ## name7 = join(directory, time_dir, project.scenario_name)+'_time_79920_0' 91 92 names = [name1, name2]#, name3,name4,name5,name6,name7] 93 94 asc_name = [] 95 96 for name in names: 97 98 outname = name + '_' + which_area + '_' + which_var 99 quantityname = var_equations[which_var] 88 100 89 print 'start sww2dem: time_dir=%s' % time_dir 101 print 'start sww2dem: time_dir=%s' % time_dir 102 103 sww2dem(name, basename_out = outname, 104 quantity = quantityname, 105 timestep = timestep, 106 cellsize = cellsize, 107 easting_min = easting_min, 108 easting_max = easting_max, 109 northing_min = northing_min, 110 northing_max = northing_max, 111 reduction = max, 112 verbose = True, 113 format = 'asc') 114 115 asc_name.append(outname + '.asc') 116 117 maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc' 118 119 print 'max asc outname ', maxasc_outname 120 print 'asc_name ', str(asc_name) 90 121 91 sww2dem(name, basename_out = outname, 92 quantity = quantityname, 93 timestep = timestep, 94 cellsize = cellsize, 95 easting_min = easting_min, 96 easting_max = easting_max, 97 northing_min = northing_min, 98 northing_max = northing_max, 99 reduction = max, 100 verbose = True, 101 format = 'asc') 122 MaxAsc(maxasc_outname, asc_name) 102 123 -
anuga_work/production/australia_ph2/portland/export_results.py
r6926 r7002 22 22 directory = project.output_folder 23 23 24 time_dir1 = '20090 409_001857_run_final_0_64322_1969_Tb__mhingee'25 time_dir2 = '20090421_153138_run_final_0_64322_1969_Tb_internal_mhingee'24 time_dir1 = '20090507_112926_run_final_30_0_27289_1969_Tb__kvanputt' 25 ##time_dir2 = '' 26 26 ##time_dir3 = '' 27 27 ##time_dir4 = '' … … 29 29 ##time_dir6 = '' 30 30 ## 31 time_dirs = [time_dir1 , time_dir2]# , time_dir4, time_dir5, time_dir6]31 time_dirs = [time_dir1]#, time_dir2]# , time_dir4, time_dir5, time_dir6] 32 32 33 33 -
anuga_work/production/australia_ph2/portland/export_results_max.py
r6926 r7002 22 22 directory = project.output_folder 23 23 24 time_dir1 = '20090 421_153138_run_final_0_64322_1969_Tb_internal_mhingee'25 ##time_dir2 = ''26 ##time_dir3 = ''24 time_dir1 = '20090507_112926_run_final_30_0_27289_1969_Tb__kvanputt' 25 time_dir2 = '20090507_113007_run_final_30_0_64322_1969_Tb_internal_kvanputt' 26 time_dir3 = '20090507_155610_run_final_30_0_58358_1969_Tb_internal_kvanputt' 27 27 ##time_dir4 = '' 28 28 ##time_dir5 = '' 29 29 ##time_dir6 = '' 30 30 31 time_dirs = [time_dir1 ]#, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]31 time_dirs = [time_dir1, time_dir2, time_dir3]#, time_dir4]#, time_dir5, time_dir6] 32 32 33 33 … … 86 86 87 87 name1 = join(directory, time_dir, project.scenario_name) 88 ## name2 = join(directory, time_dir, project.scenario_name)+'_time_10740_0'88 name2 = join(directory, time_dir, project.scenario_name)+'_time_44430_0' 89 89 ## name3 = join(directory, time_dir, project.scenario_name)+'_time_21480_0' 90 90 ## name4 = join(directory, time_dir, project.scenario_name)+'_time_32220_0' … … 92 92 ## name6 = join(directory, time_dir, project.scenario_name)+'_time_53700_0' 93 93 94 names = [name1 ]#, name2, name3, name4, name5, name6]94 names = [name1, name2]#, name3, name4, name5, name6] 95 95 96 ##asc_name = []96 asc_name = [] 97 97 98 98 for name in names: … … 115 115 format = 'asc') 116 116 117 ##asc_name.append(outname + '.asc')118 ##119 ##maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'120 ## 121 ##print 'max asc outname ', maxasc_outname122 ##print 'asc_name ', str(asc_name)123 ##124 ##MaxAsc(maxasc_outname, asc_name)117 asc_name.append(outname + '.asc') 118 119 maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc' 120 121 print 'max asc outname ', maxasc_outname 122 print 'asc_name ', str(asc_name) 123 124 MaxAsc(maxasc_outname, asc_name) -
anuga_work/production/australia_ph2/strahan/export_results.py
r6926 r7002 22 22 directory = project.output_folder 23 23 24 time_dir1 = '20090 408_152513_run_final_0_58337_2044_Tb__mhingee'25 time_dir2 = '20090 421_151652_run_final_0_58337_2044_Tb_internal_mhingee'24 time_dir1 = '20090507_111151_run_final_30_0_58337_2044_Tb__kvanputt' 25 time_dir2 = '20090507_111501_run_final_30_0_58337_2044_Tb_internal_kvanputt' 26 26 ##time_dir3 = '' 27 27 ##time_dir4 = '' -
anuga_work/production/australia_ph2/strahan/export_results_max.py
r6926 r7002 22 22 directory = project.output_folder 23 23 24 time_dir1 = '20090 421_151652_run_final_0_58337_2044_Tb_internal_mhingee'25 ##time_dir2 = ''26 ##time_dir3 = ''27 ##time_dir4 = ''24 time_dir1 = '20090507_111151_run_final_30_0_58337_2044_Tb__kvanputt' 25 time_dir2 = '20090507_111501_run_final_30_0_58337_2044_Tb_internal_kvanputt' 26 time_dir3 = '20090507_122805_run_final_30_0_64214_2044_Tb_internal_kvanputt' 27 time_dir4 = '20090507_134426_run_final_30_0_68779_2044_Tb_internal_kvanputt' 28 28 ##time_dir5 = '' 29 29 ##time_dir6 = '' 30 30 31 time_dirs = [time_dir1 ]#, time_dir2, time_dir3, time_dir4, time_dir5, time_dir6]31 time_dirs = [time_dir1, time_dir2, time_dir3, time_dir4]#, time_dir5, time_dir6] 32 32 33 33
Note: See TracChangeset
for help on using the changeset viewer.