Changeset 6564
- Timestamp:
- Mar 20, 2009, 4:08:13 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/production/patong/new_version/export_results_max.py
r6418 r6564 22 22 directory = project.output_folder 23 23 24 ##time_dir1 = '20081217_101310_run_final_0_27283_250m_none_dt_kvanputt'25 ##time_dir2 = '20081217_115336_run_final_0_27283_250m_none_dp_kvanputt'26 ###time_dir1 = '20080924_123626_run_final_0_27283_250m_all_kvanputt' # This uses the 250m bathymetry with all interior polygons27 ###time_dir2 = '20080912_154716_run_final_0_27283_alpha0.1_kvanputt' # This uses original bathyemetry data28 ###time_dir3 = '20080924_123601_run_final_0_27283_250m_none_kvanputt' # This uses the 250m bathymetry without any interior polygons29 ##time_dirs = [time_dir1, time_dir2]#, time_dir3]30 24 31 time_dir1 = '20090130_165532_run_final_0.6_27255_extend_dt_kvanputt' 32 ##time_dir2 = '20081211_162311_run_final_0_27255_alpha0.1_kvanputt' 33 ##time_dir3 = '20081211_162346_run_final_0_68693_alpha0.1_kvanputt' 34 ##time_dir4 = '20081211_162433_run_final_0.6_68693_alpha0.1_kvanputt' 35 ##time_dir5 = '20081211_162656_run_final_0.6_27283_alpha0.1_kvanputt' 36 ##time_dir6 = '20081211_162744_run_final_0_27283_alpha0.1_kvanputt' 37 ## 38 time_dirs = [time_dir1] #5, time_dir4]# , time_dir4, time_dir5, time_dir6] 25 time_dir1 = '20090227_183842_run_final_0.8_mux_large_onielsen' 26 27 time_dirs = [time_dir1] 39 28 40 29 41 30 cellsize = 250 42 # #cellsize = 531 #cellsize = 20 43 32 44 #timestep = None # None means no timestep!45 timestep = 033 timestep = None # None means no timestep! 34 #timestep = 0 46 35 47 36 ###### … … 49 38 ###### 50 39 51 #area = [' Bunbury', 'Busselton'] # strings must match keys in var_equations below40 #area = ['CBD'] # strings must match keys in var_equations below 52 41 area = ['All'] # 'All' means no special areas - the whole thing 53 42 … … 63 52 64 53 # one or more key strings from var_equations above 65 var = ['elevation' ]54 var = ['elevation', 'stage'] 66 55 67 56 ###### … … 93 82 94 83 name1 = join(directory, time_dir, project.scenario_name) 95 #name2 = join(directory, time_dir, project.scenario_name)+'_time_39600_0'96 #name3 = join(directory, time_dir, project.scenario_name)+'_time_79200_0'84 name2 = join(directory, time_dir, project.scenario_name)+'_time_9555_0' 85 name3 = join(directory, time_dir, project.scenario_name)+'_time_13125_0' 97 86 98 names = [name1 ] #, name2]#, name3]87 names = [name1, name2, name3] 99 88 100 #asc_name = []89 asc_name = [] 101 90 102 91 for name in names: … … 119 108 format = 'asc') 120 109 121 ##asc_name.append(outname + '.asc')122 ##123 ##maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc'124 ## 125 ##print 'max asc outname ', maxasc_outname126 ##print 'asc_name ', str(asc_name)127 ##128 ##MaxAsc(maxasc_outname, asc_name)110 asc_name.append(outname + '.asc') 111 112 maxasc_outname = join(directory, time_dir, project.scenario_name)+'_'+which_area+'_'+which_var+'_max.asc' 113 114 print 'max asc outname ', maxasc_outname 115 print 'asc_name ', str(asc_name) 116 117 MaxAsc(maxasc_outname, asc_name)
Note: See TracChangeset
for help on using the changeset viewer.